svn commit: r358163 - in head/mail/mixmaster: . files

Carlo Strub cs at FreeBSD.org
Tue Jun 17 19:23:43 UTC 2014


Author: cs
Date: Tue Jun 17 19:23:41 2014
New Revision: 358163
URL: http://svnweb.freebsd.org/changeset/ports/358163
QAT: https://qat.redports.org/buildarchive/r358163/

Log:
  - Fix Staging
  - Add pkg-message
  - use fetch instead of wget
  - apply necessary patches to run client smoothly as a user

Added:
  head/mail/mixmaster/files/patch-Mix-Src-menustats.c   (contents, props changed)
  head/mail/mixmaster/pkg-message   (contents, props changed)
Modified:
  head/mail/mixmaster/Makefile
  head/mail/mixmaster/files/patch-Mix-Src-Makefile.in
  head/mail/mixmaster/files/patch-Mix-Src-config.h
  head/mail/mixmaster/files/patch-Mix-conf-mix.cfg
  head/mail/mixmaster/pkg-descr
  head/mail/mixmaster/pkg-plist

Modified: head/mail/mixmaster/Makefile
==============================================================================
--- head/mail/mixmaster/Makefile	Tue Jun 17 19:22:50 2014	(r358162)
+++ head/mail/mixmaster/Makefile	Tue Jun 17 19:23:41 2014	(r358163)
@@ -4,6 +4,7 @@
 
 PORTNAME=	mixmaster
 PORTVERSION=	3.0.2d
+PORTREVISION=	1
 CATEGORIES=	mail security
 MASTER_SITES=	http://www.c-s.li/ports/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
@@ -20,7 +21,7 @@ USE_NCURSES=	yes
 
 BUILD_WRKSRC=	${WRKSRC}/Mix/Src
 
-PORTDOCS=	README HISTORY
+PORTDOCS=	README HISTORY THANKS TODO
 CONFIG_FILES=	abuse.txt.in dest.blk mix.cfg news.hlp pubring.mix type1.hlp \
 		adminkey.txt end.hlp mix.cfg.ex pgp.hlp rab.blk usage.txt.in \
 		blocked.txt.in header.blk mix.hlp pgponly.hlp reply.txt.in \
@@ -63,10 +64,8 @@ do-install:
 	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/Mix/,} ${STAGEDIR}${DOCSDIR}/
 .endif
 .for FILE in ${CONFIG_FILES}
-	@${INSTALL_DATA} ${WRKSRC}/Mix/conf/${FILE} ${ETCDIR}/${FILE}.sample
-	@if [ ! -f ${ETCDIR}/${FILE} ]; then \
-		${CP} -p ${WRKSRC}/Mix/conf/${FILE} ${ETCDIR}/${FILE} ; \
-	fi
+	@${MKDIR} ${STAGEDIR}${ETCDIR}
+	@${INSTALL_DATA} ${WRKSRC}/Mix/conf/${FILE} ${STAGEDIR}${ETCDIR}/${FILE}.sample
 .endfor
 
 .include <bsd.port.post.mk>

Modified: head/mail/mixmaster/files/patch-Mix-Src-Makefile.in
==============================================================================
--- head/mail/mixmaster/files/patch-Mix-Src-Makefile.in	Tue Jun 17 19:22:50 2014	(r358162)
+++ head/mail/mixmaster/files/patch-Mix-Src-Makefile.in	Tue Jun 17 19:23:41 2014	(r358163)
@@ -1,5 +1,5 @@
---- Mix/Src/Makefile.in.orig	2014-06-01 22:58:49.000000000 +0200
-+++ Mix/Src/Makefile.in	2014-06-01 23:00:44.000000000 +0200
+--- Mix/Src/Makefile.in.orig	2014-05-01 10:06:28.000000000 +0200
++++ Mix/Src/Makefile.in	2014-06-16 23:47:09.000000000 +0200
 @@ -8,10 +8,10 @@
  # $Id: Makefile.in 647 2003-10-25 23:34:13Z weasel $
  
