From owner-svn-ports-all@FreeBSD.ORG Wed Mar 4 08:14:41 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0A0756AA; Wed, 4 Mar 2015 08:14:41 +0000 (UTC) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2C19CA4F; Wed, 4 Mar 2015 08:14:40 +0000 (UTC) Received: from [10.31.9.131] (unknown [213.225.137.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id 864A043BCE; Wed, 4 Mar 2015 02:14:37 -0600 (CST) Message-ID: <54F6BEEC.4070608@marino.st> Date: Wed, 04 Mar 2015 09:14:36 +0100 From: John Marino Reply-To: marino@freebsd.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Baptiste Daroussin , Oliver Lehmann Subject: Re: svn commit: r380419 - in head: . mail mail/greylite mail/greylite/files References: <201503040741.t247f5V6099243@svn.freebsd.org> <20150304075742.GD1460@ivaldir.etoilebsd.net> In-Reply-To: <20150304075742.GD1460@ivaldir.etoilebsd.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: svn-ports-head@freebsd.org, svn-ports-all@freebsd.org, ports-committers@freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Mar 2015 08:14:41 -0000 On 3/4/2015 08:57, Baptiste Daroussin wrote: > On Wed, Mar 04, 2015 at 07:41:05AM +0000, Oliver Lehmann wrote: >> Author: oliver >> Date: Wed Mar 4 07:41:04 2015 >> New Revision: 380419 >> URL: https://svnweb.freebsd.org/changeset/ports/380419 >> QAT: https://qat.redports.org/buildarchive/r380419/ >> >> Log: >> restore greylite >> STAGEify it >> move distfiles to public_distfiles-mirror >> move MAN8 into PLIST_FILES >> move pkg-message to SUB_FILES >> >> Added: >> head/mail/greylite/ >> head/mail/greylite/Makefile (contents, props changed) >> head/mail/greylite/distinfo (contents, props changed) >> head/mail/greylite/files/ >> head/mail/greylite/files/pkg-message.in (contents, props changed) >> head/mail/greylite/pkg-descr (contents, props changed) >> Modified: >> head/MOVED >> head/mail/Makefile >> >> Modified: head/MOVED >> ============================================================================== >> --- head/MOVED Wed Mar 4 05:22:30 2015 (r380418) >> +++ head/MOVED Wed Mar 4 07:41:04 2015 (r380419) >> @@ -6656,7 +6656,6 @@ mail/ezmlm-web||2014-09-01|Not staged >> mail/firemime||2014-09-01|Not staged >> mail/firepay||2014-09-01|Not staged >> mail/ftrack||2014-09-01|Not staged >> -mail/greylite||2014-09-01|Not staged >> mail/ilohamail||2014-09-01|Not staged >> mail/majordomo||2014-09-01|Not staged >> mail/p3scan||2014-09-01|Not staged >> >> Modified: head/mail/Makefile >> ============================================================================== >> --- head/mail/Makefile Wed Mar 4 05:22:30 2015 (r380418) >> +++ head/mail/Makefile Wed Mar 4 07:41:04 2015 (r380419) >> @@ -159,6 +159,7 @@ >> SUBDIR += gotmail >> SUBDIR += grepmail >> SUBDIR += greyfix >> + SUBDIR += greylite >> SUBDIR += gubby >> SUBDIR += hashcash >> SUBDIR += hbiff >> >> Added: head/mail/greylite/Makefile >> ============================================================================== >> --- /dev/null 00:00:00 1970 (empty, because file is newly added) >> +++ head/mail/greylite/Makefile Wed Mar 4 07:41:04 2015 (r380419) >> @@ -0,0 +1,64 @@ >> +# Created by: Mij >> +# $FreeBSD$ >> + >> +PORTNAME= greylite >> +PORTVERSION= 2.3 >> +PORTREVISION= 4 >> +CATEGORIES= mail >> +MASTER_SITES= ${MASTER_SITE_LOCAL} >> +MASTER_SITE_SUBDIR= oliver >> + >> +MAINTAINER= oliver@FreeBSD.org >> +COMMENT= Modified greylisting for qmail and for any other MDA >> + >> +LICENSE= BSD3CLAUSE >> + >> +RUN_DEPENDS= tcpserver:${PORTSDIR}/sysutils/ucspi-tcp >> + >> +USES= tar:bzip2 >> +USE_SQLITE= 3 >> +PLIST_FILES= bin/greylite \ >> + %%DNSBLENV%%bin/dnsblenv \ >> + %%UCSPI2SOCKET%%bin/ucspi2socket \ >> + man/man8/greylite.8.gz >> + >> +MANCOMPRESSED= yes > ^^This can be removed as well, this is automatic now. > >> +SUB_FILES= pkg-message >> + >> +OPTIONS_DEFINE= GEOIP DNSBLENV UCSPI2SOCKET >> +OPTIONS_DEFAULT= GEOIP DNSBLENV UCSPI2SOCKET >> +GEOIP_DESC= Support for GeoIP in suspicion rules >> +DNSBLENV_DESC= Module for interfacing with DNS blacklists >> +UCSPI2SOCKET_DESC= Module for using greylite as SMTP proxy >> + >> +.include >> + >> +.if ${PORT_OPTIONS:MGEOIP} >> +LIB_DEPENDS+= libGeoIP.so:${PORTSDIR}/net/GeoIP >> +MAKE_ARGS+= WITH_GEOIP=yep >> +.endif >> + >> +.if ${PORT_OPTIONS:MDNSBLENV} >> +LIB_DEPENDS+= libcares.so:${PORTSDIR}/dns/c-ares >> +MAKE_ARGS+= WITH_DNSBLENV=yep >> +PLIST_SUB+= DNSBLENV="" >> +.else >> +PLIST_SUB+= DNSBLENV="@comment " >> +.endif >> + >> +.if ${PORT_OPTIONS:MUCSPI2SOCKET} >> +MAKE_ARGS+= WITH_UCSPI2SOCKET=yep >> +PLIST_SUB+= UCSPI2SOCKET="" >> +.else >> +PLIST_SUB+= UCSPI2SOCKET="@comment " >> +.endif >> + >> +post-patch: >> + ${CP} ${WRKSRC}/Makefile.bsdmake ${WRKSRC}/Makefile >> + ${REINPLACE_CMD} -e 's|PREFIX\?=.*|PREFIX=${STAGEDIR}${PREFIX}|g' \ >> + ${WRKSRC}/Makefile >> + >> +do-build: >> + ${MAKE} -C ${WRKSRC} ${MAKE_ARGS} > ^^Why a specific target? > > Best target > To pile on, if you override the target, you need to prefix ${MAKE} with {$SETENV} ${MAKE_ENV} to set the environment. John