1 |
commit: ddf9ddd2345a3b2b4cd47b2dd0208f7113316c28 |
2 |
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 17 18:24:31 2021 +0000 |
4 |
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 17 19:19:30 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddf9ddd2 |
7 |
|
8 |
net-misc/rwhoisd: migrate to glep 81 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/781428 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org> |
13 |
|
14 |
net-misc/rwhoisd/rwhoisd-1.5.9.6-r1.ebuild | 46 ++++++++++++++++++++++++++++++ |
15 |
1 file changed, 46 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/rwhoisd/rwhoisd-1.5.9.6-r1.ebuild b/net-misc/rwhoisd/rwhoisd-1.5.9.6-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..f76abd1d365 |
20 |
--- /dev/null |
21 |
+++ b/net-misc/rwhoisd/rwhoisd-1.5.9.6-r1.ebuild |
22 |
@@ -0,0 +1,46 @@ |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+ |
28 |
+inherit flag-o-matic |
29 |
+ |
30 |
+DESCRIPTION="ARIN rwhois daemon" |
31 |
+HOMEPAGE="http://projects.arin.net/rwhois/" |
32 |
+SRC_URI="https://github.com/arineng/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
33 |
+S="${WORKDIR}/${P}/${PN}" |
34 |
+ |
35 |
+LICENSE="GPL-2" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~x86" |
38 |
+ |
39 |
+DEPEND=" |
40 |
+ sys-devel/flex |
41 |
+ virtual/yacc |
42 |
+" |
43 |
+RDEPEND=" |
44 |
+ acct-group/rwhoisd |
45 |
+ acct-user/rwhoisd |
46 |
+" |
47 |
+ |
48 |
+src_compile() { |
49 |
+ append-cflags -DNEW_STYLE_BIN_SORT |
50 |
+ |
51 |
+ emake -C common |
52 |
+ emake -C regexp |
53 |
+ emake -C mkdb |
54 |
+ |
55 |
+ default |
56 |
+} |
57 |
+ |
58 |
+src_install() { |
59 |
+ default |
60 |
+ |
61 |
+ doinitd "${FILESDIR}"/rwhoisd |
62 |
+ newconfd "${FILESDIR}"/rwhoisd.conf rwhoisd |
63 |
+} |
64 |
+ |
65 |
+pkg_postinst() { |
66 |
+ einfo "Please make sure to set the userid in rwhoisd.conf to rwhoisd." |
67 |
+ einfo "It is highly inadvisable to run rwhoisd as root." |
68 |
+} |