diff options
Diffstat (limited to 'www-proxy')
-rw-r--r-- | www-proxy/amphetadesk/ChangeLog | 19 | ||||
-rw-r--r-- | www-proxy/amphetadesk/Manifest | 4 | ||||
-rw-r--r-- | www-proxy/amphetadesk/amphetadesk-0.93.1.ebuild | 42 | ||||
-rw-r--r-- | www-proxy/amphetadesk/files/amphetadesk.initd | 15 | ||||
-rw-r--r-- | www-proxy/amphetadesk/files/digest-amphetadesk-0.93.1 | 1 |
5 files changed, 81 insertions, 0 deletions
diff --git a/www-proxy/amphetadesk/ChangeLog b/www-proxy/amphetadesk/ChangeLog new file mode 100644 index 000000000000..9d379ca0c2e5 --- /dev/null +++ b/www-proxy/amphetadesk/ChangeLog @@ -0,0 +1,19 @@ +# ChangeLog for net-www/amphetadesk +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-proxy/amphetadesk/ChangeLog,v 1.1 2004/08/15 18:44:59 stuart Exp $ + +*amphetadesk-0.93.1 (15 Aug 2004) + + 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> +files/amphetadesk.initd, + +amphetadesk-0.93.1.ebuild: + Moved from net-www/amphetadesk to www-proxy/amphetadesk. + + 07 Sep 2003; <iggy@gentoo.org> amphetadesk-0.93.1.ebuild: + add depscan.sh to postinst, fixes 25066, thanks to kloeri + +*amphetadesk-0.93.1 (23 May 2003) + + 23 May 2003; Todd Berman <tberman@gentoo.org> amphetadesk-0.93.1.ebuild, + files/amphetadesk.initd: + Initial Import. + diff --git a/www-proxy/amphetadesk/Manifest b/www-proxy/amphetadesk/Manifest new file mode 100644 index 000000000000..ff266af0dcf2 --- /dev/null +++ b/www-proxy/amphetadesk/Manifest @@ -0,0 +1,4 @@ +MD5 b0966f1caef94fe15a38419f1549b8fa amphetadesk-0.93.1.ebuild 1442 +MD5 116af123eb9bc4a4ffcfa594de27ee56 ChangeLog 490 +MD5 94387e2d2ef31bb8f0e6671d89e4f827 files/digest-amphetadesk-0.93.1 75 +MD5 e974e73646575c737c41b43b1806f554 files/amphetadesk.initd 204 diff --git a/www-proxy/amphetadesk/amphetadesk-0.93.1.ebuild b/www-proxy/amphetadesk/amphetadesk-0.93.1.ebuild new file mode 100644 index 000000000000..c3e95651cd12 --- /dev/null +++ b/www-proxy/amphetadesk/amphetadesk-0.93.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-proxy/amphetadesk/amphetadesk-0.93.1.ebuild,v 1.1 2004/08/15 18:44:59 stuart Exp $ + +DESCRIPTION="AmphetaDesk is a free syndicated news aggregator" +HOMEPAGE="http://www.disobey.com/amphetadesk/" +SRC_URI="mirror://sourceforge/sourceforge/amphetadesk/${PN}-src-v${PV}.tar.gz" +LICENSE="Artistic" +SLOT="0" +KEYWORDS="x86" +IUSE="" +DEPEND="dev-lang/perl + dev-perl/libwww-perl + dev-libs/expat + dev-perl/XML-Parser + dev-perl/Compress-Zlib" +S=${WORKDIR}/${PN}-src-v${PV} + + +src_install() { + dodir /usr/share/amphetadesk + cp ${S}/AmphetaDesk.pl ${D}/usr/share/amphetadesk/AmphetaDesk.pl + dodoc README.txt + cp -R ${S}/data ${D}/usr/share/amphetadesk + cp -R ${S}/docs ${D}/usr/share/amphetadesk + cp -R ${S}/lib ${D}/usr/share/amphetadesk + cp -R ${S}/templates ${D}/usr/share/amphetadesk + exeinto /etc/init.d; newexe ${FILESDIR}/amphetadesk.initd amphetadesk +} + +pkg_postinst() { + # fixes bug #25066 thanks to kloeri + /etc/init.d/depscan.sh + + einfo "AmphetaDesk should be started and stopped with the runscript located at " + einfo "'/etc/init.d/amphetadesk'. You can access AmphetaDesk after it has been" + einfo "started in your browser of choice on port 8888." + einfo "" + ewarn "If you start AmphetaDesk at boot with rc-update don't give it a browser" + ewarn "to start up when it loads (in the options page)" +} + diff --git a/www-proxy/amphetadesk/files/amphetadesk.initd b/www-proxy/amphetadesk/files/amphetadesk.initd new file mode 100644 index 000000000000..288a11bc1ea6 --- /dev/null +++ b/www-proxy/amphetadesk/files/amphetadesk.initd @@ -0,0 +1,15 @@ +#!/sbin/runscript + +start() { + ebegin "Starting AmphetaDesk" + cd /usr/share/amphetadesk + ./AmphetaDesk.pl > /dev/null & + eend 0 +} + +stop() { + ebegin "Stoping AmphetaDesk" + killall AmphetaDesk.pl + eend 0 +} + diff --git a/www-proxy/amphetadesk/files/digest-amphetadesk-0.93.1 b/www-proxy/amphetadesk/files/digest-amphetadesk-0.93.1 new file mode 100644 index 000000000000..7c999c5e3a3f --- /dev/null +++ b/www-proxy/amphetadesk/files/digest-amphetadesk-0.93.1 @@ -0,0 +1 @@ +MD5 1ea3b033381be6e694d78b183821f90b amphetadesk-src-v0.93.1.tar.gz 853503 |