Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jul 2008 02:53:13 GMT
From:      bf <bf2006a@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/125321: [PATCH]sysutils/file: update to 4.25, etc.
Message-ID:  <200807060253.m662rD99089765@www.freebsd.org>
Resent-Message-ID: <200807060300.m66303aW002580@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         125321
>Category:       ports
>Synopsis:       [PATCH]sysutils/file: update to 4.25, etc.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 06 03:00:03 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     bf
>Release:        7-STABLE i386
>Organization:
-
>Environment:
>Description:
Update an add regression-test target; devel/py-magic should probably be updated -- perhaps these two ports could be somehow consolidated so that they are not playing either tag or leapfrog?
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN file.orig/Makefile file/Makefile
--- file.orig/Makefile	2008-02-21 00:13:42.000000000 -0500
+++ file/Makefile	2008-07-03 22:15:13.090186386 -0400
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	file
-PORTVERSION=	4.21
+PORTVERSION=	4.25
 CATEGORIES=	sysutils
 MASTER_SITES=	ftp://ftp.astron.com/pub/file/ \
 		ftp://ftp.gw.com/mirrors/pub/unix/file/ \
@@ -16,11 +16,10 @@
 COMMENT=	Utility to determine file type
 
 USE_AUTOTOOLS=	libtool:15
-GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 USE_GCC=	3.4+
 
-CONFIGURE_ARGS=	--enable-fsect-man5
+CONFIGURE_ARGS+=	--enable-fsect-man5
 
 CONFLICTS=	tct-[0-9]*
 
@@ -28,4 +27,7 @@
 MAN3=		libmagic.3
 MAN5=		magic.5
 
+regression-test: build
+	@( cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check ; )
+
 .include <bsd.port.mk>
diff -ruN file.orig/distinfo file/distinfo
--- file.orig/distinfo	2008-02-21 00:13:42.000000000 -0500
+++ file/distinfo	2008-07-03 22:15:13.090186386 -0400
@@ -1,3 +1,3 @@
-MD5 (file-4.21.tar.gz) = 9e3503116f4269a1be70220ee2234b0e
-SHA256 (file-4.21.tar.gz) = 6f5644d56cc603138533158076a6cb41cd33c33d27e5310cb76cb6576151ca67
-SIZE (file-4.21.tar.gz) = 549938
+MD5 (file-4.25.tar.gz) = cdf1f90d2704e71118353c16c19898ba
+SHA256 (file-4.25.tar.gz) = abcd5bc7f9a604b5966463eac4a3f54de180a08adb513d902bb44152ebad6c8a
+SIZE (file-4.25.tar.gz) = 582227


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807060253.m662rD99089765>