pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/milter-sender Milter-sender is a real-time sender...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9ac6ae4e7567
branches:  trunk
changeset: 463077:9ac6ae4e7567
user:      manu <manu%pkgsrc.org@localhost>
date:      Mon Oct 27 17:57:33 2003 +0000

description:
Milter-sender is a real-time sender address validation milter for sendmail

diffstat:

 mail/milter-sender/Makefile         |  28 ++++++++++++++
 mail/milter-sender/PLIST            |   3 +
 mail/milter-sender/distinfo         |  10 +++++
 mail/milter-sender/patches/patch-aa |  25 ++++++++++++
 mail/milter-sender/patches/patch-ab |  74 +++++++++++++++++++++++++++++++++++++
 mail/milter-sender/patches/patch-ac |  14 +++++++
 mail/milter-sender/patches/patch-ad |  14 +++++++
 7 files changed, 168 insertions(+), 0 deletions(-)

diffs (196 lines):

diff -r e62ba3fb376a -r 9ac6ae4e7567 mail/milter-sender/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/milter-sender/Makefile       Mon Oct 27 17:57:33 2003 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/10/27 17:57:33 manu Exp $
+#
+
+DISTNAME=              milter-sender-0.41
+DISTFILES=             libsnert-1.23.tgz milter-sender-0.41.tgz
+CATEGORIES=            mail
+MASTER_SITES=          http://www.snert.com/Software/download/
+
+MAINTAINER=            manu%netbsd.org@localhost
+HOMEPAGE=              http://www.snert.com/Software/download/
+COMMENT=               Real-time sender's e-mail validity check
+
+WRKSRC=                        ${WRKDIR}/com/snert/src/milter-sender
+GNU_CONFIGURE=         yes
+MAKEFILE=              makefile
+#CFLAGS+=              -I${WRKDIR}
+USE_BUILDLINK2=                yes
+
+do-install:
+       ${INSTALL_SCRIPT} ${WRKSRC}/milter-sender.sh ${PREFIX}/etc/rc.d
+       ${INSTALL_PROGRAM} ${WRKSRC}/milter-sender ${PREFIX}/sbin
+       ${INSTALL} -d -o smmsp -g smmsp /var/milter-sender
+
+.include "../../mail/libmilter/buildlink2.mk"
+.include "../../mail/libsnert/buildlink2.mk"
+.include "../../databases/db3/buildlink2.mk"
+.include "../../mk/pthread.buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r e62ba3fb376a -r 9ac6ae4e7567 mail/milter-sender/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/milter-sender/PLIST  Mon Oct 27 17:57:33 2003 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/10/27 17:57:33 manu Exp $
+sbin/milter-sender
+etc/rc.d/milter-sender.sh
diff -r e62ba3fb376a -r 9ac6ae4e7567 mail/milter-sender/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/milter-sender/distinfo       Mon Oct 27 17:57:33 2003 +0000
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/10/27 17:57:33 manu Exp $
+
+SHA1 (libsnert-1.23.tgz) = 3bfdba152d1dbdd1da850809c2bb998cd272b819
+Size (libsnert-1.23.tgz) = 155678 bytes
+SHA1 (milter-sender-0.41.tgz) = b2f9a63f6cab521fd6b934848a6de959b7e546b0
+Size (milter-sender-0.41.tgz) = 217042 bytes
+SHA1 (patch-aa) = 50eb8ae3c3d4b449628785b8fb1dea6c5635b0e2
+SHA1 (patch-ab) = 34e5bd83b605bfc2b6292f14b8062b9380616a17
+SHA1 (patch-ac) = 3fb844d0937706ca8eb0d87d02a76543ba9a19da
+SHA1 (patch-ad) = e47965c840b198dee280f005d27c93f3d92c292f
diff -r e62ba3fb376a -r 9ac6ae4e7567 mail/milter-sender/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/milter-sender/patches/patch-aa       Mon Oct 27 17:57:33 2003 +0000
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/10/27 17:57:33 manu Exp $
+--- makefile.in.orig   Tue Oct 21 17:56:46 2003
++++ makefile.in        Thu Oct 23 16:22:14 2003
+@@ -22,9 +22,9 @@
+ 
+ prefix = @prefix@
+ exec_prefix = @exec_prefix@
+ BINDIR                = @sbindir@
+-STATEDIR      = @localstatedir@/lib/$(MILTER)
++STATEDIR      = @localstatedir@/$(MILTER)
+ STARTUP_SCRIPT        = @STARTUP_SCRIPT@/$(MILTER)
+ 
+ ########################################################################
+ ### No further configuration beyond this point.
+@@ -50,9 +50,9 @@
+ CC_E  = @CC_E@
+ CC_O  = @CC_O@
+ CFLAGS        = @CFLAGS@ 
+ LDFLAGS       = @LDFLAGS@
+-LIBS  = @LIBSNERT@ @LIBS@
++LIBS  = @LIBSNERT@ @LIBS@ -lmilter -lpthread
+ 
+ XARGSI        = @XARGSI@
+ RANLIB        = @RANLIB@
+ ARCHIVE       = @ARCHIVE@
diff -r e62ba3fb376a -r 9ac6ae4e7567 mail/milter-sender/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/milter-sender/patches/patch-ab       Mon Oct 27 17:57:33 2003 +0000
@@ -0,0 +1,74 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/10/27 17:57:33 manu Exp $
+--- milter-sender.sh.in.orig   Thu Oct 23 16:31:48 2003
++++ milter-sender.sh.in        Thu Oct 23 16:32:53 2003
+@@ -12,10 +12,10 @@
+ 
+ prefix="@prefix@"
+ exec_prefix="@exec_prefix@"
+ PROGRAM="@sbindir@/@PACKAGE_NAME@"
+-OPTIONS="-d 127.0.0.1 -s /etc/mail/sendmail.cf -R -u 3 unix:@localstatedir@/lib/@PACKAGE_NAME@/socket"
+-REQUIRED_DIR="@localstatedir@/lib/@PACKAGE_NAME@"
++OPTIONS="-d 127.0.0.1 -s /etc/mail/sendmail.cf -R -u 3 unix:@localstatedir@/@PACKAGE_NAME@/socket"
++REQUIRED_DIR="@localstatedir@/@PACKAGE_NAME@"
+ 
+ FG_RED='\033[1;31m'
+ FG_GREEN='\033[1;32m'
+ FG_WHITE='\033[0;37m'
+@@ -71,9 +71,9 @@
+         printf "Starting %s" $NAME
+ 
+       pid=`getpid "$PROGRAM"`
+       if [ X"$pid" != X ]; then
+-              printf '\r\033[71C['${FG_RED}'FAILED'${FG_NORMAL}']\n'
++              printf '\n'
+               return
+       fi
+ 
+       # Make sure the old socket has been removed, especially for FreeBSD.
+@@ -84,13 +84,13 @@
+       sh -c "$PROGRAM $OPTIONS &"
+ 
+       pid=`getpid "$PROGRAM"`
+       if [ X"$pid" = X ]; then
+-              printf '\r\033[71C['${FG_RED}'FAILED'${FG_NORMAL}']\n'
++              printf '\n'
+               return
+       fi
+ 
+-      printf '\r\033[71C['${FG_GREEN}'  OK  '${FG_NORMAL}']\n'
++      #printf '\n'
+ }
+ 
+ stop()
+ {
+@@ -108,14 +108,14 @@
+ 
+               sleep 2
+               pid=`getpid "$PROGRAM"`
+               if [ X"$pid" != X ]; then
+-                      printf '\r\033[71C['${FG_RED}'FAILED'${FG_NORMAL}']\n'
++                      printf '\n'
+                       return
+               fi
+       fi
+ 
+-      printf '\r\033[71C['${FG_GREEN}'  OK  '${FG_NORMAL}']\n'
++      printf '\n'
+ }
+ 
+ case "$1" in
+ restart)
+@@ -130,11 +130,11 @@
+       ;;
+ status)
+       pid=`getpid "$PROGRAM"`
+       if [ X"$pid" != X ]; then
+-              printf '\r\033[72C['${FG_GREEN}${pid}${FG_NORMAL}']\n'
++              printf '\n'
+       else
+-              printf '\r\033[70C['${FG_RED}'STOPPED'${FG_NORMAL}']\n'
++              printf '\n'
+       fi
+       ;;
+ *)
+       printf 'Usage: %s {start|stop|restart|status}\n' $0
diff -r e62ba3fb376a -r 9ac6ae4e7567 mail/milter-sender/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/milter-sender/patches/patch-ac       Mon Oct 27 17:57:33 2003 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/10/27 17:57:33 manu Exp $
+--- configure.orig     Thu Oct 23 17:12:05 2003
++++ configure  Thu Oct 23 17:12:14 2003
+@@ -1352,9 +1352,9 @@
+ statedir="$localstatedir/lib/$PACKAGE_NAME"
+ statedir=$statedir
+ 
+ cat >>confdefs.h <<_ACEOF
+-#define STATEDIR "$localstatedir/lib/$PACKAGE_NAME"
++#define STATEDIR "$localstatedir/$PACKAGE_NAME"
+ _ACEOF
+ 
+ 
+ #######################################################################
diff -r e62ba3fb376a -r 9ac6ae4e7567 mail/milter-sender/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/milter-sender/patches/patch-ad       Mon Oct 27 17:57:33 2003 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-ad,v 1.1.1.1 2003/10/27 17:57:33 manu Exp $
+--- milter-sender.c.orig       Thu Oct 23 17:21:35 2003
++++ milter-sender.c    Thu Oct 23 17:21:44 2003
+@@ -72,9 +72,9 @@
+ /*
+  * Where to keep state information.
+  */
+ #ifndef STATEDIR
+-#define STATEDIR                      "/var/lib/milter-sender"
++#define STATEDIR                      "/var/milter-sender"
+ #endif
+ 
+ /*
+  * For when the mutex is a file lock.



Home | Main Index | Thread Index | Old Index