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

Andriy Gapon avg at icyb.net.ua
Mon Dec 10 16:10:04 UTC 2007


The following reply was made to PR ports/118484; it has been noted by GNATS.

From: Andriy Gapon <avg at icyb.net.ua>
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: ports/118484: [MAINTAINER] sysutils/udfclient: update to 0.5.7
Date: Mon, 10 Dec 2007 17:49:23 +0200

 Here's an updated patch. In comparison to the previous patch:
 1. even newer version of upstream (0.5.8) is used (has some important
 fixes);
 2. all patches from files/ are dropped as they are included now into the
 upstream sources;
 
 So, Makefile and distinfo are updated. Three patch files under files/ ar
 removed.
 
 --- udfclient-0.5.8.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	Mon Dec 10 17:23:37 2007
 @@ -6,14 +6,14 @@
  #
 
  PORTNAME=	udfclient
 -PORTVERSION=	0.5.6
 +PORTVERSION=	0.5.8
  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	Mon Dec 10 17:31:40 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.8.tgz) = 6b47cc655901e9c896ae6775eef1d78e
 +SHA256 (UDFclient.0.5.8.tgz) =
 11c49bbddf1c65243954d4b9e6ef3e5036cd53bda72ff2f8aaa8b4cff8735e2a
 +SIZE (UDFclient.0.5.8.tgz) = 234317
 +MD5 (udfclientfs-0.1.tgz) = 3ad82f25e54f7ad3ab108e0b80571eae
 +SHA256 (udfclientfs-0.1.tgz) =
 4537c4707da6098efc0a525f1d6100680051ae754c32c8153cfdbd56aa664d23
 +SIZE (udfclientfs-0.1.tgz) = 7194
 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
 diff -ruN --exclude=CVS
 /usr/ports/sysutils/udfclient.orig/files/patch-udf_bswap.h
 /usr/ports/sysutils/udfclient/files/patch-udf_bswap.h
 --- /usr/ports/sysutils/udfclient.orig/files/patch-udf_bswap.h	Fri Dec
 7 16:14:16 2007
 +++ /usr/ports/sysutils/udfclient/files/patch-udf_bswap.h	Thu Jan  1
 03:00:00 1970
 @@ -1,13 +0,0 @@
 ---- udf_bswap.h.orig	Wed Mar 23 18:00:36 2005
 -+++ udf_bswap.h		Wed Mar 23 19:00:10 2005
 -@@ -52,8 +52,10 @@
 - /* rest only relevant for big endian machines */
 - #if (BYTE_ORDER == BIG_ENDIAN)
 -
 -+#if !defined(__FreeBSD__)
 - #include <machine/bswap.h>
 - #include <sys/bswap.h>
 -+#endif
 -
 - /* inlines for access to swapped data */
 - static __inline u_int16_t udf_rw16 __P((u_int16_t));
 diff -ruN --exclude=CVS
 /usr/ports/sysutils/udfclient.orig/files/patch-udfclient.c
 /usr/ports/sysutils/udfclient/files/patch-udfclient.c
 --- /usr/ports/sysutils/udfclient.orig/files/patch-udfclient.c	Fri Dec
 7 16:14:16 2007
 +++ /usr/ports/sysutils/udfclient/files/patch-udfclient.c	Thu Jan  1
 03:00:00 1970
 @@ -1,11 +0,0 @@
 ---- udfclient.c.orig	Thu Aug  4 09:07:47 2005
 -+++ udfclient.c	Thu Aug  4 09:08:08 2005
 -@@ -748,7 +748,7 @@
 - void udfclient_mget(int args, char *argv[]) {
 - 	struct udf_node *udf_node;
 - 	uint64_t start, now, totalsize, avg_speed;
 --	char *node_name, *source_name, *target_name;
 -+	char *node_name=NULL, *source_name, *target_name;
 - 	int   arg, error;
 -
 - 	if (args == 0) {
 --- udfclient-0.5.8.patch ends here ---
 
 
 -- 
 Andriy Gapon



More information about the freebsd-ports-bugs mailing list