Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Mar 2008 01:58:44 GMT
From:      Felippe de Meirelles Motta <lippe@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/121749: [UPDATE] mail/qsheff
Message-ID:  <200803160158.m2G1wimH015797@www.freebsd.org>
Resent-Message-ID: <200803160210.m2G2A2OB095859@freefall.freebsd.org>

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

>Number:         121749
>Category:       ports
>Synopsis:       [UPDATE] mail/qsheff
>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:   Sun Mar 16 02:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Felippe de Meirelles Motta
>Release:        FreeBSD 7.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD 7.0-STABLE #5: Tue Mar 11 22:21:58 BRT 2008
    lippe@shire.freebsd.org:/usr/obj/usr/src/sys/SHIRE

>Description:
- Update to 2.1.r3
- Update MASTER_SITES
- Makefile style
- Fix pkg-plist

TB Log: http://regis.goodking.ca/tb/logs/7-FreeBSD-lippe/qsheff-II-2.1.r3.log

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: mail/qsheff/Makefile
===================================================================
RCS file: /home/pcvs/ports/mail/qsheff/Makefile,v
retrieving revision 1.9
diff -u -r1.9 Makefile
--- mail/qsheff/Makefile	19 Dec 2007 23:08:35 -0000	1.9
+++ mail/qsheff/Makefile	16 Mar 2008 01:31:28 -0000
@@ -6,12 +6,10 @@
 #
 
 PORTNAME=	qsheff-II
-PORTVERSION=	2.1.r2
-PORTREVISION=	2
+PORTVERSION=	2.1.r3
 CATEGORIES=	mail
 MASTER_SITES=	http://www.enderunix.org/qsheff/ \
-		${MASTER_SITE_SOURCEFORGE}
-MASTER_SITE_SUBDIR=	${PORTNAME}
+		SF/qsheff
 DISTNAME=	${PORTNAME}-${PORTVERSION:S/.r/-r/}
 
 MAINTAINER=	ozkan@enderunix.org
@@ -19,28 +17,32 @@
 
 BUILD_DEPENDS=	${LOCALBASE}/bin/ripmime:${PORTSDIR}/mail/ripmime
 RUN_DEPENDS=	${BUILD_DEPENDS}
-USE_QMAIL=	yes
 
 GNU_CONFIGURE=	YES
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 
-PORTDOCS=	README COPYING AUTHORS ChangeLog \
-		INSTALL UPGRADE THANKS TODO
+USE_QMAIL=	yes
 
-OPTIONS=	CLAMAV "Integrate with Clam AntiVirus" on \
-			SPAMTAG "Enable Spam Tagging" off \
-			VIRUSTAG "Enable Virus Tagging" off \
-			DISABLELOCAL "Disable Filters For Local Users" off \
-			SYSLOG "Enable Syslog Logging" off \
-			BACKUP "Enable Logging Incoming/Outgoing Mail" off \
-			CUSTOMERROR "Enable Custom Error Patch" off \
-			DEBUG "Enable Debug Messages" off \
+DOCS=		README COPYING AUTHORS ChangeLog INSTALL THANKS TODO
+EXAMPLES=	sample-OK.msg sample-SPAM.msg sample-VIRUS.msg
+CONTRIB=	README qq-custom-error-patch.diff qq-patch.diff \
+		qsheff-patch.diff
+FILES=		handbook.en.txt handbook.tr.txt spamass-qsheff.en.html
 
 CONFIGURE_ARGS+=	--with-qmaildir=${QMAIL_PREFIX}
 
+OPTIONS=	CLAMAV "Integrate with Clam AntiVirus" on \
+		SPAMTAG "Enable Spam Tagging" off \
+		VIRUSTAG "Enable Virus Tagging" off \
+		DISABLELOCAL "Disable Filters For Local Users" off \
+		SYSLOG "Enable Syslog Logging" off \
+		BACKUP "Enable Logging Incoming/Outgoing Mail" off \
+		CUSTOMERROR "Enable Custom Error Patch" off \
+		DEBUG "Enable Debug Messages" off
+
 .include <bsd.port.pre.mk>
 
-.if !defined(WITHOUT_CLAMAV)
+.if defined(WITH_CLAMAV)
 RUN_DEPENDS+=	${LOCALBASE}/bin/clamdscan:${PORTSDIR}/security/clamav
 BUILD_DEPENDS+=	${LOCALBASE}/bin/clamdscan:${PORTSDIR}/security/clamav
 CONFIGURE_ARGS+=	--with-clamav
