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.73.ebuild ChangeLog fms-0.3.70.ebuild
Date: Sun, 01 Jun 2014 12:26:33
Message-Id: 20140601122629.29B4A2004E@flycatcher.gentoo.org
1 tommy 14/06/01 12:26:29
2
3 Modified: ChangeLog
4 Added: fms-0.3.73.ebuild
5 Removed: fms-0.3.70.ebuild
6 Log:
7 Version bump, drop old
8
9 (Portage version: 2.2.6-r1/cvs/Linux x86_64, signed Manifest commit with key 0x35899067)
10
11 Revision Changes Path
12 1.35 net-p2p/fms/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/ChangeLog?rev=1.35&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/ChangeLog?rev=1.35&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/ChangeLog?r1=1.34&r2=1.35
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v
21 retrieving revision 1.34
22 retrieving revision 1.35
23 diff -u -r1.34 -r1.35
24 --- ChangeLog 8 Jan 2014 06:30:00 -0000 1.34
25 +++ ChangeLog 1 Jun 2014 12:26:29 -0000 1.35
26 @@ -1,6 +1,12 @@
27 # ChangeLog for net-p2p/fms
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v 1.34 2014/01/08 06:30:00 vapier Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v 1.35 2014/06/01 12:26:29 tommy Exp $
31 +
32 +*fms-0.3.73 (01 Jun 2014)
33 +
34 + 01 Jun 2014; Thomas Sachau (Tommy[D]) <tommy@g.o> +fms-0.3.73.ebuild,
35 + -fms-0.3.70.ebuild:
36 + Version bump, drop old
37
38 08 Jan 2014; Mike Frysinger <vapier@g.o> fms-0.3.71.ebuild:
39 Inherit the user eclass for enewuser/etc...
40
41
42
43 1.1 net-p2p/fms/fms-0.3.73.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/fms-0.3.73.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/fms-0.3.73.ebuild?rev=1.1&content-type=text/plain
47
48 Index: fms-0.3.73.ebuild
49 ===================================================================
50 # Copyright 1999-2014 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.73.ebuild,v 1.1 2014/06/01 12:26:28 tommy Exp $
53
54 EAPI="5"
55
56 inherit eutils cmake-utils user
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 RDEPEND="virtual/libiconv
68 frost? ( net-libs/polarssl )
69 >=dev-libs/poco-1.4.3_p1
70 >=dev-db/sqlite-3.6.15"
71 DEPEND="${RDEPEND}
72 app-arch/unzip"
73
74 S=${WORKDIR}
75
76 pkg_setup() {
77 enewgroup freenet
78 enewuser freenet -1 -1 /var/freenet freenet
79 }
80
81 src_prepare() {
82 edos2unix src/http/pages/showfilepage.cpp
83 epatch "${FILESDIR}"/${PN}-use-system-libs2.patch
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 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 }