ports/118484: [MAINTAINER] sysutils/udfclient: update to 0.5.7

Andriy Gapon avg at icyb.net.ua
Fri Dec 7 15:40:03 UTC 2007


>Number:         118484
>Category:       ports
>Synopsis:       [MAINTAINER] sysutils/udfclient: update to 0.5.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 07 15:40:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Andriy Gapon
>Release:        FreeBSD 6.2-RELEASE-p6 amd64
>Organization:
>Environment:
System: FreeBSD rein 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #1: Sat Nov 10 17:41:58 EET 2007
>Description:
- Update to 0.5.7

Removed file(s):
- files/patch-Makefile.in

This is a non-trivial update as in addition to using new version from upstream,
I also add an option to build FUSE-based UDF filesystem tool.
The option is off by default.

Please note that portlint generates two warnings after this change, but
I think this is unavoidable evil because of the optional additional distfile.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- udfclient-0.5.7.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/sysutils/udfclient.orig/Makefile /usr/ports/sysutils/udfclient/Makefile
--- /usr/ports/sysutils/udfclient.orig/Makefile	Fri Dec  7 16:14:16 2007
+++ /usr/ports/sysutils/udfclient/Makefile	Fri Dec  7 17:09:10 2007
@@ -6,14 +6,14 @@
 #
 
 PORTNAME=	udfclient
-PORTVERSION=	0.5.6
+PORTVERSION=	0.5.7
 CATEGORIES=	sysutils
 MASTER_SITES=	http://www.13thmonkey.org/udfclient/releases/ \
 		${MASTER_SITE_NETBSD} \
 		${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	miwi
 DISTNAME=	UDFclient.${PORTVERSION}
-EXTRACT_SUFX=	.tgz
+DISTFILES=	${DISTNAME}.tgz
 
 MAINTAINER=	avg at icyb.net.ua
 COMMENT=	Tools for UDF filesystem
@@ -23,6 +23,8 @@
 		with_thread_libs="${PTHREAD_LIBS}"
 MAKE_ARGS+=	INSTALL="${INSTALL_PROGRAM}"
 
+OPTIONS=	FUSE	"udfclientfs via FUSE"	off
+
 PLIST_FILES=	bin/udfdump \
 		bin/udfclient \
 		bin/newfs_udf \
@@ -30,4 +32,26 @@
 		bin/cd_disect \
 		bin/mmc_format
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_FUSE)
+UDFCLIENTFS_NAME=	udfclientfs
+UDFCLIENTFS_VERSION=	0.1
+UDFCLIENTFS_DIR=	${WRKDIR}/udfclientfs
+
+MASTER_SITES+=	http://www.icyb.net.ua/~avg/distfiles/:fuse
+DISTFILES+=	${UDFCLIENTFS_NAME}-${UDFCLIENTFS_VERSION}.tgz:fuse
+EXTRA_PATCHES+=	${UDFCLIENTFS_DIR}/${UDFCLIENTFS_NAME}.patch
+
+RUN_DEPENDS+=	${LOCALBASE}/modules/fuse.ko:${PORTSDIR}/sysutils/fusefs-kmod
+LIB_DEPENDS+=	fuse.2:${PORTSDIR}/sysutils/fusefs-libs
+
+PLIST_FILES+=	bin/${UDFCLIENTFS_NAME}
+.endif
+
+post-patch:
+.if defined(WITH_FUSE)
+	${CP} ${UDFCLIENTFS_DIR}/${UDFCLIENTFS_NAME}.c ${WRKSRC}
+.endif
+
+.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/sysutils/udfclient.orig/distinfo /usr/ports/sysutils/udfclient/distinfo
--- /usr/ports/sysutils/udfclient.orig/distinfo	Fri Dec  7 16:14:16 2007
+++ /usr/ports/sysutils/udfclient/distinfo	Fri Dec  7 17:16:33 2007
@@ -1,3 +1,6 @@
-MD5 (UDFclient.0.5.6.tgz) = 56269edf932d0c7becc32943e6d86831
-SHA256 (UDFclient.0.5.6.tgz) = 130926bc7393bccebaab5e684098c07eb9532721fabebe5de1ba7d2516b393e2
-SIZE (UDFclient.0.5.6.tgz) = 237023
+MD5 (UDFclient.0.5.7.tgz) = 720f6d156aca7674640b08e57c83702a
+SHA256 (UDFclient.0.5.7.tgz) = 486811bf6672b634f2eae9c481bf3b73318f94c44b48e9bc2a720b15498dddf6
+SIZE (UDFclient.0.5.7.tgz) = 234205
+MD5 (udfclientfs-0.1.tgz) = 27dcbc87c9433d2604e9f41f7ee720cd
+SHA256 (udfclientfs-0.1.tgz) = eb419c0b326e6b895b9502d333adfd38d47081f77fdaf0635f65a4afba47db53
+SIZE (udfclientfs-0.1.tgz) = 7338
diff -ruN --exclude=CVS /usr/ports/sysutils/udfclient.orig/files/patch-Makefile.in /usr/ports/sysutils/udfclient/files/patch-Makefile.in
--- /usr/ports/sysutils/udfclient.orig/files/patch-Makefile.in	Fri Dec  7 16:14:16 2007
+++ /usr/ports/sysutils/udfclient/files/patch-Makefile.in	Thu Jan  1 03:00:00 1970
@@ -1,11 +0,0 @@
---- Makefile.in	Sun Jun 26 00:02:51 2005
-+++ Makefile.in	Mon Jul 25 20:34:12 2005
-@@ -33,7 +33,7 @@
- #CFLAGS+= -D__ANONYMOUSUDF__
- 
- #CFLAGS+= -fPIC -DPIC
--POSTOBJ+= @SCSI_LIB@ @THREADLIB@ @TIMELIB@
-+POSTOBJ+= @SCSI_LIB@ @THREADLIB@ #@TIMELIB@
- 
- 
- # For use with the cpuflags package
--- udfclient-0.5.7.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list