# HG changeset patch # User Dirk Olmes # Date 1489990906 -3600 # Node ID c999bcda270f11aa759de6932047ac549a2f9a10 # Parent 061dcecdcd1e53f82b33052b489f22ad04b06e0a remove outdated deluge ebuild diff -r 061dcecdcd1e -r c999bcda270f net-p2p/deluge/Manifest --- a/net-p2p/deluge/Manifest Mon Mar 20 07:20:37 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ -AUX deluged.conf 184 RMD160 f1721fcc20b77836c783cbe4e7492748902f0428 SHA1 e330df742ae8f21e7dfbbaa31f181279ef96e3b8 SHA256 9f686931e7f5c337d4866d91ae725b0a983ee2a409eee69a197e7db8e4bc2b3d -AUX deluged.init 2057 RMD160 459e907d5521b5c32ebc2477235129c820678876 SHA1 0346b63ec3766e162d6132156fa0d1acaffd8b9a SHA256 559cbf3ce2121e4d00605191e8ecb854fb3ee2d181de5d4a79c9d3098a1cecbd -DIST deluge-1.3.5.tar.lzma 2100244 RMD160 35c3b72d8ffc33717791f8be4ca07d50350e1621 SHA1 26eb8c60f9dfdf77be02369fc8c996d09d5bd909 SHA256 cdb97fd64cc2131da812fad026f49e82f82b6a214e592222145ddcfb19174247 -EBUILD deluge-1.3.5.ebuild 1805 RMD160 ece0e8113f1fd20c81939462d2b1fa5dac7b8fa7 SHA1 bcc13a2c67f35d4f3069d39703d919e28c6cc4ff SHA256 55cc0c97447b27b35f49662076ce2a13330774017c2e0491fd33cd19a98f29c0 -MISC metadata.xml 322 RMD160 ba506cbedd76759bd1b14d569d0d121a1644fa75 SHA1 811976e88cb463281a74ac671ca920b9a15f15c3 SHA256 e88e99b119abf92a69e2115263e6992e6b2a6f711d810e6234c0cfaa21bc1d1f diff -r 061dcecdcd1e -r c999bcda270f net-p2p/deluge/deluge-1.3.5.ebuild --- a/net-p2p/deluge/deluge-1.3.5.ebuild Mon Mar 20 07:20:37 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,69 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/deluge/deluge-1.3.3.ebuild,v 1.2 2011/08/17 13:52:12 armin76 Exp $ - -EAPI="3" -PYTHON_DEPEND="2:2.5" - -inherit distutils flag-o-matic - -DESCRIPTION="BitTorrent client with a client/server model." -HOMEPAGE="http://deluge-torrent.org/" -SRC_URI="http://download.deluge-torrent.org/source/${P}.tar.lzma" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86" -IUSE="gtk libnotify webinterface" - -DEPEND=">=net-libs/rb_libtorrent-0.14.9[python] - dev-python/setuptools - dev-util/intltool" -RDEPEND="${DEPEND} - dev-python/chardet - dev-python/pyopenssl - dev-python/pyxdg - || ( dev-lang/python:2.7 dev-lang/python:2.6 dev-python/simplejson ) - >=dev-python/twisted-8.1 - >=dev-python/twisted-web-8.1 - gtk? ( - dev-python/pygame - dev-python/pygobject - >=dev-python/pygtk-2.12 - gnome-base/librsvg - libnotify? ( dev-python/notify-python ) - ) - webinterface? ( dev-python/mako )" - -pkg_setup() { - append-ldflags $(no-as-needed) - python_set_active_version 2 - python_pkg_setup -} - -src_prepare() { - distutils_src_prepare - python_convert_shebangs -r 2 . -} - -src_install() { - distutils_src_install - newinitd "${FILESDIR}"/deluged.init deluged - newconfd "${FILESDIR}"/deluged.conf deluged -} - -pkg_postinst() { - distutils_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 - 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 -r 061dcecdcd1e -r c999bcda270f net-p2p/deluge/files/deluged.conf --- a/net-p2p/deluge/files/deluged.conf Mon Mar 20 07:20:37 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -# /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="" -DELUGEUI_START="false" -DELUGEUI_OPTS="-u web" - diff -r 061dcecdcd1e -r c999bcda270f net-p2p/deluge/files/deluged.init --- a/net-p2p/deluge/files/deluged.init Mon Mar 20 07:20:37 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2010 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.6 2010/10/02 15:36:03 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 "${DELUGED_USER%:*}" >/dev/null ; then - eerror "Please edit /etc/conf.d/deluged" - eerror "Your user has to exist!" - return 1 - fi - if [ "${DELUGED_USER%:*}" = "${DELUGED_USER}" ] ; then - return 0 - else - if ! getent group "${DELUGED_USER#*:}" >/dev/null ; then - eerror "Please edit /etc/conf.d/deluged" - eerror "Your group has to exist too!" - return 1 - fi - fi - return 0 -} - -start() { - checkconfig || return $? - if [ "${DELUGED_HOME}" = "" ] ; then - DELUGED_USER_HOME=$(getent passwd "${DELUGED_USER%:*}" | cut -d ':' -f 6) - else - DELUGED_USER_HOME=${DELUGED_HOME} - fi - ebegin "Starting Deluged" - start-stop-daemon --start --user "${DELUGED_USER}" \ - --name deluged --pidfile /var/run/deluged.pid --background --make-pidfile \ - --exec /usr/bin/deluged -u "${DELUGED_USER}" -e HOME=${DELUGED_USER_HOME} -- --do-not-daemonize "${DELUGED_OPTS}" - eend $? - - - if [ "${DELUGEUI_START}" = "true" ] ; then - ebegin "Starting Deluge" - start-stop-daemon --start --background --pidfile \ - /var/run/deluge.pid --make-pidfile \ - --exec /usr/bin/deluge -c "${DELUGED_USER}" \ - -e HOME="${DELUGED_USER_HOME}" -- ${DELUGEUI_OPTS} - eend $? - fi -} - -stop() { - ebegin "Stopping Deluged" - start-stop-daemon --stop --user "${DELUGED_USER}" \ - --name deluged --pidfile /var/run/deluged.pid - eend $? - - - if [ "${DELUGEUI_START}" = "true" ] ; then - ebegin "Stopping Deluge" - start-stop-daemon --stop --user "${DELUGED_USER}" \ - --name deluge --pidfile /var/run/deluge.pid - eend $? - fi -} diff -r 061dcecdcd1e -r c999bcda270f net-p2p/deluge/metadata.xml --- a/net-p2p/deluge/metadata.xml Mon Mar 20 07:20:37 2017 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13 +0,0 @@ - - - -net-p2p - -net-p2p@gentoo.org - - - Install dependencies needed for the web - interface - - -