ChangeLog

# ChangeLog for net-misc/apt-proxy
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/apt-proxy/ChangeLog,v 1.6 2007/05/14 19:45:44 bangert Exp $

14 May 2007; Thilo Bangert metadata.xml:
add no-herd

22 Feb 2007; Piotr Jaroszyński ChangeLog:
Transition to Manifest2.

23 Aug 2005; Diego Pettenò apt-proxy-1.3.0.ebuild:
Use -1 instead of /bin/false on enewuser call.

27 Apr 2004; Aron Griffis apt-proxy-1.3.0.ebuild:
Add inherit eutils

*apt-proxy-1.3.0 (22 Apr 2004)

22 Apr 2004; Martin Holzer apt-proxy-1.3.0.ebuild,
files/apt-proxy, files/apt-proxy-1.3.0-sh.patch:
initial ebuild. submitted by Radek Podgorny in 20235

Manifest

AUX apt-proxy 454 RMD160 2d3e5b62d285dc0832405794630bb34797fb5986 SHA1 7359f51e4ed701b6054f4887ac31f723d151d885 SHA256 1ccb4cbf543b1c3148c0d5c6c65cf77a726074780f252b0bf68ad4aba16c387b
AUX apt-proxy-1.3.0-sh.patch 438 RMD160 a5fddfc8a007d16249d7dcbf6d565a678e902cfb SHA1 5025ada9a6d3f94c3823207dabc21d8c3a56dd76 SHA256 c8a78f77eed5fd1b6cf22be3f17f1d7b9738cdf08805d31ad43714df18617e4f
DIST apt-proxy_1.3.0.tar.gz 37951 RMD160 033006e515bd5cf522005625c4ef50e64cfb9063 SHA1 950c2e071258c6fe3e516968e55fab7f5e3c2080 SHA256 12e5c5361ba3050a715f21c8191a1f52e255d179af10e3d110271651cb739ea9
EBUILD apt-proxy-1.3.0.ebuild 1779 RMD160 6c5f575448ecc3a914c5e0d730d3e8f5b0de541f SHA1 c4ca3034f90b59ed25122f3c0a8dc566f0dff070 SHA256 ff08c182abb28a5ac73514fd49ed797d81e518fb4cd870bf7aaf96c6855d1292
MISC ChangeLog 850 RMD160 c4ddb1666777c96dc5d176421ca079d8899456dc SHA1 4adede9a5a9231b57c935794f8ab5f9a5ceb461d SHA256 364b723675f8cf5e32d27fa9b0d0896b79a810d3f5a5db26f516262bc732cd7f
MISC metadata.xml 231 RMD160 c13056229989c3d4f448a7c7abcff3f4ee7ce13c SHA1 2d63dfb700b223f8f37c078692a81b2237896bce SHA256 4595c2615fd7c9095517949b1a920d4457f92801eb9d46307b18aafe58ec2a8a

apt-proxy-1.3.0.ebuild

# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/apt-proxy/apt-proxy-1.3.0.ebuild,v 1.6 2007/07/12 02:52:15 mr_bones_ Exp $

inherit eutils

DESCRIPTION="Caching proxy for the Debian package system"
HOMEPAGE="http://sourceforge.net/projects/apt-proxy/"
SRC_URI="mirror://sourceforge/${PN}/${PN}_${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"

KEYWORDS="~x86"

IUSE=""

DEPEND=""
RDEPEND="sys-apps/xinetd
net-misc/rsync
net-misc/wget"

pkg_setup () {
enewgroup apt-proxy
enewuser apt-proxy -1 -1 /dev/null apt-proxy
}

src_compile() {
einfo "Applying patch..."
#patch -u apt-proxy < ${FILESDIR}/${P}-sh.patch
epatch ${FILESDIR}/${P}-sh.patch
}

src_install() {
dosbin apt-proxy

insinto /etc/apt-proxy ; doins apt-proxy.conf
insinto /etc/xinetd.d ; doins ${FILESDIR}/apt-proxy

dodoc README INSTALL HISTORY
doman apt-proxy.{8,conf.5}

# Create the log file with the proper permissions
dodir /var/log
touch ${D}/var/log/apt-proxy.log
fowners apt-proxy:apt-proxy /var/log/apt-proxy.log

# Create the cache directories and set the proper permissions
dodir /var/cache/apt-proxy
keepdir /var/cache/apt-proxy
fowners apt-proxy:apt-proxy /var/cache/apt-proxy
}

pkg_postinst() {
einfo ""
einfo "Don't forget to modify the /etc/apt-proxy/apt-proxy.conf"
einfo "file to fit your needs..."
einfo ""
einfo "Also note that apt-proxy is called from running xinetd"
einfo "and you have to enable it first (/etc/xinetd.d/apt-proxy)..."
einfo ""
}

pkg_postrm() {
einfo ""
einfo "You have to remove the apt-proxy cache by hand. It's located"
einfo "in the \"/var/cache/apt-proxy\" dir..."
einfo ""
einfo "You can also remove the apt-proxy user and group..."
einfo ""
}

files

metadata.xml




no-herd

maintainer-needed@gentoo.org