summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-06-12 15:44:36 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-06-12 15:44:36 +0000
commit8ba6eedaa31f908c495cfb28f6ab2f9d3b9ff76d (patch)
tree0fd9a51e073b4c64c89f8f88eb7abcbf46b14496
parentVersion bump, remove old (diff)
downloadhistorical-8ba6eedaa31f908c495cfb28f6ab2f9d3b9ff76d.tar.gz
historical-8ba6eedaa31f908c495cfb28f6ab2f9d3b9ff76d.tar.bz2
historical-8ba6eedaa31f908c495cfb28f6ab2f9d3b9ff76d.zip
Add 0.6 livesvn ebuild, bug #220355, thanks to Benedikt Morbach and Andrew Resch
Package-Manager: portage-2.1.5.4
-rw-r--r--net-p2p/deluge/ChangeLog11
-rw-r--r--net-p2p/deluge/Manifest7
-rw-r--r--net-p2p/deluge/deluge-0.5.9999.ebuild (renamed from net-p2p/deluge/deluge-9999.ebuild)2
-rw-r--r--net-p2p/deluge/deluge-0.6_pre9999.ebuild62
-rw-r--r--net-p2p/deluge/files/deluged.conf4
-rw-r--r--net-p2p/deluge/files/deluged.init48
6 files changed, 130 insertions, 4 deletions
diff --git a/net-p2p/deluge/ChangeLog b/net-p2p/deluge/ChangeLog
index 6de681f20550..475fffcffd17 100644
--- a/net-p2p/deluge/ChangeLog
+++ b/net-p2p/deluge/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for net-p2p/deluge
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/ChangeLog,v 1.71 2008/05/21 10:51:29 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/ChangeLog,v 1.72 2008/06/12 15:44:35 armin76 Exp $
+
+*deluge-0.6_pre9999 (12 Jun 2008)
+*deluge-0.5.9999 (12 Jun 2008)
+
+ 12 Jun 2008; Raúl Porcel <armin76@gentoo.org> +files/deluged.conf,
+ +files/deluged.init, +deluge-0.5.9999.ebuild, +deluge-0.6_pre9999.ebuild,
+ -deluge-9999.ebuild:
+ Add 0.6 livesvn ebuild, bug #220355, thanks to Benedikt Morbach and Andrew
+ Resch
*deluge-0.5.9.1 (21 May 2008)
diff --git a/net-p2p/deluge/Manifest b/net-p2p/deluge/Manifest
index c710314b9dff..19041eb49285 100644
--- a/net-p2p/deluge/Manifest
+++ b/net-p2p/deluge/Manifest
@@ -1,9 +1,12 @@
+AUX deluged.conf 137 RMD160 a0adac9be7e0bab3f0d753cd33f244ad506736a1 SHA1 0a9df342e37b3617b15d6fff06f19460078f10cc SHA256 3dc1fb7fa039ac9a6079f396ba070518432d7c4b2541de2a9470a57c6ee1c755
+AUX deluged.init 1463 RMD160 10ff3aea369f1cff5d014347d7d9f4d38c7b53b6 SHA1 4adefa958b94e761d3667d4e5520361d4c652bda SHA256 3a577a9c515961b15bb8e298c3ea1769d89a27098366d61ba8b480dde8ed0e81
DIST deluge-0.5.8.9.tar.gz 2215487 RMD160 cb06f03d2570092cc2a12675f70b1c6117d2e659 SHA1 0838acec55781c3fe1878a6fc7793b854bc9a4a1 SHA256 6207fb0ac4ae3c23c8c226ce8edc37b5c037511c0a0f9825a2b1957c4206f9f0
DIST deluge-0.5.9.0.tar.gz 2191968 RMD160 c6b8514ee1f770b86f2ba1fff869f38b7e9e9d89 SHA1 b5272771383af27dc3acbe952d1c46bd6e85ee8b SHA256 25894fea5749dfe0ab0d660389dfa23edf1214cde531b1ba677e42df20ac1a30
DIST deluge-0.5.9.1.tar.gz 2209224 RMD160 d765706b5432514bbf0057e2b0fbc481160d5c1c SHA1 1144d07fc808669aa74af00b1f7808db73c8d96d SHA256 593c0cf099d38b00cf05d9039b3cab5bc43bdea3f5fcd16e261d426d9547af83
EBUILD deluge-0.5.8.9.ebuild 1309 RMD160 e980f51e945923864d6c73f767a114cf84e17eac SHA1 e219ac5299f0a49bdcaaca3632d08861dedfb46f SHA256 cb42c136eb19b15e5c1e4f943ab5c927b0ac4d4ac9677dbb390ca02b5e939df0
EBUILD deluge-0.5.9.0.ebuild 1311 RMD160 6288ee2d2f95e81148b66c16a66d02de5e903cc4 SHA1 3a580cf4b4f0759905352952d703e06c49f3d38a SHA256 6a110207d42793fd77726ff7c997ee56a1d77d62b387f8d2c8dd0a66b7bf0c64
EBUILD deluge-0.5.9.1.ebuild 1311 RMD160 55551f076ad2891634468c11627fca8c5701089b SHA1 8516b74de81524205e9d90b7b40e168bb445f413 SHA256 38d21423614b3a4641543c489983e7e31e5107974875df632f93be0d99b73488
-EBUILD deluge-9999.ebuild 1275 RMD160 a219549eae20fc3a87066b69b866720f7385c10c SHA1 26f0b3bec7c7f7913b9d950b218c3e7b23c5a999 SHA256 74b5375d31db6e9fe6de77323ef6ce971b14476fdd207592fe7616ea72d5719c
-MISC ChangeLog 9792 RMD160 8f9179bc8f73caf6bba1290f53f9ff9a7fe18336 SHA1 4ed5797b2f155d172c92ff2c8c86169ae993a3b5 SHA256 90390169e60329c60bdded20d3b1cf0ca54e03c126a192dfa2d3c400eade075a
+EBUILD deluge-0.5.9999.ebuild 1278 RMD160 751068337ff566ceda82822ce276dc00fa0eca0a SHA1 4082d7aefffbf8972773f0decd8ddd720eeb8d7e SHA256 e5fe4d721f54f995b995936b0a9d495ee7bf8f44157833fd08a414aaaf7ca389
+EBUILD deluge-0.6_pre9999.ebuild 1704 RMD160 a42f200b836d4fa198378384127300d61b565df7 SHA1 b4da8f6955e156f989470b67609530977d01dc55 SHA256 f9c84ec29ef31eee74182dfea899850579090c7829a24f93aaba698b25d30b9f
+MISC ChangeLog 10113 RMD160 3f68d3db63310e8fe5adc4ceab273882484c2c4d SHA1 d9bd346a35d2a9917e7481b7d6557bede5294479 SHA256 eff57f4da27df4fddc0ebcfe863047c14937b130d8f860b56c135e87fe7fadd7
MISC metadata.xml 222 RMD160 0dc4b04f31dcc89402f87c352327fe327b3cf31f SHA1 540337d5841f15b43186e5858f9e24032567de08 SHA256 713b9d1548682d5c1c3686a7b0711acf065a8fa4f386883ace90359d3dceb966
diff --git a/net-p2p/deluge/deluge-9999.ebuild b/net-p2p/deluge/deluge-0.5.9999.ebuild
index 6983f6f74951..b17496a45ec3 100644
--- a/net-p2p/deluge/deluge-9999.ebuild
+++ b/net-p2p/deluge/deluge-0.5.9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/deluge-9999.ebuild,v 1.11 2008/04/19 17:07:55 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/deluge-0.5.9999.ebuild,v 1.1 2008/06/12 15:44:35 armin76 Exp $
inherit eutils distutils subversion flag-o-matic
diff --git a/net-p2p/deluge/deluge-0.6_pre9999.ebuild b/net-p2p/deluge/deluge-0.6_pre9999.ebuild
new file mode 100644
index 000000000000..85dfa84eac13
--- /dev/null
+++ b/net-p2p/deluge/deluge-0.6_pre9999.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/deluge-0.6_pre9999.ebuild,v 1.1 2008/06/12 15:44:35 armin76 Exp $
+
+inherit eutils distutils subversion flag-o-matic
+
+ESVN_REPO_URI="http://svn.deluge-torrent.org/branches/deluge-0.6"
+ESVN_PROJECT="deluge-0.6"
+
+DESCRIPTION="BitTorrent client with a client/server model."
+HOMEPAGE="http://deluge-torrent.org/"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="gtk"
+
+DEPEND=">=dev-lang/python-2.3
+ dev-libs/boost"
+RDEPEND="${DEPEND}
+ dev-python/pyxdg
+ gtk? (
+ >=dev-python/pygtk-2
+ dev-python/pyxdg
+ dev-python/dbus-python
+ gnome-base/librsvg
+ )"
+
+pkg_setup() {
+ if ! built_with_use --missing true "dev-libs/boost" threads; then
+ eerror "dev-libs/boost has to be built with threads USE-flag."
+ die "Missing threads USE-flag for dev-libs/boost"
+ fi
+
+ filter-ldflags -Wl,--as-needed
+}
+
+src_install() {
+ distutils_src_install
+ newinitd "${FILESDIR}"/deluged.init deluged
+ newconfd "${FILESDIR}"/deluged.conf deluged
+}
+
+pkg_postinst() {
+ elog
+ elog "If after upgrading it doesn't work, please remove the"
+ elog "'~/.config/deluge' directory and try again, but make a backup"
+ elog "first!"
+ elog
+ einfo "Please note that Deluge is still in it's early stages"
+ einfo "of development. Use it carefully and feel free to submit bugs"
+ einfo "in upstream page."
+ elog
+ elog "To start the daemon either run 'deluged' as user"
+ elog "or modify /etc/conf.d/deluged and run"
+ elog "/etc/init.d/deluged start as root"
+ elog "You can still use deluge the old way"
+ elog
+ elog "For more information look at http://dev.deluge-torrent.org/wiki/Faq"
+ elog
+}
diff --git a/net-p2p/deluge/files/deluged.conf b/net-p2p/deluge/files/deluged.conf
new file mode 100644
index 000000000000..a09d559c273f
--- /dev/null
+++ b/net-p2p/deluge/files/deluged.conf
@@ -0,0 +1,4 @@
+# /etc/conf.d/deluged
+# Change this to the user you want to run deluged as.
+# You may specify a group too, after a colon
+DELUGED_USER=""
diff --git a/net-p2p/deluge/files/deluged.init b/net-p2p/deluge/files/deluged.init
new file mode 100644
index 000000000000..e5b89f3fae51
--- /dev/null
+++ b/net-p2p/deluge/files/deluged.init
@@ -0,0 +1,48 @@
+#!/sbin/runscript
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/files/deluged.init,v 1.1 2008/06/12 15:44:36 armin76 Exp $
+
+depend() {
+ need net
+}
+
+checkconfig() {
+ if [[ "${DELUGED_USER}" == "" ]] ; then
+ eerror "Please edit /etc/conf.d/deluged"
+ eerror "You have to specify a user to run deluged as, as we will not run it as root!"
+ eerror "Modify DELUGED_USER to your needs (you can also add a group, after a colon)"
+ return 1
+ fi
+ if ! `getent passwd | cut -d ':' -f 1 | grep $( echo "${DELUGED_USER}" | cut -d ':' -f 1 ) -sq` ; then
+ eerror "Please edit /etc/conf.d/deluged"
+ eerror "Your user has to exist!"
+ return 1
+ fi
+ if ! `echo "${DELUGED_USER}" | grep ':' -sq` ; then
+ return 0
+ else
+ if ! `cut -d ':' -f 1 /etc/group | grep $( echo "${DELUGED_USER}" | cut -d ':' -f 2 ) -sq` ; then
+ eerror "Please edit /etc/conf.d/deluged"
+ eerror "Your group has to exist too!"
+ return 1
+ fi
+ fi
+ return 0
+}
+
+start() {
+ checkconfig || return $?
+ ebegin "Starting Deluged"
+ start-stop-daemon --start --user "${DELUGED_USER}" \
+ --name deluged --pidfile /var/run/deluged.pid --background --make-pidfile \
+ --exec /usr/bin/deluged -- --do-not-daemonize "${DELUDED_OPTS}"
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Deluged"
+ start-stop-daemon --stop --user "${DELUGED_USER}" \
+ --name deluged --pidfile /var/run/deluged.pid
+ eend $?
+}