* [gentoo-commits] dev/blueness:master commit in: net-p2p/gnunet/, net-p2p/gnunet/files/
@ 2012-03-04 11:51 Anthony G. Basile
0 siblings, 0 replies; 3+ messages in thread
From: Anthony G. Basile @ 2012-03-04 11:51 UTC (permalink / raw
To: gentoo-commits
commit: fe5fd83596357ada4499493537ebcdfbb4ac1985
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 4 11:51:19 2012 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sun Mar 4 11:51:19 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=fe5fd835
net-p2p/gnunet: trying to save gnunet
---
net-p2p/gnunet/Manifest | 4 ++
net-p2p/gnunet/files/gnunet.initd | 32 ++++++++++++
net-p2p/gnunet/gnunet-0.9.2.ebuild | 96 ++++++++++++++++++++++++++++++++++++
net-p2p/gnunet/metadata.xml | 10 ++++
4 files changed, 142 insertions(+), 0 deletions(-)
diff --git a/net-p2p/gnunet/Manifest b/net-p2p/gnunet/Manifest
new file mode 100644
index 0000000..c193704
--- /dev/null
+++ b/net-p2p/gnunet/Manifest
@@ -0,0 +1,4 @@
+AUX gnunet.initd 643 RMD160 434eb6752143fbb600f96a58ed7c5ba1a47e654d SHA1 de7f208ce286a05310551a35345b2f02f5712831 SHA256 c6748f137d7c808685a741617e1449024bcb37dcfc11e883d859f5e0134744a6
+DIST gnunet-0.9.2.tar.gz 6239795 RMD160 6b1da8dcfc9edf51954b2d7b627e712a10ecde7a SHA1 f6a85e2af64e743a33a743be4445e67025db4d72 SHA256 24f5f1cb93782c22bd61ffdc9d99b7cfb2532dc4b6fb7d3468931e5a10eb47e9
+EBUILD gnunet-0.9.2.ebuild 2505 RMD160 47943072d7ebcdd7c822638ddfe0aa0b2586d2da SHA1 5b7a8d2ce97c3343bc83497503d5a2675fc77731 SHA256 fa1fd72bd82d47adac7a960aacb71f89ba4e904e1b9b35c8abdd76afc5292a0e
+MISC metadata.xml 451 RMD160 d905b5dd5d7bead232a718516ad06811832e670d SHA1 5a6954f3e22d46f6b0d3c504473d8350a2a27c36 SHA256 09eb158e2fd2a05896fc8da3765428557812ba7afb4abf046e0284505ae1fb56
diff --git a/net-p2p/gnunet/files/gnunet.initd b/net-p2p/gnunet/files/gnunet.initd
new file mode 100644
index 0000000..ffd0107
--- /dev/null
+++ b/net-p2p/gnunet/files/gnunet.initd
@@ -0,0 +1,32 @@
+#!/sbin/runscript
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need net
+}
+
+start() {
+ if ! test -f "/etc/gnunetd.conf"; then
+ eerror "You must create /etc/gnunetd.conf file first"
+ return 1
+ fi
+
+ ebegin "Starting GNUnet"
+ # -u username, -c path to gnunet.conf file
+ start-stop-daemon --start --quiet --background --exec /usr/bin/gnunetd \
+ -- -u gnunetd -c /etc/gnunetd.conf
+ eend $? "Failed to start GNUnet"
+}
+
+stop() {
+ ebegin "Stopping GNUnet"
+ killall gnunetd
+ eend $? "Failed to stop GNUnet"
+}
+
+restart() {
+ svc_stop
+ sleep 3
+ svc_start
+}
diff --git a/net-p2p/gnunet/gnunet-0.9.2.ebuild b/net-p2p/gnunet/gnunet-0.9.2.ebuild
new file mode 100644
index 0000000..60d1921
--- /dev/null
+++ b/net-p2p/gnunet/gnunet-0.9.2.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1-r2.ebuild,v 1.3 2011/03/28 14:24:51 nirbheek Exp $
+
+EAPI="4"
+
+DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network."
+HOMEPAGE="http://gnunet.org/"
+SRC_URI="ftp://ftp.gnu.org/gnu/gnunet/${P}.tar.gz"
+#RESTRICT="test"
+
+REQUIRED_USE="|| ( sqlite mysql postgres )"
+IUSE="microhttpd +sqlite mysql postgres nls setup"
+KEYWORDS="~amd64 ~x86"
+LICENSE="GPL-2"
+SLOT="0"
+
+RDEPEND="
+ >=media-libs/libextractor-0.6.1
+ >=dev-libs/libgcrypt-1.2
+ >=net-misc/curl-7.21.0
+ >=dev-libs/libunistring-0.9.2
+ >=sys-devel/libtool-2.2
+"
+
+# microhttpd? ( >=net-libs/libmicrohttpd-0.9.18 )
+# sqlite? ( >=dev-db/sqlite-3.0 )
+# mysql? ( >=virtual/mysql-5.1 )
+# postgres? ( >= dev-db/postgresql-server-8.3 )
+# nls? ( sys-devel/gettext )"
+# setup? ( net-p2p/gnunet-gtk-0.9.2 )
+# >=dev-libs/gmp-4.0.0
+# sys-libs/zlib
+
+DEPEND="${RDEPEND}
+ sys-apps/sed
+ dev-util/pkgconfig"
+
+pkg_preinst() {
+ enewgroup gnunetd
+ enewuser gnunetd -1 -1 /dev/null gnunetd
+}
+
+#src_prepare() {
+# if ! use sqlite; then
+# # make mysql default sqstore if we do not compile sqlite support
+# # (bug #107330)
+# if use mysql; then \
+# sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \
+# contrib/config-daemon.in
+# else
+# ewarn
+# ewarn "You didn't specify preferred database (mysql or sqlite)"
+# ewarn "Choosing sqlite for you."
+# ewarn
+# fi
+# fi
+#
+# # we do not want to built gtk support with USE=-gtk
+# if ! use gtk ; then
+# sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac
+# fi
+#}
+
+src_configure() {
+ econf \
+ $(use_with microhttpd) \
+ $(use_with sqlite) \
+ $(use_with mysql) \
+ $(use_with postgres) \
+ $(use_enable postgres)
+}
+
+#src_install() {
+# emake DESTDIR="${D}" install || die "make install failed"
+# dodoc AUTHORS ChangeLog INSTALL NEWS PLATFORMS README UPDATING || die
+# insinto /etc
+# newins contrib/gnunet.conf gnunet.conf
+# docinto contrib
+# dodoc contrib/* || die
+# newinitd "${FILESDIR}"/${PN}.initd gnunet
+# dodir /var/lib/gnunet
+# chown gnunetd:gnunetd "${D}"/var/lib/gnunet
+#}
+
+pkg_postinst() {
+ # make sure permissions are ok
+ chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet
+
+ einfo
+ einfo "To configure"
+ einfo " 1) Add user(s) to the gnunetd group"
+ einfo " 2) Run 'gnunet-setup' to generate your client config file"
+ einfo " 3) Run gnunet-setup -d as root to generate a server config file"
+ einfo
+}
diff --git a/net-p2p/gnunet/metadata.xml b/net-p2p/gnunet/metadata.xml
new file mode 100644
index 0000000..237d111
--- /dev/null
+++ b/net-p2p/gnunet/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>net-p2p</herd>
+ <longdescription>GNUnet is a framework for secure peer-to-peer networking that does not use any centralized or otherwise trusted services</longdescription>
+ <use>
+ <flag name="microhttpd">enable embedded http server support</flag>
+ <flag name="setup">enable setup wizard</flag>
+ </use>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] dev/blueness:master commit in: net-p2p/gnunet/, net-p2p/gnunet/files/
@ 2012-03-07 2:12 Anthony G. Basile
0 siblings, 0 replies; 3+ messages in thread
From: Anthony G. Basile @ 2012-03-07 2:12 UTC (permalink / raw
To: gentoo-commits
commit: f3e47de08ee486dfedbc097f58c64ea602251787
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 7 02:12:35 2012 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Mar 7 02:12:35 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=f3e47de0
net-p2p/gnunet: testing Vitaly Minko's ebuild, bug #338909
---
net-p2p/gnunet/files/gnunet-0.9.2.conf | 10 ++
net-p2p/gnunet/files/gnunet-0.9.2.confd | 10 ++
net-p2p/gnunet/files/gnunet-0.9.2.initd | 39 ++++++++
net-p2p/gnunet/files/gnunet.initd | 32 -------
net-p2p/gnunet/gnunet-0.9.2.ebuild | 152 ++++++++++++++++---------------
5 files changed, 137 insertions(+), 106 deletions(-)
diff --git a/net-p2p/gnunet/files/gnunet-0.9.2.conf b/net-p2p/gnunet/files/gnunet-0.9.2.conf
new file mode 100644
index 0000000..76e0671
--- /dev/null
+++ b/net-p2p/gnunet/files/gnunet-0.9.2.conf
@@ -0,0 +1,10 @@
+[PATHS]
+SERVICEHOME = /var/lib/gnunet/
+DEFAULTCONFIG = /etc/gnunet.conf
+
+[arm]
+GLOBAL_POSTFIX = -l /var/log/gnunet/{}.log
+
+[transport]
+UNIX_MATCH_UID = NO
+
diff --git a/net-p2p/gnunet/files/gnunet-0.9.2.confd b/net-p2p/gnunet/files/gnunet-0.9.2.confd
new file mode 100644
index 0000000..8be9c9c
--- /dev/null
+++ b/net-p2p/gnunet/files/gnunet-0.9.2.confd
@@ -0,0 +1,10 @@
+# /etc/conf.d/gnunet: config file for /etc/init.d/gnunet
+
+# GNUnet user
+GNUNET_USER="gnunet"
+
+# GNUnet group
+GNUNET_GROUP="gnunet"
+
+# GNUnet config file
+GNUNET_CONF="/etc/gnunet.conf"
diff --git a/net-p2p/gnunet/files/gnunet-0.9.2.initd b/net-p2p/gnunet/files/gnunet-0.9.2.initd
new file mode 100644
index 0000000..a3586b2
--- /dev/null
+++ b/net-p2p/gnunet/files/gnunet-0.9.2.initd
@@ -0,0 +1,39 @@
+#!/sbin/runscript
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ need net
+}
+
+start() {
+ if [ ! -f "${GNUNET_CONF}" ]; then
+ eerror "You must create the config file first."
+ return 1
+ fi
+
+ ebegin "Starting GNUnet"
+ start-stop-daemon --exec /usr/bin/gnunet-arm \
+ --user=${GNUNET_USER} \
+ --group=${GNUNET_GROUP} \
+ -- -q -c ${GNUNET_CONF} -s
+ eend $? "Failed to start GNUnet"
+}
+
+stop() {
+ ebegin "Stopping GNUnet"
+ start-stop-daemon --exec /usr/bin/gnunet-arm \
+ --user=${GNUNET_USER} \
+ --group=${GNUNET_GROUP} \
+ -- -q -c ${GNUNET_CONF} -e
+ eend $? "Failed to stop GNUnet"
+}
+
+restart() {
+ ebegin "Restarting GNUnet"
+ start-stop-daemon --exec /usr/bin/gnunet-arm \
+ --user=${GNUNET_USER} \
+ --group=${GNUNET_GROUP} \
+ -- -q -c ${GNUNET_CONF} -r
+ eend $? "Failed to restart GNUnet"
+}
diff --git a/net-p2p/gnunet/files/gnunet.initd b/net-p2p/gnunet/files/gnunet.initd
deleted file mode 100644
index ffd0107..0000000
--- a/net-p2p/gnunet/files/gnunet.initd
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-start() {
- if ! test -f "/etc/gnunetd.conf"; then
- eerror "You must create /etc/gnunetd.conf file first"
- return 1
- fi
-
- ebegin "Starting GNUnet"
- # -u username, -c path to gnunet.conf file
- start-stop-daemon --start --quiet --background --exec /usr/bin/gnunetd \
- -- -u gnunetd -c /etc/gnunetd.conf
- eend $? "Failed to start GNUnet"
-}
-
-stop() {
- ebegin "Stopping GNUnet"
- killall gnunetd
- eend $? "Failed to stop GNUnet"
-}
-
-restart() {
- svc_stop
- sleep 3
- svc_start
-}
diff --git a/net-p2p/gnunet/gnunet-0.9.2.ebuild b/net-p2p/gnunet/gnunet-0.9.2.ebuild
index 60d1921..68bcde5 100644
--- a/net-p2p/gnunet/gnunet-0.9.2.ebuild
+++ b/net-p2p/gnunet/gnunet-0.9.2.ebuild
@@ -1,96 +1,100 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1-r2.ebuild,v 1.3 2011/03/28 14:24:51 nirbheek Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1.ebuild,v 1.2 2010/06/20 13:56:46 xarthisius Exp $
-EAPI="4"
+EAPI=2
-DESCRIPTION="GNUnet is an anonymous, distributed, reputation based network."
+inherit autotools eutils flag-o-matic
+
+MY_PV=${PV/_/}
+MY_P="${PN}-${MY_PV}"
+S="${WORKDIR}/${MY_P}"
+DESCRIPTION="GNUnet is a framework for secure peer-to-peer networking."
HOMEPAGE="http://gnunet.org/"
-SRC_URI="ftp://ftp.gnu.org/gnu/gnunet/${P}.tar.gz"
-#RESTRICT="test"
+SRC_URI="ftp://ftp.gnu.org/gnu/gnunet/${MY_P}.tar.gz"
+RESTRICT="test"
-REQUIRED_USE="|| ( sqlite mysql postgres )"
-IUSE="microhttpd +sqlite mysql postgres nls setup"
-KEYWORDS="~amd64 ~x86"
-LICENSE="GPL-2"
+IUSE="mysql nls +sqlite http esmtp X experimental"
+KEYWORDS="~amd64 ~x86 ~arm"
+LICENSE="GPL-3"
SLOT="0"
-RDEPEND="
- >=media-libs/libextractor-0.6.1
- >=dev-libs/libgcrypt-1.2
+DEPEND=">=dev-libs/libgcrypt-1.4.5
+ >=media-libs/libextractor-0.6.0
+ >=dev-libs/libunistring-0.9.1.1
+ >=dev-libs/gmp-4.3.0
+ sys-libs/zlib
>=net-misc/curl-7.21.0
- >=dev-libs/libunistring-0.9.2
- >=sys-devel/libtool-2.2
-"
-
-# microhttpd? ( >=net-libs/libmicrohttpd-0.9.18 )
-# sqlite? ( >=dev-db/sqlite-3.0 )
-# mysql? ( >=virtual/mysql-5.1 )
-# postgres? ( >= dev-db/postgresql-server-8.3 )
-# nls? ( sys-devel/gettext )"
-# setup? ( net-p2p/gnunet-gtk-0.9.2 )
-# >=dev-libs/gmp-4.0.0
-# sys-libs/zlib
+ sys-apps/sed
+ sys-libs/ncurses
+ http? ( >=net-libs/libmicrohttpd-0.9.18 )
+ esmtp? ( net-libs/libesmtp )
+ mysql? ( >=virtual/mysql-5.0 )
+ sqlite? ( >=dev-db/sqlite-3.6.0 )
+ nls? ( sys-devel/gettext )
+ X? (
+ x11-libs/libXt
+ x11-libs/libXext
+ x11-libs/libX11
+ x11-libs/libXrandr
+ )
+ "
-DEPEND="${RDEPEND}
- sys-apps/sed
- dev-util/pkgconfig"
-
-pkg_preinst() {
- enewgroup gnunetd
- enewuser gnunetd -1 -1 /dev/null gnunetd
+pkg_setup() {
+ enewgroup gnunetdns
+ enewgroup gnunet
+ enewuser gnunet -1 -1 /dev/null gnunet
+ if ! use mysql && ! use sqlite; then
+ einfo
+ einfo "You need to specify at least one of 'mysql' or 'sqlite'"
+ einfo "USE flag in order to have properly installed gnunet"
+ einfo
+ die "Invalid USE flag set"
+ fi
}
-#src_prepare() {
-# if ! use sqlite; then
-# # make mysql default sqstore if we do not compile sqlite support
-# # (bug #107330)
-# if use mysql; then \
-# sed -i 's:default "sqstore_sqlite":default "sqstore_mysql":' \
-# contrib/config-daemon.in
-# else
-# ewarn
-# ewarn "You didn't specify preferred database (mysql or sqlite)"
-# ewarn "Choosing sqlite for you."
-# ewarn
-# fi
-# fi
-#
-# # we do not want to built gtk support with USE=-gtk
-# if ! use gtk ; then
-# sed -i "s:AC_DEFINE_UNQUOTED..HAVE_GTK.*:true:" configure.ac
-# fi
-#}
+src_unpack() {
+ unpack ${A}
+ sed -i -e 's|$(bindir)/gnunet|$(DESTDIR)$(bindir)/gnunet|g' \
+ "${S}"/src/nat/Makefile.in || die "sed failed"
+ sed -i -e 's|$(bindir)/gnunet|$(DESTDIR)$(bindir)/gnunet|g' \
+ "${S}"/src/transport/Makefile.in || die "sed failed"
+ sed -i -e 's|$(bindir)/gnunet|$(DESTDIR)$(bindir)/gnunet|g' \
+ "${S}"/src/vpn/Makefile.in || die "sed failed"
+ sed -i -e 's|$(bindir)/gnunet|$(DESTDIR)$(bindir)/gnunet|g' \
+ "${S}"/src/dns/Makefile.in || die "sed failed"
+ sed -i -e 's|$(bindir)/gnunet|$(DESTDIR)$(bindir)/gnunet|g' \
+ "${S}"/src/exit/Makefile.in || die "sed failed"
+}
src_configure() {
+ append-ldflags $(no-as-needed)
econf \
- $(use_with microhttpd) \
- $(use_with sqlite) \
- $(use_with mysql) \
- $(use_with postgres) \
- $(use_enable postgres)
+ $(use_with X x) \
+ $(use_enable nls) \
+ $(use_enable experimental) \
+ || die "econf failed"
}
-#src_install() {
-# emake DESTDIR="${D}" install || die "make install failed"
-# dodoc AUTHORS ChangeLog INSTALL NEWS PLATFORMS README UPDATING || die
-# insinto /etc
-# newins contrib/gnunet.conf gnunet.conf
-# docinto contrib
-# dodoc contrib/* || die
-# newinitd "${FILESDIR}"/${PN}.initd gnunet
-# dodir /var/lib/gnunet
-# chown gnunetd:gnunetd "${D}"/var/lib/gnunet
-#}
+src_compile() {
+ emake -j1 || die "make failed"
+}
-pkg_postinst() {
- # make sure permissions are ok
- chown -R gnunetd:gnunetd "${ROOT}"/var/lib/gnunet
+src_install() {
+ emake -j1 DESTDIR="${D}" install || die "make install failed"
+ dodoc ABOUT-NLS AUTHORS INSTALL NEWS README || die
+ insinto /etc
+ newins "${FILESDIR}"/${P}.conf gnunet.conf || die "newins failed"
+ newconfd "${FILESDIR}"/${P}.confd gnunet || die "newconfd failed"
+ newinitd "${FILESDIR}"/${P}.initd gnunet || die "newinitd failed"
+ keepdir /var/{lib,log}/gnunet
+ fowners gnunet:gnunet /var/lib/gnunet /var/log/gnunet
+}
+pkg_postinst() {
einfo
einfo "To configure"
- einfo " 1) Add user(s) to the gnunetd group"
- einfo " 2) Run 'gnunet-setup' to generate your client config file"
- einfo " 3) Run gnunet-setup -d as root to generate a server config file"
+ einfo " 1) Add user(s) to the gnunet group"
+ einfo " 2) Edit the server config file '/etc/gnunet.conf'"
einfo
}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] dev/blueness:master commit in: net-p2p/gnunet/, net-p2p/gnunet/files/
@ 2012-04-04 15:14 Anthony G. Basile
0 siblings, 0 replies; 3+ messages in thread
From: Anthony G. Basile @ 2012-04-04 15:14 UTC (permalink / raw
To: gentoo-commits
commit: 6ce9c3528044a10f8e5930d229657e8f5510932a
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 4 15:14:46 2012 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Wed Apr 4 15:14:46 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=6ce9c352
net-p2p/gnunet: officially giving up
---
net-p2p/gnunet/Manifest | 6 --
net-p2p/gnunet/files/gnunet-0.9.2.conf | 10 ---
net-p2p/gnunet/files/gnunet-0.9.2.confd | 10 ---
net-p2p/gnunet/files/gnunet-0.9.2.initd | 39 ------------
net-p2p/gnunet/gnunet-0.9.2.ebuild | 100 -------------------------------
net-p2p/gnunet/metadata.xml | 10 ---
6 files changed, 0 insertions(+), 175 deletions(-)
diff --git a/net-p2p/gnunet/Manifest b/net-p2p/gnunet/Manifest
deleted file mode 100644
index e8a2009..0000000
--- a/net-p2p/gnunet/Manifest
+++ /dev/null
@@ -1,6 +0,0 @@
-AUX gnunet-0.9.2.conf 156 RMD160 379a5c770b972132f66f9fabef75a2dee096599d SHA1 82ec8c694453dd6efca7a5e792b44b9d10d0d35c SHA256 ecede19aea0c4966939048db91dd639d8e01c0235e30520cb77cff18c4d5b1b4
-AUX gnunet-0.9.2.confd 184 RMD160 36cb26316819df6916f9a28107b145c2c1907638 SHA1 02c8c7484b22002b217ed1d769534fc2c6716e6b SHA256 9ac49d2a3d7ccd00f63afcd096a9facf7283d105524f6b1f359656b769db68e3
-AUX gnunet-0.9.2.initd 936 RMD160 36e9c6dd2b8589907d9f8cc0c4ec6663753d2e24 SHA1 06c0e8e4492f9d5df2e061499f33856f2eac72a5 SHA256 74c075059cf4b6fdd3bb88cb420c3ee5a88d4c76151fa0240ec064e89d0b88a4
-DIST gnunet-0.9.2.tar.gz 6239795 RMD160 6b1da8dcfc9edf51954b2d7b627e712a10ecde7a SHA1 f6a85e2af64e743a33a743be4445e67025db4d72 SHA256 24f5f1cb93782c22bd61ffdc9d99b7cfb2532dc4b6fb7d3468931e5a10eb47e9
-EBUILD gnunet-0.9.2.ebuild 2660 RMD160 e507370b6b90d3154645786d2da1902d419cf570 SHA1 d3ce7d85acc3842229e2e1baa1114ce009f48d0b SHA256 28fb23d041a47e90bf2af866a3991d6994a780ce733a1f7027361e6c0af15dfb
-MISC metadata.xml 460 RMD160 770e406b72735a3e388ba955fde7ee0b47559891 SHA1 285f663af54925a079f73c65a986efd698baf17c SHA256 add1f665332e553c7844d92d697c5958bfb134fcc6d69e1f151857af1ab34f6e
diff --git a/net-p2p/gnunet/files/gnunet-0.9.2.conf b/net-p2p/gnunet/files/gnunet-0.9.2.conf
deleted file mode 100644
index 76e0671..0000000
--- a/net-p2p/gnunet/files/gnunet-0.9.2.conf
+++ /dev/null
@@ -1,10 +0,0 @@
-[PATHS]
-SERVICEHOME = /var/lib/gnunet/
-DEFAULTCONFIG = /etc/gnunet.conf
-
-[arm]
-GLOBAL_POSTFIX = -l /var/log/gnunet/{}.log
-
-[transport]
-UNIX_MATCH_UID = NO
-
diff --git a/net-p2p/gnunet/files/gnunet-0.9.2.confd b/net-p2p/gnunet/files/gnunet-0.9.2.confd
deleted file mode 100644
index 8be9c9c..0000000
--- a/net-p2p/gnunet/files/gnunet-0.9.2.confd
+++ /dev/null
@@ -1,10 +0,0 @@
-# /etc/conf.d/gnunet: config file for /etc/init.d/gnunet
-
-# GNUnet user
-GNUNET_USER="gnunet"
-
-# GNUnet group
-GNUNET_GROUP="gnunet"
-
-# GNUnet config file
-GNUNET_CONF="/etc/gnunet.conf"
diff --git a/net-p2p/gnunet/files/gnunet-0.9.2.initd b/net-p2p/gnunet/files/gnunet-0.9.2.initd
deleted file mode 100644
index a3586b2..0000000
--- a/net-p2p/gnunet/files/gnunet-0.9.2.initd
+++ /dev/null
@@ -1,39 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-start() {
- if [ ! -f "${GNUNET_CONF}" ]; then
- eerror "You must create the config file first."
- return 1
- fi
-
- ebegin "Starting GNUnet"
- start-stop-daemon --exec /usr/bin/gnunet-arm \
- --user=${GNUNET_USER} \
- --group=${GNUNET_GROUP} \
- -- -q -c ${GNUNET_CONF} -s
- eend $? "Failed to start GNUnet"
-}
-
-stop() {
- ebegin "Stopping GNUnet"
- start-stop-daemon --exec /usr/bin/gnunet-arm \
- --user=${GNUNET_USER} \
- --group=${GNUNET_GROUP} \
- -- -q -c ${GNUNET_CONF} -e
- eend $? "Failed to stop GNUnet"
-}
-
-restart() {
- ebegin "Restarting GNUnet"
- start-stop-daemon --exec /usr/bin/gnunet-arm \
- --user=${GNUNET_USER} \
- --group=${GNUNET_GROUP} \
- -- -q -c ${GNUNET_CONF} -r
- eend $? "Failed to restart GNUnet"
-}
diff --git a/net-p2p/gnunet/gnunet-0.9.2.ebuild b/net-p2p/gnunet/gnunet-0.9.2.ebuild
deleted file mode 100644
index 7b33ca6..0000000
--- a/net-p2p/gnunet/gnunet-0.9.2.ebuild
+++ /dev/null
@@ -1,100 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/gnunet/gnunet-0.8.1.ebuild,v 1.2 2010/06/20 13:56:46 xarthisius Exp $
-
-EAPI="4"
-
-inherit eutils flag-o-matic
-
-MY_PV=${PV/_/}
-MY_P="${PN}-${MY_PV}"
-S="${WORKDIR}/${MY_P}"
-DESCRIPTION="GNUnet is a framework for secure peer-to-peer networking."
-HOMEPAGE="http://gnunet.org/"
-SRC_URI="ftp://ftp.gnu.org/gnu/gnunet/${MY_P}.tar.gz"
-RESTRICT="test"
-
-IUSE="experimental http mysql nls postgres +sqlite X"
-REQUIRED_USE="
- !mysql? ( !postgres? ( sqlite ) )
- !mysql? ( !sqlite? ( postgres ) )
- !postgres? ( !mysql? ( sqlite ) )
- !postgres? ( !sqlite? ( mysql ) )
- !sqlite? ( !postgres? ( mysql ) )
- !sqlite? ( !mysql? ( postgres ) )
-"
-KEYWORDS="~amd64 ~x86 ~arm"
-LICENSE="GPL-3"
-SLOT="0"
-
-DEPEND="
- >=net-misc/curl-7.21.0
- >=media-libs/libextractor-0.6.1
- >=dev-libs/libgcrypt-1.2
- >=dev-libs/libunistring-0.9.2
- sys-libs/ncurses
- sys-apps/sed
- sys-libs/zlib
- http? ( >=net-libs/libmicrohttpd-0.9.18 )
- mysql? ( >=virtual/mysql-5.1 )
- nls? ( sys-devel/gettext )
- postgres? ( >=dev-db/postgresql-server-8.3 )
- sqlite? ( >=dev-db/sqlite-3.0 )
- X? (
- x11-libs/libXt
- x11-libs/libXext
- x11-libs/libX11
- x11-libs/libXrandr
- )
-"
-
-pkg_setup() {
- enewgroup gnunetdns
- enewgroup gnunet
- enewuser gnunet -1 -1 /dev/null gnunet
-}
-
-src_prepare() {
- sed -i -e 's|$(bindir)/gnunet|$(DESTDIR)$(bindir)/gnunet|g' \
- "${S}"/src/nat/Makefile.in || die "sed failed"
- sed -i -e 's|$(bindir)/gnunet|$(DESTDIR)$(bindir)/gnunet|g' \
- "${S}"/src/transport/Makefile.in || die "sed failed"
- sed -i -e 's|$(bindir)/gnunet|$(DESTDIR)$(bindir)/gnunet|g' \
- "${S}"/src/vpn/Makefile.in || die "sed failed"
- sed -i -e 's|$(bindir)/gnunet|$(DESTDIR)$(bindir)/gnunet|g' \
- "${S}"/src/dns/Makefile.in || die "sed failed"
- sed -i -e 's|$(bindir)/gnunet|$(DESTDIR)$(bindir)/gnunet|g' \
- "${S}"/src/exit/Makefile.in || die "sed failed"
-}
-
-src_configure() {
- #append-ldflags $(no-as-needed)
-
- econf \
- $(use_enable experimental) \
- $(use_with http microhttpd) \
- $(use_with mysql) \
- $(use_enable nls) \
- $(use_with postgres) \
- $(use_with sqlite) \
- $(use_with X x)
-}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc AUTHORS INSTALL NEWS README
- insinto /etc
- newins "${FILESDIR}"/${P}.conf gnunet.conf
- newconfd "${FILESDIR}"/${P}.confd gnunet
- newinitd "${FILESDIR}"/${P}.initd gnunet
- keepdir /var/{lib,log}/gnunet
- fowners gnunet:gnunet /var/lib/gnunet /var/log/gnunet
-}
-
-pkg_postinst() {
- einfo
- einfo "To configure"
- einfo " 1) Add user(s) to the gnunet group"
- einfo " 2) Edit the server config file '/etc/gnunet.conf'"
- einfo
-}
diff --git a/net-p2p/gnunet/metadata.xml b/net-p2p/gnunet/metadata.xml
deleted file mode 100644
index 1ae8337..0000000
--- a/net-p2p/gnunet/metadata.xml
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>net-p2p</herd>
- <longdescription>GNUnet is a framework for secure peer-to-peer networking that does not use any centralized or otherwise trusted services</longdescription>
- <use>
- <flag name="http">enable embedded http server support</flag>
- <flag name="experimental">enable experimental options</flag>
- </use>
-</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-04-04 15:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-04 11:51 [gentoo-commits] dev/blueness:master commit in: net-p2p/gnunet/, net-p2p/gnunet/files/ Anthony G. Basile
-- strict thread matches above, loose matches on Subject: below --
2012-03-07 2:12 Anthony G. Basile
2012-04-04 15:14 Anthony G. Basile
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox