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