pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/mixminion Update to Mixminion-0.0.8alpha3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aaebd16bf3ad
branches:  trunk
changeset: 563336:aaebd16bf3ad
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Aug 14 14:09:28 2009 +0000

description:
Update to Mixminion-0.0.8alpha3.

- support for newer Python versions
- various bug fixes and security improvements
- moved from LGPL to MIT license

Based on the update by Christian Sturm in wip with additional fixes from
me.

diffstat:

 security/mixminion/Makefile         |  26 +++++------------
 security/mixminion/PLIST            |  20 ++++++++++--
 security/mixminion/distinfo         |  12 +++----
 security/mixminion/patches/patch-aa |  32 +++++++++++++--------
 security/mixminion/patches/patch-ab |  54 -------------------------------------
 security/mixminion/patches/patch-ac |  14 ---------
 6 files changed, 48 insertions(+), 110 deletions(-)

diffs (233 lines):

diff -r 1e97391829fe -r aaebd16bf3ad security/mixminion/Makefile
--- a/security/mixminion/Makefile       Fri Aug 14 12:07:25 2009 +0000
+++ b/security/mixminion/Makefile       Fri Aug 14 14:09:28 2009 +0000
@@ -1,32 +1,22 @@
-# $NetBSD: Makefile,v 1.12 2009/02/09 21:09:22 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2009/08/14 14:09:28 joerg Exp $
 #
 
-DISTNAME=              Mixminion-0.0.7.1
+DISTNAME=              Mixminion-0.0.8alpha3
 PKGNAME=               ${DISTNAME:S/M/m/}
-PKGREVISION=           3
 CATEGORIES=            security mail
-MASTER_SITES=          http://mixminion.net/dist/0.0.7.1/
+MASTER_SITES=          http://mixminion.net/dist/0.0.8alpha3/
 
-MAINTAINER=            pdh%wiredyne.com@localhost
+MAINTAINER=            athaba%inode.at@localhost
 HOMEPAGE=              http://mixminion.net/
-COMMENT=               Mixminion impedes message traffic analysis
+COMMENT=               Anonymous Type 3 remailer
+LICENSE=               mit
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
-BUILDLINK_API_DEPENDS.openssl+=        openssl>=0.9.7d
-
-CRYPTO=                                YES
-PYTHON_VERSIONS_ACCEPTED=      23
-PYDISTUTILSPKG=                        YES
+PYDISTUTILSPKG=        yes
 
-TEST_TARGET=                   test
+TEST_TARGET=           test
 
-SUBST_CLASSES+=                paths
-SUBST_FILES.paths=     setup.py
-SUBST_SED.paths+=      -e 's,@PREFIX@,${PREFIX},g'
-SUBST_STAGE.paths=     post-patch
-
-.include "../../lang/python/application.mk"
 .include "../../lang/python/extension.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 1e97391829fe -r aaebd16bf3ad security/mixminion/PLIST
--- a/security/mixminion/PLIST  Fri Aug 14 12:07:25 2009 +0000
+++ b/security/mixminion/PLIST  Fri Aug 14 14:09:28 2009 +0000
@@ -1,9 +1,12 @@
-@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:13:33 joerg Exp $
+@comment $NetBSD: PLIST,v 1.3 2009/08/14 14:09:28 joerg Exp $
 bin/mixminion
 bin/mixminiond
 ${PYSITELIB}/mixminion/BuildMessage.py
 ${PYSITELIB}/mixminion/BuildMessage.pyc
 ${PYSITELIB}/mixminion/BuildMessage.pyo
+${PYSITELIB}/mixminion/ClientAPI.py
+${PYSITELIB}/mixminion/ClientAPI.pyc
+${PYSITELIB}/mixminion/ClientAPI.pyo
 ${PYSITELIB}/mixminion/ClientDirectory.py
 ${PYSITELIB}/mixminion/ClientDirectory.pyc
 ${PYSITELIB}/mixminion/ClientDirectory.pyo
@@ -40,6 +43,12 @@
 ${PYSITELIB}/mixminion/Packet.py
 ${PYSITELIB}/mixminion/Packet.pyc
 ${PYSITELIB}/mixminion/Packet.pyo
+${PYSITELIB}/mixminion/SExpression.py
+${PYSITELIB}/mixminion/SExpression.pyc
+${PYSITELIB}/mixminion/SExpression.pyo
+${PYSITELIB}/mixminion/ScheduleUtils.py
+${PYSITELIB}/mixminion/ScheduleUtils.pyc
+${PYSITELIB}/mixminion/ScheduleUtils.pyo
 ${PYSITELIB}/mixminion/ServerInfo.py
 ${PYSITELIB}/mixminion/ServerInfo.pyc
 ${PYSITELIB}/mixminion/ServerInfo.pyo
