Version bump.
authorJeroen Roovers <jer@gentoo.org>
Mon, 17 Oct 2011 18:30:42 +0000 (18:30 +0000)
committerJeroen Roovers <jer@gentoo.org>
Mon, 17 Oct 2011 18:30:42 +0000 (18:30 +0000)
Package-Manager: portage-2.2.0_alpha68/cvs/Linux x86_64

net-misc/apt-cacher-ng/ChangeLog
net-misc/apt-cacher-ng/Manifest
net-misc/apt-cacher-ng/apt-cacher-ng-0.6.8.ebuild [new file with mode: 0644]

index a79726ef05c63e030f5891b9a75b68da63b1a0b5..34a79feda6691244285ba158b3eba05be8d3391d 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for net-misc/apt-cacher-ng
 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/apt-cacher-ng/ChangeLog,v 1.3 2011/08/16 21:00:31 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/apt-cacher-ng/ChangeLog,v 1.4 2011/10/17 18:30:42 jer Exp $
+
+*apt-cacher-ng-0.6.8 (17 Oct 2011)
+
+  17 Oct 2011; Jeroen Roovers <jer@gentoo.org> +apt-cacher-ng-0.6.8.ebuild:
+  Version bump.
 
 *apt-cacher-ng-0.6.5 (16 Aug 2011)
 
index e3a7dc94d406931c0f179e136e6dd3e7dbf1e35f..6de5b3ff0ecc0bee7c763ef45eac014fb90bb689 100644 (file)
@@ -8,15 +8,17 @@ AUX logrotate 377 RMD160 ef3824ff3484b00195fad7153332ce33f702d937 SHA1 d5606fceb
 DIST apt-cacher-ng_0.6.2.orig.tar.gz 281548 RMD160 ef9c5601cbc73b56bb0db6f5c716e11e38060a07 SHA1 cf03095aaf97ffa1e40b97dfa092573e8787c2b5 SHA256 8e94ba2385b4dcf16f7c024f0308facef24378a677e54297e054f5a1e4d13ec1
 DIST apt-cacher-ng_0.6.3.orig.tar.gz 281536 RMD160 40d77f384f0b248ac6f40f8711c2a50f4cd0ed18 SHA1 25dc8a8f8c56d384d03a9a5037cbef330e234927 SHA256 920052cc61e168a67fe6b8f170af5f8a12f034072319d0476fb84b6c9d1e06d7
 DIST apt-cacher-ng_0.6.5.orig.tar.gz 293416 RMD160 d3b01ea1659536caab9e42c22a987bf0220635a5 SHA1 c21892827cf48961e82c1219e076f37459229c0a SHA256 9c997d014b57822a23263e38a81b7fa1b2708ffa380db4453b92e916b2761743
+DIST apt-cacher-ng_0.6.8.orig.tar.xz 246208 RMD160 c8c4eacc9069739802dbe9fcd000bcb17cdb80cf SHA1 04ba4d43c5a07ad4c7257cfbea1036e3a219fa25 SHA256 d47693a8f1eb12a2f61d0f7020431dffa74431e5b5ce50dc3368150ebfd752b4
 EBUILD apt-cacher-ng-0.6.2.ebuild 2858 RMD160 13e92801303d56c410cafd4624bc8c20040125a3 SHA1 f0e49ec131fe6ccd1c494d08f12db5f19822365a SHA256 7afe3fdb4d7e28abdd301bf533ddd227006a7b30707871fd100918782a831f1a
 EBUILD apt-cacher-ng-0.6.3.ebuild 2858 RMD160 d558b4e211717015e2b913ab63812fc867084dd4 SHA1 def02a32b5ba6d213364612ec825e40aa903c3d1 SHA256 5d869b63af35f53dad46e827dc4d08902b7c07c199e61aaf7398b1adf4929026
 EBUILD apt-cacher-ng-0.6.5.ebuild 2387 RMD160 73534be785f505520248c3a68c2743f60c1495e2 SHA1 71a2bd71132c6fa9b6708a5c03860038c4e0f28c SHA256 9ae926c1b69c8bbedc1b6bf52f44ec76d06d982da642ab96580b215f79daabdc
-MISC ChangeLog 701 RMD160 99a1a985415b4840716ec52c85d9cd1a2c54be13 SHA1 2c5b86148fbb352fd54f211da2b9816148344f75 SHA256 0b005ccbbf0da6cfd984d632dff21b6decde0ce001a2a02eeb6a59c96a19aa4a
+EBUILD apt-cacher-ng-0.6.8.ebuild 2728 RMD160 ccb9e0033ceb1fd0b1ccef68837c79d7fa5e4aa1 SHA1 b95b548c05bc34c5b0c8d05329ed9d9a388cce5f SHA256 7b22291382b42ff673905fe4f91ff4c38cdfb59ee0ce0300fe4b1e988c63e7f0
+MISC ChangeLog 830 RMD160 27e4178a39ea82ce613b4c1018ed52b94fcc4a0e SHA1 78bf3f0449f316c7bd9d8584c31b33a63b8b284d SHA256 38e3fda727590815378411104c980fa132ccdc85dcfcfe4e2813df953677fd13
 MISC metadata.xml 387 RMD160 24ae6a7aaedb132c13ffdd94fe518f7ddcec6a9e SHA1 24771fa9c7362e5c6ca75ccf0ecce3c5945735e0 SHA256 83e4af4a9dff85e9d5d58a7704abff4dad046540b992c819a8203d529673e6d0
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.17 (GNU/Linux)
 
-iEYEARECAAYFAk5K2nUACgkQVWmRsqeSphPMsQCfae7pppNipliXsXdybHWoHKiJ
-JTUAnjwJ5uAWxTdewwq9DhWPd1YrEXpx
-=TNOA
+iEYEARECAAYFAk6cdFgACgkQVWmRsqeSphMIQgCcDXFyotiQ2/tLyoB1HawTYT2/
+NzwAnA03gWvZJxZOkDKsdAgfxT3M1IJh
+=Mf05
 -----END PGP SIGNATURE-----
diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.6.8.ebuild b/net-misc/apt-cacher-ng/apt-cacher-ng-0.6.8.ebuild
new file mode 100644 (file)
index 0000000..03e1027
--- /dev/null
@@ -0,0 +1,120 @@
+# Copyright 1999-2011 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.6.8.ebuild,v 1.1 2011/10/17 18:30:42 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
+       newins conf/report.html report.html
+       newins conf/deb_mirrors.gz deb_mirrors.gz
+       newins conf/debvol_mirrors.gz debvol_mirrors.gz
+       newins conf/ubuntu_mirrors ubuntu_mirrors
+       newins conf/archlx_mirrors archlx_mirrors
+       newins conf/sfnet_mirrors sfnet_mirrors
+       newins conf/cygwin_mirrors cygwin_mirrors
+       newins conf/security.conf security.conf
+       newins conf/maint.html maint.html
+       newins conf/userinfo.html userinfo.html
+       newins conf/style.css style.css
+
+       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}
+}