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.69.ebuild
Date: Thu, 02 Aug 2012 19:33:40
Message-Id: 20120802193327.95D132004B@flycatcher.gentoo.org
1 tommy 12/08/02 19:33:27
2
3 Modified: ChangeLog
4 Added: fms-0.3.69.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.0_alpha116-r1/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.30 net-p2p/fms/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/ChangeLog?rev=1.30&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/ChangeLog?rev=1.30&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/ChangeLog?r1=1.29&r2=1.30
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v
20 retrieving revision 1.29
21 retrieving revision 1.30
22 diff -u -r1.29 -r1.30
23 --- ChangeLog 12 Apr 2012 13:57:49 -0000 1.29
24 +++ ChangeLog 2 Aug 2012 19:33:27 -0000 1.30
25 @@ -1,6 +1,11 @@
26 # ChangeLog for net-p2p/fms
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v 1.29 2012/04/12 13:57:49 tommy Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v 1.30 2012/08/02 19:33:27 tommy Exp $
30 +
31 +*fms-0.3.69 (02 Aug 2012)
32 +
33 + 02 Aug 2012; Thomas Sachau (Tommy[D]) <tommy@g.o> +fms-0.3.69.ebuild:
34 + Version bump
35
36 *fms-0.3.67 (12 Apr 2012)
37
38
39
40
41 1.1 net-p2p/fms/fms-0.3.69.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/fms-0.3.69.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/fms-0.3.69.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fms-0.3.69.ebuild
47 ===================================================================
48 # Copyright 1999-2012 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/fms-0.3.69.ebuild,v 1.1 2012/08/02 19:33:27 tommy Exp $
51
52 EAPI="2"
53
54 inherit eutils cmake-utils user
55
56 DESCRIPTION="A spam-resistant message board application for Freenet"
57 HOMEPAGE="http://freenetproject.org/tools.html"
58 SRC_URI="mirror://gentoo/${PN}-src-${PV}.zip"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="frost"
64
65 RDEPEND="virtual/libiconv
66 frost? ( net-libs/polarssl )
67 >=dev-libs/poco-1.4.3_p1
68 >=dev-db/sqlite-3.6.15"
69 DEPEND="${RDEPEND}
70 app-arch/unzip"
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-libs2.patch
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 cmake-utils_src_configure
90 }
91
92 src_install() {
93 insinto /var/freenet/fms
94 dobin "${CMAKE_BUILD_DIR}"/fms || die
95 doins *.htm || die "doinstall failed"
96 doins -r fonts images styles translations || die
97 fperms -R o-rwx /var/freenet/fms/ /usr/bin/fms
98 fowners -R freenet:freenet /var/freenet/fms/ /usr/bin/fms
99 doinitd "${FILESDIR}/fms" || die "installing init.d file failed"
100 dodoc readme.txt || die "installing doc failed"
101 }
102
103 pkg_postinst() {
104 if ! has_version 'net-p2p/freenet' ; then
105 ewarn "FMS needs a freenet node to up-/download #ssages."
106 ewarn "Please make sure to have a node you can connect to"
107 ewarn "or install net-p2p/freenet to get FMS working."
108 fi
109 elog "By default, the FMS NNTP server will listen on port 1119,"
110 elog "and the web configuration interface will be running at"
111 elog "http://localhost:8080. For more information, read"
112 elog "${ROOT}usr/share/doc/${PF}/readme.txt.bz2"
113 if use frost; then
114 elog " "
115 elog "You need to enable frost on the config page"
116 elog "and restart fms for frost support."
117 fi
118 }