diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2013-03-08 11:38:38 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2013-03-08 11:38:38 +0000 |
commit | 9ca672265d0facdef0f7c6c83013157ade9d1875 (patch) | |
tree | d6b583803f71729e60cf14199448944111221a92 /net-misc/geomyidae | |
parent | Remove symlinks and postinst, the two projects diverged enough application wise (diff) | |
download | gentoo-2-9ca672265d0facdef0f7c6c83013157ade9d1875.tar.gz gentoo-2-9ca672265d0facdef0f7c6c83013157ade9d1875.tar.bz2 gentoo-2-9ca672265d0facdef0f7c6c83013157ade9d1875.zip |
Initial import, wrt bug #327613. Ebuild is picked up from sunrise and improved by me. Thanks to James Penketh < tamber AT furryhelix.co.uk > for initial ebuild
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'net-misc/geomyidae')
-rw-r--r-- | net-misc/geomyidae/ChangeLog | 12 | ||||
-rw-r--r-- | net-misc/geomyidae/geomyidae-0.26.1.ebuild | 50 | ||||
-rw-r--r-- | net-misc/geomyidae/metadata.xml | 8 |
3 files changed, 70 insertions, 0 deletions
diff --git a/net-misc/geomyidae/ChangeLog b/net-misc/geomyidae/ChangeLog new file mode 100644 index 000000000000..33d2c82f7827 --- /dev/null +++ b/net-misc/geomyidae/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for net-misc/geomyidae +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/geomyidae/ChangeLog,v 1.1 2013/03/08 11:38:38 pinkbyte Exp $ + +*geomyidae-0.26.1 (08 Mar 2013) + + 08 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> +geomyidae-0.26.1.ebuild, + +metadata.xml: + Initial import, wrt bug #327613. Ebuild is picked up from sunrise and + improved by me. Thanks to James Penketh < tamber AT furryhelix.co.uk > for + initial ebuild + diff --git a/net-misc/geomyidae/geomyidae-0.26.1.ebuild b/net-misc/geomyidae/geomyidae-0.26.1.ebuild new file mode 100644 index 000000000000..dc5b93193995 --- /dev/null +++ b/net-misc/geomyidae/geomyidae-0.26.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/geomyidae/geomyidae-0.26.1.ebuild,v 1.1 2013/03/08 11:38:38 pinkbyte Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs user + +DESCRIPTION="A daemon to serve the gopher protocol" +HOMEPAGE="http://r-36.net/src/geomyidae/" +SRC_URI="http://r-36.net/src/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +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' + + epatch_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 +} diff --git a/net-misc/geomyidae/metadata.xml b/net-misc/geomyidae/metadata.xml new file mode 100644 index 000000000000..b6b8956cde34 --- /dev/null +++ b/net-misc/geomyidae/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>pinkbyte@gentoo.org</email> + <name>Sergey Popov</name> + </maintainer> +</pkgmetadata> |