Gentoo Archives: gentoo-commits

From: "Michael Hanselmann (hansmi)" <hansmi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-irc/inspircd: ChangeLog inspircd-1.1.13.ebuild inspircd-1.1.11.ebuild
Date: Wed, 03 Oct 2007 21:31:40
Message-Id: E1IdBfm-0000OV-Cv@stork.gentoo.org
1 hansmi 07/10/03 21:22:26
2
3 Modified: ChangeLog
4 Added: inspircd-1.1.13.ebuild
5 Removed: inspircd-1.1.11.ebuild
6 Log:
7 Version bump, bug 194652.
8 (Portage version: 2.1.3.9)
9
10 Revision Changes Path
11 1.17 net-irc/inspircd/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/inspircd/ChangeLog?rev=1.17&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/inspircd/ChangeLog?rev=1.17&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/inspircd/ChangeLog?r1=1.16&r2=1.17
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v
20 retrieving revision 1.16
21 retrieving revision 1.17
22 diff -u -r1.16 -r1.17
23 --- ChangeLog 20 Sep 2007 19:41:13 -0000 1.16
24 +++ ChangeLog 3 Oct 2007 21:22:25 -0000 1.17
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-irc/inspircd
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.16 2007/09/20 19:41:13 hansmi Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/ChangeLog,v 1.17 2007/10/03 21:22:25 hansmi Exp $
30 +
31 +*inspircd-1.1.13 (03 Oct 2007)
32 +
33 + 03 Oct 2007; Michael Hanselmann <hansmi@g.o>
34 + -inspircd-1.1.11.ebuild, +inspircd-1.1.13.ebuild:
35 + Version bump, bug 194652.
36
37 *inspircd-1.1.12 (20 Sep 2007)
38
39
40
41
42 1.1 net-irc/inspircd/inspircd-1.1.13.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/inspircd/inspircd-1.1.13.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-irc/inspircd/inspircd-1.1.13.ebuild?rev=1.1&content-type=text/plain
46
47 Index: inspircd-1.1.13.ebuild
48 ===================================================================
49 # Copyright 1999-2007 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-irc/inspircd/inspircd-1.1.13.ebuild,v 1.1 2007/10/03 21:22:25 hansmi Exp $
52
53 inherit eutils toolchain-funcs multilib # subversion
54
55 IUSE="openssl gnutls ipv6 kernel_linux"
56
57 DESCRIPTION="InspIRCd - The Modular C++ IRC Daemon"
58 HOMEPAGE="http://www.inspircd.org"
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 RDEPEND="
63 >=sys-devel/gcc-3.3.0
64 >=dev-lang/perl-5.8
65 openssl? ( >=dev-libs/openssl-0.9.7d )
66 gnutls? ( >=net-libs/gnutls-1.3.0 )"
67 DEPEND="${RDEPEND}"
68 SRC_URI="mirror://sourceforge/${PN}/InspIRCd-${PV}.tar.bz2"
69 #ESVN_REPO_URI="http://svn.inspircd.org/repository/trunk/inspircd"
70 #ESVN_PROJECT="inspircd"
71
72 S="${WORKDIR}/inspircd"
73
74 pkg_setup() {
75 enewgroup inspircd
76 enewuser inspircd -1 -1 -1 inspircd
77 }
78
79 src_compile() {
80 local myconf=""
81
82 # Write a configuration file
83 # we don't use econf.
84 USE_SSL="$(use_enable openssl)"
85 use gnutls && USE_SSL="$(use_enable gnutls)"
86 USE_SOCKET_ENGINE="--enable-epoll"
87 ./configure $(use_enable ipv6) --enable-remote-ipv6 ${USE_SSL} \
88 ${USE_SOCKET_ENGINE} \
89 --prefix="/usr/$(get_libdir)/inspircd" \
90 --config-dir="/etc/inspircd" --bin-dir="/usr/bin" \
91 --library-dir="/usr/$(get_libdir)/inspircd" \
92 --module-dir="/usr/$(get_libdir)/inspircd/modules" \
93 || die "configure failed"
94
95 emake || die "emake failed"
96 }
97
98 src_install() {
99 # the inspircd buildsystem does not create these, it's configure script
100 # does. so, we have to at this point to make sure they are there.
101 dodir /usr/$(get_libdir)/inspircd
102 dodir /usr/$(get_libdir)/inspircd/modules
103 dodir /etc/inspircd
104 dodir /var/log/inspircd
105 dodir /usr/include/inspircd
106
107 emake install \
108 LIBPATH="${D}/usr/$(get_libdir)/inspircd/" \
109 MODPATH="${D}/usr/$(get_libdir)/inspircd/modules/" \
110 CONPATH="${D}/etc/inspircd" \
111 BINPATH="${D}/usr/bin" \
112 BASE="${D}/usr/$(get_libdir)/inspircd/inspircd.launcher"
113
114 insinto /usr/include/inspircd/
115 doins "${S}"/include/*
116
117 newinitd "${FILESDIR}"/init.d_inspircd inspircd
118 }
119
120 pkg_postinst() {
121 chown -R inspircd:inspircd "${ROOT}"/etc/inspircd
122 chmod 700 "${ROOT}"/etc/inspircd
123
124 chmod 750 "${ROOT}"/var/log/inspircd
125 chown -R inspircd:inspircd "${ROOT}"/var/log/inspircd
126
127 chown -R inspircd:inspircd "${ROOT}"/usr/$(get_libdir)/inspircd
128 chmod -R 755 "${ROOT}"/usr/$(get_libdir)/inspircd
129
130 chmod -R 755 "${ROOT}"/usr/bin/inspircd
131 }
132
133
134
135 --
136 gentoo-commits@g.o mailing list