Hi ports --
Long story short: that worker port on ports@ got me to notice that
libmagic was a bit out of date, so attached is a patch to update it to
its latest version.
This tested good on amd64/macppc/loongson. I also build tested all the
dependent ports on amd64 except for two - net/bro (this didn't fetch for
me and appears to be years out of date) and x11/gnome/file-roller
(because I'm not yet in the gnome-3.10 world). Everything else worked ok.
Library number for libmagic doesn't seem to have incremented (major or
minor), so I didn't bump any of the dependent ports.
OK?
~Brian
Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/libmagic/Makefile,v
retrieving revision 1.16
diff -u -p -u -p -r1.16 Makefile
--- Makefile 21 Mar 2013 08:45:15 -0000 1.16
+++ Makefile 29 Sep 2013 15:33:18 -0000
@@ -2,7 +2,7 @@
COMMENT= library to determine file type
-V= 5.11
+V= 5.15
DISTNAME= file-${V}
PKGNAME= libmagic-${V}
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/libmagic/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo 21 Feb 2012 22:47:50 -0000 1.10
+++ distinfo 29 Sep 2013 15:33:18 -0000
@@ -1,5 +1,2 @@
-MD5 (file-5.11.tar.gz) = FqQHvWbWx6gy86XA1gnCew==
-RMD160 (file-5.11.tar.gz) = aIhdg4wfODbm+tpMTqbIjIaZ/fI=
-SHA1 (file-5.11.tar.gz) = 34/+h1nsjNhamNyY6FhWPqJVX2Q=
-SHA256 (file-5.11.tar.gz) = xwrimijAWF9UHVkW/DJIw+kbqkgfY9fM7FPRU0y8ybc=
-SIZE (file-5.11.tar.gz) = 610019
+SHA256 (file-5.15.tar.gz) = S9UsxhTWSIEnwL3cIIooVUgXRNdv8IeNnBc9Km7VZOQ=
+SIZE (file-5.15.tar.gz) = 655932
Index: patches/patch-configure
===================================================================
RCS file: /cvs/ports/devel/libmagic/patches/patch-configure,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 patch-configure
--- patches/patch-configure 17 Jan 2012 17:36:47 -0000 1.3
+++ patches/patch-configure 29 Sep 2013 15:33:18 -0000
@@ -1,7 +1,7 @@
$OpenBSD: patch-configure,v 1.3 2012/01/17 17:36:47 sthen Exp $
---- configure.orig Fri Jan 6 16:45:41 2012
-+++ configure Fri Jan 6 16:47:27 2012
-@@ -12797,7 +12797,7 @@ $as_echo "yes" >&6; }
+--- configure.orig Tue Sep 24 11:22:10 2013
++++ configure Sun Sep 29 10:43:33 2013
+@@ -13180,7 +13180,7 @@ $as_echo "yes" >&6; }
WARNINGS="-Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith \
-Wmissing-declarations -Wredundant-decls -Wnested-externs \
-Wsign-compare -Wreturn-type -Wswitch -Wshadow \
Index: pkg/PFRAG.shared
===================================================================
RCS file: pkg/PFRAG.shared
diff -N pkg/PFRAG.shared
--- pkg/PFRAG.shared 14 Apr 2006 17:02:58 -0000 1.1.1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,2 +0,0 @@
-@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2006/04/14 17:02:58 jolan Exp $
-@lib lib/libmagic.so.${LIBmagic_VERSION}
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/libmagic/pkg/PLIST,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 PLIST
--- pkg/PLIST 17 Jan 2012 17:36:47 -0000 1.4
+++ pkg/PLIST 29 Sep 2013 15:33:18 -0000
@@ -1,9 +1,9 @@
@comment $OpenBSD: PLIST,v 1.4 2012/01/17 17:36:47 sthen Exp $
-%%SHARED%%
@comment @bin bin/file
include/magic.h
lib/libmagic.a
lib/libmagic.la
+@lib lib/libmagic.so.${LIBmagic_VERSION}
@comment @man man/man1/file.1
@man man/man3/libmagic.3
@man man/man4/magic.4