summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2023-05-15 13:17:57 +0300
committerSergey Popov <pinkbyte@gentoo.org>2023-05-15 13:19:07 +0300
commit2ab2981dfd328d7900aee153fa79b8177b539f5c (patch)
tree89dab9afc50d00a28d653f05d897b31530007ef5 /net-misc/geomyidae
parentapp-misc/empty-0.6.23c: stable for amd64/x86 (diff)
downloadgentoo-2ab2981dfd328d7900aee153fa79b8177b539f5c.tar.gz
gentoo-2ab2981dfd328d7900aee153fa79b8177b539f5c.tar.bz2
gentoo-2ab2981dfd328d7900aee153fa79b8177b539f5c.zip
net-misc/geomyidae-0.69: version bump
Signed-off-by: Sergey Popov <pinkbyte@gentoo.org>
Diffstat (limited to 'net-misc/geomyidae')
-rw-r--r--net-misc/geomyidae/Manifest1
-rw-r--r--net-misc/geomyidae/geomyidae-0.69.ebuild51
2 files changed, 52 insertions, 0 deletions
diff --git a/net-misc/geomyidae/Manifest b/net-misc/geomyidae/Manifest
index 80daa6666b7c..61b389f74027 100644
--- a/net-misc/geomyidae/Manifest
+++ b/net-misc/geomyidae/Manifest
@@ -1 +1,2 @@
DIST geomyidae-v0.34.tgz 22242 BLAKE2B bc25f50c49c10e5a04b83a12cdcd7546b33f6a7d93eab504122bcfb2fdacfbcb82205890d5fd999d1b8b681c65dc0ef0dc5f95ea2d56a795fa371031c4af43b8 SHA512 55b7845c8b9fbee70b2e2bd71d2e3bb8e34c3029a1ea410cb39750763c81d5c31af8c703f7b673aa28fbfd61dd7915300ed4ff22f94c8430ac754681bc30ce41
+DIST geomyidae-v0.69.tar.gz 34631 BLAKE2B a1d7e33d403df5d6bb4d5fdc0999fdcfa94da058dd5dc1c0f22c49b9cc1b06cf45fafdb839eb91dec78be0aa778e3a74bf26d8ffa5054d45e5c6e86918480ad4 SHA512 c66f751472c35107c2c91f1675ab40bf68da1d3d5742ec94125c8ecba54b2832e82c8106a3627da53216cf3802ae7900ef8457c383160614ecce2a07b318662a
diff --git a/net-misc/geomyidae/geomyidae-0.69.ebuild b/net-misc/geomyidae/geomyidae-0.69.ebuild
new file mode 100644
index 000000000000..3bd6b1bc1db3
--- /dev/null
+++ b/net-misc/geomyidae/geomyidae-0.69.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+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}.tar.gz"
+
+S="${WORKDIR}/${PN}-v${PV}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+RDEPEND="
+ acct-group/gopherd
+ acct-user/gopherd
+ dev-libs/libretls:0=
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # remove /usr/lib from LDFLAGS, bug #731672
+ sed -i \
+ -e '/GEOM_LDFLAGS/s:-L/usr/lib ::' \
+ Makefile || die 'sed on Makefile failed'
+
+ 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.md README
+}