public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2016-03-07 21:40 Mike Frysinger
  0 siblings, 0 replies; 27+ messages in thread
From: Mike Frysinger @ 2016-03-07 21:40 UTC (permalink / raw
  To: gentoo-commits

commit:     fd0c3a3111e0809008e02050368fd10980a53140
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  7 21:39:06 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Mar  7 21:39:06 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd0c3a31

mail-mta/nullmailer: style cleanups -- no functional changes

 mail-mta/nullmailer/asd                   | 123 ------------------------------
 mail-mta/nullmailer/nullmailer-2.0.ebuild |   4 +-
 2 files changed, 2 insertions(+), 125 deletions(-)

diff --git a/mail-mta/nullmailer/asd b/mail-mta/nullmailer/asd
deleted file mode 100644
index c461dea..0000000
--- a/mail-mta/nullmailer/asd
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit autotools eutils flag-o-matic multilib systemd user
-
-DESCRIPTION="Simple relay-only local mail transport agent"
-HOMEPAGE="http://untroubled.org/nullmailer/"
-SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="amd64 ppc x86"
-IUSE="ssl"
-
-DEPEND="
-	sys-apps/groff
-	ssl? ( net-libs/gnutls )"
-RDEPEND="
-	virtual/logger
-	virtual/shadow
-	ssl? ( net-libs/gnutls )
-	!mail-mta/courier
-	!mail-mta/esmtp
-	!mail-mta/exim
-	!mail-mta/mini-qmail
-	!mail-mta/msmtp
-	!mail-mta/netqmail
-	!mail-mta/postfix
-	!mail-mta/qmail-ldap
-	!mail-mta/sendmail
-	!mail-mta/opensmtpd
-	!mail-mta/ssmtp"
-
-pkg_setup() {
-	enewgroup nullmail 88
-	enewuser nullmail 88 -1 /var/spool/nullmailer nullmail
-}
-
-src_prepare() {
-	sed -e "s#/usr/local/etc#/etc#" -e "s#/usr/local/libexec#/usr/libexec#" -i doc/nullmailer-send.8
-}
-
-src_configure() {
-	econf \
-		--localstatedir=/var \
-		$(use_enable ssl tls)
-}
-
-src_install () {
-	emake DESTDIR="${D}" install
-
-	dodoc AUTHORS BUGS HOWTO INSTALL ChangeLog NEWS README TODO doc/DIAGRAM
-
-	# A small bit of sample config
-	insinto /etc/nullmailer
-	newins "${FILESDIR}"/remotes.sample-1.13 remotes
-
-	# This contains passwords, so should be secure
-	fperms 0640 /etc/nullmailer/remotes
-	fowners root:nullmail /etc/nullmailer/remotes
-
-	# daemontools stuff
-	dodir /var/spool/nullmailer/service{,/log}
-
-	insinto /var/spool/nullmailer/service
-	newins scripts/nullmailer.run run
-	fperms 700 /var/spool/nullmailer/service/run
-
-	insinto /var/spool/nullmailer/service/log
-	newins scripts/nullmailer-log.run run
-	fperms 700 /var/spool/nullmailer/service/log/run
-
-	# usability
-	dosym /usr/sbin/sendmail usr/$(get_libdir)/sendmail
-
-	# permissions stuff
-	keepdir /var/log/nullmailer /var/spool/nullmailer/{tmp,queue}
-	fperms 770 /var/log/nullmailer /var/spool/nullmailer/{tmp,queue}
-	fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq
-	fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq
-
-	newinitd "${FILESDIR}"/init.d-nullmailer-r4 nullmailer
-	systemd_dounit scripts/${PN}.service
-}
-
-pkg_postinst() {
-	if [ ! -e "${ROOT}"/var/spool/nullmailer/trigger ]; then
-		mkfifo "${ROOT}"/var/spool/nullmailer/trigger
-	fi
-	chown nullmail:nullmail \
-		"${ROOT}"/var/log/nullmailer "${ROOT}"/var/spool/nullmailer/{tmp,queue,trigger} || die
-	chmod 770 "${ROOT}"/var/log/nullmailer "${ROOT}"/var/spool/nullmailer/{tmp,queue} || die
-	chmod 660 "${ROOT}"/var/spool/nullmailer/trigger || die
-
-	# This contains passwords, so should be secure
-	chmod 0640 "${ROOT}"/etc/nullmailer/remotes || die
-	chown root:nullmail "${ROOT}"/etc/nullmailer/remotes || die
-
-	if [[ -z ${REPLACING_VERSIONS} ]]; then
-		elog "To create an initial setup, please do:"
-		elog "emerge --config =${CATEGORY}/${PF}"
-	fi
-}
-
-pkg_postrm() {
-	if [[ -e "${ROOT}"/var/spool/nullmailer/trigger ]]; then
-		rm "${ROOT}"/var/spool/nullmailer/trigger || die
-	fi
-}
-
-pkg_config() {
-	if [ ! -s "${ROOT}"/etc/nullmailer/me ]; then
-		einfo "Setting /etc/nullmailer/me"
-		/bin/hostname --fqdn > "${ROOT}"/etc/nullmailer/me
-	fi
-	if [ ! -s "${ROOT}"/etc/nullmailer/defaultdomain ]; then
-		einfo "Setting /etc/nullmailer/defaultdomain"
-		/bin/hostname --domain > "${ROOT}"/etc/nullmailer/defaultdomain
-	fi
-}

diff --git a/mail-mta/nullmailer/nullmailer-2.0.ebuild b/mail-mta/nullmailer/nullmailer-2.0.ebuild
index 1c3e959..859c4b3 100644
--- a/mail-mta/nullmailer/nullmailer-2.0.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.0.ebuild
@@ -10,8 +10,8 @@ DESCRIPTION="Simple relay-only local mail transport agent"
 HOMEPAGE="http://untroubled.org/nullmailer/"
 SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 
-SLOT="0"
 LICENSE="GPL-2"
+SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="ssl"
 
@@ -61,7 +61,7 @@ src_configure() {
 		$(use_enable ssl tls)
 }
 
-src_install () {
+src_install() {
 	default
 
 	# A small bit of sample config


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2016-03-07 21:40 Mike Frysinger
  0 siblings, 0 replies; 27+ messages in thread
From: Mike Frysinger @ 2016-03-07 21:40 UTC (permalink / raw
  To: gentoo-commits

commit:     b8413ccc65775dee6709e6a2ab98758ad3ec24b0
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  7 21:39:44 2016 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Mon Mar  7 21:39:49 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8413ccc

mail-mta/nullmailer: enable LFS support #471102

 mail-mta/nullmailer/nullmailer-2.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.0.ebuild b/mail-mta/nullmailer/nullmailer-2.0.ebuild
index 859c4b3..c8efc5a 100644
--- a/mail-mta/nullmailer/nullmailer-2.0.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.0.ebuild
@@ -7,7 +7,7 @@ EAPI=6
 inherit autotools eutils flag-o-matic multilib systemd user
 
 DESCRIPTION="Simple relay-only local mail transport agent"
-HOMEPAGE="http://untroubled.org/nullmailer/"
+HOMEPAGE="http://untroubled.org/nullmailer/ https://github.com/bruceg/nullmailer"
 SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 
 LICENSE="GPL-2"
@@ -56,6 +56,8 @@ src_prepare() {
 }
 
 src_configure() {
+	# https://github.com/bruceg/nullmailer/pull/31/commits
+	append-lfs-flags #471102
 	econf \
 		--localstatedir=/var \
 		$(use_enable ssl tls)


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2016-07-07  4:09 Benda XU
  0 siblings, 0 replies; 27+ messages in thread
From: Benda XU @ 2016-07-07  4:09 UTC (permalink / raw
  To: gentoo-commits

commit:     179ca943ee6bc3a75b5443f8740b8cd6f1cc3ee3
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  7 04:09:15 2016 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Jul  7 04:10:01 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=179ca943

mail-mta/nullmailer: Prefix support.

Bug: 585882

Package-Manager: portage-2.2.28

 mail-mta/nullmailer/nullmailer-2.0.ebuild | 32 +++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.0.ebuild b/mail-mta/nullmailer/nullmailer-2.0.ebuild
index c8efc5a..f3771bb 100644
--- a/mail-mta/nullmailer/nullmailer-2.0.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.0.ebuild
@@ -59,7 +59,7 @@ src_configure() {
 	# https://github.com/bruceg/nullmailer/pull/31/commits
 	append-lfs-flags #471102
 	econf \
-		--localstatedir=/var \
+		--localstatedir="${EPREFIX}"/var \
 		$(use_enable ssl tls)
 }
 
@@ -99,20 +99,20 @@ src_install() {
 }
 
 pkg_postinst() {
-	if [ ! -e "${ROOT}"/var/spool/nullmailer/trigger ]; then
-		mkfifo "${ROOT}"/var/spool/nullmailer/trigger || die
+	if [ ! -e ${EROOT}var/spool/nullmailer/trigger ]; then
+		mkfifo "${EROOT}"var/spool/nullmailer/trigger || die
 	fi
 	chown nullmail:nullmail \
-		"${ROOT}"/var/log/nullmailer \
-		"${ROOT}"/var/spool/nullmailer/{tmp,queue,trigger} || die
+		"${EROOT}"var/log/nullmailer \
+		"${EROOT}"var/spool/nullmailer/{tmp,queue,trigger} || die
 	chmod 770 \
-		"${ROOT}"/var/log/nullmailer \
-		"${ROOT}"/var/spool/nullmailer/{tmp,queue} || die
-	chmod 660 "${ROOT}"/var/spool/nullmailer/trigger || die
+		"${EROOT}"var/log/nullmailer \
+		"${EROOT}"var/spool/nullmailer/{tmp,queue} || die
+	chmod 660 "${EROOT}"var/spool/nullmailer/trigger || die
 
 	# This contains passwords, so should be secure
-	chmod 0640 "${ROOT}"/etc/nullmailer/remotes || die
-	chown root:nullmail "${ROOT}"/etc/nullmailer/remotes || die
+	chmod 0640 "${EROOT}"etc/nullmailer/remotes || die
+	chown root:nullmail "${EROOT}"etc/nullmailer/remotes || die
 
 	if [[ -z ${REPLACING_VERSIONS} ]]; then
 		elog "To create an initial setup, please do:"
@@ -121,18 +121,18 @@ pkg_postinst() {
 }
 
 pkg_postrm() {
-	if [[ -e "${ROOT}"/var/spool/nullmailer/trigger ]]; then
-		rm "${ROOT}"/var/spool/nullmailer/trigger || die
+	if [[ -e ${EROOT}var/spool/nullmailer/trigger ]]; then
+		rm "${EROOT}"var/spool/nullmailer/trigger || die
 	fi
 }
 
 pkg_config() {
-	if [ ! -s "${ROOT}"/etc/nullmailer/me ]; then
+	if [ ! -s ${EROOT}etc/nullmailer/me ]; then
 		einfo "Setting /etc/nullmailer/me"
-		/bin/hostname --fqdn > "${ROOT}"/etc/nullmailer/me
+		hostname --fqdn > "${EROOT}"etc/nullmailer/me
 	fi
-	if [ ! -s "${ROOT}"/etc/nullmailer/defaultdomain ]; then
+	if [ ! -s ${EROOT}etc/nullmailer/defaultdomain ]; then
 		einfo "Setting /etc/nullmailer/defaultdomain"
-		/bin/hostname --domain > "${ROOT}"/etc/nullmailer/defaultdomain
+		hostname --domain > "${EROOT}"etc/nullmailer/defaultdomain
 	fi
 }


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2016-11-12 14:21 Justin Lecher
  0 siblings, 0 replies; 27+ messages in thread
From: Justin Lecher @ 2016-11-12 14:21 UTC (permalink / raw
  To: gentoo-commits

commit:     911711947e81797ccf6bb3bc734cfce06a37698d
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 12 13:38:42 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sat Nov 12 14:21:15 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91171194

mail-mta/nullmailer: Add missing slotoperator

fix quoting

Package-Manager: portage-2.3.2
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.0.ebuild | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.0.ebuild b/mail-mta/nullmailer/nullmailer-2.0.ebuild
index f3771bb..e1a2d14 100644
--- a/mail-mta/nullmailer/nullmailer-2.0.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.0.ebuild
@@ -17,11 +17,11 @@ IUSE="ssl"
 
 DEPEND="
 	sys-apps/groff
-	ssl? ( net-libs/gnutls )"
+	ssl? ( net-libs/gnutls:0= )"
 RDEPEND="
 	virtual/logger
 	virtual/shadow
-	ssl? ( net-libs/gnutls )
+	ssl? ( net-libs/gnutls:0= )
 	!mail-mta/courier
 	!mail-mta/esmtp
 	!mail-mta/exim
@@ -99,8 +99,8 @@ src_install() {
 }
 
 pkg_postinst() {
-	if [ ! -e ${EROOT}var/spool/nullmailer/trigger ]; then
-		mkfifo "${EROOT}"var/spool/nullmailer/trigger || die
+	if [ ! -e "${EROOT}var/spool/nullmailer/trigger" ]; then
+		mkfifo "${EROOT}var/spool/nullmailer/trigger" || die
 	fi
 	chown nullmail:nullmail \
 		"${EROOT}"var/log/nullmailer \
@@ -121,18 +121,18 @@ pkg_postinst() {
 }
 
 pkg_postrm() {
-	if [[ -e ${EROOT}var/spool/nullmailer/trigger ]]; then
-		rm "${EROOT}"var/spool/nullmailer/trigger || die
+	if [[ -e "${EROOT}var/spool/nullmailer/trigger" ]]; then
+		rm "${EROOT}var/spool/nullmailer/trigger" || die
 	fi
 }
 
 pkg_config() {
-	if [ ! -s ${EROOT}etc/nullmailer/me ]; then
+	if [ ! -s "${EROOT}etc/nullmailer/me" ]; then
 		einfo "Setting /etc/nullmailer/me"
-		hostname --fqdn > "${EROOT}"etc/nullmailer/me
+		hostname --fqdn > "${EROOT}etc/nullmailer/me"
 	fi
-	if [ ! -s ${EROOT}etc/nullmailer/defaultdomain ]; then
+	if [ ! -s "${EROOT}etc/nullmailer/defaultdomain" ]; then
 		einfo "Setting /etc/nullmailer/defaultdomain"
-		hostname --domain > "${EROOT}"etc/nullmailer/defaultdomain
+		hostname --domain > "${EROOT}etc/nullmailer/defaultdomain"
 	fi
 }


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2017-05-25 10:44 Agostino Sarubbo
  0 siblings, 0 replies; 27+ messages in thread
From: Agostino Sarubbo @ 2017-05-25 10:44 UTC (permalink / raw
  To: gentoo-commits

commit:     ffd8c4ac17fb5d49a2eab29a65b1e05f5fa4b229
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu May 25 10:42:47 2017 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu May 25 10:42:47 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffd8c4ac

mail-mta/nullmailer: amd64 stable wrt bug #619520

Package-Manager: Portage-2.3.5, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.0-r1.ebuild b/mail-mta/nullmailer/nullmailer-2.0-r1.ebuild
index a7f362836b5..27f77c995c7 100644
--- a/mail-mta/nullmailer/nullmailer-2.0-r1.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="amd64 ~ppc ~x86"
 IUSE="ssl"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2017-05-27 16:16 Robin H. Johnson
  0 siblings, 0 replies; 27+ messages in thread
From: Robin H. Johnson @ 2017-05-27 16:16 UTC (permalink / raw
  To: gentoo-commits

commit:     7fd37626b59b2eacc6ef067220b95fc41928cc39
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sat May 27 16:14:05 2017 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sat May 27 16:16:32 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fd37626

mail-mta/nullmailer: add test dependencies.

Package-Manager: portage-2.3.6

 mail-mta/nullmailer/nullmailer-2.0-r1.ebuild | 5 +++--
 mail-mta/nullmailer/nullmailer-2.0.ebuild    | 7 ++++---
 2 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.0-r1.ebuild b/mail-mta/nullmailer/nullmailer-2.0-r1.ebuild
index eca66814e66..d9866d420c3 100644
--- a/mail-mta/nullmailer/nullmailer-2.0-r1.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.0-r1.ebuild
@@ -12,11 +12,12 @@ SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~ppc x86"
-IUSE="ssl"
+IUSE="ssl test"
 
 DEPEND="
 	sys-apps/groff
-	ssl? ( net-libs/gnutls:0= )"
+	ssl? ( net-libs/gnutls:0= )
+	test? ( sys-apps/ucspi-tcp[ipv6] sys-process/daemontools )"
 RDEPEND="
 	virtual/logger
 	virtual/shadow

diff --git a/mail-mta/nullmailer/nullmailer-2.0.ebuild b/mail-mta/nullmailer/nullmailer-2.0.ebuild
index 9fe5b167508..3ed11bc763d 100644
--- a/mail-mta/nullmailer/nullmailer-2.0.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,11 +12,12 @@ SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="ssl"
+IUSE="ssl test"
 
 DEPEND="
 	sys-apps/groff
-	ssl? ( net-libs/gnutls:0= )"
+	ssl? ( net-libs/gnutls:0= )
+	test? ( sys-apps/ucspi-tcp[ipv6] sys-process/daemontools )"
 RDEPEND="
 	virtual/logger
 	virtual/shadow


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2017-05-27 18:41 Robin H. Johnson
  0 siblings, 0 replies; 27+ messages in thread
From: Robin H. Johnson @ 2017-05-27 18:41 UTC (permalink / raw
  To: gentoo-commits

commit:     6ba577ac452784c5b80c3ab1aff14e4049fb6d79
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sat May 27 18:40:00 2017 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sat May 27 18:41:20 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ba577ac

mail-mta/nullmailer: use revbump for USE=test due to unstable-only dep.

Package-Manager: portage-2.3.6

 mail-mta/nullmailer/nullmailer-2.0-r2.ebuild | 138 +++++++++++++++++++++++++++
 1 file changed, 138 insertions(+)

diff --git a/mail-mta/nullmailer/nullmailer-2.0-r2.ebuild b/mail-mta/nullmailer/nullmailer-2.0-r2.ebuild
new file mode 100644
index 00000000000..8da57096407
--- /dev/null
+++ b/mail-mta/nullmailer/nullmailer-2.0-r2.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools eutils flag-o-matic multilib systemd user
+
+DESCRIPTION="Simple relay-only local mail transport agent"
+HOMEPAGE="http://untroubled.org/nullmailer/ https://github.com/bruceg/nullmailer"
+SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="ssl test"
+
+DEPEND="
+	sys-apps/groff
+	ssl? ( net-libs/gnutls:0= )
+	test? ( sys-apps/ucspi-tcp[ipv6] sys-process/daemontools )"
+RDEPEND="
+	virtual/logger
+	virtual/shadow
+	ssl? ( net-libs/gnutls:0= )
+	!mail-mta/courier
+	!mail-mta/esmtp
+	!mail-mta/exim
+	!mail-mta/mini-qmail
+	!mail-mta/msmtp
+	!mail-mta/netqmail
+	!mail-mta/postfix
+	!mail-mta/qmail-ldap
+	!mail-mta/sendmail
+	!mail-mta/opensmtpd
+	!mail-mta/ssmtp"
+
+pkg_setup() {
+	enewgroup nullmail 88
+	enewuser nullmail 88 -1 /var/spool/nullmailer nullmail
+}
+
+src_prepare() {
+	default
+	sed -i.orig \
+		-e '/\$(localstatedir)\/trigger/d' \
+		"${S}"/Makefile.am || die "Sed failed"
+	sed \
+		-e "s:^AC_PROG_RANLIB:AC_CHECK_TOOL(AR, ar, false)\nAC_PROG_RANLIB:g" \
+		-i configure.ac || die
+	sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
+	sed \
+		-e "s#/usr/lib#\0exec#" -e "s#/usr/local#/usr#" \
+		-e 's:/usr/etc/:/etc/:g' \
+		-i doc/nullmailer-send.8 || die
+	eautoreconf
+}
+
+src_configure() {
+	# https://github.com/bruceg/nullmailer/pull/31/commits
+	append-lfs-flags #471102
+	econf \
+		--localstatedir="${EPREFIX}"/var \
+		$(use_enable ssl tls)
+}
+
+src_install() {
+	default
+
+	# A small bit of sample config
+	insinto /etc/nullmailer
+	newins "${FILESDIR}"/remotes.sample-${PV} remotes
+
+	# This contains passwords, so should be secure
+	fperms 0640 /etc/nullmailer/remotes
+	fowners root:nullmail /etc/nullmailer/remotes
+
+	# daemontools stuff
+	dodir /var/spool/nullmailer/service{,/log}
+
+	insinto /var/spool/nullmailer/service
+	newins scripts/nullmailer.run run
+	fperms 700 /var/spool/nullmailer/service/run
+
+	insinto /var/spool/nullmailer/service/log
+	newins scripts/nullmailer-log.run run
+	fperms 700 /var/spool/nullmailer/service/log/run
+
+	# usability
+	dosym /usr/sbin/sendmail usr/$(get_libdir)/sendmail
+
+	# permissions stuff
+	keepdir /var/log/nullmailer /var/spool/nullmailer/{tmp,queue}
+	fperms 770 /var/log/nullmailer
+	fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq
+	fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq
+
+	newinitd "${FILESDIR}"/init.d-nullmailer-r6 nullmailer
+	systemd_dounit scripts/${PN}.service
+}
+
+pkg_postinst() {
+	if [ ! -e "${EROOT}var/spool/nullmailer/trigger" ]; then
+		mkfifo "${EROOT}var/spool/nullmailer/trigger" || die
+	fi
+	chown nullmail:nullmail \
+		"${EROOT}"var/log/nullmailer \
+		"${EROOT}"var/spool/nullmailer/{tmp,queue,trigger} || die
+	chmod 770 \
+		"${EROOT}"var/log/nullmailer \
+		"${EROOT}"var/spool/nullmailer/{tmp,queue} || die
+	chmod 660 "${EROOT}"var/spool/nullmailer/trigger || die
+
+	# This contains passwords, so should be secure
+	chmod 0640 "${EROOT}"etc/nullmailer/remotes || die
+	chown root:nullmail "${EROOT}"etc/nullmailer/remotes || die
+
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		elog "To create an initial setup, please do:"
+		elog "emerge --config =${CATEGORY}/${PF}"
+	fi
+}
+
+pkg_postrm() {
+	if [[ -e "${EROOT}var/spool/nullmailer/trigger" ]]; then
+		rm "${EROOT}var/spool/nullmailer/trigger" || die
+	fi
+}
+
+pkg_config() {
+	if [ ! -s "${EROOT}etc/nullmailer/me" ]; then
+		einfo "Setting /etc/nullmailer/me"
+		hostname --fqdn > "${EROOT}etc/nullmailer/me"
+	fi
+	if [ ! -s "${EROOT}etc/nullmailer/defaultdomain" ]; then
+		einfo "Setting /etc/nullmailer/defaultdomain"
+		hostname --domain > "${EROOT}etc/nullmailer/defaultdomain"
+	fi
+}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2017-05-27 18:41 Robin H. Johnson
  0 siblings, 0 replies; 27+ messages in thread
From: Robin H. Johnson @ 2017-05-27 18:41 UTC (permalink / raw
  To: gentoo-commits

commit:     41ced348de02453e4e82e5fc4ce50b9a941693d4
Author:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Sat May 27 18:39:19 2017 +0000
Commit:     Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Sat May 27 18:41:23 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41ced348

mail-mta/nullmailer: Revert add test dependencies.

This reverts commit 7fd37626b59b2eacc6ef067220b95fc41928cc39.

Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.0-r1.ebuild | 5 ++---
 mail-mta/nullmailer/nullmailer-2.0.ebuild    | 7 +++----
 2 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.0-r1.ebuild b/mail-mta/nullmailer/nullmailer-2.0-r1.ebuild
index d9866d420c3..eca66814e66 100644
--- a/mail-mta/nullmailer/nullmailer-2.0-r1.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.0-r1.ebuild
@@ -12,12 +12,11 @@ SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~ppc x86"
-IUSE="ssl test"
+IUSE="ssl"
 
 DEPEND="
 	sys-apps/groff
-	ssl? ( net-libs/gnutls:0= )
-	test? ( sys-apps/ucspi-tcp[ipv6] sys-process/daemontools )"
+	ssl? ( net-libs/gnutls:0= )"
 RDEPEND="
 	virtual/logger
 	virtual/shadow

diff --git a/mail-mta/nullmailer/nullmailer-2.0.ebuild b/mail-mta/nullmailer/nullmailer-2.0.ebuild
index 3ed11bc763d..9fe5b167508 100644
--- a/mail-mta/nullmailer/nullmailer-2.0.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -12,12 +12,11 @@ SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="ssl test"
+IUSE="ssl"
 
 DEPEND="
 	sys-apps/groff
-	ssl? ( net-libs/gnutls:0= )
-	test? ( sys-apps/ucspi-tcp[ipv6] sys-process/daemontools )"
+	ssl? ( net-libs/gnutls:0= )"
 RDEPEND="
 	virtual/logger
 	virtual/shadow


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2019-04-01  8:30 Michael Haubenwallner
  0 siblings, 0 replies; 27+ messages in thread
From: Michael Haubenwallner @ 2019-04-01  8:30 UTC (permalink / raw
  To: gentoo-commits

commit:     24c1f8418e70e3c9050942653e385da982ab2ced
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 26 16:37:46 2019 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Mon Apr  1 08:14:04 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24c1f841

mail-mta/nullmailer: revbump and more

Revbump, EAPI 7, add myself as maintainer.
Closes: https://bugs.gentoo.org/654124

Add ~arm keyword.
Closes: https://bugs.gentoo.org/664514

Fix permission for /var/spool/nullmailer/failed,
credits to John R. Graham.
Closes: https://bugs.gentoo.org/622738

Keep dir /var/spool/nullmailer/failed.
Closes: https://bugs.gentoo.org/651288

No not depend on sys-apps/groff.
Closes: https://bugs.gentoo.org/604316

Tell if 'emerge --config' gets empty FQDN or domainname,
and remind to tweak /etc/nullmailer/remotes.
Closes: https://bugs.gentoo.org/668104

Block with USE=mta against msmtp,opensmtpd,ssmtp.
Closes: https://bugs.gentoo.org/631654

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Michael Haubenwallner <haubi <AT> gentoo.org>

 mail-mta/nullmailer/Manifest              |   1 +
 mail-mta/nullmailer/metadata.xml          |   4 +
 mail-mta/nullmailer/nullmailer-2.2.ebuild | 148 ++++++++++++++++++++++++++++++
 3 files changed, 153 insertions(+)

diff --git a/mail-mta/nullmailer/Manifest b/mail-mta/nullmailer/Manifest
index 2aeaf81da55..7bddba27fbc 100644
--- a/mail-mta/nullmailer/Manifest
+++ b/mail-mta/nullmailer/Manifest
@@ -1,3 +1,4 @@
 DIST nullmailer-1.13.tar.gz 205431 BLAKE2B e1eaa94262e3d4d202293d35f7ac610a3a2cb92e403b2fd8dff467788a4f4c0d3a1bbc27b47eeae9d1c493eb8d07c35e056ea7501ad92ec4addae694997561b4 SHA512 96dcb3ddecde77a73e5ca1afa5167d35f965d04999f02cc2ef60b54ea7eb7a006e5cf5678fc34a54d4be4f9fd71bd0f784a8671aca40c70dbc307666c548e1d7
 DIST nullmailer-2.0.tar.gz 249538 BLAKE2B 2340fd0b3e67be0061aedb2a1dc0466c88e1253691c955e960244f2ce330af6798bd43f21908a9f12ce9572489dd5c48288e65ae688cd73a8afedd4f7bb6a49e SHA512 2a7c914c5effcf796f987256ac68836f0ba875cc7f2da1aeb8f23767e15a556da168b8da5cc52d9f800986883bbdbcd49a9610ae220f463164a906c1d82fbce6
+DIST nullmailer-2.2.tar.gz 257740 BLAKE2B 18821caa1a377a899e3fedc84530d7c672f345cafb627da05e6c7bcd7d2708d54fc4ff4b761a6a23b2ddbabe73514473a5ec2abf3182dce2f5d3d4fbe3618fed SHA512 21b29d59f3c386c13ce4541ae11dc5cd69f842085479d7fc9a69a540abc608ce5c1825f06bd3566536b392931f7eeb1b2d35addd816849e6f431877bb18c8268
 DIST nullmailer-patches-1.13.tar.xz 8384 BLAKE2B 523547f8abf9b5d05938aad1e22e4195ee49cfe392c515df442a26d2cfb79f959c37e8f860fb196e99075aaa6fe437aaec182e1c1e2057d97cc32cba78a200d0 SHA512 393531e39a92b0978bccbcdf123e05b2cdad1ec8e600825cc24177ba414c1f615995c0344291ebb664f42b384a160c0359fec5ba3308cc14cbc9ceb8577d799c

diff --git a/mail-mta/nullmailer/metadata.xml b/mail-mta/nullmailer/metadata.xml
index ead06a9996f..110d077c53d 100644
--- a/mail-mta/nullmailer/metadata.xml
+++ b/mail-mta/nullmailer/metadata.xml
@@ -5,6 +5,10 @@
     <email>robbat2@gentoo.org</email>
     <name>Robin H. Johnson</name>
   </maintainer>
+  <maintainer type="person">
+    <email>haubi@gentoo.org</email>
+    <name>Michael Haubenwallner</name>
+  </maintainer>
   <upstream>
     <remote-id type="github">bruceg/nullmailer</remote-id>
   </upstream>

diff --git a/mail-mta/nullmailer/nullmailer-2.2.ebuild b/mail-mta/nullmailer/nullmailer-2.2.ebuild
new file mode 100644
index 00000000000..a5525dd67ed
--- /dev/null
+++ b/mail-mta/nullmailer/nullmailer-2.2.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools eutils flag-o-matic multilib systemd user
+
+DESCRIPTION="Simple relay-only local mail transport agent"
+HOMEPAGE="http://untroubled.org/nullmailer/ https://github.com/bruceg/nullmailer"
+SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+IUSE="ssl test"
+
+DEPEND="
+	ssl? ( net-libs/gnutls:0= )
+	test? ( sys-apps/ucspi-tcp[ipv6] sys-process/daemontools )
+"
+RDEPEND="
+	virtual/logger
+	virtual/shadow
+	ssl? ( net-libs/gnutls:0= )
+	!mail-mta/courier
+	!mail-mta/esmtp
+	!mail-mta/exim
+	!mail-mta/mini-qmail
+	!mail-mta/msmtp[mta(+)]
+	!mail-mta/netqmail
+	!mail-mta/opensmtpd[mta(+)]
+	!mail-mta/postfix
+	!mail-mta/qmail-ldap
+	!mail-mta/sendmail
+	!mail-mta/ssmtp[mta(+)]
+"
+
+pkg_setup() {
+	enewgroup nullmail 88
+	enewuser nullmail 88 -1 /var/spool/nullmailer nullmail
+}
+
+src_prepare() {
+	default
+	sed -i.orig \
+		-e '/\$(localstatedir)\/trigger/d' \
+		"${S}"/Makefile.am || die
+	sed \
+		-e "s:^AC_PROG_RANLIB:AC_CHECK_TOOL(AR, ar, false)\nAC_PROG_RANLIB:g" \
+		-i configure.ac || die
+	sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
+	sed \
+		-e "s#/usr/local#/usr#" \
+		-e 's:/usr/etc/:/etc/:g' \
+		-i doc/nullmailer-send.8 || die
+	eautoreconf
+}
+
+src_configure() {
+	# https://github.com/bruceg/nullmailer/pull/31/commits
+	append-lfs-flags #471102
+	econf \
+		--localstatedir="${EPREFIX}"/var \
+		$(use_enable ssl tls)
+}
+
+src_install() {
+	default
+
+	# A small bit of sample config
+	insinto /etc/nullmailer
+	newins "${FILESDIR}"/remotes.sample-2.0 remotes
+
+	# This contains passwords, so should be secure
+	fperms 0640 /etc/nullmailer/remotes
+	fowners root:nullmail /etc/nullmailer/remotes
+
+	# daemontools stuff
+	dodir /var/spool/nullmailer/service{,/log}
+
+	insinto /var/spool/nullmailer/service
+	newins scripts/nullmailer.run run
+	fperms 700 /var/spool/nullmailer/service/run
+
+	insinto /var/spool/nullmailer/service/log
+	newins scripts/nullmailer-log.run run
+	fperms 700 /var/spool/nullmailer/service/log/run
+
+	# usability
+	dosym ../sbin/sendmail usr/$(get_libdir)/sendmail
+
+	# permissions stuff
+	keepdir /var/log/nullmailer /var/spool/nullmailer/{tmp,queue,failed}
+	fperms 770 /var/log/nullmailer
+	fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq
+	fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq
+
+	newinitd "${FILESDIR}"/init.d-nullmailer-r6 nullmailer
+	systemd_dounit scripts/${PN}.service
+}
+
+pkg_postinst() {
+	if [[ ! -e ${EROOT}/var/spool/nullmailer/trigger ]]; then
+		mkfifo --mode=0660 "${EROOT}/var/spool/nullmailer/trigger" || die
+	fi
+	chown nullmail:nullmail \
+		"${EROOT}"/var/log/nullmailer \
+		"${EROOT}"/var/spool/nullmailer/{tmp,queue,failed,trigger} || die
+	chmod 770 \
+		"${EROOT}"/var/log/nullmailer \
+		"${EROOT}"/var/spool/nullmailer/{tmp,queue,failed} || die
+	chmod 660 "${EROOT}"/var/spool/nullmailer/trigger || die
+
+	# This contains passwords, so should be secure
+	chmod 0640 "${EROOT}"/etc/nullmailer/remotes || die
+	chown root:nullmail "${EROOT}"/etc/nullmailer/remotes || die
+
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		elog "To create an initial setup, please do:"
+		elog "emerge --config =${CATEGORY}/${PF}"
+	fi
+}
+
+pkg_postrm() {
+	if [[ -e ${EROOT}/var/spool/nullmailer/trigger ]]; then
+		rm "${EROOT}/var/spool/nullmailer/trigger" || die
+	fi
+}
+
+pkg_config() {
+	if [[ ! -s ${EROOT}/etc/nullmailer/me ]]; then
+		einfo "Setting /etc/nullmailer/me"
+		hostname --fqdn > "${EROOT}/etc/nullmailer/me"
+		if [[ ! -s ${EROOT}/etc/nullmailer/me ]]; then
+			eerror "Got no output from 'hostname --fqdn'"
+		fi
+	fi
+	if [[ ! -s ${EROOT}/etc/nullmailer/defaultdomain ]]; then
+		einfo "Setting /etc/nullmailer/defaultdomain"
+		hostname --domain > "${EROOT}/etc/nullmailer/defaultdomain"
+		if [[ ! -s ${EROOT}/etc/nullmailer/me ]]; then
+			eerror "Got no output from 'hostname --domain'"
+		fi
+	fi
+	if ! grep -q '^[ \t]*[^# \t]' "${EROOT}/etc/nullmailer/remotes"; then
+		ewarn "Remember to tweak ${EROOT}/etc/nullmailer/remotes yourself!"
+	fi
+}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2019-04-01  8:36 Michael Haubenwallner
  0 siblings, 0 replies; 27+ messages in thread
From: Michael Haubenwallner @ 2019-04-01  8:36 UTC (permalink / raw
  To: gentoo-commits

commit:     f53534a09c4c9fbf841ae4e5b6cdd8e4dc0f9ba2
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  1 08:33:37 2019 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Mon Apr  1 08:35:45 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f53534a0

mail-mta/nullmailer: add ~x64-cygwin keyword

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Michael Haubenwallner <haubi <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2.ebuild b/mail-mta/nullmailer/nullmailer-2.2.ebuild
index a5525dd67ed..178c1507ac2 100644
--- a/mail-mta/nullmailer/nullmailer-2.2.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~x86"
+KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x64-cygwin"
 IUSE="ssl test"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2019-11-27 12:56 Agostino Sarubbo
  0 siblings, 0 replies; 27+ messages in thread
From: Agostino Sarubbo @ 2019-11-27 12:56 UTC (permalink / raw
  To: gentoo-commits

commit:     00a789f1ba8ed9d1d597fdcb47d91b7bee802311
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 27 12:56:02 2019 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Nov 27 12:56:02 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00a789f1

mail-mta/nullmailer: amd64 stable wrt bug #694590

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2.ebuild b/mail-mta/nullmailer/nullmailer-2.2.ebuild
index 59e8c37fad7..bb98199003e 100644
--- a/mail-mta/nullmailer/nullmailer-2.2.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~x86 ~x64-cygwin"
+KEYWORDS="amd64 ~arm ~ppc ~x86 ~x64-cygwin"
 IUSE="ssl test"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2019-11-27 13:30 Thomas Deutschmann
  0 siblings, 0 replies; 27+ messages in thread
From: Thomas Deutschmann @ 2019-11-27 13:30 UTC (permalink / raw
  To: gentoo-commits

commit:     dd862d02e24ef6f0dfdca0b3743a8746d5495ba5
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 27 13:28:30 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Nov 27 13:30:01 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd862d02

mail-mta/nullmailer: x86 stable (bug #694590)

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2.ebuild b/mail-mta/nullmailer/nullmailer-2.2.ebuild
index bb98199003e..e0472e40ade 100644
--- a/mail-mta/nullmailer/nullmailer-2.2.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc ~x86 ~x64-cygwin"
+KEYWORDS="amd64 ~arm ~ppc x86 ~x64-cygwin"
 IUSE="ssl test"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2019-11-28 10:55 Agostino Sarubbo
  0 siblings, 0 replies; 27+ messages in thread
From: Agostino Sarubbo @ 2019-11-28 10:55 UTC (permalink / raw
  To: gentoo-commits

commit:     fd5aafa8ea76dc3ed35e7dc8160a2b4f60ae8126
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 28 10:54:16 2019 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Thu Nov 28 10:54:16 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd5aafa8

mail-mta/nullmailer: ppc stable wrt bug #694590

Package-Manager: Portage-2.3.76, Repoman-2.3.16
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2.ebuild b/mail-mta/nullmailer/nullmailer-2.2.ebuild
index e0472e40ade..a302852c2be 100644
--- a/mail-mta/nullmailer/nullmailer-2.2.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc x86 ~x64-cygwin"
+KEYWORDS="amd64 ~arm ppc x86 ~x64-cygwin"
 IUSE="ssl test"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2020-03-07 15:58 Mikle Kolyada
  0 siblings, 0 replies; 27+ messages in thread
From: Mikle Kolyada @ 2020-03-07 15:58 UTC (permalink / raw
  To: gentoo-commits

commit:     42710bbf22ae22fcf564a4a051239856343a593d
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  7 15:57:37 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Mar  7 15:58:15 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42710bbf

mail-mta/nullmailer: Drop old (deprecated EAPI)

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 mail-mta/nullmailer/Manifest                  |   3 -
 mail-mta/nullmailer/nullmailer-1.13-r5.ebuild | 167 --------------------------
 mail-mta/nullmailer/nullmailer-2.0-r1.ebuild  | 137 ---------------------
 mail-mta/nullmailer/nullmailer-2.0-r2.ebuild  | 139 ---------------------
 mail-mta/nullmailer/nullmailer-2.0.ebuild     | 137 ---------------------
 5 files changed, 583 deletions(-)

diff --git a/mail-mta/nullmailer/Manifest b/mail-mta/nullmailer/Manifest
index 7bddba27fbc..9d9ce9de6b2 100644
--- a/mail-mta/nullmailer/Manifest
+++ b/mail-mta/nullmailer/Manifest
@@ -1,4 +1 @@
-DIST nullmailer-1.13.tar.gz 205431 BLAKE2B e1eaa94262e3d4d202293d35f7ac610a3a2cb92e403b2fd8dff467788a4f4c0d3a1bbc27b47eeae9d1c493eb8d07c35e056ea7501ad92ec4addae694997561b4 SHA512 96dcb3ddecde77a73e5ca1afa5167d35f965d04999f02cc2ef60b54ea7eb7a006e5cf5678fc34a54d4be4f9fd71bd0f784a8671aca40c70dbc307666c548e1d7
-DIST nullmailer-2.0.tar.gz 249538 BLAKE2B 2340fd0b3e67be0061aedb2a1dc0466c88e1253691c955e960244f2ce330af6798bd43f21908a9f12ce9572489dd5c48288e65ae688cd73a8afedd4f7bb6a49e SHA512 2a7c914c5effcf796f987256ac68836f0ba875cc7f2da1aeb8f23767e15a556da168b8da5cc52d9f800986883bbdbcd49a9610ae220f463164a906c1d82fbce6
 DIST nullmailer-2.2.tar.gz 257740 BLAKE2B 18821caa1a377a899e3fedc84530d7c672f345cafb627da05e6c7bcd7d2708d54fc4ff4b761a6a23b2ddbabe73514473a5ec2abf3182dce2f5d3d4fbe3618fed SHA512 21b29d59f3c386c13ce4541ae11dc5cd69f842085479d7fc9a69a540abc608ce5c1825f06bd3566536b392931f7eeb1b2d35addd816849e6f431877bb18c8268
-DIST nullmailer-patches-1.13.tar.xz 8384 BLAKE2B 523547f8abf9b5d05938aad1e22e4195ee49cfe392c515df442a26d2cfb79f959c37e8f860fb196e99075aaa6fe437aaec182e1c1e2057d97cc32cba78a200d0 SHA512 393531e39a92b0978bccbcdf123e05b2cdad1ec8e600825cc24177ba414c1f615995c0344291ebb664f42b384a160c0359fec5ba3308cc14cbc9ceb8577d799c

diff --git a/mail-mta/nullmailer/nullmailer-1.13-r5.ebuild b/mail-mta/nullmailer/nullmailer-1.13-r5.ebuild
deleted file mode 100644
index 10966c371bf..00000000000
--- a/mail-mta/nullmailer/nullmailer-1.13-r5.ebuild
+++ /dev/null
@@ -1,167 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit autotools eutils flag-o-matic multilib systemd user
-
-MY_P="${P/_rc/RC}"
-
-DEBIAN_PV=1.11
-DEBIAN_PR="2"
-DEBIAN_P="${PN}-${DEBIAN_PV}"
-DEBIAN_PF="${DEBIAN_P/-/_}-${DEBIAN_PR}"
-DEBIAN_SRC="${DEBIAN_PF}.debian.tar.gz"
-
-DESCRIPTION="Simple relay-only local mail transport agent"
-HOMEPAGE="http://untroubled.org/nullmailer/"
-SRC_URI="
-	http://untroubled.org/${PN}/archive/${MY_P}.tar.gz
-	https://dev.gentoo.org/~jlec/distfiles/${PN}-patches-${PV}.tar.xz"
-#		mirror://debian/pool/main/n/${PN}/${DEBIAN_SRC}"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="amd64 ppc x86"
-IUSE="ssl"
-
-DEPEND="
-	sys-apps/groff
-	ssl? ( net-libs/gnutls )"
-RDEPEND="
-	virtual/logger
-	virtual/shadow
-	ssl? ( net-libs/gnutls )
-	!mail-mta/courier
-	!mail-mta/esmtp
-	!mail-mta/exim
-	!mail-mta/mini-qmail
-	!mail-mta/msmtp
-	!mail-mta/netqmail
-	!mail-mta/postfix
-	!mail-mta/qmail-ldap
-	!mail-mta/sendmail
-	!mail-mta/opensmtpd
-	!mail-mta/ssmtp"
-
-S=${WORKDIR}/${MY_P}
-
-pkg_setup() {
-	enewgroup nullmail 88
-	enewuser nullmail 88 -1 /var/nullmailer nullmail
-}
-
-src_prepare() {
-#	sed -i -e 's/nullmailer-1.10/nullmailer-1.11/g' \
-#		"${WORKDIR}"/debian/patches/*.diff || die
-#	EPATCH_OPTS="-d ${S} -p1" \
-#	epatch "${DISTDIR}"/${DEBIAN_SRC}
-	# why revert?  Ask Robin when he is back!
-#	EPATCH_OPTS="-d ${WORKDIR} -p0 -R" \
-#	epatch "${WORKDIR}"/debian/patches/02_ipv6.diff
-	# this fixes the debian daemon/syslog to actually compile
-
-	# old debian patches from 1.11
-	# DO NOT APPLY patch 0009... It breaks
-	epatch "${WORKDIR}"/patches/000{1..8}*patch
-
-	epatch "${FILESDIR}"/${P}-unistd.h.patch
-
-	sed -i.orig \
-		-e '/^nullmailer_send_LDADD/s, =, = ../lib/cli++/libcli++.a,' \
-		"${S}"/src/Makefile.am || die "Sed failed"
-	sed -i.orig \
-		-e '/\$(localstatedir)\/trigger/d' \
-		"${S}"/Makefile.am || die "Sed failed"
-	sed \
-		-e "s:^AC_PROG_RANLIB:AC_CHECK_TOOL(AR, ar, false)\nAC_PROG_RANLIB:g" \
-		-i configure.in || die
-	sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.in || die
-	eautoreconf
-}
-
-src_configure() {
-	# Note that we pass a different directory below due to bugs in the makefile!
-	econf \
-		--localstatedir=/var \
-		$(use_enable ssl tls)
-}
-
-src_install() {
-	emake DESTDIR="${D}" localstatedir=/var/nullmailer install
-
-	dodoc AUTHORS BUGS HOWTO INSTALL ChangeLog NEWS README TODO
-
-	# A small bit of sample config
-	insinto /etc/nullmailer
-	newins "${FILESDIR}"/remotes.sample-${PV} remotes
-
-	# This contains passwords, so should be secure
-	fperms 0640 /etc/nullmailer/remotes
-	fowners root:nullmail /etc/nullmailer/remotes
-
-	# daemontools stuff
-	dodir /var/nullmailer/service{,/log}
-
-	insinto /var/nullmailer/service
-	newins scripts/nullmailer.run run
-	fperms 700 /var/nullmailer/service/run
-
-	insinto /var/nullmailer/service/log
-	newins scripts/nullmailer-log.run run
-	fperms 700 /var/nullmailer/service/log/run
-
-	# usability
-	dosym /usr/sbin/sendmail usr/$(get_libdir)/sendmail
-
-	# permissions stuff
-	keepdir /var/log/nullmailer /var/nullmailer/{tmp,queue}
-	fperms 770 /var/log/nullmailer /var/nullmailer/{tmp,queue}
-	fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq
-	fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq
-
-	newinitd "${FILESDIR}"/init.d-nullmailer-r4 nullmailer
-	systemd_dounit "${FILESDIR}"/${PN}.service
-}
-
-pkg_postinst() {
-	if [ ! -e "${ROOT}"/var/nullmailer/trigger ]; then
-		mkfifo "${ROOT}"/var/nullmailer/trigger
-	fi
-	chown nullmail:nullmail \
-		"${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue,trigger} || die
-	chmod 770 "${ROOT}"/var/log/nullmailer "${ROOT}"/var/nullmailer/{tmp,queue} || die
-	chmod 660 "${ROOT}"/var/nullmailer/trigger || die
-
-	# This contains passwords, so should be secure
-	chmod 0640 "${ROOT}"/etc/nullmailer/remotes || die
-	chown root:nullmail "${ROOT}"/etc/nullmailer/remotes || die
-
-	if [[ -z ${REPLACING_VERSIONS} ]]; then
-		elog "To create an initial setup, please do:"
-		elog "emerge --config =${CATEGORY}/${PF}"
-	fi
-	#echo
-	#elog "To start nullmailer at boot you may use either the nullmailer init.d"
-	#elog "script, or emerge sys-process/supervise-scripts, enable the"
-	#elog "svscan init.d script and create the following link:"
-	#elog "ln -fs /var/nullmailer/service /service/nullmailer"
-	#echo
-}
-
-pkg_postrm() {
-	if [[ -e "${ROOT}"/var/nullmailer/trigger ]]; then
-		rm "${ROOT}"/var/nullmailer/trigger || die
-	fi
-}
-
-pkg_config() {
-	if [ ! -s "${ROOT}"/etc/nullmailer/me ]; then
-		einfo "Setting /etc/nullmailer/me"
-		/bin/hostname --fqdn > "${ROOT}"/etc/nullmailer/me
-	fi
-	if [ ! -s "${ROOT}"/etc/nullmailer/defaultdomain ]; then
-		einfo "Setting /etc/nullmailer/defaultdomain"
-		/bin/hostname --domain > "${ROOT}"/etc/nullmailer/defaultdomain
-	fi
-}

diff --git a/mail-mta/nullmailer/nullmailer-2.0-r1.ebuild b/mail-mta/nullmailer/nullmailer-2.0-r1.ebuild
deleted file mode 100644
index e13abd28dd3..00000000000
--- a/mail-mta/nullmailer/nullmailer-2.0-r1.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools eutils flag-o-matic multilib systemd user
-
-DESCRIPTION="Simple relay-only local mail transport agent"
-HOMEPAGE="http://untroubled.org/nullmailer/ https://github.com/bruceg/nullmailer"
-SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="ssl"
-
-DEPEND="
-	sys-apps/groff
-	ssl? ( net-libs/gnutls:0= )"
-RDEPEND="
-	virtual/logger
-	virtual/shadow
-	ssl? ( net-libs/gnutls:0= )
-	!mail-mta/courier
-	!mail-mta/esmtp
-	!mail-mta/exim
-	!mail-mta/mini-qmail
-	!mail-mta/msmtp
-	!mail-mta/netqmail
-	!mail-mta/postfix
-	!mail-mta/qmail-ldap
-	!mail-mta/sendmail
-	!mail-mta/opensmtpd
-	!mail-mta/ssmtp"
-
-pkg_setup() {
-	enewgroup nullmail 88
-	enewuser nullmail 88 -1 /var/spool/nullmailer nullmail
-}
-
-src_prepare() {
-	default
-	sed -i.orig \
-		-e '/\$(localstatedir)\/trigger/d' \
-		"${S}"/Makefile.am || die "Sed failed"
-	sed \
-		-e "s:^AC_PROG_RANLIB:AC_CHECK_TOOL(AR, ar, false)\nAC_PROG_RANLIB:g" \
-		-i configure.ac || die
-	sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
-	sed \
-		-e "s#/usr/lib#\0exec#" -e "s#/usr/local#/usr#" \
-		-e 's:/usr/etc/:/etc/:g' \
-		-i doc/nullmailer-send.8 || die
-	eautoreconf
-}
-
-src_configure() {
-	# https://github.com/bruceg/nullmailer/pull/31/commits
-	append-lfs-flags #471102
-	econf \
-		--localstatedir="${EPREFIX}"/var \
-		$(use_enable ssl tls)
-}
-
-src_install() {
-	default
-
-	# A small bit of sample config
-	insinto /etc/nullmailer
-	newins "${FILESDIR}"/remotes.sample-${PV} remotes
-
-	# This contains passwords, so should be secure
-	fperms 0640 /etc/nullmailer/remotes
-	fowners root:nullmail /etc/nullmailer/remotes
-
-	# daemontools stuff
-	dodir /var/spool/nullmailer/service{,/log}
-
-	insinto /var/spool/nullmailer/service
-	newins scripts/nullmailer.run run
-	fperms 700 /var/spool/nullmailer/service/run
-
-	insinto /var/spool/nullmailer/service/log
-	newins scripts/nullmailer-log.run run
-	fperms 700 /var/spool/nullmailer/service/log/run
-
-	# usability
-	dosym /usr/sbin/sendmail usr/$(get_libdir)/sendmail
-
-	# permissions stuff
-	keepdir /var/log/nullmailer /var/spool/nullmailer/{tmp,queue}
-	fperms 770 /var/log/nullmailer
-	fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq
-	fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq
-
-	newinitd "${FILESDIR}"/init.d-nullmailer-r6 nullmailer
-	systemd_dounit scripts/${PN}.service
-}
-
-pkg_postinst() {
-	if [ ! -e "${EROOT}var/spool/nullmailer/trigger" ]; then
-		mkfifo "${EROOT}var/spool/nullmailer/trigger" || die
-	fi
-	chown nullmail:nullmail \
-		"${EROOT}"var/log/nullmailer \
-		"${EROOT}"var/spool/nullmailer/{tmp,queue,trigger} || die
-	chmod 770 \
-		"${EROOT}"var/log/nullmailer \
-		"${EROOT}"var/spool/nullmailer/{tmp,queue} || die
-	chmod 660 "${EROOT}"var/spool/nullmailer/trigger || die
-
-	# This contains passwords, so should be secure
-	chmod 0640 "${EROOT}"etc/nullmailer/remotes || die
-	chown root:nullmail "${EROOT}"etc/nullmailer/remotes || die
-
-	if [[ -z ${REPLACING_VERSIONS} ]]; then
-		elog "To create an initial setup, please do:"
-		elog "emerge --config =${CATEGORY}/${PF}"
-	fi
-}
-
-pkg_postrm() {
-	if [[ -e "${EROOT}var/spool/nullmailer/trigger" ]]; then
-		rm "${EROOT}var/spool/nullmailer/trigger" || die
-	fi
-}
-
-pkg_config() {
-	if [ ! -s "${EROOT}etc/nullmailer/me" ]; then
-		einfo "Setting /etc/nullmailer/me"
-		hostname --fqdn > "${EROOT}etc/nullmailer/me"
-	fi
-	if [ ! -s "${EROOT}etc/nullmailer/defaultdomain" ]; then
-		einfo "Setting /etc/nullmailer/defaultdomain"
-		hostname --domain > "${EROOT}etc/nullmailer/defaultdomain"
-	fi
-}

diff --git a/mail-mta/nullmailer/nullmailer-2.0-r2.ebuild b/mail-mta/nullmailer/nullmailer-2.0-r2.ebuild
deleted file mode 100644
index 1da0d4fe144..00000000000
--- a/mail-mta/nullmailer/nullmailer-2.0-r2.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools eutils flag-o-matic multilib systemd user
-
-DESCRIPTION="Simple relay-only local mail transport agent"
-HOMEPAGE="http://untroubled.org/nullmailer/ https://github.com/bruceg/nullmailer"
-SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="ssl test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-	sys-apps/groff
-	ssl? ( net-libs/gnutls:0= )
-	test? ( sys-apps/ucspi-tcp[ipv6] sys-process/daemontools )"
-RDEPEND="
-	virtual/logger
-	virtual/shadow
-	ssl? ( net-libs/gnutls:0= )
-	!mail-mta/courier
-	!mail-mta/esmtp
-	!mail-mta/exim
-	!mail-mta/mini-qmail
-	!mail-mta/msmtp
-	!mail-mta/netqmail
-	!mail-mta/postfix
-	!mail-mta/qmail-ldap
-	!mail-mta/sendmail
-	!mail-mta/opensmtpd
-	!mail-mta/ssmtp"
-
-pkg_setup() {
-	enewgroup nullmail 88
-	enewuser nullmail 88 -1 /var/spool/nullmailer nullmail
-}
-
-src_prepare() {
-	default
-	sed -i.orig \
-		-e '/\$(localstatedir)\/trigger/d' \
-		"${S}"/Makefile.am || die "Sed failed"
-	sed \
-		-e "s:^AC_PROG_RANLIB:AC_CHECK_TOOL(AR, ar, false)\nAC_PROG_RANLIB:g" \
-		-i configure.ac || die
-	sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
-	sed \
-		-e "s#/usr/lib#\0exec#" -e "s#/usr/local#/usr#" \
-		-e 's:/usr/etc/:/etc/:g' \
-		-i doc/nullmailer-send.8 || die
-	eautoreconf
-}
-
-src_configure() {
-	# https://github.com/bruceg/nullmailer/pull/31/commits
-	append-lfs-flags #471102
-	econf \
-		--localstatedir="${EPREFIX}"/var \
-		$(use_enable ssl tls)
-}
-
-src_install() {
-	default
-
-	# A small bit of sample config
-	insinto /etc/nullmailer
-	newins "${FILESDIR}"/remotes.sample-${PV} remotes
-
-	# This contains passwords, so should be secure
-	fperms 0640 /etc/nullmailer/remotes
-	fowners root:nullmail /etc/nullmailer/remotes
-
-	# daemontools stuff
-	dodir /var/spool/nullmailer/service{,/log}
-
-	insinto /var/spool/nullmailer/service
-	newins scripts/nullmailer.run run
-	fperms 700 /var/spool/nullmailer/service/run
-
-	insinto /var/spool/nullmailer/service/log
-	newins scripts/nullmailer-log.run run
-	fperms 700 /var/spool/nullmailer/service/log/run
-
-	# usability
-	dosym /usr/sbin/sendmail usr/$(get_libdir)/sendmail
-
-	# permissions stuff
-	keepdir /var/log/nullmailer /var/spool/nullmailer/{tmp,queue}
-	fperms 770 /var/log/nullmailer
-	fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq
-	fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq
-
-	newinitd "${FILESDIR}"/init.d-nullmailer-r6 nullmailer
-	systemd_dounit scripts/${PN}.service
-}
-
-pkg_postinst() {
-	if [ ! -e "${EROOT}var/spool/nullmailer/trigger" ]; then
-		mkfifo "${EROOT}var/spool/nullmailer/trigger" || die
-	fi
-	chown nullmail:nullmail \
-		"${EROOT}"var/log/nullmailer \
-		"${EROOT}"var/spool/nullmailer/{tmp,queue,trigger} || die
-	chmod 770 \
-		"${EROOT}"var/log/nullmailer \
-		"${EROOT}"var/spool/nullmailer/{tmp,queue} || die
-	chmod 660 "${EROOT}"var/spool/nullmailer/trigger || die
-
-	# This contains passwords, so should be secure
-	chmod 0640 "${EROOT}"etc/nullmailer/remotes || die
-	chown root:nullmail "${EROOT}"etc/nullmailer/remotes || die
-
-	if [[ -z ${REPLACING_VERSIONS} ]]; then
-		elog "To create an initial setup, please do:"
-		elog "emerge --config =${CATEGORY}/${PF}"
-	fi
-}
-
-pkg_postrm() {
-	if [[ -e "${EROOT}var/spool/nullmailer/trigger" ]]; then
-		rm "${EROOT}var/spool/nullmailer/trigger" || die
-	fi
-}
-
-pkg_config() {
-	if [ ! -s "${EROOT}etc/nullmailer/me" ]; then
-		einfo "Setting /etc/nullmailer/me"
-		hostname --fqdn > "${EROOT}etc/nullmailer/me"
-	fi
-	if [ ! -s "${EROOT}etc/nullmailer/defaultdomain" ]; then
-		einfo "Setting /etc/nullmailer/defaultdomain"
-		hostname --domain > "${EROOT}etc/nullmailer/defaultdomain"
-	fi
-}

diff --git a/mail-mta/nullmailer/nullmailer-2.0.ebuild b/mail-mta/nullmailer/nullmailer-2.0.ebuild
deleted file mode 100644
index 9fe5b167508..00000000000
--- a/mail-mta/nullmailer/nullmailer-2.0.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools eutils flag-o-matic multilib systemd user
-
-DESCRIPTION="Simple relay-only local mail transport agent"
-HOMEPAGE="http://untroubled.org/nullmailer/ https://github.com/bruceg/nullmailer"
-SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="ssl"
-
-DEPEND="
-	sys-apps/groff
-	ssl? ( net-libs/gnutls:0= )"
-RDEPEND="
-	virtual/logger
-	virtual/shadow
-	ssl? ( net-libs/gnutls:0= )
-	!mail-mta/courier
-	!mail-mta/esmtp
-	!mail-mta/exim
-	!mail-mta/mini-qmail
-	!mail-mta/msmtp
-	!mail-mta/netqmail
-	!mail-mta/postfix
-	!mail-mta/qmail-ldap
-	!mail-mta/sendmail
-	!mail-mta/opensmtpd
-	!mail-mta/ssmtp"
-
-pkg_setup() {
-	enewgroup nullmail 88
-	enewuser nullmail 88 -1 /var/spool/nullmailer nullmail
-}
-
-src_prepare() {
-	default
-	sed -i.orig \
-		-e '/\$(localstatedir)\/trigger/d' \
-		"${S}"/Makefile.am || die "Sed failed"
-	sed \
-		-e "s:^AC_PROG_RANLIB:AC_CHECK_TOOL(AR, ar, false)\nAC_PROG_RANLIB:g" \
-		-i configure.ac || die
-	sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
-	sed \
-		-e "s#/usr/lib#\0exec#" -e "s#/usr/local#/usr#" \
-		-e 's:/usr/etc/:/etc/:g' \
-		-i doc/nullmailer-send.8 || die
-	eautoreconf
-}
-
-src_configure() {
-	# https://github.com/bruceg/nullmailer/pull/31/commits
-	append-lfs-flags #471102
-	econf \
-		--localstatedir="${EPREFIX}"/var \
-		$(use_enable ssl tls)
-}
-
-src_install() {
-	default
-
-	# A small bit of sample config
-	insinto /etc/nullmailer
-	newins "${FILESDIR}"/remotes.sample-${PV} remotes
-
-	# This contains passwords, so should be secure
-	fperms 0640 /etc/nullmailer/remotes
-	fowners root:nullmail /etc/nullmailer/remotes
-
-	# daemontools stuff
-	dodir /var/spool/nullmailer/service{,/log}
-
-	insinto /var/spool/nullmailer/service
-	newins scripts/nullmailer.run run
-	fperms 700 /var/spool/nullmailer/service/run
-
-	insinto /var/spool/nullmailer/service/log
-	newins scripts/nullmailer-log.run run
-	fperms 700 /var/spool/nullmailer/service/log/run
-
-	# usability
-	dosym /usr/sbin/sendmail usr/$(get_libdir)/sendmail
-
-	# permissions stuff
-	keepdir /var/log/nullmailer /var/spool/nullmailer/{tmp,queue}
-	fperms 770 /var/log/nullmailer
-	fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq
-	fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq
-
-	newinitd "${FILESDIR}"/init.d-nullmailer-r5 nullmailer
-	systemd_dounit scripts/${PN}.service
-}
-
-pkg_postinst() {
-	if [ ! -e "${EROOT}var/spool/nullmailer/trigger" ]; then
-		mkfifo "${EROOT}var/spool/nullmailer/trigger" || die
-	fi
-	chown nullmail:nullmail \
-		"${EROOT}"var/log/nullmailer \
-		"${EROOT}"var/spool/nullmailer/{tmp,queue,trigger} || die
-	chmod 770 \
-		"${EROOT}"var/log/nullmailer \
-		"${EROOT}"var/spool/nullmailer/{tmp,queue} || die
-	chmod 660 "${EROOT}"var/spool/nullmailer/trigger || die
-
-	# This contains passwords, so should be secure
-	chmod 0640 "${EROOT}"etc/nullmailer/remotes || die
-	chown root:nullmail "${EROOT}"etc/nullmailer/remotes || die
-
-	if [[ -z ${REPLACING_VERSIONS} ]]; then
-		elog "To create an initial setup, please do:"
-		elog "emerge --config =${CATEGORY}/${PF}"
-	fi
-}
-
-pkg_postrm() {
-	if [[ -e "${EROOT}var/spool/nullmailer/trigger" ]]; then
-		rm "${EROOT}var/spool/nullmailer/trigger" || die
-	fi
-}
-
-pkg_config() {
-	if [ ! -s "${EROOT}etc/nullmailer/me" ]; then
-		einfo "Setting /etc/nullmailer/me"
-		hostname --fqdn > "${EROOT}etc/nullmailer/me"
-	fi
-	if [ ! -s "${EROOT}etc/nullmailer/defaultdomain" ]; then
-		einfo "Setting /etc/nullmailer/defaultdomain"
-		hostname --domain > "${EROOT}etc/nullmailer/defaultdomain"
-	fi
-}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2020-03-07 15:59 Mikle Kolyada
  0 siblings, 0 replies; 27+ messages in thread
From: Mikle Kolyada @ 2020-03-07 15:59 UTC (permalink / raw
  To: gentoo-commits

commit:     19814d499dab91fd4709c43be7598db5629c52f2
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  7 15:59:36 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sat Mar  7 15:59:36 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19814d49

mail-mta/nullmailer: migrate to sys-apps/shadow

Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 .../nullmailer/{nullmailer-2.2.ebuild => nullmailer-2.2-r1.ebuild}    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2.ebuild b/mail-mta/nullmailer/nullmailer-2.2-r1.ebuild
similarity index 98%
rename from mail-mta/nullmailer/nullmailer-2.2.ebuild
rename to mail-mta/nullmailer/nullmailer-2.2-r1.ebuild
index cea54398acb..051ce2259b9 100644
--- a/mail-mta/nullmailer/nullmailer-2.2.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,7 +21,7 @@ DEPEND="
 "
 RDEPEND="
 	virtual/logger
-	virtual/shadow
+	sys-apps/shadow
 	ssl? ( net-libs/gnutls:0= )
 	!mail-mta/courier
 	!mail-mta/esmtp


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2021-04-23  6:53 Michael Haubenwallner
  0 siblings, 0 replies; 27+ messages in thread
From: Michael Haubenwallner @ 2021-04-23  6:53 UTC (permalink / raw
  To: gentoo-commits

commit:     3cafaadd6f09794d1e1aed608dd877d7860be7a6
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 23 06:14:49 2021 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Fri Apr 23 06:45:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cafaadd

mail-mta/nullmailer: drop self as maintainer

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Michael Haubenwallner <haubi <AT> gentoo.org>

 mail-mta/nullmailer/metadata.xml | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/mail-mta/nullmailer/metadata.xml b/mail-mta/nullmailer/metadata.xml
index 110d077c53d..ead06a9996f 100644
--- a/mail-mta/nullmailer/metadata.xml
+++ b/mail-mta/nullmailer/metadata.xml
@@ -5,10 +5,6 @@
     <email>robbat2@gentoo.org</email>
     <name>Robin H. Johnson</name>
   </maintainer>
-  <maintainer type="person">
-    <email>haubi@gentoo.org</email>
-    <name>Michael Haubenwallner</name>
-  </maintainer>
   <upstream>
     <remote-id type="github">bruceg/nullmailer</remote-id>
   </upstream>


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2021-07-09 22:36 Conrad Kostecki
  0 siblings, 0 replies; 27+ messages in thread
From: Conrad Kostecki @ 2021-07-09 22:36 UTC (permalink / raw
  To: gentoo-commits

commit:     b6c1a3d03861a20f38ce9b1de16f80e0ce3c6b30
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  9 22:06:40 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Jul  9 22:36:33 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6c1a3d0

mail-mta/nullmailer: drop old version

Closes: https://bugs.gentoo.org/781320
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2-r1.ebuild | 156 ---------------------------
 1 file changed, 156 deletions(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2-r1.ebuild b/mail-mta/nullmailer/nullmailer-2.2-r1.ebuild
deleted file mode 100644
index 53c1cabc06f..00000000000
--- a/mail-mta/nullmailer/nullmailer-2.2-r1.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools flag-o-matic multilib systemd user
-
-DESCRIPTION="Simple relay-only local mail transport agent"
-HOMEPAGE="http://untroubled.org/nullmailer/ https://github.com/bruceg/nullmailer"
-SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc x86 ~x64-cygwin"
-IUSE="ssl test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-	ssl? ( net-libs/gnutls:0= )
-	test? ( sys-apps/ucspi-tcp[ipv6] sys-process/daemontools )
-"
-RDEPEND="
-	virtual/logger
-	sys-apps/shadow
-	ssl? ( net-libs/gnutls:0= )
-	!mail-mta/courier
-	!mail-mta/esmtp
-	!mail-mta/exim
-	!mail-mta/mini-qmail
-	!mail-mta/msmtp[mta(+)]
-	!mail-mta/netqmail
-	!mail-mta/opensmtpd[mta(+)]
-	!mail-mta/postfix
-	!mail-mta/qmail-ldap
-	!mail-mta/sendmail
-	!mail-mta/ssmtp[mta(+)]
-"
-
-PATCHES=(
-	"${FILESDIR}/${P}-fix-test-racecondition.patch"
-	"${FILESDIR}/${P}-disable-dns-using-test.patch"
-	"${FILESDIR}/${P}-disable-smtp-auth-tests.patch"
-	"${FILESDIR}/${P}-c++11.patch"
-)
-
-pkg_setup() {
-	enewgroup nullmail 88
-	enewuser nullmail 88 -1 /var/spool/nullmailer nullmail
-}
-
-src_prepare() {
-	default
-	sed -i.orig \
-		-e '/\$(localstatedir)\/trigger/d' \
-		"${S}"/Makefile.am || die
-	sed \
-		-e "s:^AC_PROG_RANLIB:AC_CHECK_TOOL(AR, ar, false)\nAC_PROG_RANLIB:g" \
-		-i configure.ac || die
-	sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
-	sed \
-		-e "s#/usr/local#/usr#" \
-		-e 's:/usr/etc/:/etc/:g' \
-		-i doc/nullmailer-send.8 || die
-	eautoreconf
-}
-
-src_configure() {
-	# https://github.com/bruceg/nullmailer/pull/31/commits
-	append-lfs-flags #471102
-	econf \
-		--localstatedir="${EPREFIX}"/var \
-		$(use_enable ssl tls)
-}
-
-src_install() {
-	default
-
-	# A small bit of sample config
-	insinto /etc/nullmailer
-	newins "${FILESDIR}"/remotes.sample-2.0 remotes
-
-	# This contains passwords, so should be secure
-	fperms 0640 /etc/nullmailer/remotes
-	fowners root:nullmail /etc/nullmailer/remotes
-
-	# daemontools stuff
-	dodir /var/spool/nullmailer/service{,/log}
-
-	insinto /var/spool/nullmailer/service
-	newins scripts/nullmailer.run run
-	fperms 700 /var/spool/nullmailer/service/run
-
-	insinto /var/spool/nullmailer/service/log
-	newins scripts/nullmailer-log.run run
-	fperms 700 /var/spool/nullmailer/service/log/run
-
-	# usability
-	dosym ../sbin/sendmail usr/$(get_libdir)/sendmail
-
-	# permissions stuff
-	keepdir /var/log/nullmailer /var/spool/nullmailer/{tmp,queue,failed}
-	fperms 770 /var/log/nullmailer
-	fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq
-	fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq
-
-	newinitd "${FILESDIR}"/init.d-nullmailer-r6 nullmailer
-	systemd_dounit scripts/${PN}.service
-}
-
-pkg_postinst() {
-	if [[ ! -e ${EROOT}/var/spool/nullmailer/trigger ]]; then
-		mkfifo --mode=0660 "${EROOT}/var/spool/nullmailer/trigger" || die
-	fi
-	chown nullmail:nullmail \
-		"${EROOT}"/var/log/nullmailer \
-		"${EROOT}"/var/spool/nullmailer/{tmp,queue,failed,trigger} || die
-	chmod 770 \
-		"${EROOT}"/var/log/nullmailer \
-		"${EROOT}"/var/spool/nullmailer/{tmp,queue,failed} || die
-	chmod 660 "${EROOT}"/var/spool/nullmailer/trigger || die
-
-	# This contains passwords, so should be secure
-	chmod 0640 "${EROOT}"/etc/nullmailer/remotes || die
-	chown root:nullmail "${EROOT}"/etc/nullmailer/remotes || die
-
-	if [[ -z ${REPLACING_VERSIONS} ]]; then
-		elog "To create an initial setup, please do:"
-		elog "emerge --config =${CATEGORY}/${PF}"
-	fi
-}
-
-pkg_postrm() {
-	if [[ -e ${EROOT}/var/spool/nullmailer/trigger ]]; then
-		rm "${EROOT}/var/spool/nullmailer/trigger" || die
-	fi
-}
-
-pkg_config() {
-	if [[ ! -s ${EROOT}/etc/nullmailer/me ]]; then
-		einfo "Setting /etc/nullmailer/me"
-		hostname --fqdn > "${EROOT}/etc/nullmailer/me"
-		if [[ ! -s ${EROOT}/etc/nullmailer/me ]]; then
-			eerror "Got no output from 'hostname --fqdn'"
-		fi
-	fi
-	if [[ ! -s ${EROOT}/etc/nullmailer/defaultdomain ]]; then
-		einfo "Setting /etc/nullmailer/defaultdomain"
-		hostname --domain > "${EROOT}/etc/nullmailer/defaultdomain"
-		if [[ ! -s ${EROOT}/etc/nullmailer/me ]]; then
-			eerror "Got no output from 'hostname --domain'"
-		fi
-	fi
-	if ! grep -q '^[ \t]*[^# \t]' "${EROOT}/etc/nullmailer/remotes"; then
-		ewarn "Remember to tweak ${EROOT}/etc/nullmailer/remotes yourself!"
-	fi
-}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2021-07-09 22:36 Conrad Kostecki
  0 siblings, 0 replies; 27+ messages in thread
From: Conrad Kostecki @ 2021-07-09 22:36 UTC (permalink / raw
  To: gentoo-commits

commit:     1916dc504837114a2fcd018363632edac9a9b0e8
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Fri Jul  9 22:05:44 2021 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Fri Jul  9 22:36:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1916dc50

mail-mta/nullmailer: migrate to GLEP 81

Closes: https://bugs.gentoo.org/781320
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2-r2.ebuild | 157 +++++++++++++++++++++++++++
 1 file changed, 157 insertions(+)

diff --git a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
new file mode 100644
index 00000000000..3ea8f8fe0a9
--- /dev/null
+++ b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
@@ -0,0 +1,157 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools flag-o-matic multilib systemd
+
+DESCRIPTION="Simple relay-only local mail transport agent"
+HOMEPAGE="http://untroubled.org/nullmailer/ https://github.com/bruceg/nullmailer"
+SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ppc x86 ~x64-cygwin"
+IUSE="ssl test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+	acct-group/nullmail
+	acct-user/nullmail
+"
+
+DEPEND="
+	ssl? ( net-libs/gnutls:0= )
+	test? ( sys-apps/ucspi-tcp[ipv6] sys-process/daemontools )
+"
+RDEPEND="
+	${BDEPEND}
+	virtual/logger
+	sys-apps/shadow
+	ssl? ( net-libs/gnutls:0= )
+	!mail-mta/courier
+	!mail-mta/esmtp
+	!mail-mta/exim
+	!mail-mta/mini-qmail
+	!mail-mta/msmtp[mta(+)]
+	!mail-mta/netqmail
+	!mail-mta/opensmtpd[mta(+)]
+	!mail-mta/postfix
+	!mail-mta/qmail-ldap
+	!mail-mta/sendmail
+	!mail-mta/ssmtp[mta(+)]
+"
+
+PATCHES=(
+	"${FILESDIR}/${P}-fix-test-racecondition.patch"
+	"${FILESDIR}/${P}-disable-dns-using-test.patch"
+	"${FILESDIR}/${P}-disable-smtp-auth-tests.patch"
+	"${FILESDIR}/${P}-c++11.patch"
+)
+
+src_prepare() {
+	default
+	sed -i.orig \
+		-e '/\$(localstatedir)\/trigger/d' \
+		"${S}"/Makefile.am || die
+	sed \
+		-e "s:^AC_PROG_RANLIB:AC_CHECK_TOOL(AR, ar, false)\nAC_PROG_RANLIB:g" \
+		-i configure.ac || die
+	sed -e "s/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/" -i configure.ac || die
+	sed \
+		-e "s#/usr/local#/usr#" \
+		-e 's:/usr/etc/:/etc/:g' \
+		-i doc/nullmailer-send.8 || die
+	eautoreconf
+}
+
+src_configure() {
+	# https://github.com/bruceg/nullmailer/pull/31/commits
+	append-lfs-flags #471102
+	econf \
+		--localstatedir="${EPREFIX}"/var \
+		$(use_enable ssl tls)
+}
+
+src_install() {
+	default
+
+	# A small bit of sample config
+	insinto /etc/nullmailer
+	newins "${FILESDIR}"/remotes.sample-2.0 remotes
+
+	# This contains passwords, so should be secure
+	fperms 0640 /etc/nullmailer/remotes
+	fowners root:nullmail /etc/nullmailer/remotes
+
+	# daemontools stuff
+	dodir /var/spool/nullmailer/service{,/log}
+
+	insinto /var/spool/nullmailer/service
+	newins scripts/nullmailer.run run
+	fperms 700 /var/spool/nullmailer/service/run
+
+	insinto /var/spool/nullmailer/service/log
+	newins scripts/nullmailer-log.run run
+	fperms 700 /var/spool/nullmailer/service/log/run
+
+	# usability
+	dosym ../sbin/sendmail usr/$(get_libdir)/sendmail
+
+	# permissions stuff
+	keepdir /var/log/nullmailer /var/spool/nullmailer/{tmp,queue,failed}
+	fperms 770 /var/log/nullmailer
+	fowners nullmail:nullmail /usr/sbin/nullmailer-queue /usr/bin/mailq
+	fperms 4711 /usr/sbin/nullmailer-queue /usr/bin/mailq
+
+	newinitd "${FILESDIR}"/init.d-nullmailer-r6 nullmailer
+	systemd_dounit scripts/${PN}.service
+}
+
+pkg_postinst() {
+	if [[ ! -e ${EROOT}/var/spool/nullmailer/trigger ]]; then
+		mkfifo --mode=0660 "${EROOT}/var/spool/nullmailer/trigger" || die
+	fi
+	chown nullmail:nullmail \
+		"${EROOT}"/var/log/nullmailer \
+		"${EROOT}"/var/spool/nullmailer/{tmp,queue,failed,trigger} || die
+	chmod 770 \
+		"${EROOT}"/var/log/nullmailer \
+		"${EROOT}"/var/spool/nullmailer/{tmp,queue,failed} || die
+	chmod 660 "${EROOT}"/var/spool/nullmailer/trigger || die
+
+	# This contains passwords, so should be secure
+	chmod 0640 "${EROOT}"/etc/nullmailer/remotes || die
+	chown root:nullmail "${EROOT}"/etc/nullmailer/remotes || die
+
+	if [[ -z ${REPLACING_VERSIONS} ]]; then
+		elog "To create an initial setup, please do:"
+		elog "emerge --config =${CATEGORY}/${PF}"
+	fi
+}
+
+pkg_postrm() {
+	if [[ -e ${EROOT}/var/spool/nullmailer/trigger ]]; then
+		rm "${EROOT}/var/spool/nullmailer/trigger" || die
+	fi
+}
+
+pkg_config() {
+	if [[ ! -s ${EROOT}/etc/nullmailer/me ]]; then
+		einfo "Setting /etc/nullmailer/me"
+		hostname --fqdn > "${EROOT}/etc/nullmailer/me"
+		if [[ ! -s ${EROOT}/etc/nullmailer/me ]]; then
+			eerror "Got no output from 'hostname --fqdn'"
+		fi
+	fi
+	if [[ ! -s ${EROOT}/etc/nullmailer/defaultdomain ]]; then
+		einfo "Setting /etc/nullmailer/defaultdomain"
+		hostname --domain > "${EROOT}/etc/nullmailer/defaultdomain"
+		if [[ ! -s ${EROOT}/etc/nullmailer/me ]]; then
+			eerror "Got no output from 'hostname --domain'"
+		fi
+	fi
+	if ! grep -q '^[ \t]*[^# \t]' "${EROOT}/etc/nullmailer/remotes"; then
+		ewarn "Remember to tweak ${EROOT}/etc/nullmailer/remotes yourself!"
+	fi
+}


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2021-07-15 21:42 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2021-07-15 21:42 UTC (permalink / raw
  To: gentoo-commits

commit:     7ac92c2450b14a9b527e55a96be6b2be6d5b989a
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 15 21:40:59 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jul 15 21:40:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ac92c24

mail-mta/nullmailer: Stabilize 2.2-r2 arm64, #799035

Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
index 3ea8f8fe0a9..bab5271f675 100644
--- a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc x86 ~x64-cygwin"
+KEYWORDS="amd64 ~arm arm64 ppc x86 ~x64-cygwin"
 IUSE="ssl test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2021-07-16 21:44 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2021-07-16 21:44 UTC (permalink / raw
  To: gentoo-commits

commit:     eb0c9cdaf85daaf08c4a4eff7c7c8c01850eaac2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 16 21:41:07 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 16 21:44:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb0c9cda

mail-mta/nullmailer: Stabilize 2.2-r2 arm, #799035

Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
index bab5271f675..c2c537a1e4c 100644
--- a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc x86 ~x64-cygwin"
+KEYWORDS="amd64 arm arm64 ppc x86 ~x64-cygwin"
 IUSE="ssl test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2021-07-24 15:22 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2021-07-24 15:22 UTC (permalink / raw
  To: gentoo-commits

commit:     bf2e68bdd00708880c996c60cd38deca63700002
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 24 15:21:28 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 24 15:21:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf2e68bd

mail-mta/nullmailer: Keyword 2.2-r2 ppc64, #792129

Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
index c2c537a1e4c..f063565fe0b 100644
--- a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc x86 ~x64-cygwin"
+KEYWORDS="amd64 arm arm64 ppc ~ppc64 x86 ~x64-cygwin"
 IUSE="ssl test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2021-08-04 14:26 Yixun Lan
  0 siblings, 0 replies; 27+ messages in thread
From: Yixun Lan @ 2021-08-04 14:26 UTC (permalink / raw
  To: gentoo-commits

commit:     f923fc3ad9d829cf5042f17964a581357e9775c6
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  4 14:20:57 2021 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Aug  4 14:24:46 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f923fc3a

mail-mta/nullmailer: keyword ~riscv

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
index f063565fe0b..0abff5963ff 100644
--- a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ~ppc64 x86 ~x64-cygwin"
+KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~riscv x86 ~x64-cygwin"
 IUSE="ssl test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2022-01-24 19:19 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2022-01-24 19:19 UTC (permalink / raw
  To: gentoo-commits

commit:     9e72d4ea9c5a454632beb2a8eeb4bd127adf1bec
Author:     Rolf Eike Beer <eike <AT> sf-mail <DOT> de>
AuthorDate: Mon Jan 24 17:01:01 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jan 24 19:19:03 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e72d4ea

mail-mta/nullmailer: keyword 2.2-r2 for hppa, bug #831767

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Rolf Eike Beer <eike <AT> sf-mail.de>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
index 0abff5963ff0..b1e6c0e9952f 100644
--- a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ppc ~ppc64 ~riscv x86 ~x64-cygwin"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ~ppc64 ~riscv x86 ~x64-cygwin"
 IUSE="ssl test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2022-03-10 21:12 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2022-03-10 21:12 UTC (permalink / raw
  To: gentoo-commits

commit:     2f88cb442f743cb48ab826af416ba05b29ed2a64
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 10 05:18:07 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 10 21:10:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f88cb44

mail-mta/nullmailer: [QA] fix UnusedInherits (multilib)

get_libdir has been built-in since EAPI 6

Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
index b1e6c0e9952f..d92c894e445a 100644
--- a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools flag-o-matic multilib systemd
+inherit autotools flag-o-matic systemd
 
 DESCRIPTION="Simple relay-only local mail transport agent"
 HOMEPAGE="http://untroubled.org/nullmailer/ https://github.com/bruceg/nullmailer"


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2022-03-23  1:08 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2022-03-23  1:08 UTC (permalink / raw
  To: gentoo-commits

commit:     4f8c49d13e49fc5818e759e3b6f6b4020a8b49cc
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Thu Apr 29 19:01:10 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar 23 01:08:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f8c49d1

mail-mta/nullmailer: Set environment variables AR and RANLIB.

The build systems falls back to `ar` and `ranlib` otherwise.

Closes: https://bugs.gentoo.org/668850
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
Closes: https://github.com/gentoo/gentoo/pull/20604
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2-r2.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
index d92c894e445a..f06e6f5c175b 100644
--- a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools flag-o-matic systemd
+inherit autotools flag-o-matic systemd toolchain-funcs
 
 DESCRIPTION="Simple relay-only local mail transport agent"
 HOMEPAGE="http://untroubled.org/nullmailer/ https://github.com/bruceg/nullmailer"
@@ -73,6 +73,11 @@ src_configure() {
 		$(use_enable ssl tls)
 }
 
+src_compile() {
+	tc-export AR RANLIB
+	default
+}
+
 src_install() {
 	default
 


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2022-05-05  2:40 WANG Xuerui
  0 siblings, 0 replies; 27+ messages in thread
From: WANG Xuerui @ 2022-05-05  2:40 UTC (permalink / raw
  To: gentoo-commits

commit:     f75f30087ff13f5453e65f7d2d36abdb132c2954
Author:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Thu May  5 02:22:46 2022 +0000
Commit:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Thu May  5 02:38:52 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f75f3008

mail-mta/nullmailer: keyword 2.2-r2 for ~loong

Tests passed on real hardware.

Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
index f06e6f5c175b..e3396ea18a87 100644
--- a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="http://untroubled.org/${PN}/archive/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ppc ~ppc64 ~riscv x86 ~x64-cygwin"
+KEYWORDS="amd64 arm arm64 ~hppa ~loong ppc ~ppc64 ~riscv x86 ~x64-cygwin"
 IUSE="ssl test"
 RESTRICT="!test? ( test )"
 


^ permalink raw reply related	[flat|nested] 27+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/
@ 2024-03-06  3:37 Sam James
  0 siblings, 0 replies; 27+ messages in thread
From: Sam James @ 2024-03-06  3:37 UTC (permalink / raw
  To: gentoo-commits

commit:     f9815afbd29ae6b013e3bb96bb33b727d10bfc35
Author:     Eli Schwartz <eschwartz93 <AT> gmail <DOT> com>
AuthorDate: Tue Mar  5 20:38:20 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Mar  6 03:36:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9815afb

mail-mta/nullmailer: mark as LTO-unsafe

Closes: https://bugs.gentoo.org/859529
Signed-off-by: Eli Schwartz <eschwartz93 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 mail-mta/nullmailer/nullmailer-2.2-r2.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
index 45200b98d06f..a176407718a9 100644
--- a/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
+++ b/mail-mta/nullmailer/nullmailer-2.2-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -66,6 +66,11 @@ src_prepare() {
 }
 
 src_configure() {
+	# -Werror=odr
+	# https://bugs.gentoo.org/859529
+	# https://github.com/bruceg/nullmailer/issues/94
+	filter-lto
+
 	# https://github.com/bruceg/nullmailer/pull/31/commits
 	append-lfs-flags #471102
 	econf \


^ permalink raw reply related	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2024-03-06  3:37 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-06  3:37 [gentoo-commits] repo/gentoo:master commit in: mail-mta/nullmailer/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2022-05-05  2:40 WANG Xuerui
2022-03-23  1:08 Sam James
2022-03-10 21:12 Sam James
2022-01-24 19:19 Sam James
2021-08-04 14:26 Yixun Lan
2021-07-24 15:22 Sam James
2021-07-16 21:44 Sam James
2021-07-15 21:42 Sam James
2021-07-09 22:36 Conrad Kostecki
2021-07-09 22:36 Conrad Kostecki
2021-04-23  6:53 Michael Haubenwallner
2020-03-07 15:59 Mikle Kolyada
2020-03-07 15:58 Mikle Kolyada
2019-11-28 10:55 Agostino Sarubbo
2019-11-27 13:30 Thomas Deutschmann
2019-11-27 12:56 Agostino Sarubbo
2019-04-01  8:36 Michael Haubenwallner
2019-04-01  8:30 Michael Haubenwallner
2017-05-27 18:41 Robin H. Johnson
2017-05-27 18:41 Robin H. Johnson
2017-05-27 16:16 Robin H. Johnson
2017-05-25 10:44 Agostino Sarubbo
2016-11-12 14:21 Justin Lecher
2016-07-07  4:09 Benda XU
2016-03-07 21:40 Mike Frysinger
2016-03-07 21:40 Mike Frysinger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox