Gentoo Archives: gentoo-commits

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