1 |
tommy 11/06/30 20:32:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: fms-0.3.61.ebuild |
5 |
Log: |
6 |
Version bump |
7 |
|
8 |
(Portage version: 2.2.0_alpha41-r1/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.24 net-p2p/fms/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/ChangeLog?rev=1.24&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/ChangeLog?rev=1.24&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/ChangeLog?r1=1.23&r2=1.24 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v |
20 |
retrieving revision 1.23 |
21 |
retrieving revision 1.24 |
22 |
diff -u -r1.23 -r1.24 |
23 |
--- ChangeLog 14 Jun 2011 17:36:54 -0000 1.23 |
24 |
+++ ChangeLog 30 Jun 2011 20:32:11 -0000 1.24 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for net-p2p/fms |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v 1.23 2011/06/14 17:36:54 tommy Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/fms/ChangeLog,v 1.24 2011/06/30 20:32:11 tommy Exp $ |
30 |
+ |
31 |
+*fms-0.3.61 (30 Jun 2011) |
32 |
+ |
33 |
+ 30 Jun 2011; Thomas Sachau (Tommy[D]) <tommy@g.o> +fms-0.3.61.ebuild: |
34 |
+ Version bump |
35 |
|
36 |
14 Jun 2011; Thomas Sachau (Tommy[D]) <tommy@g.o> -fms-0.3.57.ebuild, |
37 |
fms-0.3.58.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 net-p2p/fms/fms-0.3.61.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/fms-0.3.61.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/fms/fms-0.3.61.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: fms-0.3.61.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2011 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.61.ebuild,v 1.1 2011/06/30 20:32:11 tommy Exp $ |
51 |
|
52 |
EAPI="2" |
53 |
|
54 |
inherit eutils cmake-utils |
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? ( >=dev-libs/libtomcrypt-1.17-r3[libtommath] ) |
67 |
>=dev-libs/poco-1.2.9 |
68 |
|| ( >=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* )" |
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-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 |
} |