@@ -9,7 +9,7 @@
 -LIBS = %LIBS
 -LDFLAGS = %LDFLAGS
 +INC = -I/usr/local/include -I/usr/include
-+DEF = -DUSE_ZLIB -DUSE_PCRE -DUSE_AES -DUSE_NCURSES -DHAVE_NCURSES_H -DUSE_IDEA -DHAVE_SETENV -DUSE_SOCK -DSPOOL='"/tmp/mixmaster"' -DGLOBALMIXCONF='"%%ETCDIR%%/mix.cfg"' -DHOMEMIXDIR='".Mix"'
++DEF = -DUSE_ZLIB -DUSE_PCRE -DUSE_AES -DUSE_NCURSES -DHAVE_NCURSES_H -DUSE_IDEA -DHAVE_SETENV -DUSE_SOCK -DGLOBALMIXCONF='"/usr/local/etc/mixmaster/mix.cfg"' -DHOMEMIXDIR='".Mix"'
 +LIBS =
 +LDFLAGS = -Wl -lz -lpcre -L/usr/local/lib -lncurses -ltermcap -lcrypto
  

Modified: head/mail/mixmaster/files/patch-Mix-Src-config.h
==============================================================================
--- head/mail/mixmaster/files/patch-Mix-Src-config.h	Tue Jun 17 19:22:50 2014	(r358162)
+++ head/mail/mixmaster/files/patch-Mix-Src-config.h	Tue Jun 17 19:23:41 2014	(r358163)
@@ -1,5 +1,5 @@
---- Mix/Src/config.h.orig	2014-06-01 23:03:49.000000000 +0200
-+++ Mix/Src/config.h	2014-06-01 23:04:46.000000000 +0200
+--- Mix/Src/config.h.orig	2014-05-01 10:06:28.000000000 +0200
++++ Mix/Src/config.h	2014-06-16 17:41:37.000000000 +0200
 @@ -179,11 +179,11 @@
  #define BUFSIZE 4096
  
@@ -14,3 +14,12 @@
  #endif
  
  /** file names ********************************************************/
+@@ -241,7 +241,7 @@
+ #define DEFAULT_STAREX "starex.txt"
+ #define DEFAULT_ALLPINGERSURL "http://www.noreply.org/allpingers/allpingers.txt"
+ #define DEFAULT_ALLPINGERSFILE "allpingers.txt"
+-#define DEFAULT_WGET "wget"
++#define DEFAULT_WGET "/usr/bin/fetch"
+ 
+ DLLIMPORT extern char MIXCONF[];
+ extern char DISCLAIMFILE[];

Added: head/mail/mixmaster/files/patch-Mix-Src-menustats.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/mixmaster/files/patch-Mix-Src-menustats.c	Tue Jun 17 19:23:41 2014	(r358163)
@@ -0,0 +1,11 @@
+--- Mix/Src/menustats.c.orig	2014-06-16 23:20:42.000000000 +0200
++++ Mix/Src/menustats.c	2014-06-16 23:20:58.000000000 +0200
+@@ -57,7 +57,7 @@
+           narg[0]=WGET;
+           narg[1]="-q";
+           narg[2]=url;
+-          narg[3]="-O";
++          narg[3]="-o";
+           narg[4]=dest;
+           narg[5]=(char *) 0;
+           execvp(WGET, narg);

Modified: head/mail/mixmaster/files/patch-Mix-conf-mix.cfg
==============================================================================
--- head/mail/mixmaster/files/patch-Mix-conf-mix.cfg	Tue Jun 17 19:22:50 2014	(r358162)
+++ head/mail/mixmaster/files/patch-Mix-conf-mix.cfg	Tue Jun 17 19:23:41 2014	(r358163)
@@ -1,8 +1,7 @@
---- Mix/conf/mix.cfg.orig	2014-06-01 23:07:26.000000000 +0200
-+++ Mix/conf/mix.cfg	2014-06-01 23:07:48.000000000 +0200
-@@ -12,3 +12,5 @@
+--- Mix/conf/mix.cfg.orig	2014-06-16 23:58:04.000000000 +0200
++++ Mix/conf/mix.cfg	2014-06-16 23:58:55.000000000 +0200
+@@ -12,3 +12,4 @@
  RELFINAL	99
  MAXLAT		36h
  MINLAT		5m
 +SENDMAIL        /usr/sbin/sendmail -t
