1 |
commit: b9b3771618fd12fec4e9034cbf600a5f7c962511 |
2 |
Author: Petr Vaněk <arkamar <AT> atlas <DOT> cz> |
3 |
AuthorDate: Mon Oct 7 11:47:13 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Oct 18 04:20:52 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9b37716 |
7 |
|
8 |
net-mail/qmail-notify: revbump with EAPI 7 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/696252 |
11 |
Package-Manager: Portage-2.3.76, Repoman-2.3.16 |
12 |
Signed-off-by: Petr Vaněk <arkamar <AT> atlas.cz> |
13 |
Closes: https://github.com/gentoo/gentoo/pull/13247 |
14 |
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> |
15 |
|
16 |
net-mail/qmail-notify/metadata.xml | 9 ++++- |
17 |
net-mail/qmail-notify/qmail-notify-0.93-r2.ebuild | 46 +++++++++++++++++++++++ |
18 |
2 files changed, 54 insertions(+), 1 deletion(-) |
19 |
|
20 |
diff --git a/net-mail/qmail-notify/metadata.xml b/net-mail/qmail-notify/metadata.xml |
21 |
index 6f49eba8f49..7c3db330c14 100644 |
22 |
--- a/net-mail/qmail-notify/metadata.xml |
23 |
+++ b/net-mail/qmail-notify/metadata.xml |
24 |
@@ -1,5 +1,12 @@ |
25 |
<?xml version="1.0" encoding="UTF-8"?> |
26 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
27 |
<pkgmetadata> |
28 |
-<!-- maintainer-needed --> |
29 |
+ <maintainer type="person"> |
30 |
+ <email>arkamar@×××××.cz</email> |
31 |
+ <name>Petr Vaněk</name> |
32 |
+ </maintainer> |
33 |
+ <maintainer type="project"> |
34 |
+ <email>proxy-maint@g.o</email> |
35 |
+ <name>Proxy Maintainers</name> |
36 |
+ </maintainer> |
37 |
</pkgmetadata> |
38 |
|
39 |
diff --git a/net-mail/qmail-notify/qmail-notify-0.93-r2.ebuild b/net-mail/qmail-notify/qmail-notify-0.93-r2.ebuild |
40 |
new file mode 100644 |
41 |
index 00000000000..98b35abcccd |
42 |
--- /dev/null |
43 |
+++ b/net-mail/qmail-notify/qmail-notify-0.93-r2.ebuild |
44 |
@@ -0,0 +1,46 @@ |
45 |
+# Copyright 1999-2019 Gentoo Authors |
46 |
+# Distributed under the terms of the GNU General Public License v2 |
47 |
+ |
48 |
+EAPI=7 |
49 |
+ |
50 |
+inherit toolchain-funcs |
51 |
+ |
52 |
+DESCRIPTION="Delayed delivery notification for qmail" |
53 |
+SRC_URI="http://untroubled.org/qmail-notify/archive/${P}.tar.gz" |
54 |
+HOMEPAGE="http://untroubled.org/qmail-notify/" |
55 |
+ |
56 |
+SLOT="0" |
57 |
+LICENSE="GPL-2" |
58 |
+KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" |
59 |
+IUSE="" |
60 |
+ |
61 |
+DEPEND="" |
62 |
+RDEPEND="${DEPEND} |
63 |
+ virtual/cron |
64 |
+ virtual/qmail |
65 |
+" |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ eapply_user |
69 |
+ |
70 |
+ echo "$(tc-getCC) ${CFLAGS}" > conf-cc || die 'Patching conf-cc failed.' |
71 |
+ echo "$(tc-getCC) ${LDFLAGS}" > conf-ld || die 'Patching conf-ld failed.' |
72 |
+ sed -e "#'ar #'$(tc-getAR) #" -e "s#'ranlib #'$(tc-getRANLIB) #" -i Makefile || die 'Patching Makefile failed.' |
73 |
+} |
74 |
+ |
75 |
+src_install () { |
76 |
+ exeinto /usr/sbin |
77 |
+ doexe qmail-notify |
78 |
+ |
79 |
+ exeinto /etc/cron.hourly |
80 |
+ doexe "${FILESDIR}"/qmail-notify.cron |
81 |
+ |
82 |
+ dodoc README ANNOUNCEMENT cron.hourly NEWS |
83 |
+} |
84 |
+ |
85 |
+pkg_postinst() { |
86 |
+ elog |
87 |
+ elog "Edit qmail-notify.cron in /etc/cron.hourly" |
88 |
+ elog "to activate qmail-notify!" |
89 |
+ elog |
90 |
+} |