From nobody@FreeBSD.org  Fri Jan 11 23:07:48 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1329716A418
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 Jan 2008 23:07:48 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 0CFE613C448
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 Jan 2008 23:07:48 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m0BN6cKs080877
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 11 Jan 2008 23:06:38 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m0BN6ceS080876;
	Fri, 11 Jan 2008 23:06:38 GMT
	(envelope-from nobody)
Message-Id: <200801112306.m0BN6ceS080876@www.freebsd.org>
Date: Fri, 11 Jan 2008 23:06:38 GMT
From: Peter Kieser <peter@kieser.ca>
To: freebsd-gnats-submit@FreeBSD.org
Subject: New port: mail/spamdyke A filter for monitoring and intercepting SMTP connections on qmail
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         119579
>Category:       ports
>Synopsis:       New port: mail/spamdyke A filter for monitoring and intercepting SMTP connections on qmail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    wxs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 11 23:10:03 UTC 2008
>Closed-Date:    Sat Mar 22 11:59:54 UTC 2008
>Last-Modified:  Sat Mar 22 12:00:05 UTC 2008
>Originator:     Peter Kieser
>Release:        
>Organization:
>Environment:
>Description:
spamdyke is a filter for monitoring and intercepting SMTP connections between a remote host and a qmail server. Spam is blocked while the remote server (spammer) is still connected; no additional processing or storage is needed.

In addition to all of its anti-spam filters, spamdyke also includes a number of features to enhance qmail.

Best of all, using spamdyke does not require patching or recompiling qmail! 
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	spamdyke
#	spamdyke/Makefile
#	spamdyke/pkg-descr
#	spamdyke/pkg-plist
#	spamdyke/distinfo
#
echo c - spamdyke
mkdir -p spamdyke > /dev/null 2>&1
echo x - spamdyke/Makefile
sed 's/^X//' >spamdyke/Makefile << 'END-of-spamdyke/Makefile'
X# New ports collection makefile for:	spamdyke
X# Date created:		11 January 2007
X# Whom:			Peter Kieser <peter@kieser.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	spamdyke
XPORTVERSION=	3.1.3
XCATEGORIES=	mail
XMASTER_SITES=	http://www.spamdyke.org/releases/
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	peter@kieser.ca
XCOMMENT=	A filter for monitoring and intercepting SMTP connections on qmail
X
XBUILD_DEPENDS=	${LOCALBASE}/bin/tcprules:${PORTSDIR}/sysutils/ucspi-tcp
XRUN_DEPENDS=	${LOCALBASE}/bin/tcprules:${PORTSDIR}/sysutils/ucspi-tcp
X
XWRKSRC=		${WRKDIR}/${DISTNAME}/spamdyke
X
XUSE_QMAIL=	yes
XGNU_CONFIGURE=	yes
X
XALL_TARGET=	spamdyke
X
XOPTIONS=	TLS "Enable TLS support" On
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITHOUT_TLS)
XCONFIGURE_ARGS+=    --disable-tls
X.else
XCONFIGURE_ARGS+=    --enable-tls
X.endif
X
XDOCS=		Changelog.txt FAQ.html GNUGPL.txt INSTALL.txt \
X		README.html README_ip_file_format.html \
X		README_rdns_directory_format.html README_rdns_file_format.html \
X		UPGRADING.txt
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@${MKDIR} ${DOCSDIR}
X	cd ${WRKDIR}/${DISTNAME}/documentation && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
X.endif
X
X.include <bsd.port.post.mk>
END-of-spamdyke/Makefile
echo x - spamdyke/pkg-descr
sed 's/^X//' >spamdyke/pkg-descr << 'END-of-spamdyke/pkg-descr'
Xspamdyke is a filter for monitoring and intercepting SMTP 
Xconnections between a remote host and a qmail server. Spam 
Xis blocked while the remote server (spammer) is still 
Xconnected; no additional processing or storage is needed.
X
XIn addition to all of its anti-spam filters, spamdyke also 
Xincludes a number of features to enhance qmail.
X
XBest of all, using spamdyke does not require patching or 
Xrecompiling qmail!
X
XWWW: http://www.spamdyke.org/
END-of-spamdyke/pkg-descr
echo x - spamdyke/pkg-plist
sed 's/^X//' >spamdyke/pkg-plist << 'END-of-spamdyke/pkg-plist'
Xbin/spamdyke
Xshare/doc/spamdyke/Changelog.txt
Xshare/doc/spamdyke/FAQ.html
Xshare/doc/spamdyke/GNUGPL.txt
Xshare/doc/spamdyke/INSTALL.txt
Xshare/doc/spamdyke/README.html
Xshare/doc/spamdyke/README_ip_file_format.html
Xshare/doc/spamdyke/README_rdns_directory_format.html
Xshare/doc/spamdyke/README_rdns_file_format.html
Xshare/doc/spamdyke/UPGRADING.txt
X@dirrm share/doc/spamdyke
END-of-spamdyke/pkg-plist
echo x - spamdyke/distinfo
sed 's/^X//' >spamdyke/distinfo << 'END-of-spamdyke/distinfo'
XMD5 (spamdyke-3.1.3.tgz) = 88fa8e47fbd7980db0c1c9b85763779a
XSHA256 (spamdyke-3.1.3.tgz) = b3c0c21f86cbf6415d3b06ceaf9c6d7d56e3cf728199e9555fe189aa14a448a0
XSIZE (spamdyke-3.1.3.tgz) = 745192
END-of-spamdyke/distinfo
exit



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sat Jan 19 13:19:37 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119579 
State-Changed-From-To: open->feedback 
State-Changed-By: miwi 
State-Changed-When: Mon Jan 21 15:48:55 UTC 2008 
State-Changed-Why:  