@@ -89,14 +91,17 @@
 		${WRKSRC}/etc/qsheff.conf-default
 .endif
 
-post-install:
-	@${INSTALL_DATA} ${WRKSRC}/AUTHORS ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/INSTALL ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/THANKS ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
-	@touch ${DOCSDIR}/UPGRADE
+do-install:
+.if !defined(NOPORTDOCS)
+	@${MKDIR} ${DOCSDIR}/doc
+	@${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
+	@${INSTALL_DATA} ${FILES:S,^,${WRKSRC}/doc/,} ${DOCSDIR}/doc/
+	@${MKDIR} ${EXAMPLESDIR}/contrib
+	@${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/samples/,} ${EXAMPLESDIR}/
+	@${INSTALL_DATA} ${CONTRIB:S,^,${WRKSRC}/contrib/,} ${EXAMPLESDIR}/contrib
+.endif
+	@${MKDIR} ${ETCDIR}
+	@${INSTALL_DATA} ${ETCFILES:S,^,${WRKSRC}/etc/,} ${ETCDIR}/
+	@${INSTALL_SCRIPT} ${WRKSRC}/src/qsheff ${PREFIX}/bin/qsheff
 
 .include <bsd.port.post.mk>
Index: mail/qsheff/distinfo
===================================================================
RCS file: /home/pcvs/ports/mail/qsheff/distinfo,v
retrieving revision 1.5
diff -u -r1.5 distinfo
--- mail/qsheff/distinfo	9 Oct 2006 20:42:12 -0000	1.5
+++ mail/qsheff/distinfo	16 Mar 2008 01:31:28 -0000
@@ -1,2 +1,3 @@
-MD5 (qsheff-II-2.1-r2.tar.gz) = f7f1cd41d22b0b7aaaca7d130d43e852
-SIZE (qsheff-II-2.1-r2.tar.gz) = 132258
+MD5 (qsheff-II-2.1-r3.tar.gz) = 85bd2044ec81248f6c36155c82131caa
+SHA256 (qsheff-II-2.1-r3.tar.gz) = a865f9e520497303b9f57bc53012a590da15a665883d05ff37ca26278af6ffb2
+SIZE (qsheff-II-2.1-r3.tar.gz) = 131802
Index: mail/qsheff/pkg-descr
===================================================================
RCS file: /home/pcvs/ports/mail/qsheff/pkg-descr,v
retrieving revision 1.1
diff -u -r1.1 pkg-descr
--- mail/qsheff/pkg-descr	20 Jul 2005 13:39:35 -0000	1.1
+++ mail/qsheff/pkg-descr	16 Mar 2008 01:31:28 -0000
@@ -8,12 +8,4 @@
 	* white/black list
 	* single line logging for qmail and many features.
 
-Project Page:
 WWW: http://www.enderunix.org/qsheff
-
-Author: 
-
-Baris SIMSEK
-simsek@enderunix.org
-EnderUNIX SDT @ Turkey
-http://www.enderunix.org/simsek/
Index: mail/qsheff/pkg-plist
===================================================================
RCS file: /home/pcvs/ports/mail/qsheff/pkg-plist,v
retrieving revision 1.4
diff -u -r1.4 pkg-plist
--- mail/qsheff/pkg-plist	9 Oct 2006 20:42:12 -0000	1.4
+++ mail/qsheff/pkg-plist	16 Mar 2008 01:31:28 -0000
@@ -1,27 +1,39 @@
 bin/qsheff
-@unexec if cmp -s %D/etc/qsheff-II/qsheff.attach %D/etc/qsheff-II/qsheff.attach-default; then rm -f %D/etc/qsheff-II/qsheff.attach; fi
-etc/qsheff-II/qsheff.attach-default
+@unexec if cmp -s %D/%%ETCDIR%%/qsheff.attach %D/%%ETCDIR%%/qsheff.attach-default; then rm -f %D/%%ETCDIR%%/qsheff.attach; fi
+%%ETCDIR%%/qsheff.attach-default
 @exec [ -f %B/qsheff.attach ] || cp %B/%f %B/qsheff.attach
-@unexec if cmp -s %D/etc/qsheff-II/qsheff.conf %D/etc/qsheff-II/qsheff.conf-default; then rm -f %D/etc/qsheff-II/qsheff.conf; fi
-etc/qsheff-II/qsheff.conf-default
-@unexec if cmp -s %D/etc/qsheff-II/qsheff.rules %D/etc/qsheff-II/qsheff.rules-default; then rm -f %D/etc/qsheff-II/qsheff.rules; fi
-etc/qsheff-II/qsheff.rules-default
+@unexec if cmp -s %D/%%ETCDIR%%/qsheff.conf %D/%%ETCDIR%%/qsheff.conf-default; then rm -f %D/%%ETCDIR%%/qsheff.conf; fi
+%%ETCDIR%%/qsheff.conf-default
+@unexec if cmp -s %D/%%ETCDIR%%/qsheff.rules %D/%%ETCDIR%%/qsheff.rules-default; then rm -f %D/%%ETCDIR%%/qsheff.rules; fi
+%%ETCDIR%%/qsheff.rules-default
 @exec [ -f %B/qsheff.rules ] || cp %B/%f %B/qsheff.attach
-@unexec if cmp -s %D/etc/qsheff-II/qsheff.ignore %D/etc/qsheff-II/qsheff.ignore-default; then rm -f %D/etc/qsheff-II/qsheff.ignore; fi
-etc/qsheff-II/qsheff.ignore-default
+@unexec if cmp -s %D/%%ETCDIR%%/qsheff.ignore %D/%%ETCDIR%%/qsheff.ignore-default; then rm -f %D/%%ETCDIR%%/qsheff.ignore; fi
+%%ETCDIR%%/qsheff.ignore-default
 @exec [ -f %B/qsheff.ignore ] || cp %B/%f %B/qsheff.attach
-etc/qsheff-II/install-wrapper.sh
-etc/qsheff-II/uninstall-wrapper.sh
-%%PORTDOCS%%%%DOCSDIR%%/spamass-qsheff.en.html
-%%PORTDOCS%%%%DOCSDIR%%/handbook.en.txt
-%%PORTDOCS%%%%DOCSDIR%%/handbook.tr.txt
-%%PORTDOCS%%%%DOCSDIR%%/sample-OK.msg
-%%PORTDOCS%%%%DOCSDIR%%/sample-SPAM.msg
-%%PORTDOCS%%%%DOCSDIR%%/sample-VIRUS.msg
-%%PORTDOCS%%%%DOCSDIR%%/qsheff-patch.diff
-%%PORTDOCS%%%%DOCSDIR%%/qq-custom-error-patch.diff
-%%PORTDOCS%%%%DOCSDIR%%/qq-patch.diff
-@dirrmtry etc/qsheff-II
-@unexec echo
-@unexec echo "Type '%%PREFIX%%/etc/qsheff-II/uninstall-wrapper.sh' to uninstall qSheff completely."
-@unexec echo
+%%ETCDIR%%/install-wrapper.sh
+%%ETCDIR%%/uninstall-wrapper.sh
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/INSTALL
+%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%%%DOCSDIR%%/doc/spamass-qsheff.en.html
+%%PORTDOCS%%%%DOCSDIR%%/doc/handbook.en.txt
+%%PORTDOCS%%%%DOCSDIR%%/doc/handbook.tr.txt
+%%PORTDOCS%%%%EXAMPLESDIR%%/sample-OK.msg
+%%PORTDOCS%%%%EXAMPLESDIR%%/sample-VIRUS.msg
+%%PORTDOCS%%%%EXAMPLESDIR%%/sample-SPAM.msg
+%%PORTDOCS%%%%EXAMPLESDIR%%/contrib/README
+%%PORTDOCS%%%%EXAMPLESDIR%%/contrib/qq-patch.diff
+%%PORTDOCS%%%%EXAMPLESDIR%%/contrib/qq-custom-error-patch.diff
+%%PORTDOCS%%%%EXAMPLESDIR%%/contrib/qsheff-patch.diff
+%%PORTDOCS%%@dirrm %%DOCSDIR%%/doc
+%%PORTDOCS%%@dirrmtry %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%/contrib
+%%PORTDOCS%%@dirrmtry %%EXAMPLESDIR%%
+@dirrmtry %%ETCDIR%%
+@unexec echo ""
+@unexec echo "Type '%%ETCDIR%%/uninstall-wrapper.sh' to uninstall qSheff completely."
+@unexec echo ""


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



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