diff options
author | Jeroen Roovers <jer@gentoo.org> | 2017-08-15 11:33:33 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2017-08-15 11:33:33 +0200 |
commit | 4c8b8e4cd9324e5d9fce1d258b28886bb599356d (patch) | |
tree | d5c9c8e800a1c7c2c7df3e07757e5b9f4ff23931 | |
parent | 19b795974490e3065b1b2692a7290879b1557bf4 (diff) | |
download | gentoo-4c8b8e4cd9324e5d9fce1d258b28886bb599356d.tar.gz gentoo-4c8b8e4cd9324e5d9fce1d258b28886bb599356d.tar.xz |
net-misc/rwhoisd: Version bump.
Package-Manager: Portage-2.3.7, Repoman-2.3.3
-rw-r--r-- | net-misc/rwhoisd/Manifest | 1 | ||||
-rw-r--r-- | net-misc/rwhoisd/rwhoisd-1.5.9.6.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/net-misc/rwhoisd/Manifest b/net-misc/rwhoisd/Manifest index ed0fd3317ee..6e045f5e8ec 100644 --- a/net-misc/rwhoisd/Manifest +++ b/net-misc/rwhoisd/Manifest @@ -1 +1,2 @@ DIST rwhoisd-1.5.9.5.tar.gz 491600 SHA256 832da8faff58070fcc8685c67375dcced3b6bb225ffbe3542dd6052add61cf92 SHA512 d9227cd700cb14e0c83003c7a8dff43f859eba58390f4ba74b03c58fe629bcc9e8a39f2aaf7ce9b55aa4f17f43fc54fed9ba05a29bcbe1df5fc1340202d7b04c WHIRLPOOL ba6f7741462468d8f9e933c69f576c2204ede70b0315486df1885afa2a45755c32b7e4170df7792c2aa6516f51c39eb01495ba8cec453f676265817fff8cecb2 +DIST rwhoisd-1.5.9.6.tar.gz 491955 SHA256 c1768d2414bca88f10acc2e50a23288a21176416ddfe697ee4326636c0b062f7 SHA512 ab5674d9ed9f9c5fc00b2859b1336c766c546ca067ddf9d3863a0728c6d0eac11be3a9cd22dce8c25999ed8c8e5377e6da4aa1252e396d5b3c8e959794903c52 WHIRLPOOL 4933df098968598fb7e988cfc114b0048d96d3ddce460b5ed92ee321f405e30cfb3bcb93264be4623c955c454723f9c45336be75dbf36b315c88396c69b40b23 diff --git a/net-misc/rwhoisd/rwhoisd-1.5.9.6.ebuild b/net-misc/rwhoisd/rwhoisd-1.5.9.6.ebuild new file mode 100644 index 00000000000..e08fd625c8a --- /dev/null +++ b/net-misc/rwhoisd/rwhoisd-1.5.9.6.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils flag-o-matic user + +DESCRIPTION="ARIN rwhois daemon" +HOMEPAGE="http://projects.arin.net/rwhois/" +SRC_URI="https://github.com/arineng/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND=" + sys-devel/flex + virtual/yacc +" +S=${WORKDIR}/${P}/${PN} + +pkg_setup() { + enewgroup rwhoisd + enewuser rwhoisd -1 -1 /var/rwhoisd rwhoisd +} + +src_compile() { + append-cflags -DNEW_STYLE_BIN_SORT + + emake -C common + emake -C regexp + emake -C mkdb + + default +} + +src_install () { + default + + doinitd "${FILESDIR}"/rwhoisd + newconfd "${FILESDIR}"/rwhoisd.conf rwhoisd +} + +pkg_postinst () { + einfo "Please make sure to set the userid in rwhoisd.conf to rwhoisd." + einfo "It is highly inadvisable to run rwhoisd as root." +} |