* [gentoo-commits] gentoo-x86 commit in net-misc/apt-proxy: apt-proxy-1.3.0.ebuild ChangeLog
@ 2012-10-25 19:22 Agostino Sarubbo (ago)
0 siblings, 0 replies; only message in thread
From: Agostino Sarubbo (ago) @ 2012-10-25 19:22 UTC (permalink / raw
To: gentoo-commits
ago 12/10/25 19:22:34
Modified: apt-proxy-1.3.0.ebuild ChangeLog
Log:
EAPI4, inherit user, use more , add ~amd64
(Portage version: 2.1.11.9/cvs/Linux x86_64)
Revision Changes Path
1.8 net-misc/apt-proxy/apt-proxy-1.3.0.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/apt-proxy/apt-proxy-1.3.0.ebuild?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/apt-proxy/apt-proxy-1.3.0.ebuild?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/apt-proxy/apt-proxy-1.3.0.ebuild?r1=1.7&r2=1.8
Index: apt-proxy-1.3.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/apt-proxy/apt-proxy-1.3.0.ebuild,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- apt-proxy-1.3.0.ebuild 28 Oct 2010 10:41:42 -0000 1.7
+++ apt-proxy-1.3.0.ebuild 25 Oct 2012 19:22:34 -0000 1.8
@@ -1,8 +1,10 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2012 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.7 2010/10/28 10:41:42 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/apt-proxy/apt-proxy-1.3.0.ebuild,v 1.8 2012/10/25 19:22:34 ago Exp $
-inherit eutils
+EAPI=4
+
+inherit eutils user
DESCRIPTION="Caching proxy for the Debian package system"
HOMEPAGE="http://sourceforge.net/projects/apt-proxy/"
@@ -10,60 +12,59 @@
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86"
-
+KEYWORDS="~amd64 ~x86"
IUSE=""
DEPEND=""
-RDEPEND="sys-apps/xinetd
- net-misc/rsync
- net-misc/wget"
+RDEPEND="sys-apps/xinetd"
pkg_setup () {
- enewgroup apt-proxy
- enewuser apt-proxy -1 -1 /dev/null apt-proxy
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 /dev/null ${PN}
}
-src_compile() {
- #patch -u apt-proxy < ${FILESDIR}/${P}-sh.patch
+src_prepare() {
epatch "${FILESDIR}"/${P}-sh.patch
}
src_install() {
- dosbin apt-proxy
+ dosbin ${PN}
+
+ insinto /etc/${PN}
+ doins ${PN}.conf
- insinto /etc/apt-proxy ; doins apt-proxy.conf
- insinto /etc/xinetd.d ; doins "${FILESDIR}"/apt-proxy
+ insinto /etc/xinetd.d
+ doins "${FILESDIR}"/${PN}
dodoc README INSTALL HISTORY
- doman apt-proxy.{8,conf.5}
+ doman ${PN}.{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
+ touch "${D}"/var/log/${PN}.log
+ fowners ${PN}:${PN} /var/log/${PN}.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
+ dodir /var/cache/${PN}
+ keepdir /var/cache/${PN}
+ fowners ${PN}:${PN} /var/cache/${PN}
}
pkg_postinst() {
einfo ""
- einfo "Don't forget to modify the /etc/apt-proxy/apt-proxy.conf"
+ einfo "Don't forget to modify the /etc/${PN}/${PN}.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 "Also note that ${PN} is called from running xinetd"
+ einfo "and you have to enable it first (/etc/xinetd.d/${PN})..."
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 "You have to remove the ${PN} cache by hand. It's located"
+ einfo "in the \"/var/cache/${PN}\" dir..."
einfo ""
- einfo "You can also remove the apt-proxy user and group..."
+ einfo "You can also remove the ${PN} user and group..."
einfo ""
}
1.7 net-misc/apt-proxy/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/apt-proxy/ChangeLog?rev=1.7&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/apt-proxy/ChangeLog?rev=1.7&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/apt-proxy/ChangeLog?r1=1.6&r2=1.7
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-misc/apt-proxy/ChangeLog,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- ChangeLog 14 May 2007 19:45:44 -0000 1.6
+++ ChangeLog 25 Oct 2012 19:22:34 -0000 1.7
@@ -1,6 +1,9 @@
# 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 $
+# Copyright 2000-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/apt-proxy/ChangeLog,v 1.7 2012/10/25 19:22:34 ago Exp $
+
+ 25 Oct 2012; Agostino Sarubbo <ago@gentoo.org> apt-proxy-1.3.0.ebuild:
+ EAPI4, inherit user, use more , add ~amd64
14 May 2007; Thilo Bangert <bangert@gentoo.org> metadata.xml:
add <herd>no-herd</herd>
@@ -19,4 +22,3 @@
22 Apr 2004; Martin Holzer <mholzer@gentoo.org> apt-proxy-1.3.0.ebuild,
files/apt-proxy, files/apt-proxy-1.3.0-sh.patch:
initial ebuild. submitted by Radek Podgorny <radek@podgorny.cz> in 20235
-
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-10-25 19:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-25 19:22 [gentoo-commits] gentoo-x86 commit in net-misc/apt-proxy: apt-proxy-1.3.0.ebuild ChangeLog Agostino Sarubbo (ago)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox