pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/file PR/39596: Jwens Rehsack: Update to file-...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6bfcd03ca35e
branches: trunk
changeset: 549212:6bfcd03ca35e
user: christos <christos%pkgsrc.org@localhost>
date: Wed Oct 29 20:50:16 2008 +0000
description:
PR/39596: Jwens Rehsack: Update to file-4.26 (4.21 is gone) and add built-in
version detection.
diffstat:
sysutils/file/Makefile | 4 ++--
sysutils/file/PLIST | 5 +----
sysutils/file/buildlink3.mk | 11 ++++++++---
sysutils/file/builtin.mk | 7 ++++++-
sysutils/file/distinfo | 10 +++++-----
sysutils/file/patches/patch-aa | 15 +++++++--------
6 files changed, 29 insertions(+), 23 deletions(-)
diffs (120 lines):
diff -r d122c7c7b390 -r 6bfcd03ca35e sysutils/file/Makefile
--- a/sysutils/file/Makefile Wed Oct 29 16:39:03 2008 +0000
+++ b/sysutils/file/Makefile Wed Oct 29 20:50:16 2008 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2008/06/12 02:14:46 joerg Exp $
+# $NetBSD: Makefile,v 1.17 2008/10/29 20:50:16 christos Exp $
-DISTNAME= file-4.21
+DISTNAME= file-4.26
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.gw.com/mirrors/pub/unix/file/
MASTER_SITES+= ftp://ftp.astron.com/pub/file/
diff -r d122c7c7b390 -r 6bfcd03ca35e sysutils/file/PLIST
--- a/sysutils/file/PLIST Wed Oct 29 16:39:03 2008 +0000
+++ b/sysutils/file/PLIST Wed Oct 29 20:50:16 2008 +0000
@@ -1,12 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2004/09/22 08:09:53 jlam Exp $
+@comment $NetBSD: PLIST,v 1.3 2008/10/29 20:50:16 christos Exp $
bin/file
include/magic.h
lib/libmagic.la
man/man1/file.1
man/man3/libmagic.3
man/man5/magic.5
-share/file/magic
share/file/magic.mgc
-share/file/magic.mime
-share/file/magic.mime.mgc
@dirrm share/file
diff -r d122c7c7b390 -r 6bfcd03ca35e sysutils/file/buildlink3.mk
--- a/sysutils/file/buildlink3.mk Wed Oct 29 16:39:03 2008 +0000
+++ b/sysutils/file/buildlink3.mk Wed Oct 29 20:50:16 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:08 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2008/10/29 20:50:16 christos Exp $
#
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
@@ -13,9 +13,14 @@
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}file
.if !empty(FILE_BUILDLINK3_MK:M+)
-BUILDLINK_API_DEPENDS.file+= file>=4.09
-BUILDLINK_ABI_DEPENDS.file+= file>=4.09nb1
+
+. include "../../mk/bsd.fast.prefs.mk"
+
+BUILDLINK_API_DEPENDS.file+= file>=4.17
+BUILDLINK_ABI_DEPENDS.file+= file>=4.17
BUILDLINK_PKGSRCDIR.file?= ../../sysutils/file
.endif # FILE_BUILDLINK3_MK
+pkgbase := file
+.include "../../mk/pkg-build-options.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r d122c7c7b390 -r 6bfcd03ca35e sysutils/file/builtin.mk
--- a/sysutils/file/builtin.mk Wed Oct 29 16:39:03 2008 +0000
+++ b/sysutils/file/builtin.mk Wed Oct 29 20:50:16 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.4 2006/04/06 06:22:45 reed Exp $
+# $NetBSD: builtin.mk,v 1.5 2008/10/29 20:50:16 christos Exp $
BUILTIN_PKG:= file
@@ -20,6 +20,11 @@
.endif
MAKEVARS+= IS_BUILTIN.file
+.if !defined(BUILTIN_PKG.file) && !empty(IS_BUILTIN.file:M[yY][eE][sS])
+BUILTIN_VERSION.file!= file --version 2>&1 | ${GREP} 'file-' | ${SED} 's/file-//'
+BUILTIN_PKG.file= file-${BUILTIN_VERSION.file}
+.endif
+
###
### Determine whether we should use the built-in implementation if it
### exists, and set USE_BUILTIN.<pkg> appropriate ("yes" or "no").
diff -r d122c7c7b390 -r 6bfcd03ca35e sysutils/file/distinfo
--- a/sysutils/file/distinfo Wed Oct 29 16:39:03 2008 +0000
+++ b/sysutils/file/distinfo Wed Oct 29 20:50:16 2008 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.8 2007/06/14 16:29:42 adrianp Exp $
+$NetBSD: distinfo,v 1.9 2008/10/29 20:50:16 christos Exp $
-SHA1 (file-4.21.tar.gz) = 4a919572fed1896212c2d7f41f841845efc1287a
-RMD160 (file-4.21.tar.gz) = c8cfee27ba7a033bae355e458921eac39913b1e0
-Size (file-4.21.tar.gz) = 549938 bytes
-SHA1 (patch-aa) = 96376c128a1d131c73f7d1bc790030c250f0f1ee
+SHA1 (file-4.26.tar.gz) = 412cdac5cd778d867e2d91a01b09858be1998ec3
+RMD160 (file-4.26.tar.gz) = e8b84e01d1f43faedfe676afc92c2cba4a01ecdf
+Size (file-4.26.tar.gz) = 584803 bytes
+SHA1 (patch-aa) = 1d3d41162ee3b02c62f610b9e043d0e535419304
diff -r d122c7c7b390 -r 6bfcd03ca35e sysutils/file/patches/patch-aa
--- a/sysutils/file/patches/patch-aa Wed Oct 29 16:39:03 2008 +0000
+++ b/sysutils/file/patches/patch-aa Wed Oct 29 20:50:16 2008 +0000
@@ -1,18 +1,17 @@
-$NetBSD: patch-aa,v 1.3 2006/10/07 19:46:06 reed Exp $
+$NetBSD: patch-aa,v 1.4 2008/10/29 20:50:16 christos Exp $
---- src/Makefile.in.orig 2006-10-08 03:41:58.000000000 -0700
-+++ src/Makefile.in 2006-10-08 03:42:49.000000000 -0700
-@@ -192,11 +192,11 @@
- sharedstatedir = @sharedstatedir@
- sysconfdir = @sysconfdir@
+--- src/Makefile.in.orig 2008-09-03 16:03:38.601850000 +0200
++++ src/Makefile.in 2008-09-03 16:04:07.409017000 +0200
+@@ -195,10 +195,10 @@
target_alias = @target_alias@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
-MAGIC = $(pkgdatadir)/magic
+MAGIC = @sysconfdir@/magic
lib_LTLIBRARIES = libmagic.la
include_HEADERS = magic.h
- EXTRA_DIST = test.c
-AM_CPPFLAGS = -DMAGIC='"$(MAGIC)"'
+AM_CPPFLAGS = -DMAGIC='"$(MAGIC):$(pkgdatadir)/magic"'
+ AM_CFLAGS = @WARNINGS@
libmagic_la_SOURCES = magic.c apprentice.c softmagic.c ascmagic.c \
compress.c is_tar.c readelf.c print.c fsmagic.c \
- funcs.c file.h names.h patchlevel.h readelf.h tar.h apptype.c
Home |
Main Index |
Thread Index |
Old Index