diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2018-11-07 12:55:04 +0300 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2018-11-07 12:58:51 +0300 |
commit | cfb2ce9bae3619dbaba8b1a0091e81bb0672ba85 (patch) | |
tree | 49fc7deae69de4b71dc8748a1377da70a747d74c /net-misc | |
parent | dev-libs/libmspack: amd64 stable wrt bug #669280 (diff) | |
download | gentoo-cfb2ce9bae3619dbaba8b1a0091e81bb0672ba85.tar.gz gentoo-cfb2ce9bae3619dbaba8b1a0091e81bb0672ba85.tar.bz2 gentoo-cfb2ce9bae3619dbaba8b1a0091e81bb0672ba85.zip |
net-misc/geomyidae: version bump
Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/geomyidae/Manifest | 1 | ||||
-rw-r--r-- | net-misc/geomyidae/geomyidae-0.32.2.ebuild | 55 |
2 files changed, 56 insertions, 0 deletions
diff --git a/net-misc/geomyidae/Manifest b/net-misc/geomyidae/Manifest index ff2637b915ab..75a43ab65afc 100644 --- a/net-misc/geomyidae/Manifest +++ b/net-misc/geomyidae/Manifest @@ -1 +1,2 @@ DIST geomyidae-0.29.tar.bz2 16279 BLAKE2B 148c6fe39de7333fbda4d1794c540940d06317f89291bae0fc35cb2cad8bde7a0f665ada79a9a0f7e7d4c96707bb811cc6cbc1b7b167c0dbd0ca301175176d2a SHA512 00bc7c4b5c1cd58d7e36cc5bce9a8d2e3dd70ccfd2f3c2729527ed7c55ced04aa0f9cf024b825f6f3317b2c1b35b4f3fd4dd88c83b14369e98b72b59965b0aa2 +DIST geomyidae-v0.32.2.tgz 20897 BLAKE2B 117a4e89a379a8e84355661d910fcb227ef6105cdf6c5860a89c94caa7ed71d278b53c325a59bf200acdd589b515559995b27536c9fab3fe30fe87cb82f10130 SHA512 3b0927a16082df862b9efacc2f29fd1b1ca76f7d465426e179d5995a416bc27b518daba422512091304ed5479ff133e3d40f7bf66aedfbd8d99d13710809d519 diff --git a/net-misc/geomyidae/geomyidae-0.32.2.ebuild b/net-misc/geomyidae/geomyidae-0.32.2.ebuild new file mode 100644 index 000000000000..44ee5a8e613f --- /dev/null +++ b/net-misc/geomyidae/geomyidae-0.32.2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs user + +DESCRIPTION="A daemon to serve the gopher protocol" +HOMEPAGE="http://r-36.net/scm/geomyidae/" +SRC_URI="ftp://bitreich.org/releases/geomyidae/${PN}-v${PV}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +S="${WORKDIR}/${PN}-v${PV}" + +pkg_setup(){ + enewgroup gopherd + enewuser gopherd -1 -1 /var/gopher gopherd +} + +src_prepare() { + # enable verbose build + # drop -O. from CFLAGS + sed -i \ + -e 's/@${CC}/${CC}/g' \ + -e '/CFLAGS/s/-O. //' \ + Makefile || die 'sed on Makefile failed' + # fix path for pid file + sed -i \ + -e 's:/var/run:/run:g' \ + rc.d/Gentoo.init.d || die + + eapply_user +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + dosbin ${PN} + + newinitd rc.d/Gentoo.init.d ${PN} + newconfd rc.d/Gentoo.conf.d ${PN} + + insinto /var/gopher + doins index.gph + fowners -R root.gopherd /var/gopher + fperms -R g=rX,o=rX /var/gopher + + doman ${PN}.8 + dodoc CGI README +} |