summaryrefslogtreecommitdiff
path: root/net-irc/ngircd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-irc/ngircd
reinit the tree, so we can have metadata
Diffstat (limited to 'net-irc/ngircd')
-rw-r--r--net-irc/ngircd/Manifest8
-rw-r--r--net-irc/ngircd/files/ngircd.init-r1.d21
-rw-r--r--net-irc/ngircd/metadata.xml16
-rw-r--r--net-irc/ngircd/ngircd-23-r1.ebuild84
-rw-r--r--net-irc/ngircd/ngircd-24.ebuild92
5 files changed, 221 insertions, 0 deletions
diff --git a/net-irc/ngircd/Manifest b/net-irc/ngircd/Manifest
new file mode 100644
index 000000000000..d5ea7bf80d9d
--- /dev/null
+++ b/net-irc/ngircd/Manifest
@@ -0,0 +1,8 @@
+AUX ngircd.init-r1.d 388 SHA256 b941f1cb0f8c8f5c8d3bf24dd995a6ac08c5cc6d4b7d23c7ae991d713b3f1009 SHA512 12e62e23899d1143a35e60bf983c319f72aa13c49123b497963f96317b2990cb2529919336da5a9b5c230e55479c289358261af92d25ef54bd19079908e18158 WHIRLPOOL 3dcd87598a89d0f60fa02c3b58f6bde7155524c36e7a76b47b8241d6e8bd0ecf5dd1b60e39fe86a19fab2ec256ab11e1549b4b14c9c3d01cb0c7cb4036e0e205
+DIST ngircd-23.tar.gz 517686 SHA256 99b8b67a975a9ae9b81c96bdee02133a10f515c718825d34cedcb64f1fc95e73 SHA512 714fbb4af12335e62c615fa1e8de9c7366c4c6da6af9b334019ba900dce072067f7b08199de8c96aad5dd4b9b786b57d536ba9dc92c62b37d2ae11960dbd01b1 WHIRLPOOL 06e1b3a9675277c980898118e71e9a6c08de998c93919f431ecd7505f64dc57617beef885aae5e5c72b27cd1df3c89204dbc2101c1f4a30970fceb78a7825441
+DIST ngircd-24.tar.gz 524968 SHA256 3e00a7da52c81fc1e02bb996a27bf43da905ba7037bf8c6bb3bd13321e0c85ab SHA512 66d1b9576c03d0a70be17a235f2da50ee661646cd428d18a6c61975407671dd4a3a545069258536773b27d4fb63523527366bbbf4f35cb08111dc60842924395 WHIRLPOOL 5c163820638cad6e2dcad3118b4e35113696aa16501f81c177ed68e28cdebfaf37bd65fcd12c3d750a8f3c01fb5af40068ac812d76bb578074bdbe7dbe08f763
+EBUILD ngircd-23-r1.ebuild 1652 SHA256 ac599fb6f5c3ae27e2a372290fc77a18d7643ad923a3e456dd43f1b8d25da076 SHA512 73b2afe89051a7609677b8d3e13a2e0c1247878a3c0cd73ab282d7b50a481cda8f39be5d7aff833c8683d1c0f1f05cefb986856f01e52a7360fce820f604680d WHIRLPOOL 1b3f0ccf429a4e89d297b485af1c2accc7e4ca005952179fee90dff3795a20a033c90029400a6a812b459ec1252b5d4ac4131b5f5771586713b532703fce55cd
+EBUILD ngircd-24.ebuild 1687 SHA256 70e183c9a57ed5b03e079df22e014fd9d748271c23b6b0a5f8bed3bb1dce58d3 SHA512 5ceea4ac27feeabc5f739e8b1e8c7abb423636dbe1e710139258c9346cd8543a893ebad15e6b5f002a93675187b1d5c1169762decc10aca17f65f5b111e2d484 WHIRLPOOL c89a8c1ff948458c8db7e3dfb04420fb2673320a85a01a6863e9ab1ee434cb24af2bf1ea78fe467cbcf7ceda91318b217100092457aa8dac3e17b35ef372cf76
+MISC ChangeLog 4497 SHA256 48457e2fb3ece3251ed28b35c89d0d99a79531de862c47df3abc932e736e4555 SHA512 6106b0fab37234f88e478c5a9fb669c6cf9d2cb333680fd026b45b80d05b7d2a9e0f53c9b4b83ddef5d5e1222df730c0495f3b45940fe1ce0c0a6e7b4a95ef9c WHIRLPOOL 4d29bb8665bd5b1cb6298ee616b828090eb75c30fcc27460ab64de7c2bff45a5864b4b38a4d6ecdad3776dad32add25aece3135b4104b7c89d1b446c55bb64a7
+MISC ChangeLog-2015 7734 SHA256 06c6e8dfaf968b8b1006cfd1e7052e171688b7afe2f8a6659109350a7d3d04f4 SHA512 5f86e6655f8ee82b426c4a02772d3b8a46a98098b2ef6194a3c9aedd7e5a555ac7d05a1a08eb58240e100a4f1c5bddac44672f28ec2baf516f6158e8161885ca WHIRLPOOL 7c4e8c5ca21a551f530828a54b4647a4d28e8453fbc6c0c985174beabb0149d4a9fba4c4e5b96a5ec97c31d453ce29eed1ec72c93c9caabb412974a0721b87ef
+MISC metadata.xml 535 SHA256 9f0def0bdd3839bfbc7fe843e196a8c4f01e4af92c95897944b24227a2c07ec2 SHA512 04a89d880eb3a7e89d42051b9499447fe7a3455a7ef751acc9b68f6f607b056febf7b55dfa22e4d03172fd2c80fc71f183ddc21545aada84d300f7016c5cba26 WHIRLPOOL 374ee4970ebf4db11f4b3f3623d578a60eaa3b10d51c50f7c9bf11fd00254ffeaa0dafeecd767143cf2d5519de1fb73242bbac196dcd1008dd932640a4a2ed0a
diff --git a/net-irc/ngircd/files/ngircd.init-r1.d b/net-irc/ngircd/files/ngircd.init-r1.d
new file mode 100644
index 000000000000..3346d698d441
--- /dev/null
+++ b/net-irc/ngircd/files/ngircd.init-r1.d
@@ -0,0 +1,21 @@
+#!/sbin/openrc-run
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need net
+ use logger
+ provide ircd
+}
+
+start() {
+ ebegin "Starting ngIRCd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/ngircd
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ngIRCd"
+ start-stop-daemon --stop --quiet --exec /usr/sbin/ngircd
+ eend $?
+}
diff --git a/net-irc/ngircd/metadata.xml b/net-irc/ngircd/metadata.xml
new file mode 100644
index 000000000000..67847df04ad8
--- /dev/null
+++ b/net-irc/ngircd/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gentoo@blackphoenix.de</email>
+ <name>Moritz Kick</name>
+ <description>Proxied maintainer; set to assignee in all bugs</description>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="ident">Enables support for <pkg>net-libs/libident</pkg></flag>
+ </use>
+</pkgmetadata>
diff --git a/net-irc/ngircd/ngircd-23-r1.ebuild b/net-irc/ngircd/ngircd-23-r1.ebuild
new file mode 100644
index 000000000000..3a8fdf576959
--- /dev/null
+++ b/net-irc/ngircd/ngircd-23-r1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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-r1.d ngircd
+}
+
+pkg_postinst() {
+ if ! use prefix; then
+ enewuser ngircd
+ chown ngircd "${ROOT}"/etc/ngircd/ngircd.conf
+ fi
+}
diff --git a/net-irc/ngircd/ngircd-24.ebuild b/net-irc/ngircd/ngircd-24.ebuild
new file mode 100644
index 000000000000..ed2882a05f8e
--- /dev/null
+++ b/net-irc/ngircd/ngircd-24.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+inherit user
+
+DESCRIPTION="An IRC server written from scratch"
+HOMEPAGE="https://ngircd.barton.de/"
+SRC_URI="https://arthur.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 test zlib"
+
+RDEPEND="
+ iconv? ( virtual/libiconv )
+ ident? ( net-libs/libident )
+ pam? ( virtual/pam )
+ ssl? (
+ gnutls? ( net-libs/gnutls:= )
+ !gnutls? (
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ )
+ )
+ tcpd? ( sys-apps/tcp-wrappers )
+ zlib? ( sys-libs/zlib )
+"
+
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4
+ test? (
+ dev-tcltk/expect
+ net-misc/netkit-telnetd
+ )
+"
+
+# Testsuite fails server-login-test
+RESTRICT="test"
+
+src_prepare() {
+ default
+
+ 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
+}
+
+src_configure() {
+ local myconf=(
+ --sysconfdir="${EPREFIX}"/etc/"${PN}"
+ $(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
+ myconf+=(
+ $(use_with !gnutls openssl)
+ $(use_with gnutls)
+ )
+ else
+ myconf+=(
+ --without-gnutls
+ --without-openssl
+ )
+ fi
+
+ econf "${myconf[@]}"
+}
+
+src_install() {
+ default
+ newinitd "${FILESDIR}"/ngircd.init-r1.d ngircd
+}
+
+pkg_postinst() {
+ if ! use prefix; then
+ enewuser ngircd
+ chown ngircd "${EROOT%/}"/etc/ngircd/ngircd.conf || die
+ fi
+}