svn commit: r380419 - in head: . mail mail/greylite mail/greylite/files

John Marino freebsd.contact at marino.st
Wed Mar 4 08:14:41 UTC 2015


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 <mij at bitchx.it>
>> +# $FreeBSD$
>> +
>> +PORTNAME=	greylite
>> +PORTVERSION=	2.3
>> +PORTREVISION=	4
>> +CATEGORIES=	mail
>> +MASTER_SITES=	${MASTER_SITE_LOCAL}
>> +MASTER_SITE_SUBDIR=	oliver
>> +
>> +MAINTAINER=	oliver at 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 <bsd.port.pre.mk>
>> +
>> +.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






More information about the svn-ports-head mailing list