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