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