Gentoo Archives: gentoo-commits

From: "Chris Reffett (creffett)" <creffett@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/ngircd: ngircd-20.3.ebuild ChangeLog
Date: Wed, 02 Oct 2013 03:53:30
Message-Id: 20131002035324.05B1020036@flycatcher.gentoo.org
1 creffett 13/10/02 03:53:23
2
3 Modified: ChangeLog
4 Added: ngircd-20.3.ebuild
5 Log:
6 Security bump wrt bug 482582.
7
8 (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 42618354)
9
10 Revision Changes Path
11 1.56 net-irc/ngircd/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/ngircd/ChangeLog?rev=1.56&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/ngircd/ChangeLog?rev=1.56&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/ngircd/ChangeLog?r1=1.55&r2=1.56
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-irc/ngircd/ChangeLog,v
20 retrieving revision 1.55
21 retrieving revision 1.56
22 diff -u -r1.55 -r1.56
23 --- ChangeLog 22 Sep 2011 11:29:53 -0000 1.55
24 +++ ChangeLog 2 Oct 2013 03:53:23 -0000 1.56
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-irc/ngircd
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-irc/ngircd/ChangeLog,v 1.55 2011/09/22 11:29:53 xarthisius Exp $
29 +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-irc/ngircd/ChangeLog,v 1.56 2013/10/02 03:53:23 creffett Exp $
31 +
32 +*ngircd-20.3 (02 Oct 2013)
33 +
34 + 02 Oct 2013; Chris Reffett <creffett@g.o> +ngircd-20.3.ebuild:
35 + Security bump wrt bug 482582.
36
37 22 Sep 2011; Kacper Kowalik <xarthisius@g.o> ngircd-0.12.1.ebuild,
38 ngircd-13.ebuild, ngircd-17.1.ebuild, ngircd-18.ebuild:
39 @@ -211,4 +216,3 @@
40
41 19 Apr 2004; Chuck Short <zul@g.o> :
42 Initial version, ebuild written by me. Closes #47945.
43 -
44
45
46
47 1.1 net-irc/ngircd/ngircd-20.3.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/ngircd/ngircd-20.3.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-irc/ngircd/ngircd-20.3.ebuild?rev=1.1&content-type=text/plain
51
52 Index: ngircd-20.3.ebuild
53 ===================================================================
54 # Copyright 1999-2013 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/net-irc/ngircd/ngircd-20.3.ebuild,v 1.1 2013/10/02 03:53:23 creffett Exp $
57
58 EAPI=4
59
60 inherit autotools-utils eutils
61
62 DESCRIPTION="A IRC server written from scratch"
63 HOMEPAGE="http://ngircd.barton.de/"
64 SRC_URI="ftp://ftp.berlios.de/pub/${PN}/${P}.tar.gz
65 ftp://ngircd.barton.de/pub/${PN}/${P}.tar.gz"
66
67 LICENSE="GPL-2"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86 ~x64-macos"
70 IUSE="debug gnutls ident ipv6 pam ssl tcpd zlib"
71
72 RDEPEND="
73 ident? ( net-libs/libident )
74 ssl? (
75 gnutls? ( net-libs/gnutls )
76 !gnutls? ( dev-libs/openssl )
77 )
78 pam? ( virtual/pam )
79 tcpd? ( sys-apps/tcp-wrappers )
80 zlib? ( sys-libs/zlib )
81 "
82 DEPEND="${RDEPEND}
83 >=sys-apps/sed-4
84 "
85
86 RESTRICT="test"
87
88 src_configure() {
89 if ! use prefix; then
90 sed -i \
91 -e "s:;ServerUID = 65534:ServerUID = ngircd:" \
92 -e "s:;ServerGID = 65534:ServerGID = nogroup:" \
93 doc/sample-ngircd.conf.tmpl || die
94 fi
95
96 local myeconfargs=(
97 --docdir="${EPREFIX}"/usr/share/doc/${PF}
98 --sysconfdir="${EPREFIX}"/etc/ngircd
99 $(use_enable ipv6)
100 $(use_with zlib)
101 $(use_with tcpd tcp-wrappers)
102 $(use_with ident)
103 $(use_with pam)
104 $(use_enable debug)
105 $(use_enable debug sniffer)
106 )
107
108 if use ssl; then
109 myeconfargs+=(
110 $(use_with !gnutls openssl)
111 $(use_with gnutls)
112 )
113 else
114 myeconfargs+=(
115 --without-gnutls
116 --without-ssl
117 )
118 fi
119
120 autotools-utils_src_configure
121 }
122
123 src_install() {
124 autotools-utils_src_install
125
126 newinitd "${FILESDIR}"/ngircd.init.d ngircd
127 }
128
129 pkg_postinst() {
130 if ! use prefix; then
131 enewuser ngircd
132 chown ngircd "${ROOT}"/etc/ngircd/ngircd.conf
133 fi
134 }