Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jul 2014 22:44:57 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363268 - head/mail/nullmailer
Message-ID:  <201407282244.s6SMivCi055061@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Mon Jul 28 22:44:57 2014
New Revision: 363268
URL: http://svnweb.freebsd.org/changeset/ports/363268
QAT: https://qat.redports.org/buildarchive/r363268/

Log:
  mail/nullmailer: support stage
  
  - Pass maintainership to submitter
  
  PR:		192217
  Submitted by:	uffe uffe org

Modified:
  head/mail/nullmailer/Makefile
  head/mail/nullmailer/pkg-plist

Modified: head/mail/nullmailer/Makefile
==============================================================================
--- head/mail/nullmailer/Makefile	Mon Jul 28 22:32:13 2014	(r363267)
+++ head/mail/nullmailer/Makefile	Mon Jul 28 22:44:57 2014	(r363268)
@@ -10,7 +10,7 @@ MASTER_SITES=	http://untroubled.org/null
 		http://untroubled.org/nullmailer/archive/
 MASTER_SITE_SUBDIR=	${PORTVERSION}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	uffe@uffe.org
 COMMENT=	MTA for hosts which relay to a fixed set of smart relays
 
 LICENSE=	GPLv2
@@ -39,14 +39,8 @@ PKGMESSAGE=	${WRKDIR}/pkg-message
 PLIST_SUB+=	LOCALSTATEDIR=${LOCALSTATEDIR} NULLMAIL_USER=${USERS}
 SUB_LIST+=	LOCALSTATEDIR=${LOCALSTATEDIR} NULLMAIL_USER=${USERS}
 
-MAN1=	nullmailer-inject.1 sendmail.1
-MAN7=	nullmailer.7
-MAN8=	nullmailer-queue.8 nullmailer-send.8
-
-
 OPTIONS_DEFINE=	GNUTLS
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MGNUTLS}
@@ -60,10 +54,7 @@ CONFIGURE_ARGS+=--disable-tls
 .endif
 
 post-install:
-	@cd ${WRKSRC} && ${MAKE} install-root
-
-	@${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
-	${INSTALL_DATA} -c ${FILESDIR}/remotes.sample ${ETCDIR}
-	@${CAT} ${PKGMESSAGE}
+	${INSTALL_DATA} -c ${FILESDIR}/remotes.sample ${STAGEDIR}${ETCDIR}
+	${ECHO} 'hostname' > ${STAGEDIR}${ETCDIR}/me.sample
 
 .include <bsd.port.mk>

Modified: head/mail/nullmailer/pkg-plist
==============================================================================
--- head/mail/nullmailer/pkg-plist	Mon Jul 28 22:32:13 2014	(r363267)
+++ head/mail/nullmailer/pkg-plist	Mon Jul 28 22:44:57 2014	(r363268)
@@ -10,6 +10,11 @@ sbin/nullmailer-queue
 @exec chmod u+s %D/sbin/nullmailer-queue
 @exec chown %%NULLMAIL_USER%% %D/sbin/nullmailer-queue
 sbin/nullmailer-send
+man/man1/nullmailer-inject.1.gz
+man/man1/sendmail.1.gz
+man/man7/nullmailer.7.gz
+man/man8/nullmailer-queue.8.gz
+man/man8/nullmailer-send.8.gz
 %%ETCDIR%%/me.sample
 %%ETCDIR%%/remotes.sample
 @dirrm libexec/nullmailer
@@ -28,6 +33,4 @@ sbin/nullmailer-send
 @exec chmod 600 %%LOCALSTATEDIR%%/nullmailer/trigger
 @exec chown %%NULLMAIL_USER%%:%%NULLMAIL_USER%% %%LOCALSTATEDIR%%/nullmailer/trigger
 @unexec rm -f %%LOCALSTATEDIR%%/nullmailer/trigger
-@ignore
-%%LOCALSTATEDIR%%/nullmailer/trigger
 @dirrmtry %%LOCALSTATEDIR%%/nullmailer



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