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: fms-0.3.42.ebuild ChangeLog fms-0.3.41.ebuild
Date: Tue, 01 Sep 2009 10:57:21
Message-Id: E1MiVrz-00023o-A7@stork.gentoo.org
1 tommy 09/09/01 16:06:07
2
3 Modified: ChangeLog
4 Added: fms-0.3.42.ebuild
5 Removed: fms-0.3.41.ebuild
6 Log:
7 Version bump
8 (Portage version: 2.2_rc40-r1/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.14 net-p2p/fms/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/fms/ChangeLog?rev=1.14&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/fms/ChangeLog?rev=1.14&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/fms/ChangeLog?r1=1.13&r2=1.14
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v
20 retrieving revision 1.13
21 retrieving revision 1.14
22 diff -u -r1.13 -r1.14
23 --- ChangeLog 2 Aug 2009 21:26:00 -0000 1.13
24 +++ ChangeLog 1 Sep 2009 16:06:07 -0000 1.14
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-p2p/fms
27 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v 1.13 2009/08/02 21:26:00 tommy Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v 1.14 2009/09/01 16:06:07 tommy Exp $
30 +
31 +*fms-0.3.42 (01 Sep 2009)
32 +
33 + 01 Sep 2009; Thomas Sachau (Tommy[D]) <tommy@g.o>
34 + -files/utf8.patch, -fms-0.3.41.ebuild, +fms-0.3.42.ebuild:
35 + Version bump
36
37 *fms-0.3.41 (02 Aug 2009)
38
39
40
41
42 1.1 net-p2p/fms/fms-0.3.42.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/fms/fms-0.3.42.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/fms/fms-0.3.42.ebuild?rev=1.1&content-type=text/plain
46
47 Index: fms-0.3.42.ebuild
48 ===================================================================
49 # Copyright 1999-2009 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.42.ebuild,v 1.1 2009/09/01 16:06:07 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 epatch "${FILESDIR}"/${PN}-use-system-libs.patch
81 sed -i "s:LTC_PKCS:LTC_LTC_PKCS:g" src/freenet/frostidentity.cpp
82 }
83
84 src_configure() {
85 local mycmakeargs="-DI_HAVE_READ_THE_README=ON \
86 -DUSE_BUNDLED_SQLITE=OFF \
87 -DDO_CHARSET_CONVERSION=ON \
88 $(cmake-utils_use frost FROST_SUPPORT)"
89 use frost && append-flags -DLTM_DESC
90 cmake-utils_src_configure
91 }
92
93 src_install() {
94 insinto /var/freenet/fms
95 dobin "${CMAKE_BUILD_DIR}"/fms || die
96 doins {forum-,}template.htm || die "doinstall failed"
97 insinto /var/freenet/fms/fonts
98 doins fonts/*.bmp || die "doinstall of fonts failed"
99 insinto /var/freenet/fms/images
100 doins images/*png || die "doinstall of images failed"
101 fperms -R o-rwx /var/freenet/fms/ /usr/bin/fms
102 fowners -R freenet:freenet /var/freenet/fms/ /usr/bin/fms
103 doinitd "${FILESDIR}/fms" || die "installing init.d file failed"
104 dodoc readme.txt || die "installing doc failed"
105 }
106
107 pkg_postinst() {
108 if ! has_version 'net-p2p/freenet' ; then
109 ewarn "FMS needs a freenet node to up-/download #ssages."
110 ewarn "Please make sure to have a node you can connect to"
111 ewarn "or install net-p2p/freenet to get FMS working."
112 fi
113 elog "By default, the FMS NNTP server will listen on port 1119,"
114 elog "and the web configuration interface will be running at"
115 elog "http://localhost:8080. For more information, read"
116 elog "${ROOT}usr/share/doc/${PF}/readme.txt.bz2"
117 if use frost; then
118 elog " "
119 elog "You need to enable frost on the config page"
120 elog "and restart fms for frost support."
121 fi
122 }