-+POOL            /var/spool/mixmaster

Modified: head/mail/mixmaster/pkg-descr
==============================================================================
--- head/mail/mixmaster/pkg-descr	Tue Jun 17 19:22:50 2014	(r358162)
+++ head/mail/mixmaster/pkg-descr	Tue Jun 17 19:23:41 2014	(r358163)
@@ -2,7 +2,4 @@ Mixmaster is an "Chaumian mix-net" anony
 protection against traffic analysis and allow sending email anonymously or
 pseudonymously. 
 
-This software comes in a client only configuration! If you want to setup a
-mixmaster server, read through the example files and man page.
-
 WWW: https://github.com/crooks/mixmaster

Added: head/mail/mixmaster/pkg-message
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/mixmaster/pkg-message	Tue Jun 17 19:23:41 2014	(r358163)
@@ -0,0 +1,15 @@
+
+******************************************************************************
+
+To use mixmaster as a client for sending anonymous e-mails, do the following:
+
+1) As a normal user (not root) create the .Mix directory:
+	mkdir ~/.Mix
+2) Update the list of remailers regularly, e.g.:
+	mixmaster-update --source austria
+3) Start mixmaster:
+	mixmaster
+
+USE AT YOUR OWN RISK!  DON'T USE IT FOR SPAM OR HARASSMENT OF OTHERS!
+
+******************************************************************************

Modified: head/mail/mixmaster/pkg-plist
==============================================================================
--- head/mail/mixmaster/pkg-plist	Tue Jun 17 19:22:50 2014	(r358162)
+++ head/mail/mixmaster/pkg-plist	Tue Jun 17 19:23:41 2014	(r358163)
@@ -2,5 +2,29 @@ bin/mixmaster
 bin/mixmaster-update
 bin/mpgp
 bin/remailer
+ at sample %%ETCDIR%%/abuse.txt.in.sample
+ at sample %%ETCDIR%%/adminkey.txt.sample
+ at sample %%ETCDIR%%/allpingers.txt.sample
+ at sample %%ETCDIR%%/blocked.txt.in.sample
+ at sample %%ETCDIR%%/dest.alw.sample
+ at sample %%ETCDIR%%/dest.blk.sample
+ at sample %%ETCDIR%%/end.hlp.sample
+ at sample %%ETCDIR%%/header.blk.sample
+ at sample %%ETCDIR%%/intro.hlp.sample
+ at sample %%ETCDIR%%/mix.cfg.ex.sample
+ at sample %%ETCDIR%%/mix.cfg.sample
+ at sample %%ETCDIR%%/mix.hlp.sample
+ at sample %%ETCDIR%%/mlist.txt.sample
+ at sample %%ETCDIR%%/news.hlp.sample
+ at sample %%ETCDIR%%/pgp.hlp.sample
+ at sample %%ETCDIR%%/pgponly.hlp.sample
+ at sample %%ETCDIR%%/pubring.asc.sample
+ at sample %%ETCDIR%%/pubring.mix.sample
+ at sample %%ETCDIR%%/rab.blk.sample
+ at sample %%ETCDIR%%/reply.txt.in.sample
+ at sample %%ETCDIR%%/rlist.txt.sample
+ at sample %%ETCDIR%%/type1.hlp.sample
+ at sample %%ETCDIR%%/usage.txt.in.sample
 man/man1/mixmaster.1.gz
 man/man1/mpgp.1.gz
+ at dirrmtry %%ETCDIR%%


More information about the svn-ports-head mailing list