summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2012-02-06 21:39:26 +0000
committerJeroen Roovers <jer@gentoo.org>2012-02-06 21:39:26 +0000
commit77351e07cde7e336fd7e6c289bd4a55a56f3ec6c (patch)
treefd1bc7f67c11f075093a050d88a0ea94d8565eaa /net-misc
parentautomatically use unpacker eclass if it is available (diff)
downloadhistorical-77351e07cde7e336fd7e6c289bd4a55a56f3ec6c.tar.gz
historical-77351e07cde7e336fd7e6c289bd4a55a56f3ec6c.tar.bz2
historical-77351e07cde7e336fd7e6c289bd4a55a56f3ec6c.zip
Version bump.
Package-Manager: portage-2.2.0_alpha85/cvs/Linux x86_64
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/apt-cacher-ng/ChangeLog7
-rw-r--r--net-misc/apt-cacher-ng/Manifest10
-rw-r--r--net-misc/apt-cacher-ng/apt-cacher-ng-0.7.ebuild110
3 files changed, 122 insertions, 5 deletions
diff --git a/net-misc/apt-cacher-ng/ChangeLog b/net-misc/apt-cacher-ng/ChangeLog
index 4cfb6347e873..74bed2a6b820 100644
--- a/net-misc/apt-cacher-ng/ChangeLog
+++ b/net-misc/apt-cacher-ng/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-misc/apt-cacher-ng
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/apt-cacher-ng/ChangeLog,v 1.8 2012/01/17 04:45:21 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/apt-cacher-ng/ChangeLog,v 1.9 2012/02/06 21:39:26 jer Exp $
+
+*apt-cacher-ng-0.7 (06 Feb 2012)
+
+ 06 Feb 2012; Jeroen Roovers <jer@gentoo.org> +apt-cacher-ng-0.7.ebuild:
+ Version bump.
*apt-cacher-ng-0.6.12 (17 Jan 2012)
diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 82d8f291e27c..208d524f931c 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -8,15 +8,17 @@ AUX logrotate 377 RMD160 ef3824ff3484b00195fad7153332ce33f702d937 SHA1 d5606fceb
DIST apt-cacher-ng_0.6.10.orig.tar.xz 250264 RMD160 93e56317c5f5f151141704c0fd177380015c4912 SHA1 f6568778e8dd8d8680d963b98359ed40614d4ae3 SHA256 dfa1a55ac846eb00ee04f650c50140c43b9020a20e507fc50ec9389ef9fa6fd5
DIST apt-cacher-ng_0.6.11.orig.tar.xz 251384 RMD160 b1ffb7ade5f944f038e70e5bc7e87765ed2a4883 SHA1 53d74b4fac154ca9cc958f9dfb29667606bd48cd SHA256 3576ea1f5a6c07d48a5382bd58fff97cc738899b7deff1949c4acdc101a310d2
DIST apt-cacher-ng_0.6.12.orig.tar.xz 252528 RMD160 00676fee07ba94d23d82e3616af0e57f35041ff7 SHA1 e0a47d8613de4ef3d4e84259b21eef723c4e3186 SHA256 595eb6c9e661891abf52caadb157dbf94bef6af4a6c00dd659239f1dbc344be8
+DIST apt-cacher-ng_0.7.orig.tar.xz 253028 RMD160 6a321fa57b3804dfbcf4f9c2e1e2c80b88606909 SHA1 70fb5a908e9cd1165545355e9293a627865507ee SHA256 5bc38e0b4fe9169f28d94ee7c574e311b929f6de436df6fa6ca67e0b4992c120
EBUILD apt-cacher-ng-0.6.10.ebuild 2729 RMD160 e156434b919750965fc028f79a2cede69080fc1d SHA1 68b44cb8bdccc849603ac052fb53591b0541d122 SHA256 42e22b49f349994fe7fe67d209152117cd31c93fb028ef05e4e9a1b99b76602b
EBUILD apt-cacher-ng-0.6.11.ebuild 2332 RMD160 bef09632567b45a78be24917be97a5fd181ed395 SHA1 c4197ae3f4125799e8fa40aabe8ca8264074be10 SHA256 a8edd77b0bc4a099296131ac32d1188b2122671cca5ca57f27c1ddfaa140557a
EBUILD apt-cacher-ng-0.6.12.ebuild 2332 RMD160 cb5f7b0c8ae0c7053b12287795f671cf49fa9ffd SHA1 eb291817aa9323e4a91001d5737120b87ee1db98 SHA256 bbd6d7e50740b41226b491e2d4915a06b70eff9791f926034b6f36fe2fc2e608
-MISC ChangeLog 1472 RMD160 b8be611182c1a82aeb7edc7d0b8db44c2e37d43a SHA1 2b568300cf18d2b2417b8ddad04be0edbc3d47e5 SHA256 63f3e26e3a0d766a4556e2c99125b533e543e10c497dc8d3feb665a6a24ec663
+EBUILD apt-cacher-ng-0.7.ebuild 2329 RMD160 137cb3e573d797e57f66436e04ddf1a609d23ff1 SHA1 b187788f20b521e61ed0597d38592188ee6867d1 SHA256 d57c7d2fee9fd25439f5ca3d0f996480f780f60bf5805eb6d19eca0e0204c61b
+MISC ChangeLog 1597 RMD160 d801f57a600229b6c6512ad61a319a5486df725c SHA1 9eb6b727ff85b9cf67d938efdeb3224637bede22 SHA256 9733d85621d73e32ca3fbc70af58c870103a278dff3330a15358af604b576330
MISC metadata.xml 387 RMD160 24ae6a7aaedb132c13ffdd94fe518f7ddcec6a9e SHA1 24771fa9c7362e5c6ca75ccf0ecce3c5945735e0 SHA256 83e4af4a9dff85e9d5d58a7704abff4dad046540b992c819a8203d529673e6d0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk8U/OcACgkQVWmRsqeSphOz3wCeOn3V+G5QvrWrZ7pYvxIX1dGE
-JswAn31JPvY4IbLRbICjRWu8+ROOLkIX
-=a0rv
+iEYEARECAAYFAk8wSJQACgkQVWmRsqeSphOoJwCfSoVv8GLue3fE6sXVIQcxlIHp
+DjwAniD1NYAxIXu5vOEjrLID2EdZMYQs
+=wWsO
-----END PGP SIGNATURE-----
diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.7.ebuild b/net-misc/apt-cacher-ng/apt-cacher-ng-0.7.ebuild
new file mode 100644
index 000000000000..ecf27323f7c5
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-0.7.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/apt-cacher-ng/apt-cacher-ng-0.7.ebuild,v 1.1 2012/02/06 21:39:26 jer Exp $
+
+EAPI="4"
+
+inherit eutils cmake-utils
+
+DESCRIPTION="Yet another implementation of an HTTP proxy for Debian/Ubuntu software packages written in C++"
+HOMEPAGE="http://www.unix-ag.uni-kl.de/~bloch/acng/"
+LICENSE="as-is"
+SLOT="0"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse lzma tcpd"
+
+COMMON_DEPEND="
+ app-arch/bzip2
+ sys-libs/zlib
+"
+DEPEND="
+ ${COMMON_DEPEND}
+ app-arch/xz-utils
+ dev-util/cmake
+"
+RDEPEND="
+ ${COMMON_DEPEND}
+ lzma? ( app-arch/xz-utils )
+ fuse? ( sys-fs/fuse )
+ tcpd? ( sys-apps/tcp-wrappers )
+ dev-lang/perl
+"
+
+pkg_setup() {
+ # add new user & group for daemon
+ enewgroup ${PN}
+ enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_configure(){
+ mycmakeargs="-DCMAKE_INSTALL_PREFIX=/usr"
+ if use fuse; then
+ mycmakeargs="-DHAVE_FUSE_26=yes ${mycmakeargs}"
+ else
+ mycmakeargs="-DHAVE_FUSE_26=no ${mycmakeargs}"
+ fi
+ if use lzma; then
+ mycmakeargs="-DHAVE_LZMA=yes ${mycmakeargs}"
+ else
+ mycmakeargs="-DHAVE_LZMA=no ${mycmakeargs}"
+ fi
+ if use tcpd; then
+ mycmakeargs="-DHAVE_LIBWRAP=yes ${mycmakeargs}"
+ else
+ mycmakeargs="-DHAVE_LIBWRAP=no ${mycmakeargs}"
+ fi
+
+ cmake-utils_src_configure
+}
+
+src_install() {
+ pushd ${CMAKE_BUILD_DIR}
+ dosbin ${PN}
+ if use fuse; then
+ dobin acngfs
+ fi
+ popd
+
+ newinitd "${FILESDIR}"/initd ${PN}
+ newconfd "${FILESDIR}"/confd ${PN}
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/logrotate ${PN}
+
+ doman doc/man/${PN}*
+ if use fuse; then
+ doman doc/man/acngfs*
+ fi
+
+ # Documentation
+ dodoc README TODO VERSION INSTALL ChangeLog
+ if use doc; then
+ dodoc doc/*.pdf
+ dohtml doc/html/*
+ docinto examples/conf
+ dodoc conf/*
+ fi
+
+ # perl daily cron script
+ dosbin expire-caller.pl
+ exeinto /etc/cron.daily
+ newexe "${FILESDIR}"/cron.daily ${PN}
+
+ # default configuration
+ insinto /etc/${PN}
+ newins conf/acng.conf ${PN}.conf
+ doins $( echo conf/* | sed 's|conf/acng.conf||g' )
+
+ dodir /var/cache/${PN}
+ dodir /var/log/${PN}
+ # Some directories must exists
+ keepdir /var/log/${PN}
+ keepdir /var/run/${PN}
+ fowners -R ${PN}:${PN} \
+ /etc/${PN} \
+ /var/log/${PN} \
+ /var/cache/${PN} \
+ /var/run/${PN}
+}