diff options
author | Ian Delaney <idella4@gentoo.org> | 2015-12-29 23:48:36 +0800 |
---|---|---|
committer | Ian Delaney <idella4@gentoo.org> | 2015-12-29 23:49:01 +0800 |
commit | de653278b04424cf22ef5322df6635faa211bad3 (patch) | |
tree | 65c1a513f1ca412470ad69bb86fd35b5d0074b7c /net-irc/ngircd | |
parent | dev-db/mariadb: Add missing build dependency wrt but 570114 (diff) | |
download | gentoo-de653278b04424cf22ef5322df6635faa211bad3.tar.gz gentoo-de653278b04424cf22ef5322df6635faa211bad3.tar.bz2 gentoo-de653278b04424cf22ef5322df6635faa211bad3.zip |
net-irc/ngircd: bump to vn. ngircd-23
ebuild submitted by Moritz Kick who has agreed to proxy maintain this package
bu support of the proxy maintainers project,
added to metadata.xml accordingly, ebuild runtested, fixes the gentoo bug
Gentoo bug: #501262
Package-Manager: portage-2.2.24
Diffstat (limited to 'net-irc/ngircd')
-rw-r--r-- | net-irc/ngircd/Manifest | 1 | ||||
-rw-r--r-- | net-irc/ngircd/metadata.xml | 12 | ||||
-rw-r--r-- | net-irc/ngircd/ngircd-23.ebuild | 85 |
3 files changed, 95 insertions, 3 deletions
diff --git a/net-irc/ngircd/Manifest b/net-irc/ngircd/Manifest index 21d5b8ab52ba..0afd7e03c56b 100644 --- a/net-irc/ngircd/Manifest +++ b/net-irc/ngircd/Manifest @@ -1 +1,2 @@ DIST ngircd-20.3.tar.gz 479982 SHA256 55d7c74c6df790b11a68c07f39836d581965087efb618d3e9a6bec855364c2f9 SHA512 8bc36a66e893873fade6dcadb07bf561fb25156714ba30168cf2e399e50f4dd80592fd7fcdb6c8d1083fa7c5e839b0da3a27ed4ce2041a2c5ab2b9581def948c WHIRLPOOL 379ef30a2e23dfc3a523d85e9f2c1531b8079d0880b5f46b9cdb803af873fc943d25186ebc0b9294da26140b46a37a4ebd2b86f3c7cf17acd3a802e4a395dd1e +DIST ngircd-23.tar.gz 517686 SHA256 99b8b67a975a9ae9b81c96bdee02133a10f515c718825d34cedcb64f1fc95e73 SHA512 714fbb4af12335e62c615fa1e8de9c7366c4c6da6af9b334019ba900dce072067f7b08199de8c96aad5dd4b9b786b57d536ba9dc92c62b37d2ae11960dbd01b1 WHIRLPOOL 06e1b3a9675277c980898118e71e9a6c08de998c93919f431ecd7505f64dc57617beef885aae5e5c72b27cd1df3c89204dbc2101c1f4a30970fceb78a7825441 diff --git a/net-irc/ngircd/metadata.xml b/net-irc/ngircd/metadata.xml index 0761e008930c..3bca316dd234 100644 --- a/net-irc/ngircd/metadata.xml +++ b/net-irc/ngircd/metadata.xml @@ -2,7 +2,13 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>net-irc</herd> -<use> - <flag name='ident'>Enables support for <pkg>net-libs/libident</pkg></flag> -</use> + <herd>proxy-maintainers</herd> + <maintainer> + <email>gentoo@blackphoenix.de</email> + <name>Moritz Kick</name> + <description>Proxied maintainer; set to assignee in all bugs</description> + </maintainer> + <use> + <flag name='ident'>Enables support for <pkg>net-libs/libident</pkg></flag> + </use> </pkgmetadata> diff --git a/net-irc/ngircd/ngircd-23.ebuild b/net-irc/ngircd/ngircd-23.ebuild new file mode 100644 index 000000000000..6e71ce910f30 --- /dev/null +++ b/net-irc/ngircd/ngircd-23.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit autotools-utils eutils user + +DESCRIPTION="An IRC server written from scratch" +HOMEPAGE="http://ngircd.barton.de/" +SRC_URI="http://ngircd.barton.de/pub/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x64-macos" +IUSE="debug gnutls iconv ident ipv6 libressl pam ssl tcpd zlib" + +RDEPEND=" + iconv? ( virtual/libiconv ) + ident? ( net-libs/libident ) + pam? ( virtual/pam ) + ssl? ( + !gnutls? ( + !libressl? ( dev-libs/openssl:0 ) + ) + gnutls? ( net-libs/gnutls ) + libressl? ( dev-libs/libressl ) + ) + tcpd? ( sys-apps/tcp-wrappers ) + zlib? ( sys-libs/zlib ) +" +DEPEND="${RDEPEND} + >=sys-apps/sed-4 +" + +RESTRICT="test" + +src_configure() { + if ! use prefix; then + sed -i \ + -e "s:;ServerUID = 65534:ServerUID = ngircd:" \ + -e "s:;ServerGID = 65534:ServerGID = nogroup:" \ + doc/sample-ngircd.conf.tmpl || die + fi + + local myeconfargs=( + --docdir="${EPREFIX}"/usr/share/doc/${PF} + --sysconfdir="${EPREFIX}"/etc/ngircd + $(use_enable debug sniffer) + $(use_enable debug) + $(use_enable ipv6) + $(use_with iconv) + $(use_with ident) + $(use_with pam) + $(use_with tcpd tcp-wrappers) + $(use_with zlib) + ) + + if use ssl; then + myeconfargs+=( + $(use_with !gnutls openssl) + $(use_with gnutls) + ) + else + myeconfargs+=( + --without-gnutls + --without-openssl + ) + fi + + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + + newinitd "${FILESDIR}"/ngircd.init.d ngircd +} + +pkg_postinst() { + if ! use prefix; then + enewuser ngircd + chown ngircd "${ROOT}"/etc/ngircd/ngircd.conf + fi +} |