@@ -53,15 +62,15 @@
 ${PYSITELIB}/mixminion/__init__.pyc
 ${PYSITELIB}/mixminion/__init__.pyo
 ${PYSITELIB}/mixminion/_minionlib.so
-${PYSITELIB}/mixminion/_textwrap.py
-${PYSITELIB}/mixminion/_textwrap.pyc
-${PYSITELIB}/mixminion/_textwrap.pyo
 ${PYSITELIB}/mixminion/benchmark.py
 ${PYSITELIB}/mixminion/benchmark.pyc
 ${PYSITELIB}/mixminion/benchmark.pyo
 ${PYSITELIB}/mixminion/directory/DirCGI.py
 ${PYSITELIB}/mixminion/directory/DirCGI.pyc
 ${PYSITELIB}/mixminion/directory/DirCGI.pyo
+${PYSITELIB}/mixminion/directory/DirFormats.py
+${PYSITELIB}/mixminion/directory/DirFormats.pyc
+${PYSITELIB}/mixminion/directory/DirFormats.pyo
 ${PYSITELIB}/mixminion/directory/DirMain.py
 ${PYSITELIB}/mixminion/directory/DirMain.pyc
 ${PYSITELIB}/mixminion/directory/DirMain.pyo
@@ -95,6 +104,9 @@
 ${PYSITELIB}/mixminion/server/PacketHandler.py
 ${PYSITELIB}/mixminion/server/PacketHandler.pyc
 ${PYSITELIB}/mixminion/server/PacketHandler.pyo
+${PYSITELIB}/mixminion/server/Pinger.py
+${PYSITELIB}/mixminion/server/Pinger.pyc
+${PYSITELIB}/mixminion/server/Pinger.pyo
 ${PYSITELIB}/mixminion/server/ServerConfig.py
 ${PYSITELIB}/mixminion/server/ServerConfig.pyc
 ${PYSITELIB}/mixminion/server/ServerConfig.pyo
diff -r 1e97391829fe -r aaebd16bf3ad security/mixminion/distinfo
--- a/security/mixminion/distinfo       Fri Aug 14 12:07:25 2009 +0000
+++ b/security/mixminion/distinfo       Fri Aug 14 14:09:28 2009 +0000
@@ -1,8 +1,6 @@
-$NetBSD: distinfo,v 1.4 2006/01/27 17:13:56 joerg Exp $
+$NetBSD: distinfo,v 1.5 2009/08/14 14:09:28 joerg Exp $
 
-SHA1 (Mixminion-0.0.7.1.tar.gz) = 62df7fea95e88267215ed7dc07a1715e099f5312
-RMD160 (Mixminion-0.0.7.1.tar.gz) = e94f23a1e119c77a64893f935d49849958968cde
-Size (Mixminion-0.0.7.1.tar.gz) = 437539 bytes
-SHA1 (patch-aa) = fe3eed950f09db4aa54865ee99bf0965289dac09
-SHA1 (patch-ab) = 28a3fc5e298c64f1bc9822ed8bc0d9fd3c371452
-SHA1 (patch-ac) = e6f1dbc080e50feb9174d09df7b22c053c50e540
+SHA1 (Mixminion-0.0.8alpha3.tar.gz) = 543235e96ccde34e2db20fe79aad32412db3ccac
+RMD160 (Mixminion-0.0.8alpha3.tar.gz) = d321c45f86a363f29f92d3130e38b1608be27459
+Size (Mixminion-0.0.8alpha3.tar.gz) = 483281 bytes
+SHA1 (patch-aa) = 3b9a4ab8bd12f69cb03c28ea1be25b4a807391cd
diff -r 1e97391829fe -r aaebd16bf3ad security/mixminion/patches/patch-aa
--- a/security/mixminion/patches/patch-aa       Fri Aug 14 12:07:25 2009 +0000
+++ b/security/mixminion/patches/patch-aa       Fri Aug 14 14:09:28 2009 +0000
@@ -1,14 +1,20 @@
-$NetBSD: patch-aa,v 1.2 2005/01/30 21:56:24 wiz Exp $
+$NetBSD: patch-aa,v 1.3 2009/08/14 14:09:28 joerg Exp $
 
