1 |
commit: 1c888097c2a0c61dda2632d8b5e0e630c4eb1cf4 |
2 |
Author: Raymond Jennings <shentino <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Aug 29 20:26:43 2016 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 30 06:12:22 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c888097 |
7 |
|
8 |
net-misc/bopm: remove non-compliant r1 in favor of r3 |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/2168 |
11 |
|
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
net-misc/bopm/bopm-3.1.3-r1.ebuild | 57 -------------------------------------- |
15 |
1 file changed, 57 deletions(-) |
16 |
|
17 |
diff --git a/net-misc/bopm/bopm-3.1.3-r1.ebuild b/net-misc/bopm/bopm-3.1.3-r1.ebuild |
18 |
deleted file mode 100644 |
19 |
index 6636224..00000000 |
20 |
--- a/net-misc/bopm/bopm-3.1.3-r1.ebuild |
21 |
+++ /dev/null |
22 |
@@ -1,57 +0,0 @@ |
23 |
-# Copyright 1999-2015 Gentoo Foundation |
24 |
-# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Id$ |
26 |
- |
27 |
-EAPI=5 |
28 |
- |
29 |
-inherit eutils multilib user |
30 |
- |
31 |
-DESCRIPTION="Blitzed Open Proxy Monitor" |
32 |
-HOMEPAGE="http://www.blitzed.org/bopm/" |
33 |
-SRC_URI="http://static.blitzed.org/www.blitzed.org/${PN}/files/${P}.tar.gz" |
34 |
-LICENSE="GPL-2" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="~alpha ~amd64 ~ppc ~x86" |
37 |
-IUSE="" |
38 |
- |
39 |
-RDEPEND="" |
40 |
-DEPEND="${RDEPEND}" |
41 |
- |
42 |
-src_configure() { |
43 |
- econf \ |
44 |
- --datadir="${EPREFIX}"/usr/share/doc/${PF} \ |
45 |
- --localstatedir="${EPREFIX}"/var/log/${PN} |
46 |
-} |
47 |
- |
48 |
-src_install () { |
49 |
- sed -i \ |
50 |
- -e "s!/some/path/bopm.pid!/run/${PN}/${PN}.pid!" \ |
51 |
- -e "s!/some/path/scan.log!/var/log/${PN}/scan.log!" \ |
52 |
- bopm.conf.sample || die |
53 |
- |
54 |
- # Custom Makefile.am rules do not respect DESTDIR, |
55 |
- # thus override sysconfdir and localstatedir. |
56 |
- emake \ |
57 |
- DESTDIR="${D}" \ |
58 |
- sysconfdir="${ED}"/etc \ |
59 |
- localstatedir="${ED}"/var/log/bopm \ |
60 |
- install || die "install failed" |
61 |
- |
62 |
- fperms 600 /etc/bopm.conf |
63 |
- |
64 |
- # Remove libopm related files, because bopm links statically to it |
65 |
- # If anybody wants libopm, please install net-libs/libopm |
66 |
- rm -r "${ED}"/usr/$(get_libdir) "${ED}"/usr/include || die |
67 |
- |
68 |
- newinitd "${FILESDIR}"/bopm.init.d-r1 ${PN} |
69 |
- newconfd "${FILESDIR}"/bopm.conf.d-r1 ${PN} |
70 |
- |
71 |
- dodoc ChangeLog INSTALL README TODO |
72 |
-} |
73 |
- |
74 |
-pkg_postinst() { |
75 |
- enewuser bopm |
76 |
- |
77 |
- install -d -m 0700 -o bopm -g root "${ROOT}"/var/log/bopm |
78 |
- chown bopm "${ROOT}"/etc/bopm.conf |
79 |
-} |