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.41.ebuild fms-0.3.40.ebuild fms-0.3.39.ebuild
Date: Sun, 02 Aug 2009 21:26:01
Message-Id: E1MXiZ6-00084q-5T@stork.gentoo.org
1 tommy 09/08/02 21:26:00
2
3 Modified: ChangeLog
4 Added: fms-0.3.41.ebuild
5 Removed: fms-0.3.40.ebuild fms-0.3.39.ebuild
6 Log:
7 Version bump, drop old versions
8 (Portage version: 2.2_rc33-r5/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.13 net-p2p/fms/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/fms/ChangeLog?rev=1.13&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/fms/ChangeLog?rev=1.13&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/fms/ChangeLog?r1=1.12&r2=1.13
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v
20 retrieving revision 1.12
21 retrieving revision 1.13
22 diff -u -r1.12 -r1.13
23 --- ChangeLog 26 Jun 2009 15:13:45 -0000 1.12
24 +++ ChangeLog 2 Aug 2009 21:26:00 -0000 1.13
25 @@ -1,6 +1,13 @@
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.12 2009/06/26 15:13:45 tommy Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v 1.13 2009/08/02 21:26:00 tommy Exp $
30 +
31 +*fms-0.3.41 (02 Aug 2009)
32 +
33 + 02 Aug 2009; Thomas Sachau (Tommy[D]) <tommy@g.o>
34 + -fms-0.3.39.ebuild, -fms-0.3.40.ebuild, +fms-0.3.41.ebuild,
35 + files/fms-use-system-libs.patch:
36 + Version bump, drop old versions
37
38 *fms-0.3.40 (26 Jun 2009)
39
40
41
42
43 1.1 net-p2p/fms/fms-0.3.41.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/fms/fms-0.3.41.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-p2p/fms/fms-0.3.41.ebuild?rev=1.1&content-type=text/plain
47
48 Index: fms-0.3.41.ebuild
49 ===================================================================
50 # Copyright 1999-2009 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.41.ebuild,v 1.1 2009/08/02 21:26:00 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 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 {forum-,}template.htm || die "doinstall failed"
98 insinto /var/freenet/fms/fonts
99 doins fonts/*.bmp || die "doinstall of fonts failed"
100 insinto /var/freenet/fms/images
101 doins images/*png || die "doinstall of images failed"
102 fperms -R o-rwx /var/freenet/fms/ /usr/bin/fms
103 fowners -R freenet:freenet /var/freenet/fms/ /usr/bin/fms
104 doinitd "${FILESDIR}/fms" || die "installing init.d file failed"
105 dodoc readme.txt || die "installing doc failed"
106 }
107
108 pkg_postinst() {
109 if ! has_version 'net-p2p/freenet' ; then
110 ewarn "FMS needs a freenet node to up-/download #ssages."
111 ewarn "Please make sure to have a node you can connect to"
112 ewarn "or install net-p2p/freenet to get FMS working."
113 fi
114 elog "By default, the FMS NNTP server will listen on port 1119,"
115 elog "and the web configuration interface will be running at"
116 elog "http://localhost:8080. For more information, read"
117 elog "${ROOT}usr/share/doc/${PF}/readme.txt.bz2"
118 if use frost; then
119 elog " "
120 elog "You need to enable frost on the config page"
121 elog "and restart fms for frost support."
122 fi
123 }