Gentoo Archives: gentoo-commits

From: "Thomas Sachau (tommy)" <tommy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/fms: ChangeLog fms-0.3.63.ebuild fms-0.3.61.ebuild fms-0.3.58.ebuild
Date: Sat, 19 Nov 2011 18:17:08
Message-Id: 20111119181211.10AF22004B@flycatcher.gentoo.org
1 tommy 11/11/19 18:12:10
2
3 Modified: ChangeLog
4 Added: fms-0.3.63.ebuild
5 Removed: fms-0.3.61.ebuild fms-0.3.58.ebuild
6 Log:
7 Version bump, drop old
8
9 (Portage version: 2.2.0_alpha76-r1/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.25 net-p2p/fms/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/ChangeLog?rev=1.25&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/ChangeLog?rev=1.25&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/ChangeLog?r1=1.24&r2=1.25
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v
21 retrieving revision 1.24
22 retrieving revision 1.25
23 diff -u -r1.24 -r1.25
24 --- ChangeLog 30 Jun 2011 20:32:11 -0000 1.24
25 +++ ChangeLog 19 Nov 2011 18:12:10 -0000 1.25
26 @@ -1,6 +1,16 @@
27 # ChangeLog for net-p2p/fms
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v 1.24 2011/06/30 20:32:11 tommy Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v 1.25 2011/11/19 18:12:10 tommy Exp $
31 +
32 + 19 Nov 2011; Thomas Sachau (Tommy[D]) <tommy@g.o> -fms-0.3.58.ebuild,
33 + -fms-0.3.61.ebuild, +fms-0.3.63.ebuild:
34 + Drop old versions
35 +
36 +*fms-0.3.63 (19 Nov 2011)
37 +
38 + 19 Nov 2011; Thomas Sachau (Tommy[D]) <tommy@g.o> +fms-0.3.63.ebuild:
39 + Version bump, thanks to a Gentoo user, who sent me the sed lines
40 + and the need for <=dev-libs/libpcre-8.12
41
42 *fms-0.3.61 (30 Jun 2011)
43
44
45
46
47 1.1 net-p2p/fms/fms-0.3.63.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/fms-0.3.63.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/fms-0.3.63.ebuild?rev=1.1&content-type=text/plain
51
52 Index: fms-0.3.63.ebuild
53 ===================================================================
54 # Copyright 1999-2011 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/fms-0.3.63.ebuild,v 1.1 2011/11/19 18:12:10 tommy Exp $
57
58 EAPI="2"
59
60 inherit eutils cmake-utils
61
62 DESCRIPTION="A spam-resistant message board application for Freenet"
63 HOMEPAGE="http://freenetproject.org/tools.html"
64 SRC_URI="mirror://gentoo/${PN}-src-${PV}.zip"
65
66 LICENSE="GPL-2"
67 SLOT="0"
68 KEYWORDS="~amd64 ~x86"
69 IUSE="frost"
70
71 RDEPEND="virtual/libiconv
72 frost? ( >=dev-libs/libtomcrypt-1.17-r3[libtommath] )
73 >=dev-libs/poco-1.2.9
74 >=dev-db/sqlite-3.6.15
75 <dev-libs/libpcre-8.13"
76 #added dependency on <=dev-libs/libpcre-8.12 instead of blocking higher versions,
77 #to prevent some issues with blocker resolution in portage
78 DEPEND="${RDEPEND}
79 app-arch/unzip"
80
81 S=${WORKDIR}
82
83 pkg_setup() {
84 enewgroup freenet
85 enewuser freenet -1 -1 /var/freenet freenet
86 }
87
88 src_prepare() {
89 edos2unix src/http/pages/showfilepage.cpp
90 epatch "${FILESDIR}"/${PN}-use-system-libs.patch
91 sed -i "s:LTC_PKCS:LTC_LTC_PKCS:g" src/freenet/frostidentity.cpp
92 sed -i 's:"../../../include/fmsapp.h":"../include/fmsapp.h":' src/*.cpp
93 sed -i 's:"../../../include/fmsapp.h":"../../include/fmsapp.h":' src/*/*.cpp
94 }
95
96 src_configure() {
97 local mycmakeargs="-DI_HAVE_READ_THE_README=ON \
98 -DUSE_BUNDLED_SQLITE=OFF \
99 -DDO_CHARSET_CONVERSION=ON \
100 $(cmake-utils_use frost FROST_SUPPORT)"
101 use frost && append-flags -DLTM_DESC
102 cmake-utils_src_configure
103 }
104
105 src_install() {
106 insinto /var/freenet/fms
107 dobin "${CMAKE_BUILD_DIR}"/fms || die
108 doins *.htm || die "doinstall failed"
109 doins -r fonts images styles translations || die
110 fperms -R o-rwx /var/freenet/fms/ /usr/bin/fms
111 fowners -R freenet:freenet /var/freenet/fms/ /usr/bin/fms
112 doinitd "${FILESDIR}/fms" || die "installing init.d file failed"
113 dodoc readme.txt || die "installing doc failed"
114 }
115
116 pkg_postinst() {
117 if ! has_version 'net-p2p/freenet' ; then
118 ewarn "FMS needs a freenet node to up-/download #ssages."
119 ewarn "Please make sure to have a node you can connect to"
120 ewarn "or install net-p2p/freenet to get FMS working."
121 fi
122 elog "By default, the FMS NNTP server will listen on port 1119,"
123 elog "and the web configuration interface will be running at"
124 elog "http://localhost:8080. For more information, read"
125 elog "${ROOT}usr/share/doc/${PF}/readme.txt.bz2"
126 if use frost; then
127 elog " "
128 elog "You need to enable frost on the config page"
129 elog "and restart fms for frost support."
130 fi
131 }