From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Oct 19 21:40:15 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 55E4E16A41F for ; Wed, 19 Oct 2005 21:40:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4306643D69 for ; Wed, 19 Oct 2005 21:40:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9JLeEt1078150 for ; Wed, 19 Oct 2005 21:40:14 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9JLeEau078149; Wed, 19 Oct 2005 21:40:14 GMT (envelope-from gnats) Resent-Date: Wed, 19 Oct 2005 21:40:14 GMT Resent-Message-Id: <200510192140.j9JLeEau078149@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Ion-Mihai "IOnut" Tetcu" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A506716A41F for ; Wed, 19 Oct 2005 21:39:21 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: from relay.rdsnet.ro (gimli.rdsnet.ro [193.231.236.70]) by mx1.FreeBSD.org (Postfix) with SMTP id 6810B43D5A for ; Wed, 19 Oct 2005 21:39:20 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 22767 invoked from network); 19 Oct 2005 21:39:17 -0000 Received: from unknown (HELO smtp.rdsnet.ro) (62.231.74.130) by smtp1-133.rdsnet.ro with SMTP; 19 Oct 2005 21:39:17 -0000 Received: (qmail 2636 invoked by uid 89); 19 Oct 2005 21:39:17 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 19 Oct 2005 21:39:17 -0000 Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id B0316115F6 for ; Thu, 20 Oct 2005 00:39:17 +0300 (EEST) Message-Id: <1129757957.0@it.buh.tecnik93.com> Date: Thu, 20 Oct 2005 00:39:17 +0300 From: "Ion-Mihai "IOnut" Tetcu" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.6 Cc: Subject: ports/87691: [Maintainer Update] mail/dspampd: fix package X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 21:40:15 -0000 >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 -# 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: