Gentoo Archives: gentoo-commits

From: "Joerg Bornkessel (hd_brummy)" <hd_brummy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/tntnet: ChangeLog tntnet-2.2.1.ebuild
Date: Thu, 23 Jan 2014 21:05:05
Message-Id: 20140123210500.7B46D2004C@flycatcher.gentoo.org
1 hd_brummy 14/01/23 21:05:00
2
3 Modified: ChangeLog
4 Added: tntnet-2.2.1.ebuild
5 Log:
6 bump; use-flag cgi removed, support removed in source; useflag sdk removed, --with-skd enabled by default, will not compile without sdk support
7
8 (Portage version: 2.2.1/cvs/Linux i686, signed Manifest commit with key 34C2808A)
9
10 Revision Changes Path
11 1.23 dev-libs/tntnet/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/tntnet/ChangeLog?rev=1.23&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/tntnet/ChangeLog?rev=1.23&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/tntnet/ChangeLog?r1=1.22&r2=1.23
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/tntnet/ChangeLog,v
20 retrieving revision 1.22
21 retrieving revision 1.23
22 diff -u -r1.22 -r1.23
23 --- ChangeLog 28 Jun 2013 19:42:16 -0000 1.22
24 +++ ChangeLog 23 Jan 2014 21:05:00 -0000 1.23
25 @@ -1,6 +1,12 @@
26 # ChangeLog for dev-libs/tntnet
27 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/tntnet/ChangeLog,v 1.22 2013/06/28 19:42:16 zzam Exp $
29 +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/tntnet/ChangeLog,v 1.23 2014/01/23 21:05:00 hd_brummy Exp $
31 +
32 +*tntnet-2.2.1 (23 Jan 2014)
33 +
34 + 23 Jan 2014; Joerg Bornkessel <hd_brummy@g.o> +tntnet-2.2.1.ebuild:
35 + bump; use-flag cgi removed, support removed in source; useflag sdk removed,
36 + --with-skd enabled by default, will not compile without sdk support
37
38 *tntnet-2.2 (28 Jun 2013)
39
40
41
42
43 1.1 dev-libs/tntnet/tntnet-2.2.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/tntnet/tntnet-2.2.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/tntnet/tntnet-2.2.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: tntnet-2.2.1.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/dev-libs/tntnet/tntnet-2.2.1.ebuild,v 1.1 2014/01/23 21:05:00 hd_brummy Exp $
53
54 EAPI=5
55
56 inherit autotools eutils
57
58 DESCRIPTION="Modular, multithreaded webapplicationserver extensible with C++"
59 HOMEPAGE="http://www.tntnet.org/"
60 SRC_URI="http://www.tntnet.org/download/${P}.tar.gz"
61
62 LICENSE="LGPL-2.1"
63 SLOT="0"
64 KEYWORDS="~amd64 ~sparc ~x86"
65 IUSE="doc gnutls server ssl examples"
66
67 RDEPEND=">=dev-libs/cxxtools-2.2.1
68 sys-libs/zlib[minizip]
69 ssl? (
70 gnutls? (
71 >=net-libs/gnutls-1.2.0
72 dev-libs/libgcrypt
73 )
74 !gnutls? ( dev-libs/openssl )
75 )"
76 DEPEND="${RDEPEND}
77 virtual/pkgconfig
78 examples? ( app-arch/zip )"
79
80 src_prepare() {
81 # Both fixed in the next release
82 epatch "${FILESDIR}"/${PN}-2.0-zlib-minizip.patch
83 rm framework/common/{ioapi,unzip}.[ch] || die
84
85 eautoreconf
86
87 sed -i -e 's:@localstatedir@:/var:' etc/tntnet/tntnet.xml.in || die
88 }
89
90 src_configure() {
91 local myconf=""
92
93 # Prefer gnutls above SSL
94 if use gnutls; then
95 einfo "Using gnutls for ssl support."
96 myconf="${myconf} --with-ssl=gnutls"
97 elif use ssl; then
98 einfo "Using openssl for ssl support."
99 myconf="${myconf} --with-ssl=openssl"
100 else
101 myconf="${myconf} --with-ssl=no"
102 fi
103
104 # default enabled, will not compile without sdk
105 myconf="${myconf} --with-sdk"
106
107 econf \
108 $(use_with server) \
109 ${myconf}
110 }
111
112 src_install() {
113 emake DESTDIR="${D}" install || die
114
115 dodoc AUTHORS ChangeLog README TODO
116 if use doc; then
117 dodoc doc/*.pdf || die
118 fi
119
120 if use examples; then
121 cd "${S}/sdk/demos"
122 emake clean
123 rm -rf .deps */.deps .libs */.libs
124 cd "${S}"
125
126 insinto /usr/share/doc/${PF}/examples
127 doins -r sdk/demos/* || die
128 fi
129
130 if use server; then
131 rm -f "${D}/etc/init.d/tntnet"
132 newinitd "${FILESDIR}/tntnet.initd" tntnet
133 fi
134 }