hi, 

Port does't build. 

===>  Building package for spamdyke-3.1.3 Creating package 
/usr/home/miwi/dev/ports/mail/spamdyke/spamdyke-3.1.3.tbz Registering 
depends:.  Creating bzip'd tar ball in 
'/usr/home/miwi/dev/ports/mail/spamdyke/spamdyke-3.1.3.tbz' tar: 
bin/spamdyke: Cannot stat: No such file or directory tar: Error exit 
delayed from previous errors.  pkg_create: make_dist: tar command failed 
with code 256 *** Error code 1 

Stop in /usr/home/miwi/dev/ports/mail/spamdyke.  ===> Error running make 
package ===> Files currently installed in PREFIX 
share/doc/spamdyke/Changelog.txt share/doc/spamdyke/FAQ.html 
share/doc/spamdyke/GNUGPL.txt share/doc/spamdyke/INSTALL.txt 
share/doc/spamdyke/README.html 
share/doc/spamdyke/README_ip_file_format.html 
share/doc/spamdyke/README_rdns_directory_format.html 
share/doc/spamdyke/README_rdns_file_format.html 
share/doc/spamdyke/UPGRADING.txt ===> Cleaning up 

You can test this with port test. 

- Martin 


http://www.freebsd.org/cgi/query-pr.cgi?pr=119579 

From: Peter Kieser <peter@kieser.ca>
To: bug-followup@FreeBSD.org, peter@kieser.ca
Cc:  
Subject: Re: ports/119579: New port: mail/spamdyke A filter for monitoring and
 intercepting SMTP connections on qmail
