1 |
commit: bb4179843d43833cf2c7a1e06932c8a67e5902cd |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 12 07:01:12 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 12 07:01:12 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb417984 |
7 |
|
8 |
net-mail/ezmlm-idx: Drop old (EAPI 0) |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
net-mail/ezmlm-idx/Manifest | 2 - |
13 |
net-mail/ezmlm-idx/ezmlm-idx-6.0.0.ebuild | 78 ------------------------------- |
14 |
2 files changed, 80 deletions(-) |
15 |
|
16 |
diff --git a/net-mail/ezmlm-idx/Manifest b/net-mail/ezmlm-idx/Manifest |
17 |
index 81e834d823c..0f8c7e98d57 100644 |
18 |
--- a/net-mail/ezmlm-idx/Manifest |
19 |
+++ b/net-mail/ezmlm-idx/Manifest |
20 |
@@ -1,3 +1 @@ |
21 |
-DIST ezmlm-0.53.tar.gz 62693 BLAKE2B f417522da8d2b3ae7d0465e7226cd95dc85b55a397b61a6ce20df15544639377667a8912f7a26daf83e54fd3f26881c4e771409c98a640b7b94c7b6e3fef7461 SHA512 0dc1c64168428c531dbf78ca99582de4d4193d10bb38e87d3ee8f33f78083dc696bfd0681e3f2f690d7aa78b55b1b91c4ea6900c109406063445104826ff6d94 |
22 |
-DIST ezmlm-idx-6.0.0.tar.gz 659996 BLAKE2B bf5f7ac0a40d1167d42ef26c4b28f95899f5a72d4c969c975368f61902f5ce9b5721143c251cdcb70c58149e6d7eb28c834b26426d9611b4249a285b523c38d8 SHA512 547186a2e32f3861ef51a9012442e7d8b553d90f2af949bb51845c29178ee2a44760471852c7c23fbd241c14753f22357463c5d5f10b70eceb05603cc6d83d4a |
23 |
DIST ezmlm-idx-7.0.0.tar.gz 689019 BLAKE2B 22c66a4a2fcc6c0c754061ff0d93bde8fd192266112da0516e936278610288dc11d44d1959cd135a90eacb4befa43d62f53b3bedb94e994afc13aed986834bce SHA512 c0fc35aef4a72aefa4cdaee4c1933cc00aab82ee81ad7577793952fbf57106c06e4a5844a2bbf3919ad2985d2062ba1edf8831e6aa66d7e762210e7e147210ef |
24 |
|
25 |
diff --git a/net-mail/ezmlm-idx/ezmlm-idx-6.0.0.ebuild b/net-mail/ezmlm-idx/ezmlm-idx-6.0.0.ebuild |
26 |
deleted file mode 100644 |
27 |
index 155478ffaeb..00000000000 |
28 |
--- a/net-mail/ezmlm-idx/ezmlm-idx-6.0.0.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,78 +0,0 @@ |
31 |
-# Copyright 1999-2018 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=0 |
35 |
- |
36 |
-EZMLM_P=ezmlm-0.53 |
37 |
- |
38 |
-inherit eutils fixheadtails |
39 |
- |
40 |
-DESCRIPTION="Simple yet powerful mailing list manager for qmail" |
41 |
-HOMEPAGE="http://www.ezmlm.org" |
42 |
-SRC_URI="http://cr.yp.to/software/${EZMLM_P}.tar.gz |
43 |
- http://www.ezmlm.org/archive/${PV}/${P}.tar.gz" |
44 |
- |
45 |
-LICENSE="GPL-2" |
46 |
-SLOT="0" |
47 |
-KEYWORDS="~alpha amd64 hppa ~mips ppc sparc x86" |
48 |
-IUSE="mysql postgres" |
49 |
- |
50 |
-DEPEND=" |
51 |
- mysql? ( virtual/mysql ) |
52 |
- postgres? ( dev-db/postgresql ) |
53 |
-" |
54 |
-RDEPEND="${DEPEND} |
55 |
- virtual/qmail" |
56 |
- |
57 |
-S="${WORKDIR}"/${EZMLM_P} |
58 |
- |
59 |
-pkg_setup() { |
60 |
- if use mysql && use postgres; then |
61 |
- die "cannot build mysql and pgsql support at the same time" |
62 |
- fi |
63 |
-} |
64 |
- |
65 |
-src_unpack() { |
66 |
- unpack ${A} |
67 |
- mv "${WORKDIR}"/${P}/* "${S}" || die |
68 |
- cd "${S}" |
69 |
- |
70 |
- epatch "${S}"/idx.patch |
71 |
- |
72 |
- ht_fix_file Makefile |
73 |
- |
74 |
- echo /usr/bin > conf-bin |
75 |
- echo /usr/lib/ezmlm > conf-lib |
76 |
- echo /etc/ezmlm > conf-etc |
77 |
- echo /usr/share/man > conf-man |
78 |
- echo /var/qmail > conf-qmail |
79 |
- |
80 |
- echo $(tc-getCC) ${CFLAGS} -I/usr/include/{my,postgre}sql > conf-cc |
81 |
- echo $(tc-getCC) ${CFLAGS} > conf-ld |
82 |
- |
83 |
- # fix DESTDIR and skip cat man-pages |
84 |
- sed -e "s:\(/install\) \(\"\`head\):\1 ${D}\2:" \ |
85 |
- -e "s:\(./install.*\) < MAN$:grep -v \:/cat MAN | \1:" \ |
86 |
- -e "s:\(\"\`head -n 1 conf-etc\`\"/default\):${D}\1:" \ |
87 |
- -i Makefile |
88 |
- |
89 |
- # ezmlm-mktab-{my|pg}sql may or may not be made |
90 |
- sed -i -e "s/\(^.*mktab\)/?\1/" BIN |
91 |
-} |
92 |
- |
93 |
-src_compile() { |
94 |
- emake it man || die "make failed" |
95 |
- |
96 |
- if use mysql; then |
97 |
- emake mysql || die "make mysql failed" |
98 |
- elif use postgres; then |
99 |
- emake pgsql || die "make pgsql failed" |
100 |
- fi |
101 |
-} |
102 |
- |
103 |
-src_install () { |
104 |
- dodir /usr/bin /usr/lib/ezmlm /etc/ezmlm /usr/share/man |
105 |
- dobin ezmlm-cgi |
106 |
- |
107 |
- make DESTDIR="${D}" setup || die "make setup failed" |
108 |
-} |