Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Nov 2003 20:30:44 +0100
From:      "Clement Laforet" <sheepkiller@cultdeadsheep.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Clement Laforet <sheepkiller@cultdeadsheep.org>
Subject:   ports/59528: [bento fix] security/py-pow: update to 0.7 (fix build on -CURRENT too).
Message-ID:  <20031120193120.6481343FE1@mx1.FreeBSD.org>
Resent-Message-ID: <200311201940.hAKJeHxs095613@freefall.freebsd.org>

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

>Number:         59528
>Category:       ports
>Synopsis:       [bento fix] security/py-pow: update to 0.7 (fix build on -CURRENT too).
>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:   Thu Nov 20 11:40:16 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Clement Laforet
>Release:        FreeBSD 5.1-CURRENT i386
>Organization:
cotds.org
>Environment:
System: FreeBSD lucifer.cultdeadsheep.org 5.1-CURRENT FreeBSD 5.1-CURRENT #0: Tue Nov 18 23:10:46 CET 2003 clement@lucifer.cultdeadsheep.org:/usr/obj/usr/src/sys/LUCIFER i386


	
>Description:
	- Update to 0.7
	- Unmark as BROKEN
	- Use PORTDOCS macro
	- removed file:
		py-pow/files/patch-POW.c

	tested on -CURRENT and -STABLE

>How-To-Repeat:
	N/A.
>Fix:

	

--- py-pow.diff begins here ---
Index: py-pow/Makefile
===================================================================
RCS file: /WORK/REPO/FreeBSD/ports/security/py-pow/Makefile,v
retrieving revision 1.6
diff -u -r1.6 Makefile
--- py-pow/Makefile	16 Oct 2003 01:31:26 -0000	1.6
+++ py-pow/Makefile	20 Nov 2003 19:25:43 -0000
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	pow
-PORTVERSION=	0.6.1
+PORTVERSION=	0.7
 CATEGORIES=	security python
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -21,16 +21,12 @@
 USE_PYDISTUTILS=	yes
 USE_OPENSSL=	yes
 
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 501000
-BROKEN=		"Does not compile"
-.endif
-
+PORTDOCS=	POW.pdf
 .if !defined(NOPORTDOCS)
+
 post-install:
 	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/POW.pdf ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/docs/${PORTDOCS} ${DOCSDIR}
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: py-pow/distinfo
===================================================================
RCS file: /WORK/REPO/FreeBSD/ports/security/py-pow/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- py-pow/distinfo	11 Feb 2002 14:20:23 -0000	1.1
+++ py-pow/distinfo	20 Nov 2003 19:25:43 -0000
@@ -1 +1 @@
-MD5 (POW-0.6.1.tar.gz) = a1093b7b8c105869e0538fd4b8bb2228
+MD5 (POW-0.7.tar.gz) = e2d83a9f564cfd0ea1e1aa6488a05247
Index: py-pow/pkg-plist
===================================================================
RCS file: /WORK/REPO/FreeBSD/ports/security/py-pow/pkg-plist,v
retrieving revision 1.1
diff -u -r1.1 pkg-plist
--- py-pow/pkg-plist	11 Feb 2002 14:20:23 -0000	1.1
+++ py-pow/pkg-plist	20 Nov 2003 19:25:43 -0000
@@ -1,3 +1,20 @@
-lib/%%PYTHON_VERSION%%/site-packages/POW.so
-%%PORTDOCS%%share/doc/pow/POW.pdf
-%%PORTDOCS%%@dirrm share/doc/pow
+%%PYTHON_SITELIBDIR%%/POW/__init__.py
+%%PYTHON_SITELIBDIR%%/POW/_der.py
+%%PYTHON_SITELIBDIR%%/POW/_objects.py
+%%PYTHON_SITELIBDIR%%/POW/_oids.py
+%%PYTHON_SITELIBDIR%%/POW/_simpledb.py
+%%PYTHON_SITELIBDIR%%/POW/pkix.py
+%%PYTHON_SITELIBDIR%%/POW/_POW.so
+%%PYTHON_SITELIBDIR%%/POW/__init__.pyc
+%%PYTHON_SITELIBDIR%%/POW/_der.pyc
+%%PYTHON_SITELIBDIR%%/POW/_objects.pyc
+%%PYTHON_SITELIBDIR%%/POW/_oids.pyc
+%%PYTHON_SITELIBDIR%%/POW/_simpledb.pyc
+%%PYTHON_SITELIBDIR%%/POW/pkix.pyc
+%%PYTHON_SITELIBDIR%%/POW/__init__.pyo
+%%PYTHON_SITELIBDIR%%/POW/_der.pyo
+%%PYTHON_SITELIBDIR%%/POW/_objects.pyo
+%%PYTHON_SITELIBDIR%%/POW/_oids.pyo
+%%PYTHON_SITELIBDIR%%/POW/_simpledb.pyo
+%%PYTHON_SITELIBDIR%%/POW/pkix.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/POW
Index: py-pow/files/patch-POW.c
===================================================================
RCS file: py-pow/files/patch-POW.c
diff -N py-pow/files/patch-POW.c
--- py-pow/files/patch-POW.c	11 Feb 2002 14:20:24 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- POW.c.orig	Mon Feb 11 22:12:50 2002
-+++ POW.c	Mon Feb 11 22:13:01 2002
-@@ -34,7 +34,7 @@
- /*                                                                           */
- /*****************************************************************************/
- 
--#include <python2.1/Python.h>
-+#include <Python.h>
- 
- #include <openssl/crypto.h>
- #include <openssl/rand.h>
--- py-pow.diff ends here ---


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



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