---- Makefile.orig      2004-04-04 20:43:33.000000000 +0200
-+++ Makefile
-@@ -12,8 +12,7 @@
- 
- # XXXX This fails when PYTHON is set to a version of Python earlier than 1.3
- 
--PYTHON_CANDIDATES = python python2.3 python2.3x python2.2 python2.2x python2.1\
--        python2.1x python2.0 python2.0x python2
-+PYTHON_CANDIDATES = python2.3 python2.2 python2.1
- FINDPYTHON = \
-    if [ "x`which which`" = "x" ]; then                                       \
-         echo "Ouch!  I couldn't run 'which' on your system.";                \
+--- setup.py.orig      2009-08-14 15:48:39.000000000 +0200
++++ setup.py
+@@ -525,11 +525,12 @@ if 'py2exe' in sys.argv:
+                              "etc/mixminiond.conf"])],
+         }
+ elif sys.platform != 'win32':
++    import os
+     EXTRA = {
+-        'data_files' : [("share/man/man1", ["doc/mixminion.1"]),
+-                        ("share/man/man5", ["doc/mixminionrc.5",
++        'data_files' : [( os.environ["PKGMANDIR"] + "/man1", ["doc/mixminion.1"]),
++                        ( os.environ["PKGMANDIR"] + "/man5", ["doc/mixminionrc.5",
+                                       "doc/mixminiond.conf.5"]),
+-                        ("share/man/man8", ["doc/mixminiond.8"])]
++                        ( os.environ["PKGMANDIR"] + "/man8", ["doc/mixminiond.8"])]
+         }
+ else:
+     EXTRA = {}
diff -r 1e97391829fe -r aaebd16bf3ad security/mixminion/patches/patch-ab
--- a/security/mixminion/patches/patch-ab       Fri Aug 14 12:07:25 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,54 +0,0 @@
-$NetBSD: patch-ab,v 1.2 2006/01/27 17:13:56 joerg Exp $
-
---- setup.py.orig      2004-05-10 19:36:22.000000000 +0200
-+++ setup.py
-@@ -492,6 +492,9 @@ if os.path.exists("/usr/kerberos/include
- 
- INCLUDE_DIRS.append("src")
- 
-+INCLUDE_DIRS.append('/usr/pkg/include')
-+INCLUDE_DIRS.append('/usr/include')
-+
- EXTRA_CFLAGS = []
- if sys.platform != 'win32':
-     EXTRA_CFLAGS += [ '-Wno-strict-prototypes' ]
-@@ -534,6 +537,30 @@ elif sys.platform != 'win32':
- else:
-     EXTRA = {}
- 
-+EXTRA = {'data_files':
-+         [('man/man1', ['etc/mixminion.1']),
-+          ('man/man5', ['etc/mixminionrc.5', 'etc/mixminiond.conf.5']),
-+          ('man/man8', ['etc/mixminiond.8'])]}
-+
-+orig_opts = sysconfig.get_config_vars('OPT')
-+if orig_opts == ['-DNDEBUG -O2 -I@PREFIX@/include -I/usr/include']:
-+    sysconfig._config_vars['OPT'] = '-DNDEBUG -O2'
-+elif orig_opts == ['-DNDEBUG -O2 -I/usr/include -I@PREFIX@/include']:
-+    sysconfig._config_vars['OPT'] = '-DNDEBUG -O2'
-+elif orig_opts == ['-DNDEBUG -O2 -I/usr/include']:
-+    sysconfig._config_vars['OPT'] = '-DNDEBUG -O2'
-+elif orig_opts == ['-O2 -I/usr/include']:
-+    sysconfig._config_vars['OPT'] = '-O2'
-+elif orig_opts == ['-DNDEBUG -g -O3 -Wall -Wstrict-prototypes']:
-+    pass
-+elif orig_opts == ['-g -O2 -Wall -Wstrict-prototypes']:
-+    pass
-+else:
-+    # The package defines the Python packages it can rely upon.
-+    # If we get here, this assumption is invalid.
-+    print "Looks like the Python we are using has unexpected properties."
-+    sys.exit(1)
-+
- setup(name='Mixminion',
-       version=VERSION,
-       license="LGPL",
-@@ -550,6 +575,8 @@ setup(name='Mixminion',
-       **EXTRA
- )
- 
-+sysconfig._config_vars['OPT'] = orig_opts
-+
- try:
-     for s in SCRIPTS:
-         os.unlink(s)
diff -r 1e97391829fe -r aaebd16bf3ad security/mixminion/patches/patch-ac
--- a/security/mixminion/patches/patch-ac       Fri Aug 14 12:07:25 2009 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,14 +0,0 @@
-$NetBSD: patch-ac,v 1.1.1.1 2004/12/27 22:58:57 wiz Exp $
-
---- lib/mixminion/test.py.orig Sun Apr  4 10:43:12 2004
-+++ lib/mixminion/test.py
-@@ -4272,7 +4272,8 @@ IntRS=5
-             self.assert_(os.path.exists(c[0]) and c[0].endswith("/rm"))
-             self.assertEquals(c[1], [])
-             self.assertEquals(C._parseCommand("/bin/ls"), ("/bin/ls", []))
--            self.failUnless(C._parseCommand("python")[0] is not None)
-+            # "python" does not have to be in the path.
-+#            self.failUnless(C._parseCommand("python")[0] is not None)
- 
-         # Base64
-         self.assertEquals(C._parseBase64(" YW\nJj"), "abc")



Home | Main Index | Thread Index | Old Index