From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 405EA1396D0 for ; Tue, 15 Aug 2017 09:33:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7C7471FC002; Tue, 15 Aug 2017 09:33:57 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 589631FC002 for ; Tue, 15 Aug 2017 09:33:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EE18D3417B4 for ; Tue, 15 Aug 2017 09:33:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2A497843 for ; Tue, 15 Aug 2017 09:33:49 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1502789613.4c8b8e4cd9324e5d9fce1d258b28886bb599356d.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/rwhoisd/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/rwhoisd/Manifest net-misc/rwhoisd/rwhoisd-1.5.9.6.ebuild X-VCS-Directories: net-misc/rwhoisd/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: 4c8b8e4cd9324e5d9fce1d258b28886bb599356d X-VCS-Branch: master Date: Tue, 15 Aug 2017 09:33:49 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3dee8e5b-ba90-481e-8fc0-08b72254960c X-Archives-Hash: daa0c6da6193231c7c67104004f29c08 commit: 4c8b8e4cd9324e5d9fce1d258b28886bb599356d Author: Jeroen Roovers gentoo org> AuthorDate: Tue Aug 15 09:33:33 2017 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Tue Aug 15 09:33:33 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c8b8e4c net-misc/rwhoisd: Version bump. Package-Manager: Portage-2.3.7, Repoman-2.3.3 net-misc/rwhoisd/Manifest | 1 + net-misc/rwhoisd/rwhoisd-1.5.9.6.ebuild | 46 +++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) 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." +}