ports/129133: [PATCH] security/py-posix1e: update to 0.4.0

Yi-Jheng Lin yzlin at cs.nctu.edu.tw
Mon Nov 24 14:50:02 UTC 2008


>Number:         129133
>Category:       ports
>Synopsis:       [PATCH] security/py-posix1e: update to 0.4.0
>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:   Mon Nov 24 14:50:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Yi-Jheng Lin
>Release:        FreeBSD 7.0-RELEASE-p4 amd64
>Organization:
NCTU CS
>Environment:
System: FreeBSD stucgi 7.0-RELEASE-p4 FreeBSD 7.0-RELEASE-p4 #0: Fri Sep  5 14:56:26 CST
>Description:
- Update to 0.4.0

Removed file(s):
- pkg-plist

Port maintainer (perky at FreeBSD.org) is cc'd.

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

--- py-posix1e-0.4.0.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/py-posix1e/Makefile,v
retrieving revision 1.4
diff -u -r1.4 Makefile
--- Makefile	30 Jul 2007 09:41:56 -0000	1.4
+++ Makefile	24 Nov 2008 14:42:37 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	posix1e
-PORTVERSION=	0.2.1
+PORTVERSION=	0.4.0
 CATEGORIES=	security python
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	pylibacl
@@ -17,18 +17,21 @@
 COMMENT=	Python module for manipulating POSIX.1e ACLs
 
 USE_PYTHON=	yes
-USE_PYDISTUTILS=	yes
+USE_PYDISTUTILS=	easy_install
 PYDISTUTILS_PKGNAME=	pylibacl
+PYEASYINSTALL_ARCHDEP=	yes
+
+PLIST_FILES=	%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+
+PORTDOCS=	COPYING IMPLEMENTATION NEWS PLATFORMS README
+DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
 
 .include <bsd.port.pre.mk>
 
-post-patch:
-	${REINPLACE_CMD} -e \
-		's,/usr/share/doc/pylibacl,${PREFIX}/share/doc/py-posix1e,g' \
-		${WRKSRC}/setup.py
-.if ${OSVERSION} >= 500038
-	${REINPLACE_CMD} -e 's,^.*libs.append.*posix1e.*$$,,g' \
-		${WRKSRC}/setup.py
+post-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
 .endif
 
 .include <bsd.port.post.mk>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/security/py-posix1e/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	24 Jan 2006 01:03:23 -0000	1.3
+++ distinfo	24 Nov 2008 14:42:37 -0000
@@ -1,3 +1,3 @@
-MD5 (pylibacl-0.2.1.tar.gz) = a1c3638fae0630dfa715f9143bd71ad5
-SHA256 (pylibacl-0.2.1.tar.gz) = 28f58576e9c5a6ed3b3c4bcb10ea0686ea29f8cc56cb0fd24e70473fb5e82e1f
-SIZE (pylibacl-0.2.1.tar.gz) = 18032
+MD5 (pylibacl-0.4.0.tar.gz) = 0c8c7fd673527fd63d970a6bac15779a
+SHA256 (pylibacl-0.4.0.tar.gz) = 77fdb67239f44d1e41315e36be7094a2fdf55a0021e9613540936abab3de3480
+SIZE (pylibacl-0.4.0.tar.gz) = 25469
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- pkg-plist	2 Jan 2003 06:07:56 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,8 +0,0 @@
-%%PYTHON_SITELIBDIR%%/posix1e.so
-share/doc/py-posix1e-0.2.1/BENCHMARK
-share/doc/py-posix1e-0.2.1/IMPLEMENTATION
-share/doc/py-posix1e-0.2.1/PLATFORMS
-share/doc/py-posix1e-0.2.1/README
-share/doc/py-posix1e-0.2.1/posix1e.html
-share/doc/py-posix1e-0.2.1/posix1e.txt
- at dirrm share/doc/py-posix1e-0.2.1
--- py-posix1e-0.4.0.patch ends here ---

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



More information about the freebsd-ports-bugs mailing list