Date: Thu, 20 Oct 2005 00:39:17 +0300 From: "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com> To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org> Subject: ports/87691: [Maintainer Update] mail/dspampd: fix package Message-ID: <1129757957.0@it.buh.tecnik93.com> Resent-Message-ID: <200510192140.j9JLeEau078149@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 87691 >Category: ports >Synopsis: [Maintainer Update] mail/dspampd: fix package >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Oct 19 21:40:13 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Ion-Mihai "IOnut" Tetcu >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD 5.4-STABLE #11: Wed Jul 20 14:07:03 EEST 2005 >Description: On pointyhat dspampd sudently fails to package because it wants to depend on both clamav and clamav-devel. [1] This is because, by default, it depends on dspam-devel (which by default depends on clamav) and depends on clamav-devel [2] Attachaced patch fixes this problem and gives Kris and pontyhat less reason to laugh at me :-) [1] reported by pointyhat via kris. [2] detected by kris when I was about to decide to go to sleep and look again in the morning :-) >How-To-Repeat: >Fix: --- Makefile.diff begins here --- --- Makefile.orig Fri Jan 14 23:17:09 2005 +++ Makefile Thu Oct 20 00:35:13 2005 @@ -7,6 +7,7 @@ PORTNAME= dspampd PORTVERSION= 2.00.r2 +PORTREVIONS= 1 CATEGORIES= mail perl5 MASTER_SITES= http://caspian.dotconf.net/menu/Software/DspamPD/ \ http://people.tecnik93.com/~itetcu/FreeBSD/ports/dspampd/sources/ @@ -20,15 +21,14 @@ USE_PERL5_RUN= YES USE_RC_SUBR= YES -OPTIONS= DSPAM "Use stable dspam as anti-spam module" off -OPTIONS+= DSPAM_DEVEL "Use devel dspam as antispam module" on +OPTIONS= DSPAM "Use stable dspam as anti-spam module" on +OPTIONS+= DSPAM_DEVEL "Use devel dspam as antispam module" off OPTIONS+= DSPAM_VIRT_USERS "Non-system users in dspam" off -OPTIONS+= CLAMAV "Use clamav as antivir module" off -OPTIONS+= CLAMAV_DEVEL "Use clamav as antivir module" on +OPTIONS+= CLAMAV "Use clamav as antivir module" on +OPTIONS+= CLAMAV_DEVEL "Use clamav as antivir module" off #OPTIONS+= TIME_HIRES "" on NO_BUILD= YES -#NO_INSTALL= YES USE_REINPLACE= YES CONF_DIR= ${PREFIX}/etc/dspampd @@ -56,13 +56,6 @@ .include <bsd.port.pre.mk> -# defaults for package building -.ifndef(WITH_DEVEL) && !defined(WITH_DSPAM_DEVEL) && \ - !defined(WITH_CLAMAV) && !defined(WITH_CLAMAV_DEVEL) -WITH_DSPAM_DEVEL= on -WITH_CLAMAV_DEVEL= on -.endif - .ifdef(WITH_DSPAM) RUN_DEPENDS+= dspam:${PORTSDIR}/mail/dspam .endif @@ -92,6 +85,15 @@ .else SED_CONF_SCRIPT+= -e "/%%CLAMAV%%/D" .endif + +pre-everything:: + @${ECHO_CMD} "##########################################################" + @${ECHO_CMD} " Please use mail/dsapm-devel, it's better." + @${ECHO_CMD} "There are reports of an infinite cycle with newer perl" + @${ECHO_CMD} "versions; please send a mail with your working/non-working" + @${ECHO_CMD} "perl version so that this port can be marked accordingly;" + @${ECHO_CMD} "or send a patch ;)" + @${ECHO_CMD} "##########################################################" pre-extract: @${ECHO_CMD} --- Makefile.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1129757957.0>