diff options
author | Petr Vaněk <arkamar@atlas.cz> | 2019-10-07 13:47:13 +0200 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-10-18 07:20:52 +0300 |
commit | b9b3771618fd12fec4e9034cbf600a5f7c962511 (patch) | |
tree | e380835fec333c36c813140ba8e8a8e1ac5a4bc7 /net-mail/qmail-notify | |
parent | dev-ruby/puppetdb-termini: 6.7.1 bump (diff) | |
download | gentoo-b9b3771618fd12fec4e9034cbf600a5f7c962511.tar.gz gentoo-b9b3771618fd12fec4e9034cbf600a5f7c962511.tar.bz2 gentoo-b9b3771618fd12fec4e9034cbf600a5f7c962511.zip |
net-mail/qmail-notify: revbump with EAPI 7
Bug: https://bugs.gentoo.org/696252
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Petr Vaněk <arkamar@atlas.cz>
Closes: https://github.com/gentoo/gentoo/pull/13247
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-mail/qmail-notify')
-rw-r--r-- | net-mail/qmail-notify/metadata.xml | 9 | ||||
-rw-r--r-- | net-mail/qmail-notify/qmail-notify-0.93-r2.ebuild | 46 |
2 files changed, 54 insertions, 1 deletions
diff --git a/net-mail/qmail-notify/metadata.xml b/net-mail/qmail-notify/metadata.xml index 6f49eba8f496..7c3db330c141 100644 --- a/net-mail/qmail-notify/metadata.xml +++ b/net-mail/qmail-notify/metadata.xml @@ -1,5 +1,12 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<!-- maintainer-needed --> + <maintainer type="person"> + <email>arkamar@atlas.cz</email> + <name>Petr Vaněk</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> </pkgmetadata> diff --git a/net-mail/qmail-notify/qmail-notify-0.93-r2.ebuild b/net-mail/qmail-notify/qmail-notify-0.93-r2.ebuild new file mode 100644 index 000000000000..98b35abcccd0 --- /dev/null +++ b/net-mail/qmail-notify/qmail-notify-0.93-r2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Delayed delivery notification for qmail" +SRC_URI="http://untroubled.org/qmail-notify/archive/${P}.tar.gz" +HOMEPAGE="http://untroubled.org/qmail-notify/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + virtual/cron + virtual/qmail +" + +src_prepare() { + eapply_user + + echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die 'Patching conf-cc failed.' + echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die 'Patching conf-ld failed.' + sed -e "#'ar #'$(tc-getAR) #" -e "s#'ranlib #'$(tc-getRANLIB) #" -i Makefile || die 'Patching Makefile failed.' +} + +src_install () { + exeinto /usr/sbin + doexe qmail-notify + + exeinto /etc/cron.hourly + doexe "${FILESDIR}"/qmail-notify.cron + + dodoc README ANNOUNCEMENT cron.hourly NEWS +} + +pkg_postinst() { + elog + elog "Edit qmail-notify.cron in /etc/cron.hourly" + elog "to activate qmail-notify!" + elog +} |