Date: Thu, 31 Jan 2008 09:22:56 -0800

 Martin,
 
 I can't seem to see what trouble you are having with building it. What 
 are you running to produce the error?
 
 [root@satan /home/peter/ports/spamdyke]# portlint
 WARN: Makefile: only one MASTER_SITE configured.  Consider adding 
 additional mirrors.
 0 fatal errors and 1 warning found.
 [root@satan /home/peter/ports/spamdyke]# make package
 ===>  Vulnerability check disabled, database not found
 ===>  Found saved configuration for spamdyke-3.1.3
 ===>  Extracting for spamdyke-3.1.3
 => MD5 Checksum OK for spamdyke-3.1.3.tgz.
 => SHA256 Checksum OK for spamdyke-3.1.3.tgz.
 ===>  Patching for spamdyke-3.1.3
 ===>   spamdyke-3.1.3 depends on file: /usr/local/bin/tcprules - found
 ===>   spamdyke-3.1.3 depends on file: /var/qmail/bin/qmail-send - found
 ===>  Configuring for spamdyke-3.1.3
 configure: WARNING: you should use --build, --host, --target
 checking for i386-portbld-freebsd6.2-gcc... cc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether cc accepts -g... yes
 checking for cc option to accept ANSI C... none needed
 checking for strip... strip spamdyke
 checking for RSA_sign in -lcrypto... yes
 checking for SSL_library_init in -lssl... yes
 checking for OpenSSL libraries (for TLS support)... yes
 checking for res_search in -lresolv... no
 checking for __res_search in -lresolv... no
 checking whether anonymous inner functions are supported by default... yes
 checking whether nameserver constants are defined in arpa/nameser.h... yes
 checking whether readdir() returns the file type... yes
 checking whether readdir() and stat() understand whiteout files... no
 checking whether pid_t is an unsigned int or an unsigned long... 
 unsigned int
 checking whether uid_t is an unsigned int or an unsigned long... 
 unsigned int
 checking whether gid_t is an unsigned int or an unsigned long... 
 unsigned int
 configure: creating ./config.status
 config.status: creating Makefile
 config.status: creating config.h
 ===>  Building for spamdyke-3.1.3
 cc -Wall -O2 -funsigned-char  -c spamdyke.c
 cc -Wall -O2 -funsigned-char  -c configuration.c
 cc -Wall -O2 -funsigned-char  -c dns.c
 cc -Wall -O2 -funsigned-char  -c environment.c
 cc -Wall -O2 -funsigned-char  -c usage.c
 cc -Wall -O2 -funsigned-char  -c search_fs.c
 cc -Wall -O2 -funsigned-char  -c exec.c
 cc -Wall -O2 -funsigned-char  -c base64.c
 cc -Wall -O2 -funsigned-char  -c tls.c
 cc -Wall -O2 -funsigned-char  -c log.c
 cc -Wall -O2 -funsigned-char  -c config_test.c
 cc -Wall -O2 -funsigned-char  -c md5.c
 cc -Wall -O2 -funsigned-char  -o spamdyke spamdyke.o configuration.o 
 dns.o environment.o usage.o search_fs.o exec.o base64.o tls.o log.o 
 config_test.o md5.o  -lcrypto  -lssl
 strip spamdyke
 ===>  Installing for spamdyke-3.1.3
 ===>   spamdyke-3.1.3 depends on file: /usr/local/bin/tcprules - found
 ===>   spamdyke-3.1.3 depends on file: /var/qmail/bin/qmail-send - found
 ===>   Generating temporary packing list
 ===>  Checking if mail/spamdyke already installed
 cp spamdyke /usr/local/bin
 cd /usr/home/peter/ports/spamdyke/work/spamdyke-3.1.3/documentation && 
 install  -o root -g wheel -m 444 Changelog.txt FAQ.html GNUGPL.txt 
 INSTALL.txt  README.html README_ip_file_format.html 
 README_rdns_directory_format.html README_rdns_file_format.html 
 UPGRADING.txt /usr/local/share/doc/spamdyke
 ===>   Registering installation for spamdyke-3.1.3
 ===> SECURITY REPORT:
       This port has installed the following files which may act as network
       servers and may therefore pose a remote security risk to the system.
 /usr/local/bin/spamdyke
 
       If there are vulnerabilities in these programs there may be a 
 security
       risk to the system. FreeBSD makes no guarantee about the security of
       ports included in the Ports Collection. Please type 'make deinstall'
       to deinstall the port if this is a concern.
 
       For more information, and contact details about the security
       status of this software, see the following webpage:
 http://www.spamdyke.org/
 ===>  Building package for spamdyke-3.1.3
 Creating package /usr/home/peter/ports/spamdyke/spamdyke-3.1.3.tbz
 Registering depends: qmail-tls-1.03.20021228_1 ucspi-tcp-0.88_2.
 Creating bzip'd tar ball in 
 '/usr/home/peter/ports/spamdyke/spamdyke-3.1.3.tbz'
 [root@satan /home/peter/ports/spamdyke]# uname -a
 FreeBSD satan.pfak.org 6.2-RELEASE-p10 FreeBSD 6.2-RELEASE-p10 #1: Tue 
 Jan 15 10:03:24 PST 2008 peter@satan.pfak.org:/usr/obj/usr/src/sys/SMP  
 i386
State-Changed-From-To: feedback->closed 
State-Changed-By: miwi 
State-Changed-When: Fri Mar 14 16:57:18 UTC 2008 
State-Changed-Why:  
Submitter timout. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119579 
State-Changed-From-To: closed->open 
State-Changed-By: miwi 
State-Changed-When: Mon Mar 17 17:18:03 UTC 2008 
State-Changed-Why:  
reopen after disscussion. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119579 

From: Peter Kieser <peter@kieser.ca>
To: bug-followup@FreeBSD.org, peter@kieser.ca
Cc:  
Subject: Re: ports/119579: New port: mail/spamdyke A filter for monitoring
 and intercepting SMTP connections on qmail
Date: Mon, 17 Mar 2008 10:12:56 -0700

 This is a multi-part message in MIME format.
 --------------080800070203020408090105
 Content-Type: text/plain; charset=ISO-8859-1; format=flowed
 Content-Transfer-Encoding: 7bit
 
 I really cannot see what's wrong with the build process. Tried it out in 
 a tinderbox and it works fine as well.
 
 Thoughts?
 
 -Peter
 
 --------------080800070203020408090105
 Content-Type: text/plain;
  name="spamdyke-3.1.6.shar.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline;
  filename="spamdyke-3.1.6.shar.txt"
 
 # This is a shell archive.  Save it in a file, remove anything before
 # this line, and then unpack it by entering "sh file".  Note, it may
 # create directories; files and directories will be owned by you and
 # have default permissions.
 #
 # This archive contains:
 #
 #	spamdyke
 #	spamdyke/Makefile
 #	spamdyke/pkg-descr
 #	spamdyke/pkg-plist
 #	spamdyke/distinfo
 #
 echo c - spamdyke
 mkdir -p spamdyke > /dev/null 2>&1
 echo x - spamdyke/Makefile
 sed 's/^X//' >spamdyke/Makefile << 'END-of-spamdyke/Makefile'
 X# New ports collection makefile for:	spamdyke
 X# Date created:		11 January 2007
 X# Whom:			Peter Kieser <peter@kieser.ca>
 X#
 X# $FreeBSD$
 X#
 X
 XPORTNAME=	spamdyke
 XPORTVERSION=	3.1.6
 XCATEGORIES=	mail
 XMASTER_SITES=	http://www.spamdyke.org/releases/
 XEXTRACT_SUFX=	.tgz
 X
 XMAINTAINER=	peter@kieser.ca
 XCOMMENT=	A filter for monitoring and intercepting SMTP connections on qmail
 X
 XBUILD_DEPENDS=	${LOCALBASE}/bin/tcprules:${PORTSDIR}/sysutils/ucspi-tcp
 XRUN_DEPENDS=	${LOCALBASE}/bin/tcprules:${PORTSDIR}/sysutils/ucspi-tcp
 X
 XWRKSRC=		${WRKDIR}/${DISTNAME}/spamdyke
 X
 XUSE_QMAIL=	yes
 XGNU_CONFIGURE=	yes
 X
 XALL_TARGET=	spamdyke
 X
 XOPTIONS=	TLS "Enable TLS support" On
 X
 X.include <bsd.port.pre.mk>
 X
 X.if defined(WITHOUT_TLS)
 XCONFIGURE_ARGS+=	--disable-tls
 X.else
 XCONFIGURE_ARGS+=	--enable-tls
 X.endif
 X
 XDOCS=		Changelog.txt FAQ.html GNUGPL.txt INSTALL.txt \
 X		README.html README_ip_file_format.html \
 X		README_rdns_directory_format.html README_rdns_file_format.html \
 X		UPGRADING.txt
 X
 Xpost-install:
 X.if !defined(NOPORTDOCS)
 X	@${MKDIR} ${DOCSDIR}
 X	cd ${WRKDIR}/${DISTNAME}/documentation && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
 X.endif
 X
 X.include <bsd.port.post.mk>
 END-of-spamdyke/Makefile
 echo x - spamdyke/pkg-descr
 sed 's/^X//' >spamdyke/pkg-descr << 'END-of-spamdyke/pkg-descr'
 Xspamdyke is a filter for monitoring and intercepting SMTP 
 Xconnections between a remote host and a qmail server. Spam 
 Xis blocked while the remote server (spammer) is still 
 Xconnected; no additional processing or storage is needed.
 X
 XIn addition to all of its anti-spam filters, spamdyke also 
 Xincludes a number of features to enhance qmail.
 X
 XBest of all, using spamdyke does not require patching or 
 Xrecompiling qmail!
 X
 XWWW: http://www.spamdyke.org/
 END-of-spamdyke/pkg-descr
 echo x - spamdyke/pkg-plist
 sed 's/^X//' >spamdyke/pkg-plist << 'END-of-spamdyke/pkg-plist'
 Xbin/spamdyke
 X%%DOCSDIR%%/Changelog.txt
 X%%DOCSDIR%%/FAQ.html
 X%%DOCSDIR%%/GNUGPL.txt
 X%%DOCSDIR%%/INSTALL.txt
 X%%DOCSDIR%%/README.html
 X%%DOCSDIR%%/README_ip_file_format.html
 X%%DOCSDIR%%/README_rdns_directory_format.html
 X%%DOCSDIR%%/README_rdns_file_format.html
 X%%DOCSDIR%%/UPGRADING.txt
 X@dirrm %%DOCSDIR%%
 END-of-spamdyke/pkg-plist
 echo x - spamdyke/distinfo
 sed 's/^X//' >spamdyke/distinfo << 'END-of-spamdyke/distinfo'
 XMD5 (spamdyke-3.1.6.tgz) = 5b065f2690f40da3ea765dc671da6dca
 XSHA256 (spamdyke-3.1.6.tgz) = 3abafc8243819ecacc5b6edee0c5a663efa65762bef7e6f7efa44c8740e221a0
 XSIZE (spamdyke-3.1.6.tgz) = 263910
 END-of-spamdyke/distinfo
 exit
 
 
 --------------080800070203020408090105--
Responsible-Changed-From-To: miwi->wxs 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Mon Mar 17 17:49:01 UTC 2008 
Responsible-Changed-Why:  
pass to wesly. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119579 
State-Changed-From-To: open->closed 
State-Changed-By: wxs 
State-Changed-When: Sat Mar 22 11:59:53 UTC 2008 
State-Changed-Why:  
New port added, with minor changes. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=119579 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/119579: commit references a PR
Date: Sat, 22 Mar 2008 11:59:34 +0000 (UTC)

 wxs         2008-03-22 11:59:29 UTC
 
   FreeBSD ports repository
 
   Modified files:
     mail                 Makefile 
   Added files:
     mail/spamdyke        Makefile distinfo pkg-descr 
   Log:
   spamdyke is a filter for monitoring and intercepting SMTP
   connections between a remote host and a qmail server. Spam
   is blocked while the remote server (spammer) is still
   connected; no additional processing or storage is needed.
   
   In addition to all of its anti-spam filters, spamdyke also
   includes a number of features to enhance qmail.
   
   Best of all, using spamdyke does not require patching or
   recompiling qmail!
   
   PR:             ports/119579
   Submitted by:   Peter Kieser <peter@kieser.ca>
   Approved by:    garga (mentor)
   
   Revision  Changes    Path
   1.904     +1 -0      ports/mail/Makefile
   1.1       +58 -0     ports/mail/spamdyke/Makefile (new)
   1.1       +3 -0      ports/mail/spamdyke/distinfo (new)
   1.1       +12 -0     ports/mail/spamdyke/pkg-descr (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
