[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2024-03-26 Thread Andreas Sturmlechner
commit: 5afb60840732c81114f0b7bd6146dca51d6c6fef
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Tue Mar 26 11:12:27 2024 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Tue Mar 26 19:59:05 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5afb6084

net-misc/apt-cacher-ng: update EAPI 7 -> 8

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild
index c68f0b584466..b3920920cb47 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake git-r3 tmpfiles
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/files/, net-misc/apt-cacher-ng/

2024-03-24 Thread Sam James
commit: 4ae8f96b83215d032a76cfc9e3b33f1beb47844d
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 24 14:27:36 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 24 14:27:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ae8f96b

net-misc/apt-cacher-ng: fix build w/ gcc 14

Signed-off-by: Sam James  gentoo.org>

 .../apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild |  1 +
 .../files/apt-cacher-ng-3.7.4-gcc14.patch  | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild
index 1e0a7e08db8f..a97170d14427 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild
@@ -38,6 +38,7 @@ PATCHES=(
"${FILESDIR}/${PN}-3.6-optional-systemd.patch"
"${FILESDIR}/${PN}-3.7.4-strlcpy-glibc-2.38.patch"
"${FILESDIR}/${PN}-3.7.4-musl.patch"
+   "${FILESDIR}/${PN}-3.7.4-gcc14.patch"
 )
 
 S="${WORKDIR}/${MY_P}"

diff --git a/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.7.4-gcc14.patch 
b/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.7.4-gcc14.patch
new file mode 100644
index ..345d7d5c80e4
--- /dev/null
+++ b/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.7.4-gcc14.patch
@@ -0,0 +1,39 @@
+--- a/src/aconnect.cc
 b/src/aconnect.cc
+@@ -6,6 +6,7 @@
+ #include "debug.h"
+ #include "portutils.h"
+ 
++#include 
+ #include 
+ 
+ #include 
+--- a/src/acregistry.cc
 b/src/acregistry.cc
+@@ -5,6 +5,7 @@
+ #include "cleaner.h"
+ #include "evabase.h"
+ 
++#include 
+ #include 
+ 
+ #define IN_ABOUT_ONE_DAY 10
+--- a/src/caddrinfo.cc
 b/src/caddrinfo.cc
+@@ -1,5 +1,6 @@
+ #include "meta.h"
+ 
++#include 
+ #include 
+ #include 
+ #include 
+--- a/src/header.cc
 b/src/header.cc
+@@ -10,6 +10,7 @@
+ #include "filereader.h"
+ #include "httpdate.h"
+ 
++#include 
+ #include 
+ #include 
+ 



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/, net-misc/apt-cacher-ng/files/

2024-03-24 Thread Sam James
commit: 779308f3b6981624f39e260016565e8384ba61c9
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 24 14:20:05 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 24 14:27:42 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=779308f3

net-misc/apt-cacher-ng: fix build w/ musl

Closes: https://bugs.gentoo.org/716564
Signed-off-by: Sam James  gentoo.org>

 net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild |  1 +
 net-misc/apt-cacher-ng/files/apt-cacher-ng-3.7.4-musl.patch | 11 +++
 2 files changed, 12 insertions(+)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild
index 390dc77a0974..1e0a7e08db8f 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild
@@ -37,6 +37,7 @@ PATCHES=(
"${FILESDIR}/${PN}-3.5-perl-syntax.patch"
"${FILESDIR}/${PN}-3.6-optional-systemd.patch"
"${FILESDIR}/${PN}-3.7.4-strlcpy-glibc-2.38.patch"
+   "${FILESDIR}/${PN}-3.7.4-musl.patch"
 )
 
 S="${WORKDIR}/${MY_P}"

diff --git a/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.7.4-musl.patch 
b/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.7.4-musl.patch
new file mode 100644
index ..01fb990fc98c
--- /dev/null
+++ b/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.7.4-musl.patch
@@ -0,0 +1,11 @@
+https://bugs.gentoo.org/716564
+--- a/src/meta.h
 b/src/meta.h
+@@ -20,6 +20,7 @@
+ #include 
+ #include 
+ #include 
++#include 
+ 
+ #include "astrop.h"
+ 



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/, net-misc/apt-cacher-ng/files/

2024-03-24 Thread Sam James
commit: 32043b1ee1d7473b06d83c5c12505273bd91
Author: Sam James  gentoo  org>
AuthorDate: Sun Mar 24 14:15:10 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Mar 24 14:15:10 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32043b1e

net-misc/apt-cacher-ng: fix build with glibc-2.38

Closes: https://bugs.gentoo.org/913133
Thanks-to: Richard Liu  techarea.org>
Signed-off-by: Sam James  gentoo.org>

 .../apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild |  3 +-
 .../apt-cacher-ng-3.7.4-strlcpy-glibc-2.38.patch   | 41 ++
 2 files changed, 43 insertions(+), 1 deletion(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild
index 3f1113b4af76..390dc77a0974 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -36,6 +36,7 @@ PATCHES=(
"${FILESDIR}/${PN}-3.3.1-flags.patch"
"${FILESDIR}/${PN}-3.5-perl-syntax.patch"
"${FILESDIR}/${PN}-3.6-optional-systemd.patch"
+   "${FILESDIR}/${PN}-3.7.4-strlcpy-glibc-2.38.patch"
 )
 
 S="${WORKDIR}/${MY_P}"

diff --git 
a/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.7.4-strlcpy-glibc-2.38.patch 
b/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.7.4-strlcpy-glibc-2.38.patch
new file mode 100644
index ..4d97d6b0d05c
--- /dev/null
+++ b/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.7.4-strlcpy-glibc-2.38.patch
@@ -0,0 +1,41 @@
+https://bugs.gentoo.org/913133
+
+From 7f4bb9de7c84bf55c446c98056259e4e6d8b61e7 Mon Sep 17 00:00:00 2001
+From: Richard Liu 
+Date: Fri, 19 Jan 2024 00:38:27 +0800
+Subject: [PATCH] fix compile error
+
+---
+ src/meta.cc | 2 +-
+ src/meta.h  | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/meta.cc b/src/meta.cc
+index 9a2053f..5b15eff 100644
+--- a/src/meta.cc
 b/src/meta.cc
+@@ -831,7 +831,7 @@ bool scaseequals(string_view a, string_view b)
+ return true;
+ }
+ 
+-#if !defined(HAVE_STRLCPY) || !HAVE_STRLCPY
++#if !defined(HAVE_STRLCPY)
+ size_t strlcpy(char *tgt, const char *src, size_t tgtSize)
+ {
+ auto p = src;
+diff --git a/src/meta.h b/src/meta.h
+index a1f4080..dafb754 100644
+--- a/src/meta.h
 b/src/meta.h
+@@ -323,7 +323,7 @@ class NoCaseStringMap : public std::map
+ static constexpr string_view svRN = szRN;
+ static constexpr string_view svLF = "\n";
+ 
+-#if !defined(HAVE_STRLCPY) || !HAVE_STRLCPY
++#if !defined(HAVE_STRLCPY)
+ size_t strlcpy(char *tgt, const char *src, size_t tgtSize);
+ #endif
+ }
+-- 
+2.43.0
+



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2023-08-19 Thread Sam James
commit: 722231a88b24be54eb4bd30f3b43f6e0d40e95b6
Author: Sam James  gentoo  org>
AuthorDate: Sun Aug 20 05:58:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Aug 20 05:58:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=722231a8

net-misc/apt-cacher-ng: Keyword 3.7.4_p1-r2 arm64, #912585

Signed-off-by: Sam James  gentoo.org>

 net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild
index 93003c161282..3f1113b4af76 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild
@@ -15,7 +15,7 @@ 
SRC_URI="https://salsa.debian.org/blade/${PN}/-/archive/debian/${MY_PV}/${MY_P}.
 
 LICENSE="BSD-4 ZLIB public-domain"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm64 ~x86"
 IUSE="doc fuse systemd tcpd"
 
 DEPEND="acct-user/apt-cacher-ng



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2023-02-13 Thread Mike Gilbert
commit: aea898f9fb3e0bfa1f6fc10c505e39a1a6ec393f
Author: Mike Gilbert  gentoo  org>
AuthorDate: Mon Feb 13 20:08:30 2023 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Feb 14 00:29:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aea898f9

net-misc/apt-cacher-ng: adjust libevent dependency

Bug: https://bugs.gentoo.org/869722
Signed-off-by: Mike Gilbert  gentoo.org>

 ...-cacher-ng-3.7.4_p1-r1.ebuild => apt-cacher-ng-3.7.4_p1-r2.ebuild} | 4 ++--
 net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild  | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild
similarity index 97%
rename from net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r1.ebuild
rename to net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild
index 290c31128e2b..93003c161282 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r1.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -21,7 +21,7 @@ IUSE="doc fuse systemd tcpd"
 DEPEND="acct-user/apt-cacher-ng
acct-group/apt-cacher-ng
app-arch/bzip2
-   dev-libs/libevent:=[threads]
+   dev-libs/libevent:=[threads(+)]
dev-libs/openssl:0=
net-dns/c-ares:=
sys-libs/zlib

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild
index 317ac95f9c39..c68f0b584466 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -18,7 +18,7 @@ IUSE="doc fuse systemd tcpd"
 DEPEND="acct-user/apt-cacher-ng
acct-group/apt-cacher-ng
app-arch/bzip2
-   dev-libs/libevent:=[threads]
+   dev-libs/libevent:=[threads(+)]
dev-libs/openssl:0=
sys-libs/zlib
fuse? ( sys-fs/fuse:0 )



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2022-10-21 Thread John Helmert III
commit: 943d632e3e3c156ddf51779ee924b6eb7a688d0a
Author: John Helmert III  gentoo  org>
AuthorDate: Fri Oct 21 05:55:24 2022 +
Commit: John Helmert III  gentoo  org>
CommitDate: Fri Oct 21 06:04:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=943d632e

net-misc/apt-cacher-ng: drop 3.6.3_p1-r2

Signed-off-by: John Helmert III  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|   1 -
 .../apt-cacher-ng/apt-cacher-ng-3.6.3_p1-r2.ebuild | 101 -
 2 files changed, 102 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 14a5618b82d6..71d95398f837 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1 @@
 DIST apt-cacher-ng-debian-3.7.4-1.tar.gz 524480 BLAKE2B 
ebb450af29439910fe35a558ae6f7ea02337bfbbe5a8efcb20a803e779deedd7901358a71b69745a53036fb8db9db3c9112fc09b47055f07dfe225f3df95202d
 SHA512 
a2aa3218d8cf216cef7177f30bfb90b9961460add2a90823e15952e38d19b0dd527e3cecd029bbf1f10abcfcfd11d406bc9019919d1efccf0d9d69bb7cc1a173
-DIST apt-cacher-ng_3.6.3.orig.tar.xz 334620 BLAKE2B 
7e77edb966f0732f392a3fb243cda547dca7d4f878e44c6c000491ccb0a3115ad58a553706ef02834d25366b09d24ee6af2dafad76f97cd1978dc5a4d35f3380
 SHA512 
57d991c71f6d0bb9d43b4645ee7be2fb38ccbf73581206e01b6ca389bd8591d5e9f425350e3aff053527125c95caefe9ab1217dedff812162cf6bd4cdfdef792

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1-r2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1-r2.ebuild
deleted file mode 100644
index f5616939a35b..
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1-r2.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake tmpfiles
-
-DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
-HOMEPAGE="https://www.unix-ag.uni-kl.de/~bloch/acng/
-   https://packages.qa.debian.org/a/apt-cacher-ng.html;
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz"
-
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-DEPEND="acct-user/apt-cacher-ng
-   acct-group/apt-cacher-ng
-   app-arch/bzip2
-   dev-libs/libevent:=[threads]
-   dev-libs/openssl:0=
-   sys-libs/zlib
-   fuse? ( sys-fs/fuse:0 )
-   systemd? ( sys-apps/systemd )
-   tcpd? ( sys-apps/tcp-wrappers )"
-BDEPEND="virtual/pkgconfig"
-RDEPEND="${DEPEND}
-   dev-lang/perl"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-3.3.1-flags.patch"
-   "${FILESDIR}/${PN}-3.5-perl-syntax.patch"
-   "${FILESDIR}/${PN}-3.6-optional-systemd.patch"
-)
-
-S="${WORKDIR}/${P/_*}"
-
-src_prepare() {
-   # Fixup systemd/CMakeLists.txt cmake version requirement
-   sed -ie "s/2.6/3.1/" systemd/CMakeLists.txt || die
-
-   # Make sure we install everything the same way it used to be after
-   # switching from mostly custom src_install to relying on build system
-   # installation
-   sed -e "/install/s/LIBDIR/CFGDIR/" \
-   -e "/install.*acng\.conf/s/)$/ RENAME ${PN}.conf)/" \
-   -e "/file/s/)$/ \"*hooks\" \"backends_debian\")/" -i 
conf/CMakeLists.txt || die
-   sed -ie "/INSTALL.*acngtool/s/LIBDIR/CMAKE_INSTALL_SBINDIR/" 
source/CMakeLists.txt || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   "-DHAVE_FUSE_25=$(usex fuse)"
-   "-DHAVE_LIBWRAP=$(usex tcpd)"
-   "-DSDINSTALL=$(usex systemd)"
-   )
-
-   cmake_src_configure
-
-   sed -ie '/LogDir/s|/var/tmp|/var/log/'"${PN}"'|g' 
"${BUILD_DIR}"/conf/acng.conf || die
-}
-
-src_install() {
-   # README is a symlink to doc/README and README automatically gets
-   # installed, leading to a broken symlink installed. Fix this by removing
-   # the symlink then installing the actual README. 
https://bugs.gentoo.org/770046
-   rm README || die
-   dodoc doc/README
-
-   newinitd "${FILESDIR}/initd-r3" "${PN}"
-   newconfd "${FILESDIR}/confd-r2" "${PN}"
-
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}/logrotate" "${PN}"
-
-   insinto /etc/cron.daily
-   newins "${FILESDIR}/cron.daily" "${PN}"
-
-   # USE=fuse installs acngfs, don't install manpage without the bin
-   if use !fuse; then
-   rm doc/man/acngfs.8 || die
-   fi
-
-   if use !doc; then
-   rm -r doc/html || die
-   fi
-
-   dosbin scripts/expire-caller.pl
-
-   keepdir "/var/log/${PN}"
-   fowners -R ${PN}:${PN} "/var/log/${PN}"
-
-   cmake_src_install
-}
-
-pkg_postinst() {
-   tmpfiles_process "${PN}.conf"
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2022-07-05 Thread John Helmert III
commit: 5d326ea274f5124c5eab638bc02832aa526e7845
Author: John Helmert III  gentoo  org>
AuthorDate: Tue Jul  5 22:17:31 2022 +
Commit: John Helmert III  gentoo  org>
CommitDate: Tue Jul  5 22:18:08 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d326ea2

net-misc/apt-cacher-ng: add c-ares DEPEND

Signed-off-by: John Helmert III  gentoo.org>

 .../{apt-cacher-ng-3.7.4_p1.ebuild => apt-cacher-ng-3.7.4_p1-r1.ebuild}  | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r1.ebuild
similarity index 99%
rename from net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1.ebuild
rename to net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r1.ebuild
index a80672c370a3..290c31128e2b 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r1.ebuild
@@ -23,6 +23,7 @@ DEPEND="acct-user/apt-cacher-ng
app-arch/bzip2
dev-libs/libevent:=[threads]
dev-libs/openssl:0=
+   net-dns/c-ares:=
sys-libs/zlib
fuse? ( sys-fs/fuse:0 )
systemd? ( sys-apps/systemd )



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2022-07-05 Thread John Helmert III
commit: 4d46cbec6d02ae40773352abd6f48e302ee5dea5
Author: John Helmert III  gentoo  org>
AuthorDate: Tue Jul  5 21:07:59 2022 +
Commit: John Helmert III  gentoo  org>
CommitDate: Tue Jul  5 21:08:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d46cbec

net-misc/apt-cacher-ng: add 3.7.4_p1

Signed-off-by: John Helmert III  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|   1 +
 .../apt-cacher-ng/apt-cacher-ng-3.7.4_p1.ebuild| 104 +
 2 files changed, 105 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index f208121fab43..14a5618b82d6 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1 +1,2 @@
+DIST apt-cacher-ng-debian-3.7.4-1.tar.gz 524480 BLAKE2B 
ebb450af29439910fe35a558ae6f7ea02337bfbbe5a8efcb20a803e779deedd7901358a71b69745a53036fb8db9db3c9112fc09b47055f07dfe225f3df95202d
 SHA512 
a2aa3218d8cf216cef7177f30bfb90b9961460add2a90823e15952e38d19b0dd527e3cecd029bbf1f10abcfcfd11d406bc9019919d1efccf0d9d69bb7cc1a173
 DIST apt-cacher-ng_3.6.3.orig.tar.xz 334620 BLAKE2B 
7e77edb966f0732f392a3fb243cda547dca7d4f878e44c6c000491ccb0a3115ad58a553706ef02834d25366b09d24ee6af2dafad76f97cd1978dc5a4d35f3380
 SHA512 
57d991c71f6d0bb9d43b4645ee7be2fb38ccbf73581206e01b6ca389bd8591d5e9f425350e3aff053527125c95caefe9ab1217dedff812162cf6bd4cdfdef792

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1.ebuild
new file mode 100644
index ..a80672c370a3
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake tmpfiles
+
+MY_PV="${PV/_p/-}"
+MY_P="${PN}-debian-${MY_PV}"
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html;
+SRC_URI="https://salsa.debian.org/blade/${PN}/-/archive/debian/${MY_PV}/${MY_P}.tar.gz;
+
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+DEPEND="acct-user/apt-cacher-ng
+   acct-group/apt-cacher-ng
+   app-arch/bzip2
+   dev-libs/libevent:=[threads]
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   fuse? ( sys-fs/fuse:0 )
+   systemd? ( sys-apps/systemd )
+   tcpd? ( sys-apps/tcp-wrappers )"
+BDEPEND="virtual/pkgconfig"
+RDEPEND="${DEPEND}
+   dev-lang/perl"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-3.3.1-flags.patch"
+   "${FILESDIR}/${PN}-3.5-perl-syntax.patch"
+   "${FILESDIR}/${PN}-3.6-optional-systemd.patch"
+)
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+   # Fixup systemd/CMakeLists.txt cmake version requirement
+   sed -ie "s/2.6/3.1/" systemd/CMakeLists.txt || die
+
+   # Make sure we install everything the same way it used to be after
+   # switching from mostly custom src_install to relying on build system
+   # installation
+   sed -e "/install/s/LIBDIR/CFGDIR/" \
+   -e "/install.*acng\.conf/s/)$/ RENAME ${PN}.conf)/" \
+   -e "/file/s/)$/ \"*hooks\" \"backends_debian\")/" -i 
conf/CMakeLists.txt || die
+   sed -ie "/INSTALL.*acngtool/s/LIBDIR/CMAKE_INSTALL_SBINDIR/" 
src/CMakeLists.txt || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   "-DHAVE_FUSE_25=$(usex fuse)"
+   "-DHAVE_LIBWRAP=$(usex tcpd)"
+   "-DSDINSTALL=$(usex systemd)"
+   )
+
+   cmake_src_configure
+
+   sed -ie '/LogDir/s|/var/tmp|/var/log/'"${PN}"'|g' 
"${BUILD_DIR}"/conf/acng.conf || die
+}
+
+src_install() {
+   # README is a symlink to doc/README and README automatically gets
+   # installed, leading to a broken symlink installed. Fix this by removing
+   # the symlink then installing the actual README. 
https://bugs.gentoo.org/770046
+   rm README || die
+   dodoc doc/README
+
+   newinitd "${FILESDIR}/initd-r3" "${PN}"
+   newconfd "${FILESDIR}/confd-r2" "${PN}"
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/logrotate" "${PN}"
+
+   insinto /etc/cron.daily
+   newins "${FILESDIR}/cron.daily" "${PN}"
+
+   # USE=fuse installs acngfs, don't install manpage without the bin
+   if use !fuse; then
+   rm doc/man/acngfs.8 || die
+   fi
+
+   if use !doc; then
+   rm -r doc/html || die
+   fi
+
+   dosbin scripts/expire-caller.pl
+
+   keepdir "/var/log/${PN}"
+   fowners -R ${PN}:${PN} "/var/log/${PN}"
+
+   cmake_src_install
+}
+
+pkg_postinst() {
+   tmpfiles_process "${PN}.conf"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2021-08-21 Thread John Helmert III
commit: a786bf0592e537ff939e17466940a06c79f84320
Author: John Helmert III  gentoo  org>
AuthorDate: Sat Aug 21 23:19:40 2021 +
Commit: John Helmert III  gentoo  org>
CommitDate: Sat Aug 21 23:20:51 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a786bf05

net-misc/apt-cacher-ng: propagate some fixes to live ebuild

Signed-off-by: John Helmert III  gentoo.org>

 net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild | 31 ++--
 1 file changed, 18 insertions(+), 13 deletions(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild
index c69b956cb3c..317ac95f9c3 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake git-r3
+inherit cmake git-r3 tmpfiles
 
 DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
 HOMEPAGE="https://www.unix-ag.uni-kl.de/~bloch/acng/
@@ -13,7 +13,7 @@ EGIT_BRANCH="upstream/sid"
 
 LICENSE="BSD-4 ZLIB public-domain"
 SLOT="0"
-IUSE="doc fuse tcpd"
+IUSE="doc fuse systemd tcpd"
 
 DEPEND="acct-user/apt-cacher-ng
acct-group/apt-cacher-ng
@@ -22,6 +22,7 @@ DEPEND="acct-user/apt-cacher-ng
dev-libs/openssl:0=
sys-libs/zlib
fuse? ( sys-fs/fuse:0 )
+   systemd? ( sys-apps/systemd )
tcpd? ( sys-apps/tcp-wrappers )"
 BDEPEND="virtual/pkgconfig"
 RDEPEND="${DEPEND}
@@ -41,10 +42,11 @@ src_prepare() {
# Make sure we install everything the same way it used to be after
# switching from mostly custom src_install to relying on build system
# installation
-   sed -ie "/install/s/LIBDIR/CFGDIR/" conf/CMakeLists.txt || die
-   sed -ie '/install.*acng\.conf/s/)$/ RENAME '"${PN}"'.conf)/' 
conf/CMakeLists.txt || die
-   sed -ie '/file/s/)$/ "*hooks" "backends_debian")/' conf/CMakeLists.txt 
|| die
+   sed -e "/install/s/LIBDIR/CFGDIR/" \
+   -e '/install.*acng\.conf/s/)$/ RENAME '"${PN}"'.conf)/' \
+   -e '/file/s/)$/ "*hooks" "backends_debian")/' -i 
conf/CMakeLists.txt || die
sed -ie "/INSTALL.*acngtool/s/LIBDIR/CMAKE_INSTALL_SBINDIR/" 
source/CMakeLists.txt || die
+
cmake_src_prepare
 }
 
@@ -52,22 +54,21 @@ src_configure() {
local mycmakeargs=(
"-DHAVE_FUSE_25=$(usex fuse)"
"-DHAVE_LIBWRAP=$(usex tcpd)"
-   # Unconditionally install systemd service file
-   "-DSDINSTALL=1"
+   "-DSDINSTALL=$(usex systemd)"
)
 
-   if tc-ld-is-gold; then
-   mycmakeargs+=( "-DUSE_GOLD=yes" )
-   else
-   mycmakeargs+=( "-DUSE_GOLD=no" )
-   fi
-
cmake_src_configure
 
sed -ie '/LogDir/s|/var/tmp|/var/log/'"${PN}"'|g' 
"${BUILD_DIR}"/conf/acng.conf || die
 }
 
 src_install() {
+   # README is a symlink to doc/README and README automatically gets
+   # installed, leading to a broken symlink installed. Fix this by removing
+   # the symlink then installing the actual README. 
https://bugs.gentoo.org/770046
+   rm README || die
+   dodoc doc/README
+
newinitd "${FILESDIR}/initd-r3" "${PN}"
newconfd "${FILESDIR}/confd-r2" "${PN}"
 
@@ -93,3 +94,7 @@ src_install() {
 
cmake_src_install
 }
+
+pkg_postinst() {
+   tmpfiles_process "${PN}.conf"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2021-08-21 Thread John Helmert III
commit: 373fe0ead1ce6c14891d575827be0bc3256be5e3
Author: John Helmert III  gentoo  org>
AuthorDate: Sat Aug 21 16:09:35 2021 +
Commit: John Helmert III  gentoo  org>
CommitDate: Sat Aug 21 23:20:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=373fe0ea

net-misc/apt-cacher-ng: fix tmpfiles handling

Closes: https://bugs.gentoo.org/809200
Signed-off-by: John Helmert III  gentoo.org>

 ...acher-ng-3.6.3_p1-r1.ebuild => apt-cacher-ng-3.6.3_p1-r2.ebuild} | 6 +-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1-r1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1-r2.ebuild
similarity index 97%
rename from net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1-r1.ebuild
rename to net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1-r2.ebuild
index 4dd1587fad7..f5616939a35 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1-r1.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake
+inherit cmake tmpfiles
 
 DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
 HOMEPAGE="https://www.unix-ag.uni-kl.de/~bloch/acng/
@@ -95,3 +95,7 @@ src_install() {
 
cmake_src_install
 }
+
+pkg_postinst() {
+   tmpfiles_process "${PN}.conf"
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2021-08-07 Thread John Helmert III
commit: 1adeb1e39c7ff8ff33f82ec39ab8fa237d5ff35c
Author: John Helmert III  gentoo  org>
AuthorDate: Sat Aug  7 20:05:21 2021 +
Commit: John Helmert III  gentoo  org>
CommitDate: Sat Aug  7 20:05:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1adeb1e3

net-misc/apt-cacher-ng: add libevent[threads] usedep

Closes: https://bugs.gentoo.org/806956
Signed-off-by: John Helmert III  gentoo.org>

 .../{apt-cacher-ng-3.6.3_p1.ebuild => apt-cacher-ng-3.6.3_p1-r1.ebuild} | 2 +-
 net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild| 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1-r1.ebuild
similarity index 98%
rename from net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1.ebuild
rename to net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1-r1.ebuild
index ce6af89f9fa..4dd1587fad7 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1-r1.ebuild
@@ -18,7 +18,7 @@ IUSE="doc fuse systemd tcpd"
 DEPEND="acct-user/apt-cacher-ng
acct-group/apt-cacher-ng
app-arch/bzip2
-   dev-libs/libevent:=
+   dev-libs/libevent:=[threads]
dev-libs/openssl:0=
sys-libs/zlib
fuse? ( sys-fs/fuse:0 )

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild
index eeecc4fa1d9..c69b956cb3c 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild
@@ -18,7 +18,7 @@ IUSE="doc fuse tcpd"
 DEPEND="acct-user/apt-cacher-ng
acct-group/apt-cacher-ng
app-arch/bzip2
-   dev-libs/libevent:=
+   dev-libs/libevent:=[threads]
dev-libs/openssl:0=
sys-libs/zlib
fuse? ( sys-fs/fuse:0 )



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2021-03-13 Thread John Helmert III
commit: f6c988eac22761656b76f8d2d98fa73d0c739805
Author: John Helmert III  gentoo  org>
AuthorDate: Sun Mar 14 02:11:16 2021 +
Commit: John Helmert III  gentoo  org>
CommitDate: Sun Mar 14 02:11:16 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6c988ea

net-misc/apt-cacher-ng: drop 3.6_p1, 3.6.2_p1

Signed-off-by: John Helmert III  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|  2 -
 .../apt-cacher-ng/apt-cacher-ng-3.6.2_p1.ebuild| 97 --
 net-misc/apt-cacher-ng/apt-cacher-ng-3.6_p1.ebuild | 97 --
 3 files changed, 196 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 7bf216aa7df..f208121fab4 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,3 +1 @@
-DIST apt-cacher-ng_3.6.2.orig.tar.xz 334412 BLAKE2B 
4a104337efc8a901d137bafefb6e4bdd90972c8584cef6cce470386c0f26638c5d80a99c12789e47eeae572d95483620435c4adbedefc64af98f906681e255a7
 SHA512 
8ad40e22ef5b2d952f1968431e8e2a64bf83223424866426ce04d67647b6a7e44e63dfcbe8269606b9ef135097e6d88a16e2b825c1be5c074dba706d47df5f61
 DIST apt-cacher-ng_3.6.3.orig.tar.xz 334620 BLAKE2B 
7e77edb966f0732f392a3fb243cda547dca7d4f878e44c6c000491ccb0a3115ad58a553706ef02834d25366b09d24ee6af2dafad76f97cd1978dc5a4d35f3380
 SHA512 
57d991c71f6d0bb9d43b4645ee7be2fb38ccbf73581206e01b6ca389bd8591d5e9f425350e3aff053527125c95caefe9ab1217dedff812162cf6bd4cdfdef792
-DIST apt-cacher-ng_3.6.orig.tar.xz 331300 BLAKE2B 
6c3e118e2b2d79492d6b33f1a40fd9e4aa963e90141706b84603e69551e37f99a813d59c564d442b38eea2ba3b115913d767c9a97da0b08b5efe8bfe2b657acf
 SHA512 
6f58afe10d9e5adb036ca2de67cf017415623dc0552ed60a64967ac248a1cc44be87fd9ddf8905a16d347bd1367425a46316ae6cd4fdc2f1e94f668b59dae63e

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.2_p1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.2_p1.ebuild
deleted file mode 100644
index ce6af89f9fa..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.2_p1.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
-HOMEPAGE="https://www.unix-ag.uni-kl.de/~bloch/acng/
-   https://packages.qa.debian.org/a/apt-cacher-ng.html;
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz"
-
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-DEPEND="acct-user/apt-cacher-ng
-   acct-group/apt-cacher-ng
-   app-arch/bzip2
-   dev-libs/libevent:=
-   dev-libs/openssl:0=
-   sys-libs/zlib
-   fuse? ( sys-fs/fuse:0 )
-   systemd? ( sys-apps/systemd )
-   tcpd? ( sys-apps/tcp-wrappers )"
-BDEPEND="virtual/pkgconfig"
-RDEPEND="${DEPEND}
-   dev-lang/perl"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-3.3.1-flags.patch"
-   "${FILESDIR}/${PN}-3.5-perl-syntax.patch"
-   "${FILESDIR}/${PN}-3.6-optional-systemd.patch"
-)
-
-S="${WORKDIR}/${P/_*}"
-
-src_prepare() {
-   # Fixup systemd/CMakeLists.txt cmake version requirement
-   sed -ie "s/2.6/3.1/" systemd/CMakeLists.txt || die
-
-   # Make sure we install everything the same way it used to be after
-   # switching from mostly custom src_install to relying on build system
-   # installation
-   sed -e "/install/s/LIBDIR/CFGDIR/" \
-   -e "/install.*acng\.conf/s/)$/ RENAME ${PN}.conf)/" \
-   -e "/file/s/)$/ \"*hooks\" \"backends_debian\")/" -i 
conf/CMakeLists.txt || die
-   sed -ie "/INSTALL.*acngtool/s/LIBDIR/CMAKE_INSTALL_SBINDIR/" 
source/CMakeLists.txt || die
-
-   cmake_src_prepare
-}
-
-src_configure() {
-   local mycmakeargs=(
-   "-DHAVE_FUSE_25=$(usex fuse)"
-   "-DHAVE_LIBWRAP=$(usex tcpd)"
-   "-DSDINSTALL=$(usex systemd)"
-   )
-
-   cmake_src_configure
-
-   sed -ie '/LogDir/s|/var/tmp|/var/log/'"${PN}"'|g' 
"${BUILD_DIR}"/conf/acng.conf || die
-}
-
-src_install() {
-   # README is a symlink to doc/README and README automatically gets
-   # installed, leading to a broken symlink installed. Fix this by removing
-   # the symlink then installing the actual README. 
https://bugs.gentoo.org/770046
-   rm README || die
-   dodoc doc/README
-
-   newinitd "${FILESDIR}/initd-r3" "${PN}"
-   newconfd "${FILESDIR}/confd-r2" "${PN}"
-
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}/logrotate" "${PN}"
-
-   insinto /etc/cron.daily
-   newins "${FILESDIR}/cron.daily" "${PN}"
-
-   # USE=fuse installs acngfs, don't install manpage without the bin
-   if use !fuse; then
-   rm doc/man/acngfs.8 || die
-   fi
-
-   if use !doc; then
-   rm -r doc/html || die
-   fi
-
-   dosbin scripts/expire-caller.pl
-
-   keepdir 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2021-03-13 Thread John Helmert III
commit: 7f2cfd58001f870863389de6d40d99809b8fa3a4
Author: John Helmert III  gentoo  org>
AuthorDate: Sun Mar 14 02:09:15 2021 +
Commit: John Helmert III  gentoo  org>
CommitDate: Sun Mar 14 02:09:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f2cfd58

net-misc/apt-cacher-ng: bump 3.6.3_p1

Signed-off-by: John Helmert III  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|  1 +
 .../apt-cacher-ng/apt-cacher-ng-3.6.3_p1.ebuild| 97 ++
 2 files changed, 98 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 2cf1152ba53..7bf216aa7df 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1,3 @@
 DIST apt-cacher-ng_3.6.2.orig.tar.xz 334412 BLAKE2B 
4a104337efc8a901d137bafefb6e4bdd90972c8584cef6cce470386c0f26638c5d80a99c12789e47eeae572d95483620435c4adbedefc64af98f906681e255a7
 SHA512 
8ad40e22ef5b2d952f1968431e8e2a64bf83223424866426ce04d67647b6a7e44e63dfcbe8269606b9ef135097e6d88a16e2b825c1be5c074dba706d47df5f61
+DIST apt-cacher-ng_3.6.3.orig.tar.xz 334620 BLAKE2B 
7e77edb966f0732f392a3fb243cda547dca7d4f878e44c6c000491ccb0a3115ad58a553706ef02834d25366b09d24ee6af2dafad76f97cd1978dc5a4d35f3380
 SHA512 
57d991c71f6d0bb9d43b4645ee7be2fb38ccbf73581206e01b6ca389bd8591d5e9f425350e3aff053527125c95caefe9ab1217dedff812162cf6bd4cdfdef792
 DIST apt-cacher-ng_3.6.orig.tar.xz 331300 BLAKE2B 
6c3e118e2b2d79492d6b33f1a40fd9e4aa963e90141706b84603e69551e37f99a813d59c564d442b38eea2ba3b115913d767c9a97da0b08b5efe8bfe2b657acf
 SHA512 
6f58afe10d9e5adb036ca2de67cf017415623dc0552ed60a64967ac248a1cc44be87fd9ddf8905a16d347bd1367425a46316ae6cd4fdc2f1e94f668b59dae63e

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1.ebuild
new file mode 100644
index 000..ce6af89f9fa
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.3_p1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html;
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz"
+
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+DEPEND="acct-user/apt-cacher-ng
+   acct-group/apt-cacher-ng
+   app-arch/bzip2
+   dev-libs/libevent:=
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   fuse? ( sys-fs/fuse:0 )
+   systemd? ( sys-apps/systemd )
+   tcpd? ( sys-apps/tcp-wrappers )"
+BDEPEND="virtual/pkgconfig"
+RDEPEND="${DEPEND}
+   dev-lang/perl"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-3.3.1-flags.patch"
+   "${FILESDIR}/${PN}-3.5-perl-syntax.patch"
+   "${FILESDIR}/${PN}-3.6-optional-systemd.patch"
+)
+
+S="${WORKDIR}/${P/_*}"
+
+src_prepare() {
+   # Fixup systemd/CMakeLists.txt cmake version requirement
+   sed -ie "s/2.6/3.1/" systemd/CMakeLists.txt || die
+
+   # Make sure we install everything the same way it used to be after
+   # switching from mostly custom src_install to relying on build system
+   # installation
+   sed -e "/install/s/LIBDIR/CFGDIR/" \
+   -e "/install.*acng\.conf/s/)$/ RENAME ${PN}.conf)/" \
+   -e "/file/s/)$/ \"*hooks\" \"backends_debian\")/" -i 
conf/CMakeLists.txt || die
+   sed -ie "/INSTALL.*acngtool/s/LIBDIR/CMAKE_INSTALL_SBINDIR/" 
source/CMakeLists.txt || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   "-DHAVE_FUSE_25=$(usex fuse)"
+   "-DHAVE_LIBWRAP=$(usex tcpd)"
+   "-DSDINSTALL=$(usex systemd)"
+   )
+
+   cmake_src_configure
+
+   sed -ie '/LogDir/s|/var/tmp|/var/log/'"${PN}"'|g' 
"${BUILD_DIR}"/conf/acng.conf || die
+}
+
+src_install() {
+   # README is a symlink to doc/README and README automatically gets
+   # installed, leading to a broken symlink installed. Fix this by removing
+   # the symlink then installing the actual README. 
https://bugs.gentoo.org/770046
+   rm README || die
+   dodoc doc/README
+
+   newinitd "${FILESDIR}/initd-r3" "${PN}"
+   newconfd "${FILESDIR}/confd-r2" "${PN}"
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/logrotate" "${PN}"
+
+   insinto /etc/cron.daily
+   newins "${FILESDIR}/cron.daily" "${PN}"
+
+   # USE=fuse installs acngfs, don't install manpage without the bin
+   if use !fuse; then
+   rm doc/man/acngfs.8 || die
+   fi
+
+   if use !doc; then
+   rm -r doc/html || die
+   fi
+
+   dosbin scripts/expire-caller.pl
+
+   keepdir "/var/log/${PN}"
+   fowners -R ${PN}:${PN} "/var/log/${PN}"
+
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2021-03-09 Thread John Helmert III
commit: 3cc9167ae049fa88cc7970a141c12275f4eb18b8
Author: John Helmert III  gentoo  org>
AuthorDate: Tue Mar  9 13:59:38 2021 +
Commit: John Helmert III  gentoo  org>
CommitDate: Tue Mar  9 13:59:38 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cc9167a

net-misc/apt-cacher-ng: bump to 3.6.2_p1

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: John Helmert III  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|  1 +
 .../apt-cacher-ng/apt-cacher-ng-3.6.2_p1.ebuild| 97 ++
 2 files changed, 98 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index db811e62000..2cf1152ba53 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1 +1,2 @@
+DIST apt-cacher-ng_3.6.2.orig.tar.xz 334412 BLAKE2B 
4a104337efc8a901d137bafefb6e4bdd90972c8584cef6cce470386c0f26638c5d80a99c12789e47eeae572d95483620435c4adbedefc64af98f906681e255a7
 SHA512 
8ad40e22ef5b2d952f1968431e8e2a64bf83223424866426ce04d67647b6a7e44e63dfcbe8269606b9ef135097e6d88a16e2b825c1be5c074dba706d47df5f61
 DIST apt-cacher-ng_3.6.orig.tar.xz 331300 BLAKE2B 
6c3e118e2b2d79492d6b33f1a40fd9e4aa963e90141706b84603e69551e37f99a813d59c564d442b38eea2ba3b115913d767c9a97da0b08b5efe8bfe2b657acf
 SHA512 
6f58afe10d9e5adb036ca2de67cf017415623dc0552ed60a64967ac248a1cc44be87fd9ddf8905a16d347bd1367425a46316ae6cd4fdc2f1e94f668b59dae63e

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.2_p1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.2_p1.ebuild
new file mode 100644
index 000..ce6af89f9fa
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.6.2_p1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html;
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz"
+
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+DEPEND="acct-user/apt-cacher-ng
+   acct-group/apt-cacher-ng
+   app-arch/bzip2
+   dev-libs/libevent:=
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   fuse? ( sys-fs/fuse:0 )
+   systemd? ( sys-apps/systemd )
+   tcpd? ( sys-apps/tcp-wrappers )"
+BDEPEND="virtual/pkgconfig"
+RDEPEND="${DEPEND}
+   dev-lang/perl"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-3.3.1-flags.patch"
+   "${FILESDIR}/${PN}-3.5-perl-syntax.patch"
+   "${FILESDIR}/${PN}-3.6-optional-systemd.patch"
+)
+
+S="${WORKDIR}/${P/_*}"
+
+src_prepare() {
+   # Fixup systemd/CMakeLists.txt cmake version requirement
+   sed -ie "s/2.6/3.1/" systemd/CMakeLists.txt || die
+
+   # Make sure we install everything the same way it used to be after
+   # switching from mostly custom src_install to relying on build system
+   # installation
+   sed -e "/install/s/LIBDIR/CFGDIR/" \
+   -e "/install.*acng\.conf/s/)$/ RENAME ${PN}.conf)/" \
+   -e "/file/s/)$/ \"*hooks\" \"backends_debian\")/" -i 
conf/CMakeLists.txt || die
+   sed -ie "/INSTALL.*acngtool/s/LIBDIR/CMAKE_INSTALL_SBINDIR/" 
source/CMakeLists.txt || die
+
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   "-DHAVE_FUSE_25=$(usex fuse)"
+   "-DHAVE_LIBWRAP=$(usex tcpd)"
+   "-DSDINSTALL=$(usex systemd)"
+   )
+
+   cmake_src_configure
+
+   sed -ie '/LogDir/s|/var/tmp|/var/log/'"${PN}"'|g' 
"${BUILD_DIR}"/conf/acng.conf || die
+}
+
+src_install() {
+   # README is a symlink to doc/README and README automatically gets
+   # installed, leading to a broken symlink installed. Fix this by removing
+   # the symlink then installing the actual README. 
https://bugs.gentoo.org/770046
+   rm README || die
+   dodoc doc/README
+
+   newinitd "${FILESDIR}/initd-r3" "${PN}"
+   newconfd "${FILESDIR}/confd-r2" "${PN}"
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/logrotate" "${PN}"
+
+   insinto /etc/cron.daily
+   newins "${FILESDIR}/cron.daily" "${PN}"
+
+   # USE=fuse installs acngfs, don't install manpage without the bin
+   if use !fuse; then
+   rm doc/man/acngfs.8 || die
+   fi
+
+   if use !doc; then
+   rm -r doc/html || die
+   fi
+
+   dosbin scripts/expire-caller.pl
+
+   keepdir "/var/log/${PN}"
+   fowners -R ${PN}:${PN} "/var/log/${PN}"
+
+   cmake_src_install
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/, net-misc/apt-cacher-ng/files/

2021-02-21 Thread John Helmert III
commit: 77484e1a1c3c1b2d96fb7271aba8e3a40c89
Author: John Helmert III  gentoo  org>
AuthorDate: Thu Feb 18 01:30:59 2021 +
Commit: John Helmert III  gentoo  org>
CommitDate: Sun Feb 21 16:39:19 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77484e1a

net-misc/apt-cacher-ng: bump to 3.6_p1

Fix broken symlink by installing the symlink's target instead. Re-add
systemd dependency/IUSE because an installed binary links to it when
available. Drop debian patches because they don't exist for this
version, and appear to be necessary anyway.

Closes: https://bugs.gentoo.org/770046
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: John Helmert III  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/19513
Signed-off-by: John Helmert III  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|  3 +-
 ...g-3.5_p3.ebuild => apt-cacher-ng-3.6_p1.ebuild} | 24 -
 .../files/apt-cacher-ng-3.6-optional-systemd.patch | 62 ++
 3 files changed, 75 insertions(+), 14 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 8f5b3dcee4f..db811e62000 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1 @@
-DIST apt-cacher-ng_3.5-3.debian.tar.xz 49708 BLAKE2B 
85092374207a252dcb4ef7b95dc434f81f9b67791e20099dc058022a9a575130070c12827f3fd04640fcec3b44a444fb85d8cea6439d5eaeeb359f263fb05682
 SHA512 
f690ae69d38b8e9c73ef095e9779364c7c5ccd246b19e8f5ce2edde47861e44c0aedabc75bcf11f5b408e034e52190dc8ed1789b503284f8f68dc1f5e84e1712
-DIST apt-cacher-ng_3.5.orig.tar.xz 325260 BLAKE2B 
1cf19bd575d4e3d320f73771b31e98977417713d57ceaaccb8b6c0eff7bd5e02c99a0c197ddbc09d14d8f6a70799525dedfe1fbacb00357f65f0c8c4d540bcab
 SHA512 
0bbc78c128d353ec2504f4d898d0ffb339778e98ab9899d48c61c094b15cafd92e430f864c82b66049578f5dd3c9e74fc5c09883231faeddce453be64e6f8954
+DIST apt-cacher-ng_3.6.orig.tar.xz 331300 BLAKE2B 
6c3e118e2b2d79492d6b33f1a40fd9e4aa963e90141706b84603e69551e37f99a813d59c564d442b38eea2ba3b115913d767c9a97da0b08b5efe8bfe2b657acf
 SHA512 
6f58afe10d9e5adb036ca2de67cf017415623dc0552ed60a64967ac248a1cc44be87fd9ddf8905a16d347bd1367425a46316ae6cd4fdc2f1e94f668b59dae63e

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p3.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.6_p1.ebuild
similarity index 84%
rename from net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p3.ebuild
rename to net-misc/apt-cacher-ng/apt-cacher-ng-3.6_p1.ebuild
index 56294639238..ce6af89f9fa 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p3.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.6_p1.ebuild
@@ -8,13 +8,12 @@ inherit cmake
 DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
 HOMEPAGE="https://www.unix-ag.uni-kl.de/~bloch/acng/
https://packages.qa.debian.org/a/apt-cacher-ng.html;
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz
-   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_p/-}.debian.tar.xz"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz"
 
 LICENSE="BSD-4 ZLIB public-domain"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse tcpd"
+IUSE="doc fuse systemd tcpd"
 
 DEPEND="acct-user/apt-cacher-ng
acct-group/apt-cacher-ng
@@ -23,6 +22,7 @@ DEPEND="acct-user/apt-cacher-ng
dev-libs/openssl:0=
sys-libs/zlib
fuse? ( sys-fs/fuse:0 )
+   systemd? ( sys-apps/systemd )
tcpd? ( sys-apps/tcp-wrappers )"
 BDEPEND="virtual/pkgconfig"
 RDEPEND="${DEPEND}
@@ -31,7 +31,7 @@ RDEPEND="${DEPEND}
 PATCHES=(
"${FILESDIR}/${PN}-3.3.1-flags.patch"
"${FILESDIR}/${PN}-3.5-perl-syntax.patch"
-   "${WORKDIR}/debian/patches/debian-changes"
+   "${FILESDIR}/${PN}-3.6-optional-systemd.patch"
 )
 
 S="${WORKDIR}/${P/_*}"
@@ -47,6 +47,7 @@ src_prepare() {
-e "/install.*acng\.conf/s/)$/ RENAME ${PN}.conf)/" \
-e "/file/s/)$/ \"*hooks\" \"backends_debian\")/" -i 
conf/CMakeLists.txt || die
sed -ie "/INSTALL.*acngtool/s/LIBDIR/CMAKE_INSTALL_SBINDIR/" 
source/CMakeLists.txt || die
+
cmake_src_prepare
 }
 
@@ -54,22 +55,21 @@ src_configure() {
local mycmakeargs=(
"-DHAVE_FUSE_25=$(usex fuse)"
"-DHAVE_LIBWRAP=$(usex tcpd)"
-   # Unconditionally install systemd service file
-   "-DSDINSTALL=1"
+   "-DSDINSTALL=$(usex systemd)"
)
 
-   if tc-ld-is-gold; then
-   mycmakeargs+=( "-DUSE_GOLD=yes" )
-   else
-   mycmakeargs+=( "-DUSE_GOLD=no" )
-   fi
-
cmake_src_configure
 
sed -ie '/LogDir/s|/var/tmp|/var/log/'"${PN}"'|g' 
"${BUILD_DIR}"/conf/acng.conf || die
 }
 
 src_install() {
+   # README is a symlink to doc/README and README automatically gets
+   # installed, leading to a broken symlink installed. Fix this by removing
+   # the symlink then installing the actual README. 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/files/

2021-02-18 Thread Conrad Kostecki
commit: a4f1ba8ad5afacccfd18512b4141dc3ebd7e3ab5
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Thu Feb 18 16:57:50 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Thu Feb 18 23:04:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4f1ba8a

net-misc/apt-cacher-ng: remove unused patch

Closes: https://github.com/gentoo/gentoo/pull/19522
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../files/apt-cacher-ng-999-flags.patch| 18 --
 1 file changed, 18 deletions(-)

diff --git a/net-misc/apt-cacher-ng/files/apt-cacher-ng-999-flags.patch 
b/net-misc/apt-cacher-ng/files/apt-cacher-ng-999-flags.patch
deleted file mode 100644
index 8fe769ada32..000
--- a/net-misc/apt-cacher-ng/files/apt-cacher-ng-999-flags.patch
+++ /dev/null
@@ -1,18 +0,0 @@
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -114,15 +114,6 @@
- 
- if(CMAKE_BUILD_TYPE MATCHES Debug)
-set(USE_LTO_DEFAULT off)
--else()
--   set(CMAKE_REQUIRED_FLAGS "-Wl,--gc-sections")
--   CHECK_CXX_COMPILER_FLAG("-Os -fdata-sections -ffunction-sections 
-Wl,--gc-sections" GC_SECTIONS)
--   if(GC_SECTIONS)
--   _append(ACNG_COMPFLAGS -fdata-sections -ffunction-sections)
--   _append(CMAKE_EXE_LINKER_FLAGS -Wl,--gc-sections)
--   _append(CMAKE_SHARED_LINKER_FLAGS -Wl,--gc-sections)
--   endif()
--   set(CMAKE_REQUIRED_FLAGS "")
- endif()
- 
- option(USE_LTO "Enable Link Time Optimization (requires modern compilers)" 
${USE_LTO_DEFAULT})



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2021-02-11 Thread Joonas Niilola
commit: 9fe272e902adb192131bc4ce278478887543db61
Author: John Helmert III  posteo  net>
AuthorDate: Sat Jan 30 05:11:15 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Feb 11 08:56:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fe272e9

net-misc/apt-cacher-ng: take maintainership

Signed-off-by: John Helmert III  posteo.net>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-misc/apt-cacher-ng/metadata.xml | 15 +++
 1 file changed, 11 insertions(+), 4 deletions(-)

diff --git a/net-misc/apt-cacher-ng/metadata.xml 
b/net-misc/apt-cacher-ng/metadata.xml
index 569b73d1178..453387392cc 100644
--- a/net-misc/apt-cacher-ng/metadata.xml
+++ b/net-misc/apt-cacher-ng/metadata.xml
@@ -1,8 +1,15 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-
-Install the sys-fs/fuse based acngfs, to use a 
userspace filesystem for the apt cache.
-
+   
+   jchelme...@posteo.net
+   John Helmert III
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   Install the sys-fs/fuse based 
acngfs, to use a userspace filesystem for the apt cache.
+   
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/files/

2021-02-11 Thread Joonas Niilola
commit: 0fb35bbe4a10508a873921ab71435681db43d24b
Author: John Helmert III  posteo  net>
AuthorDate: Sat Jan 30 05:30:03 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Feb 11 08:56:04 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0fb35bbe

net-misc/apt-cacher-ng: remove old openrc files

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: John Helmert III  posteo.net>
Closes: https://github.com/gentoo/gentoo/pull/19261
Signed-off-by: Joonas Niilola  gentoo.org>

 net-misc/apt-cacher-ng/files/confd-r1 |  3 ---
 net-misc/apt-cacher-ng/files/initd-r2 | 34 --
 2 files changed, 37 deletions(-)

diff --git a/net-misc/apt-cacher-ng/files/confd-r1 
b/net-misc/apt-cacher-ng/files/confd-r1
deleted file mode 100644
index 84b659bc488..000
--- a/net-misc/apt-cacher-ng/files/confd-r1
+++ /dev/null
@@ -1,3 +0,0 @@
-# Additional options that are passed to the Daemon.
-DAEMON_OPTS=" -c /etc/apt-cacher-ng "
-LOGDIR=""

diff --git a/net-misc/apt-cacher-ng/files/initd-r2 
b/net-misc/apt-cacher-ng/files/initd-r2
deleted file mode 100644
index ae9ab7258cc..000
--- a/net-misc/apt-cacher-ng/files/initd-r2
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-CACHEDIR="var/cache/${RC_SVCNAME}"
-DAEMON="/usr/sbin/${RC_SVCNAME}"
-RUNDIR="/var/run/${RC_SVCNAME}"
-PIDFILE="${RUNDIR}/${RC_SVCNAME}.pid"
-SOCKETFILE="${RUNDIR}/${RC_SVCNAME}.socket"
-DAEMON_OPTS="${DAEMON_OPTS} pidfile=${PIDFILE} SocketPath=${SOCKETFILE} 
foreground=0"
-
-depend() {
-   use net
-}
-
-start() {
-   ebegin "Starting ${RC_SVCNAME}"
-   checkpath -d -m 0755 -o ${RC_SVCNAME}:${RC_SVCNAME} "${RUNDIR}"
-   checkpath -d -m 0755 -o ${RC_SVCNAME}:${RC_SVCNAME} "${CACHEDIR}"
-   [ -z "${LOGDIR}" ] && checkpath -d -m 0755 -o 
${RC_SVCNAME}:${RC_SVCNAME} "/var/log/${RC_SVCNAME}"
-   start-stop-daemon --start --exec ${DAEMON} \
-   --user ${RC_SVCNAME} --group ${RC_SVCNAME} \
-   --pidfile ${PIDFILE} \
-   -- ${DAEMON_OPTS}
-   eend $?
-}
-
-stop() {
-   ebegin "Stopping ${RC_SVCNAME}"
-   start-stop-daemon --stop --retry 15 --exec ${DAEMON} \
-   --pidfile ${PIDFILE}
-   rm -f ${PIDFILE}
-   eend $?
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2021-02-11 Thread Joonas Niilola
commit: 3dc0c762d3c36d47e4261bbc184291f69085c14b
Author: John Helmert III  posteo  net>
AuthorDate: Sat Jan 30 05:12:07 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Feb 11 08:56:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dc0c762

net-misc/apt-cacher-ng: update live

Also make the version  rather than 999, this is how the live
version is typically denoted across the tree.

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: John Helmert III  posteo.net>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild   |  95 
 .../apt-cacher-ng/apt-cacher-ng-999.ebuild | 121 -
 2 files changed, 95 insertions(+), 121 deletions(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild
new file mode 100644
index 000..eeecc4fa1d9
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake git-r3
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html;
+EGIT_REPO_URI="https://salsa.debian.org/blade/apt-cacher-ng.git;
+EGIT_BRANCH="upstream/sid"
+
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+IUSE="doc fuse tcpd"
+
+DEPEND="acct-user/apt-cacher-ng
+   acct-group/apt-cacher-ng
+   app-arch/bzip2
+   dev-libs/libevent:=
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   fuse? ( sys-fs/fuse:0 )
+   tcpd? ( sys-apps/tcp-wrappers )"
+BDEPEND="virtual/pkgconfig"
+RDEPEND="${DEPEND}
+   dev-lang/perl"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-3.3.1-flags.patch"
+   "${FILESDIR}/${PN}-3.5-perl-syntax.patch"
+)
+
+S="${WORKDIR}/${P/_*}"
+
+src_prepare() {
+   # Fixup systemd/CMakeLists.txt cmake version requirement
+   sed -ie "s/2.6/3.1/" systemd/CMakeLists.txt || die
+
+   # Make sure we install everything the same way it used to be after
+   # switching from mostly custom src_install to relying on build system
+   # installation
+   sed -ie "/install/s/LIBDIR/CFGDIR/" conf/CMakeLists.txt || die
+   sed -ie '/install.*acng\.conf/s/)$/ RENAME '"${PN}"'.conf)/' 
conf/CMakeLists.txt || die
+   sed -ie '/file/s/)$/ "*hooks" "backends_debian")/' conf/CMakeLists.txt 
|| die
+   sed -ie "/INSTALL.*acngtool/s/LIBDIR/CMAKE_INSTALL_SBINDIR/" 
source/CMakeLists.txt || die
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   "-DHAVE_FUSE_25=$(usex fuse)"
+   "-DHAVE_LIBWRAP=$(usex tcpd)"
+   # Unconditionally install systemd service file
+   "-DSDINSTALL=1"
+   )
+
+   if tc-ld-is-gold; then
+   mycmakeargs+=( "-DUSE_GOLD=yes" )
+   else
+   mycmakeargs+=( "-DUSE_GOLD=no" )
+   fi
+
+   cmake_src_configure
+
+   sed -ie '/LogDir/s|/var/tmp|/var/log/'"${PN}"'|g' 
"${BUILD_DIR}"/conf/acng.conf || die
+}
+
+src_install() {
+   newinitd "${FILESDIR}/initd-r3" "${PN}"
+   newconfd "${FILESDIR}/confd-r2" "${PN}"
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}/logrotate" "${PN}"
+
+   insinto /etc/cron.daily
+   newins "${FILESDIR}/cron.daily" "${PN}"
+
+   # USE=fuse installs acngfs, don't install manpage without the bin
+   if use !fuse; then
+   rm doc/man/acngfs.8 || die
+   fi
+
+   if use !doc; then
+   rm -r doc/html || die
+   fi
+
+   dosbin scripts/expire-caller.pl
+
+   keepdir "/var/log/${PN}"
+   fowners -R ${PN}:${PN} "/var/log/${PN}"
+
+   cmake_src_install
+}

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
deleted file mode 100644
index 8ecaae37d3c..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
+++ /dev/null
@@ -1,121 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit cmake git-r3 user
-
-DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
-HOMEPAGE="
-   https://www.unix-ag.uni-kl.de/~bloch/acng/
-   https://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-EGIT_REPO_URI="https://salsa.debian.org/blade/apt-cacher-ng.git;
-EGIT_BRANCH="upstream/sid"
-
-KEYWORDS=""
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   dev-libs/libevent:=
-   dev-libs/openssl:0=
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-BDEPEND="
-   ${COMMON_DEPEND}
-   virtual/pkgconfig
-"

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/files/, net-misc/apt-cacher-ng/

2021-02-11 Thread Joonas Niilola
commit: 643ed593c89f5f81e01cd5371cd06ab41b7349a9
Author: John Helmert III  posteo  net>
AuthorDate: Sat Jan 30 05:26:18 2021 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Feb 11 08:56:03 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=643ed593

net-misc/apt-cacher-ng: bump to 3.5_p3

Rework so as to not install everything manually in src_install but rely
on the build system, clean up src_configure a bit, clean up
dependencies, drop useless IUSE=systemd and related dependency, drop
user.eclass and depend on acct-{user,group} packages, and update the
OpenRC init.d and conf.d files to fix a security bug. These files were
written by Michael Orlitzky (mjo).

Bug: https://bugs.gentoo.org/631878
Closes: https://bugs.gentoo.org/538214
Closes: https://bugs.gentoo.org/701220
Thanks-to: Michael Orlitzky  gentoo.org>
Signed-off-by: John Helmert III  posteo.net>
Signed-off-by: Joonas Niilola  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|   2 +-
 .../apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild   | 129 -
 net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p3.ebuild |  97 
 net-misc/apt-cacher-ng/files/confd-r2  |   9 ++
 net-misc/apt-cacher-ng/files/initd-r3  |  20 
 5 files changed, 127 insertions(+), 130 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 5715fe065c4..8f5b3dcee4f 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1,2 @@
-DIST apt-cacher-ng_3.5-1.debian.tar.xz 49916 BLAKE2B 
c01c96e5cf46fa3b8c46145b34976f3c4a3b545819719a8de517fe53a91d6f65c460bee59d98de750912d7bb9e3416804a088bdf274d74352c35f757cdeb16ea
 SHA512 
8a543f94ef5e206be40070eb757c950ad6915cfbd6cacfadb5bd91070d14b4bb1c3c550823cd088c15335963587cc34d414518ae0013f6561996f855ccf97359
+DIST apt-cacher-ng_3.5-3.debian.tar.xz 49708 BLAKE2B 
85092374207a252dcb4ef7b95dc434f81f9b67791e20099dc058022a9a575130070c12827f3fd04640fcec3b44a444fb85d8cea6439d5eaeeb359f263fb05682
 SHA512 
f690ae69d38b8e9c73ef095e9779364c7c5ccd246b19e8f5ce2edde47861e44c0aedabc75bcf11f5b408e034e52190dc8ed1789b503284f8f68dc1f5e84e1712
 DIST apt-cacher-ng_3.5.orig.tar.xz 325260 BLAKE2B 
1cf19bd575d4e3d320f73771b31e98977417713d57ceaaccb8b6c0eff7bd5e02c99a0c197ddbc09d14d8f6a70799525dedfe1fbacb00357f65f0c8c4d540bcab
 SHA512 
0bbc78c128d353ec2504f4d898d0ffb339778e98ab9899d48c61c094b15cafd92e430f864c82b66049578f5dd3c9e74fc5c09883231faeddce453be64e6f8954

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild
deleted file mode 100644
index 362e497b3c1..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit cmake user
-
-DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
-HOMEPAGE="
-   https://www.unix-ag.uni-kl.de/~bloch/acng/
-   https://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="
-   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz
-   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
-"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   dev-libs/libevent:=
-   dev-libs/openssl:0=
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-BDEPEND="
-   ${COMMON_DEPEND}
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-PATCHES=(
-   "${FILESDIR}"/${PN}-3.3.1-flags.patch
-   "${FILESDIR}"/${PN}-3.5-perl-syntax.patch
-   "${WORKDIR}"/debian/patches/debian-changes
-)
-S=${WORKDIR}/${P/_*}
-
-pkg_setup() {
-   # add new user & group for daemon
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_configure() {
-   local mycmakeargs=()
-   if use fuse; then
-   mycmakeargs+=( "-DHAVE_FUSE_25=yes" )
-   else
-   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
-   fi
-   if use tcpd; then
-   mycmakeargs+=( "-DHAVE_LIBWRAP=yes" )
-   else
-   mycmakeargs+=( "-DHAVE_LIBWRAP=no" )
-   fi
-   if tc-ld-is-gold; then
-   mycmakeargs+=( "-DUSE_GOLD=yes" )
-   else
-   mycmakeargs+=( "-DUSE_GOLD=no" )
-   fi
-
-   cmake_src_configure
-
-   sed -i -e '/LogDir/s|/var/tmp|/var/log/'"${PN}"'|g' 
"${BUILD_DIR}"/conf/acng.conf || die
-}
-
-src_install() {
-   pushd "${BUILD_DIR}" || die
-   dosbin ${PN} acngtool
-   dolib.so libsupacng.so
-   if use fuse; then
-   dobin acngfs
-   fi
-   popd || die
-
-   newinitd 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2020-11-15 Thread Michał Górny
commit: 681686af7c841a6b05316b2b0e603d41523da47b
Author: Michał Górny  gentoo  org>
AuthorDate: Sun Nov 15 10:15:17 2020 +
Commit: Michał Górny  gentoo  org>
CommitDate: Sun Nov 15 10:15:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=681686af

net-misc/apt-cacher-ng: Restore 

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/apt-cacher-ng/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-misc/apt-cacher-ng/metadata.xml 
b/net-misc/apt-cacher-ng/metadata.xml
index 6f49eba8f49..569b73d1178 100644
--- a/net-misc/apt-cacher-ng/metadata.xml
+++ b/net-misc/apt-cacher-ng/metadata.xml
@@ -2,4 +2,7 @@
 http://www.gentoo.org/dtd/metadata.dtd;>
 
 
+
+Install the sys-fs/fuse based acngfs, to use a 
userspace filesystem for the apt cache.
+
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/, dev-util/debhelper/, app-crypt/libmd/

2020-11-09 Thread Aaron Bauman
commit: dae8c019d8649b6189135534a2b53e3fb11b59d1
Author: Aaron Bauman  gentoo  org>
AuthorDate: Mon Nov  9 15:08:55 2020 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Mon Nov  9 15:16:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae8c019

*/*: drop deb-tools maintained pkgs to maintainer-needed

* Project has no members

Signed-off-by: Aaron Bauman  gentoo.org>

 app-crypt/libmd/metadata.xml| 4 +---
 dev-util/debhelper/metadata.xml | 5 +
 net-misc/apt-cacher-ng/metadata.xml | 8 +---
 3 files changed, 3 insertions(+), 14 deletions(-)

diff --git a/app-crypt/libmd/metadata.xml b/app-crypt/libmd/metadata.xml
index 8dc9c113fc6..6f49eba8f49 100644
--- a/app-crypt/libmd/metadata.xml
+++ b/app-crypt/libmd/metadata.xml
@@ -1,7 +1,5 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-deb-to...@gentoo.org
-
+
 

diff --git a/dev-util/debhelper/metadata.xml b/dev-util/debhelper/metadata.xml
index 6fcc384cc40..6f49eba8f49 100644
--- a/dev-util/debhelper/metadata.xml
+++ b/dev-util/debhelper/metadata.xml
@@ -1,8 +1,5 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-   deb-to...@gentoo.org
-   Gentoo Debian Tools Project
-
+
 

diff --git a/net-misc/apt-cacher-ng/metadata.xml 
b/net-misc/apt-cacher-ng/metadata.xml
index 392d66d056c..6f49eba8f49 100644
--- a/net-misc/apt-cacher-ng/metadata.xml
+++ b/net-misc/apt-cacher-ng/metadata.xml
@@ -1,11 +1,5 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-
-deb-to...@gentoo.org
-Gentoo Debian Tools Project
-
-
-Install the sys-fs/fuse based acngfs, to use a 
userspace filesystem for the apt cache.
-
+
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2020-09-26 Thread Jeroen Roovers
commit: 4e89038e505071a9148986112ab3b6a20bdb7717
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Sep 26 07:41:34 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Sep 26 07:46:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e89038e

net-misc/apt-cacher-ng: Old

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|   4 -
 .../apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild| 138 -
 net-misc/apt-cacher-ng/apt-cacher-ng-3.4_p1.ebuild | 138 -
 3 files changed, 280 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 57eaa1e124f..5715fe065c4 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,6 +1,2 @@
-DIST apt-cacher-ng_3.3.1-2.debian.tar.xz 49772 BLAKE2B 
b864859e7f0ad5eba24b2f1ced74dbdb7a1878fbc2190863929f45534163c18ed2a67c4c75b5fe8011d93312ab9a67d899b09669e7aacb1ad3ae15a2bc1fba12
 SHA512 
653ca59c1d9c89a9586ccf963da480524ff8195222435e4a89f0c08ca64586e1993a92d00a05dbf738b0814869a5e6b539a05d1d59cb956e66b2dbe5ad95eeb8
-DIST apt-cacher-ng_3.3.1.orig.tar.xz 321996 BLAKE2B 
b630a31414ee86256f2e2ebe950b56d182d61dffd1603ce8387b5cd677d18fcda3ed17864bb99c253b11e2d29163b172c2d0bc91a3f5b14fb9f0ef321d656b40
 SHA512 
0d412e4a488fa4c55f1292c1fc7346bdf88228528455ce1d2ad20137ddb84df211a3bc5911c12662428335d8f624979d166b0ed31f74e466228df3ab108e67f3
-DIST apt-cacher-ng_3.4-1.debian.tar.xz 49880 BLAKE2B 
a49dc9ca415cd00f275f8aab61836ef002b9463a8ce22b2fbf1379ce908737d0df813e9d112e64667790e0c9c29ae44ca12291ff531fa565a30b0345c3970824
 SHA512 
49879c8786ba5aa6398ce43d733a71529a5c2a93a0e8e3e856bb7bf6d6dd0d8dcf9f6a96b291a3e77e0a71a9a990b5d0ade9134e5ec670a33592c9a1ab61a48e
-DIST apt-cacher-ng_3.4.orig.tar.xz 324040 BLAKE2B 
0164ac35815fb42a2197830134172c4b93677f6ee6add71d115e975a3b8538db18e635fae2fe9556346229dc076c732b3b3f6fb9958e347fee8876f0f2363c9e
 SHA512 
956366431f4671afd46f3bc0cdb9acaf02378606a7e210a190902e519ed25d2d102a336032c31fcc8b71c879bd219f249f411af732bfb6f9213e485ba6981c5d
 DIST apt-cacher-ng_3.5-1.debian.tar.xz 49916 BLAKE2B 
c01c96e5cf46fa3b8c46145b34976f3c4a3b545819719a8de517fe53a91d6f65c460bee59d98de750912d7bb9e3416804a088bdf274d74352c35f757cdeb16ea
 SHA512 
8a543f94ef5e206be40070eb757c950ad6915cfbd6cacfadb5bd91070d14b4bb1c3c550823cd088c15335963587cc34d414518ae0013f6561996f855ccf97359
 DIST apt-cacher-ng_3.5.orig.tar.xz 325260 BLAKE2B 
1cf19bd575d4e3d320f73771b31e98977417713d57ceaaccb8b6c0eff7bd5e02c99a0c197ddbc09d14d8f6a70799525dedfe1fbacb00357f65f0c8c4d540bcab
 SHA512 
0bbc78c128d353ec2504f4d898d0ffb339778e98ab9899d48c61c094b15cafd92e430f864c82b66049578f5dd3c9e74fc5c09883231faeddce453be64e6f8954

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild
deleted file mode 100644
index 4061fff1f9c..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild
+++ /dev/null
@@ -1,138 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit cmake-utils toolchain-funcs user
-
-DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
-HOMEPAGE="
-   https://www.unix-ag.uni-kl.de/~bloch/acng/
-   https://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="
-   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz
-   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
-"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   dev-libs/libevent:=
-   dev-libs/openssl:0=
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-BDEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-PATCHES=(
-   "${FILESDIR}"/${PN}-3.3.1-flags.patch
-   "${WORKDIR}"/debian/patches/debian-changes
-)
-S=${WORKDIR}/${P/_*}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) -lt 4 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
-pkg_setup() {
-   # add new user & group for daemon
-   enewgroup ${PN}
-   enewuser ${PN} -1 -1 -1 ${PN}
-}
-
-src_configure() {
-   local mycmakeargs=()
-   if use fuse; then
-   mycmakeargs+=( "-DHAVE_FUSE_25=yes" )
-   else
-   mycmakeargs+=( 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2020-09-26 Thread Jeroen Roovers
commit: 6f387d44f8d37ce6bf772ae260bcd19ad88c44e6
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Sep 26 07:39:54 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Sep 26 07:46:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6f387d44

net-misc/apt-cacher-ng: cmake-utils.eclass -> cmake.eclass

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild | 5 ++---
 net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild   | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild
index 4fc61df2c95..362e497b3c1 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit cmake-utils user
+inherit cmake user
 
 DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
 HOMEPAGE="
@@ -31,7 +31,6 @@ COMMON_DEPEND="
 "
 BDEPEND="
${COMMON_DEPEND}
-   dev-util/cmake
virtual/pkgconfig
 "
 RDEPEND="
@@ -71,7 +70,7 @@ src_configure() {
mycmakeargs+=( "-DUSE_GOLD=no" )
fi
 
-   cmake-utils_src_configure
+   cmake_src_configure
 
sed -i -e '/LogDir/s|/var/tmp|/var/log/'"${PN}"'|g' 
"${BUILD_DIR}"/conf/acng.conf || die
 }

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
index 6b25935a9cb..8ecaae37d3c 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit cmake-utils git-r3 user
+inherit cmake git-r3 user
 
 DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
 HOMEPAGE="
@@ -29,7 +29,6 @@ COMMON_DEPEND="
 "
 BDEPEND="
${COMMON_DEPEND}
-   dev-util/cmake
virtual/pkgconfig
 "
 RDEPEND="
@@ -65,7 +64,7 @@ src_configure() {
mycmakeargs+=( "-DHAVE_LIBWRAP=no" )
fi
 
-   cmake-utils_src_configure
+   cmake_src_configure
 
sed -i -e '/LogDir/s|/var/tmp|/var/log/'"${PN}"'|g' 
"${BUILD_DIR}"/conf/acng.conf || die
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2020-09-25 Thread Jeroen Roovers
commit: 1ea3a0c8927324b92203e3306fe3e033f4b6124b
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Sep 25 22:23:40 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Sep 25 22:24:25 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ea3a0c8

net-misc/apt-cacher-ng: Drop GCC >=4.8 check

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Closes: https://bugs.gentoo.org/731278
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild | 11 +--
 net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild   | 11 +--
 2 files changed, 2 insertions(+), 20 deletions(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild
index f118d28f011..4fc61df2c95 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit cmake-utils toolchain-funcs user
+inherit cmake-utils user
 
 DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
 HOMEPAGE="
@@ -32,7 +32,6 @@ COMMON_DEPEND="
 BDEPEND="
${COMMON_DEPEND}
dev-util/cmake
-   >sys-devel/gcc-4.8
virtual/pkgconfig
 "
 RDEPEND="
@@ -48,14 +47,6 @@ PATCHES=(
 )
 S=${WORKDIR}/${P/_*}
 
-pkg_pretend() {
-   if [[ $(gcc-major-version) -lt 4 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
 pkg_setup() {
# add new user & group for daemon
enewgroup ${PN}

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
index 6ae025935bf..6b25935a9cb 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit cmake-utils git-r3 toolchain-funcs user
+inherit cmake-utils git-r3 user
 
 DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
 HOMEPAGE="
@@ -30,7 +30,6 @@ COMMON_DEPEND="
 BDEPEND="
${COMMON_DEPEND}
dev-util/cmake
-   >sys-devel/gcc-4.8
virtual/pkgconfig
 "
 RDEPEND="
@@ -45,14 +44,6 @@ PATCHES=(
 )
 S=${WORKDIR}/${P/_*}
 
-pkg_pretend() {
-   if [[ $(gcc-major-version) -lt 4 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
 pkg_setup() {
# add new user & group for daemon
enewgroup ${PN}



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2020-05-26 Thread Jeroen Roovers
commit: 4302dcdf804aa25a9f9f8eb9b0150ca8996af8ed
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue May 26 17:18:05 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue May 26 17:18:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4302dcdf

net-misc/apt-cacher-ng: doins => newins

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Closes: https://bugs.gentoo.org/show_bug.cgi?id=725512
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild | 2 +-
 net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild
index 97eab60040b..f118d28f011 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild
@@ -123,7 +123,7 @@ src_install() {
# perl daily cron script
dosbin scripts/expire-caller.pl
insinto /etc/cron.daily
-   doins "${FILESDIR}"/cron.daily ${PN}
+   newins "${FILESDIR}"/cron.daily ${PN}
 
# default configuration
insinto /etc/${PN}

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
index 9740af934f3..6ae025935bf 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
@@ -115,7 +115,7 @@ src_install() {
# perl daily cron script
dosbin scripts/expire-caller.pl
insinto /etc/cron.daily
-   doins "${FILESDIR}"/cron.daily ${PN}
+   newins "${FILESDIR}"/cron.daily ${PN}
 
# default configuration
insinto /etc/${PN}



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/files/, net-misc/apt-cacher-ng/

2020-05-26 Thread Jeroen Roovers
commit: 61a8ef12e3fcbd7b4393d2983b04892cd45c36b0
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue May 26 13:18:21 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue May 26 13:19:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61a8ef12

net-misc/apt-cacher-ng: Fix expire-caller.pl, disable by default

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Jeroen Roovers  gentoo.org>

 ...cacher-ng-3.5_p1.ebuild => apt-cacher-ng-3.5_p1-r1.ebuild} |  5 +++--
 net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild   |  5 +++--
 .../apt-cacher-ng/files/apt-cacher-ng-3.5-perl-syntax.patch   | 11 +++
 3 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild
similarity index 96%
rename from net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1.ebuild
rename to net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild
index 4061fff1f9c..97eab60040b 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1-r1.ebuild
@@ -43,6 +43,7 @@ RDEPEND="
 "
 PATCHES=(
"${FILESDIR}"/${PN}-3.3.1-flags.patch
+   "${FILESDIR}"/${PN}-3.5-perl-syntax.patch
"${WORKDIR}"/debian/patches/debian-changes
 )
 S=${WORKDIR}/${P/_*}
@@ -121,8 +122,8 @@ src_install() {
 
# perl daily cron script
dosbin scripts/expire-caller.pl
-   exeinto /etc/cron.daily
-   newexe "${FILESDIR}"/cron.daily ${PN}
+   insinto /etc/cron.daily
+   doins "${FILESDIR}"/cron.daily ${PN}
 
# default configuration
insinto /etc/${PN}

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
index 402b95991ac..9740af934f3 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
@@ -40,6 +40,7 @@ RDEPEND="
tcpd? ( sys-apps/tcp-wrappers )
 "
 PATCHES=(
+   "${FILESDIR}"/${PN}-3.5-perl-syntax.patch
"${FILESDIR}"/${PN}-999-flags.patch
 )
 S=${WORKDIR}/${P/_*}
@@ -113,8 +114,8 @@ src_install() {
 
# perl daily cron script
dosbin scripts/expire-caller.pl
-   exeinto /etc/cron.daily
-   newexe "${FILESDIR}"/cron.daily ${PN}
+   insinto /etc/cron.daily
+   doins "${FILESDIR}"/cron.daily ${PN}
 
# default configuration
insinto /etc/${PN}

diff --git a/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.5-perl-syntax.patch 
b/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.5-perl-syntax.patch
new file mode 100644
index 000..32421a07eef
--- /dev/null
+++ b/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.5-perl-syntax.patch
@@ -0,0 +1,11 @@
+--- a/scripts/expire-caller.pl
 b/scripts/expire-caller.pl
+@@ -1,7 +1,7 @@
+ #!/usr/bin/perl
+ #
+ 
+-print STDERR "WARNING: this script is considered deprecated. It may still 
work but could print incorrect results!\n"
++print STDERR "WARNING: this script is considered deprecated. It may still 
work but could print incorrect results!\n";
+ 
+ use strict;
+ use Socket;



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2020-04-23 Thread Jeroen Roovers
commit: 6248585ca8a1cbf7e772e27334f6137995d81fed
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Apr 24 04:46:32 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Apr 24 04:46:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6248585c

net-misc/apt-cacher-ng: Depend on dev-libs/libevent

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Closes: https://bugs.gentoo.org/show_bug.cgi?id=719116
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild | 1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-3.4_p1.ebuild   | 1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1.ebuild   | 1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild  | 1 +
 4 files changed, 4 insertions(+)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild
index 0b5dc00272b..4061fff1f9c 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild
@@ -22,6 +22,7 @@ IUSE="doc fuse systemd tcpd"
 COMMON_DEPEND="
app-arch/bzip2
app-arch/xz-utils
+   dev-libs/libevent:=
dev-libs/openssl:0=
sys-libs/zlib
systemd? (

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.4_p1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.4_p1.ebuild
index 0b5dc00272b..4061fff1f9c 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.4_p1.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.4_p1.ebuild
@@ -22,6 +22,7 @@ IUSE="doc fuse systemd tcpd"
 COMMON_DEPEND="
app-arch/bzip2
app-arch/xz-utils
+   dev-libs/libevent:=
dev-libs/openssl:0=
sys-libs/zlib
systemd? (

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1.ebuild
index 0b5dc00272b..4061fff1f9c 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1.ebuild
@@ -22,6 +22,7 @@ IUSE="doc fuse systemd tcpd"
 COMMON_DEPEND="
app-arch/bzip2
app-arch/xz-utils
+   dev-libs/libevent:=
dev-libs/openssl:0=
sys-libs/zlib
systemd? (

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
index 25cdda30a1e..402b95991ac 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
@@ -20,6 +20,7 @@ IUSE="doc fuse systemd tcpd"
 COMMON_DEPEND="
app-arch/bzip2
app-arch/xz-utils
+   dev-libs/libevent:=
dev-libs/openssl:0=
sys-libs/zlib
systemd? (



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2020-04-23 Thread Jeroen Roovers
commit: 533b31567514b849383a77b2433eea1c1e869943
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Apr 23 07:10:09 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Apr 23 07:10:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=533b3156

net-misc/apt-cacher-ng: Version 3.5_p1

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|   2 +
 net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1.ebuild | 137 +
 2 files changed, 139 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 8a6735c2a99..57eaa1e124f 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -2,3 +2,5 @@ DIST apt-cacher-ng_3.3.1-2.debian.tar.xz 49772 BLAKE2B 
b864859e7f0ad5eba24b2f1ce
 DIST apt-cacher-ng_3.3.1.orig.tar.xz 321996 BLAKE2B 
b630a31414ee86256f2e2ebe950b56d182d61dffd1603ce8387b5cd677d18fcda3ed17864bb99c253b11e2d29163b172c2d0bc91a3f5b14fb9f0ef321d656b40
 SHA512 
0d412e4a488fa4c55f1292c1fc7346bdf88228528455ce1d2ad20137ddb84df211a3bc5911c12662428335d8f624979d166b0ed31f74e466228df3ab108e67f3
 DIST apt-cacher-ng_3.4-1.debian.tar.xz 49880 BLAKE2B 
a49dc9ca415cd00f275f8aab61836ef002b9463a8ce22b2fbf1379ce908737d0df813e9d112e64667790e0c9c29ae44ca12291ff531fa565a30b0345c3970824
 SHA512 
49879c8786ba5aa6398ce43d733a71529a5c2a93a0e8e3e856bb7bf6d6dd0d8dcf9f6a96b291a3e77e0a71a9a990b5d0ade9134e5ec670a33592c9a1ab61a48e
 DIST apt-cacher-ng_3.4.orig.tar.xz 324040 BLAKE2B 
0164ac35815fb42a2197830134172c4b93677f6ee6add71d115e975a3b8538db18e635fae2fe9556346229dc076c732b3b3f6fb9958e347fee8876f0f2363c9e
 SHA512 
956366431f4671afd46f3bc0cdb9acaf02378606a7e210a190902e519ed25d2d102a336032c31fcc8b71c879bd219f249f411af732bfb6f9213e485ba6981c5d
+DIST apt-cacher-ng_3.5-1.debian.tar.xz 49916 BLAKE2B 
c01c96e5cf46fa3b8c46145b34976f3c4a3b545819719a8de517fe53a91d6f65c460bee59d98de750912d7bb9e3416804a088bdf274d74352c35f757cdeb16ea
 SHA512 
8a543f94ef5e206be40070eb757c950ad6915cfbd6cacfadb5bd91070d14b4bb1c3c550823cd088c15335963587cc34d414518ae0013f6561996f855ccf97359
+DIST apt-cacher-ng_3.5.orig.tar.xz 325260 BLAKE2B 
1cf19bd575d4e3d320f73771b31e98977417713d57ceaaccb8b6c0eff7bd5e02c99a0c197ddbc09d14d8f6a70799525dedfe1fbacb00357f65f0c8c4d540bcab
 SHA512 
0bbc78c128d353ec2504f4d898d0ffb339778e98ab9899d48c61c094b15cafd92e430f864c82b66049578f5dd3c9e74fc5c09883231faeddce453be64e6f8954

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1.ebuild
new file mode 100644
index 000..0b5dc00272b
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.5_p1.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake-utils toolchain-funcs user
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="
+   https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="
+   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz
+   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
+"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+BDEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.3.1-flags.patch
+   "${WORKDIR}"/debian/patches/debian-changes
+)
+S=${WORKDIR}/${P/_*}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+pkg_setup() {
+   # add new user & group for daemon
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_configure() {
+   local mycmakeargs=()
+   if use fuse; then
+   mycmakeargs+=( "-DHAVE_FUSE_25=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
+   fi
+   if use tcpd; then
+   mycmakeargs+=( "-DHAVE_LIBWRAP=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_LIBWRAP=no" )
+   fi
+   if tc-ld-is-gold; then
+   mycmakeargs+=( "-DUSE_GOLD=yes" )
+   else
+   mycmakeargs+=( "-DUSE_GOLD=no" )
+   fi
+
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/files/, net-misc/apt-cacher-ng/

2020-04-09 Thread Jeroen Roovers
commit: 626fd040e346a0bc1dba93fb6ac32dd710ab3a0c
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Apr  9 08:03:36 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Apr  9 08:04:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=626fd040

net-misc/apt-cacher-ng: Old

Package-Manager: Portage-2.3.97, Repoman-2.3.22
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|   3 -
 .../apt-cacher-ng/apt-cacher-ng-3.3.1_p1.ebuild| 132 -
 net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p2.ebuild | 131 
 .../files/apt-cacher-ng-3.3-flags.patch|  60 --
 4 files changed, 326 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 6921cc91729..8a6735c2a99 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,7 +1,4 @@
-DIST apt-cacher-ng_3.3-2.debian.tar.xz 48496 BLAKE2B 
327d57cdf74798b99067cdd7153aaba4d3fb03c047203fb1d59fce730c68a28b6db2853f5f944843b96d8613f213c0399ba78aed1b3a186968f8767d03c0fd0c
 SHA512 
aa446b8147a42fa44fcd29754dabe388eedc9829cd908314ba97e0cacbd17d6a0222789015827196ab6fe3efd51ab08a2673ae7c04f5c0781705310e28ca44e7
-DIST apt-cacher-ng_3.3.1-1.debian.tar.xz 50912 BLAKE2B 
a873c4e718765a7161d9f87b68fc891202c6406e91252eb4b1aee6ca87f3497e6f4a1ca9353d3a86f3a8a24059339f2c370a707427f5baecb1e8b6d3977b445a
 SHA512 
b643d9b38891ffd6603239ddb8635dd3dcd7c31d7a32fa128e9b4d632fa08c95ca652e1bdbd2bb046895341bc4611c436e6ff4d997ae2050cdb84e56fb311078
 DIST apt-cacher-ng_3.3.1-2.debian.tar.xz 49772 BLAKE2B 
b864859e7f0ad5eba24b2f1ced74dbdb7a1878fbc2190863929f45534163c18ed2a67c4c75b5fe8011d93312ab9a67d899b09669e7aacb1ad3ae15a2bc1fba12
 SHA512 
653ca59c1d9c89a9586ccf963da480524ff8195222435e4a89f0c08ca64586e1993a92d00a05dbf738b0814869a5e6b539a05d1d59cb956e66b2dbe5ad95eeb8
 DIST apt-cacher-ng_3.3.1.orig.tar.xz 321996 BLAKE2B 
b630a31414ee86256f2e2ebe950b56d182d61dffd1603ce8387b5cd677d18fcda3ed17864bb99c253b11e2d29163b172c2d0bc91a3f5b14fb9f0ef321d656b40
 SHA512 
0d412e4a488fa4c55f1292c1fc7346bdf88228528455ce1d2ad20137ddb84df211a3bc5911c12662428335d8f624979d166b0ed31f74e466228df3ab108e67f3
-DIST apt-cacher-ng_3.3.orig.tar.xz 320884 BLAKE2B 
c4bda8de90f76e7cb8335fdb758571db030c1298881afceb865f84e506aeb82e4db69c5c091debfdcf6c85bc8d4e703b75725ae6b06f2e412ba4b4362d568a05
 SHA512 
01a09bc13d2a9d24ee3012a21ae954362715bc0b69ef021a3446ad7d78157209aaaf941fbb02b0e5323bfb0337a1e3d6450c07b680d42f7bf93855d7ac65c60f
 DIST apt-cacher-ng_3.4-1.debian.tar.xz 49880 BLAKE2B 
a49dc9ca415cd00f275f8aab61836ef002b9463a8ce22b2fbf1379ce908737d0df813e9d112e64667790e0c9c29ae44ca12291ff531fa565a30b0345c3970824
 SHA512 
49879c8786ba5aa6398ce43d733a71529a5c2a93a0e8e3e856bb7bf6d6dd0d8dcf9f6a96b291a3e77e0a71a9a990b5d0ade9134e5ec670a33592c9a1ab61a48e
 DIST apt-cacher-ng_3.4.orig.tar.xz 324040 BLAKE2B 
0164ac35815fb42a2197830134172c4b93677f6ee6add71d115e975a3b8538db18e635fae2fe9556346229dc076c732b3b3f6fb9958e347fee8876f0f2363c9e
 SHA512 
956366431f4671afd46f3bc0cdb9acaf02378606a7e210a190902e519ed25d2d102a336032c31fcc8b71c879bd219f249f411af732bfb6f9213e485ba6981c5d

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p1.ebuild
deleted file mode 100644
index b8e37722181..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p1.ebuild
+++ /dev/null
@@ -1,132 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit cmake-utils toolchain-funcs user
-
-DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
-HOMEPAGE="
-   https://www.unix-ag.uni-kl.de/~bloch/acng/
-   https://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="
-   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz
-   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
-"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   dev-libs/openssl:0=
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-BDEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-PATCHES=(
-   "${FILESDIR}"/${PN}-3.3-flags.patch
-   "${WORKDIR}"/debian/patches/debian-changes
-)
-S=${WORKDIR}/${P/_*}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) -lt 4 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
-   die "GCC 4.8 or greater is required but you have 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2020-04-09 Thread Jeroen Roovers
commit: 8da99abb301237484f42d178b83e98747fb0e44d
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Apr  9 07:58:43 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Apr  9 07:58:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8da99abb

net-misc/apt-cacher-ng: Version 3.4_p1

Package-Manager: Portage-2.3.97, Repoman-2.3.22
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|   2 +
 net-misc/apt-cacher-ng/apt-cacher-ng-3.4_p1.ebuild | 137 +
 2 files changed, 139 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index c04034341df..6921cc91729 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -3,3 +3,5 @@ DIST apt-cacher-ng_3.3.1-1.debian.tar.xz 50912 BLAKE2B 
a873c4e718765a7161d9f87b6
 DIST apt-cacher-ng_3.3.1-2.debian.tar.xz 49772 BLAKE2B 
b864859e7f0ad5eba24b2f1ced74dbdb7a1878fbc2190863929f45534163c18ed2a67c4c75b5fe8011d93312ab9a67d899b09669e7aacb1ad3ae15a2bc1fba12
 SHA512 
653ca59c1d9c89a9586ccf963da480524ff8195222435e4a89f0c08ca64586e1993a92d00a05dbf738b0814869a5e6b539a05d1d59cb956e66b2dbe5ad95eeb8
 DIST apt-cacher-ng_3.3.1.orig.tar.xz 321996 BLAKE2B 
b630a31414ee86256f2e2ebe950b56d182d61dffd1603ce8387b5cd677d18fcda3ed17864bb99c253b11e2d29163b172c2d0bc91a3f5b14fb9f0ef321d656b40
 SHA512 
0d412e4a488fa4c55f1292c1fc7346bdf88228528455ce1d2ad20137ddb84df211a3bc5911c12662428335d8f624979d166b0ed31f74e466228df3ab108e67f3
 DIST apt-cacher-ng_3.3.orig.tar.xz 320884 BLAKE2B 
c4bda8de90f76e7cb8335fdb758571db030c1298881afceb865f84e506aeb82e4db69c5c091debfdcf6c85bc8d4e703b75725ae6b06f2e412ba4b4362d568a05
 SHA512 
01a09bc13d2a9d24ee3012a21ae954362715bc0b69ef021a3446ad7d78157209aaaf941fbb02b0e5323bfb0337a1e3d6450c07b680d42f7bf93855d7ac65c60f
+DIST apt-cacher-ng_3.4-1.debian.tar.xz 49880 BLAKE2B 
a49dc9ca415cd00f275f8aab61836ef002b9463a8ce22b2fbf1379ce908737d0df813e9d112e64667790e0c9c29ae44ca12291ff531fa565a30b0345c3970824
 SHA512 
49879c8786ba5aa6398ce43d733a71529a5c2a93a0e8e3e856bb7bf6d6dd0d8dcf9f6a96b291a3e77e0a71a9a990b5d0ade9134e5ec670a33592c9a1ab61a48e
+DIST apt-cacher-ng_3.4.orig.tar.xz 324040 BLAKE2B 
0164ac35815fb42a2197830134172c4b93677f6ee6add71d115e975a3b8538db18e635fae2fe9556346229dc076c732b3b3f6fb9958e347fee8876f0f2363c9e
 SHA512 
956366431f4671afd46f3bc0cdb9acaf02378606a7e210a190902e519ed25d2d102a336032c31fcc8b71c879bd219f249f411af732bfb6f9213e485ba6981c5d

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.4_p1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.4_p1.ebuild
new file mode 100644
index 000..0b5dc00272b
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.4_p1.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake-utils toolchain-funcs user
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="
+   https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="
+   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz
+   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
+"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+BDEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.3.1-flags.patch
+   "${WORKDIR}"/debian/patches/debian-changes
+)
+S=${WORKDIR}/${P/_*}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+pkg_setup() {
+   # add new user & group for daemon
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_configure() {
+   local mycmakeargs=()
+   if use fuse; then
+   mycmakeargs+=( "-DHAVE_FUSE_25=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
+   fi
+   if use tcpd; then
+   mycmakeargs+=( "-DHAVE_LIBWRAP=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_LIBWRAP=no" )
+   fi
+   if tc-ld-is-gold; then
+   mycmakeargs+=( "-DUSE_GOLD=yes" )
+   else
+   mycmakeargs+=( "-DUSE_GOLD=no" )
+   fi
+
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2020-02-08 Thread David Seifert
commit: 82031ee19098913deeb40f99c58a141ec465e7ec
Author: David Seifert  gentoo  org>
AuthorDate: Sat Feb  8 17:05:49 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb  8 17:05:49 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82031ee1

net-misc/apt-cacher-ng: [QA] Remove unnecessary -DCMAKE_INSTALL_PREFIX arguments

Signed-off-by: David Seifert  gentoo.org>

 net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p1.ebuild | 4 +---
 net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild | 4 +---
 net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p2.ebuild   | 4 +---
 net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild  | 3 +--
 4 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p1.ebuild
index 6fcc74573fc..2af7ed01cfc 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p1.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p1.ebuild
@@ -61,9 +61,7 @@ pkg_setup() {
 }
 
 src_configure(){
-   mycmakeargs=(
-   "-DCMAKE_INSTALL_PREFIX=/usr"
-   )
+   local mycmakeargs=()
if use fuse; then
mycmakeargs+=( "-DHAVE_FUSE_25=yes" )
else

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild
index 21f1ce96df0..f0991d2bc87 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild
@@ -61,9 +61,7 @@ pkg_setup() {
 }
 
 src_configure(){
-   mycmakeargs=(
-   "-DCMAKE_INSTALL_PREFIX=/usr"
-   )
+   local mycmakeargs=()
if use fuse; then
mycmakeargs+=( "-DHAVE_FUSE_25=yes" )
else

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p2.ebuild
index fe76de4838c..ce8b2df72f4 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p2.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p2.ebuild
@@ -60,9 +60,7 @@ pkg_setup() {
 }
 
 src_configure(){
-   mycmakeargs=(
-   "-DCMAKE_INSTALL_PREFIX=/usr"
-   )
+   local mycmakeargs=()
if use fuse; then
mycmakeargs+=( "-DHAVE_FUSE_25=yes" )
else

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
index 8bde423cde0..75d78c14ed9 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
@@ -58,8 +58,7 @@ pkg_setup() {
 }
 
 src_configure(){
-   mycmakeargs=(
-   "-DCMAKE_INSTALL_PREFIX=/usr"
+   local mycmakeargs=(
"-DCMAKE_SKIP_BUILD_RPATH=on"
)
if use fuse; then



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/files/

2020-01-20 Thread Jeroen Roovers
commit: 680704eaf5f16950e74a7ed9434087788551af9d
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Jan 20 15:03:09 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Jan 20 15:26:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=680704ea

net-misc/apt-cacher-ng: Clean up patch

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 .../apt-cacher-ng/files/apt-cacher-ng-3.3-flags.patch | 15 ---
 1 file changed, 15 deletions(-)

diff --git a/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.3-flags.patch 
b/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.3-flags.patch
index a2f43a4d378..fbe34e66697 100644
--- a/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.3-flags.patch
+++ b/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.3-flags.patch
@@ -58,18 +58,3 @@
  endif()
  
  option(USE_LTO "Enable Link Time Optimization (requires modern compilers)" 
${USE_LTO_DEFAULT})
-@@ -385,3 +359,14 @@
- LIBDIR: ${LIBDIR}
- AVAHIDIR: ${AVAHIDIR}
- ")
-+
-+MESSAGE(STATUS "<<< Gentoo configuration >>>
-+Build type  ${CMAKE_BUILD_TYPE}
-+Install path${CMAKE_INSTALL_PREFIX}
-+Compiler flags:
-+C   ${CMAKE_C_FLAGS}
-+C++ ${CMAKE_CXX_FLAGS}
-+Linker flags:
-+Executable  ${CMAKE_EXE_LINKER_FLAGS}
-+Module  ${CMAKE_MODULE_LINKER_FLAGS}
-+Shared  ${CMAKE_SHARED_LINKER_FLAGS}\n")



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/, net-misc/apt-cacher-ng/files/

2020-01-20 Thread Jeroen Roovers
commit: a3abfe512fddebcd61e3c15bbfe149163cefa707
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Jan 20 15:25:53 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Jan 20 15:26:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3abfe51

net-misc/apt-cacher-ng: Version 3.3.1_p2

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|   1 +
 .../apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild| 139 +
 .../files/apt-cacher-ng-3.3.1-flags.patch  |  11 ++
 3 files changed, 151 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 015b3ca868e..c04034341df 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,4 +1,5 @@
 DIST apt-cacher-ng_3.3-2.debian.tar.xz 48496 BLAKE2B 
327d57cdf74798b99067cdd7153aaba4d3fb03c047203fb1d59fce730c68a28b6db2853f5f944843b96d8613f213c0399ba78aed1b3a186968f8767d03c0fd0c
 SHA512 
aa446b8147a42fa44fcd29754dabe388eedc9829cd908314ba97e0cacbd17d6a0222789015827196ab6fe3efd51ab08a2673ae7c04f5c0781705310e28ca44e7
 DIST apt-cacher-ng_3.3.1-1.debian.tar.xz 50912 BLAKE2B 
a873c4e718765a7161d9f87b68fc891202c6406e91252eb4b1aee6ca87f3497e6f4a1ca9353d3a86f3a8a24059339f2c370a707427f5baecb1e8b6d3977b445a
 SHA512 
b643d9b38891ffd6603239ddb8635dd3dcd7c31d7a32fa128e9b4d632fa08c95ca652e1bdbd2bb046895341bc4611c436e6ff4d997ae2050cdb84e56fb311078
+DIST apt-cacher-ng_3.3.1-2.debian.tar.xz 49772 BLAKE2B 
b864859e7f0ad5eba24b2f1ced74dbdb7a1878fbc2190863929f45534163c18ed2a67c4c75b5fe8011d93312ab9a67d899b09669e7aacb1ad3ae15a2bc1fba12
 SHA512 
653ca59c1d9c89a9586ccf963da480524ff8195222435e4a89f0c08ca64586e1993a92d00a05dbf738b0814869a5e6b539a05d1d59cb956e66b2dbe5ad95eeb8
 DIST apt-cacher-ng_3.3.1.orig.tar.xz 321996 BLAKE2B 
b630a31414ee86256f2e2ebe950b56d182d61dffd1603ce8387b5cd677d18fcda3ed17864bb99c253b11e2d29163b172c2d0bc91a3f5b14fb9f0ef321d656b40
 SHA512 
0d412e4a488fa4c55f1292c1fc7346bdf88228528455ce1d2ad20137ddb84df211a3bc5911c12662428335d8f624979d166b0ed31f74e466228df3ab108e67f3
 DIST apt-cacher-ng_3.3.orig.tar.xz 320884 BLAKE2B 
c4bda8de90f76e7cb8335fdb758571db030c1298881afceb865f84e506aeb82e4db69c5c091debfdcf6c85bc8d4e703b75725ae6b06f2e412ba4b4362d568a05
 SHA512 
01a09bc13d2a9d24ee3012a21ae954362715bc0b69ef021a3446ad7d78157209aaaf941fbb02b0e5323bfb0337a1e3d6450c07b680d42f7bf93855d7ac65c60f

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild
new file mode 100644
index 000..21f1ce96df0
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p2.ebuild
@@ -0,0 +1,139 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake-utils toolchain-funcs user
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="
+   https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="
+   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz
+   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
+"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+BDEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.3.1-flags.patch
+   "${WORKDIR}"/debian/patches/debian-changes
+)
+S=${WORKDIR}/${P/_*}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
+   fi
+   if use tcpd; then
+   mycmakeargs+=( "-DHAVE_LIBWRAP=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_LIBWRAP=no" )
+   fi
+   if tc-ld-is-gold; then
+   mycmakeargs+=( "-DUSE_GOLD=yes" )
+   else
+   mycmakeargs+=( 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/files/, net-misc/apt-cacher-ng/

2020-01-13 Thread Jeroen Roovers
commit: b05498cbaa0342ca56feb1adbc3428c3cb998937
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Jan 14 04:13:50 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Jan 14 04:14:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b05498cb

net-misc/apt-cacher-ng: Old

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|   3 -
 .../apt-cacher-ng/apt-cacher-ng-3.2_p2-r2.ebuild   | 129 
 .../apt-cacher-ng/apt-cacher-ng-3.3_p1-r1.ebuild   | 131 -
 net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p1.ebuild | 129 
 .../files/apt-cacher-ng-3.2-flags.patch|  97 ---
 net-misc/apt-cacher-ng/files/confd |   2 -
 net-misc/apt-cacher-ng/files/initd-r1  |  33 --
 7 files changed, 524 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 3adcdfe507d..015b3ca868e 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,6 +1,3 @@
-DIST apt-cacher-ng_3.2-2.debian.tar.xz 48740 BLAKE2B 
ab2f6349aa66f39b778f346827767514761eeb8977d69a55940d7dd4c738b54ba20a9725387f769edf2cce454588746bc10361d4a174ed380a431a6ecf6b096d
 SHA512 
e5299432b91cdf6cb51934fcc440e62d24c1b4849ad3a0c3a5e47a256c874ebb85c7ba56b97da27c2e03e0621b4ae42b69592440d521e718f4f8725a6ff379d4
-DIST apt-cacher-ng_3.2.orig.tar.xz 319036 BLAKE2B 
576fc7a409556d34ee702edd57527c9c35eb033d0e8c8ea4f7b8a8a2dae86f75cd1ca3a7fb0e02845e70d6f8715692b638ff9d574ce1664b67fec9247b60fbc0
 SHA512 
7dfee4a8f38e7c5251c761a5faae063926c5001fe0b97136d938cdbff907e97fb0a20b89dcf685645a518e92be04fe5660d840e738960b4465408f04fe532cae
-DIST apt-cacher-ng_3.3-1.debian.tar.xz 48472 BLAKE2B 
9d7f531d84f470ada8236a5603d06e45d9b7acb7bdeb8bd639c250724013a0552819cabe67f1cee0a1f337d7725429932bdf179afae307242e4d45081854614e
 SHA512 
44a241791b92d6b9231caff8296ed1d9536ffcdc18263451d662da01f1b257b8ea4741e5cfb09c5cd90986c46fe1e91b3110379442d9ed20434e696c6cf645aa
 DIST apt-cacher-ng_3.3-2.debian.tar.xz 48496 BLAKE2B 
327d57cdf74798b99067cdd7153aaba4d3fb03c047203fb1d59fce730c68a28b6db2853f5f944843b96d8613f213c0399ba78aed1b3a186968f8767d03c0fd0c
 SHA512 
aa446b8147a42fa44fcd29754dabe388eedc9829cd908314ba97e0cacbd17d6a0222789015827196ab6fe3efd51ab08a2673ae7c04f5c0781705310e28ca44e7
 DIST apt-cacher-ng_3.3.1-1.debian.tar.xz 50912 BLAKE2B 
a873c4e718765a7161d9f87b68fc891202c6406e91252eb4b1aee6ca87f3497e6f4a1ca9353d3a86f3a8a24059339f2c370a707427f5baecb1e8b6d3977b445a
 SHA512 
b643d9b38891ffd6603239ddb8635dd3dcd7c31d7a32fa128e9b4d632fa08c95ca652e1bdbd2bb046895341bc4611c436e6ff4d997ae2050cdb84e56fb311078
 DIST apt-cacher-ng_3.3.1.orig.tar.xz 321996 BLAKE2B 
b630a31414ee86256f2e2ebe950b56d182d61dffd1603ce8387b5cd677d18fcda3ed17864bb99c253b11e2d29163b172c2d0bc91a3f5b14fb9f0ef321d656b40
 SHA512 
0d412e4a488fa4c55f1292c1fc7346bdf88228528455ce1d2ad20137ddb84df211a3bc5911c12662428335d8f624979d166b0ed31f74e466228df3ab108e67f3

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2-r2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2-r2.ebuild
deleted file mode 100644
index 4e825f700ed..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2-r2.ebuild
+++ /dev/null
@@ -1,129 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit cmake-utils toolchain-funcs user
-
-DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
-HOMEPAGE="
-   https://www.unix-ag.uni-kl.de/~bloch/acng/
-   https://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="
-   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz
-   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
-"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   dev-libs/openssl:0=
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-BDEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-PATCHES=(
-   "${WORKDIR}"/debian/patches/debian-changes
-   "${FILESDIR}"/${PN}-3.2-flags.patch
-)
-S=${WORKDIR}/${P/_*}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) -lt 4 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
-pkg_setup() {
-   # add new user & group for daemon
-  

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/files/, net-misc/apt-cacher-ng/

2020-01-13 Thread Jeroen Roovers
commit: 828edf401796143ad465f0d1f8313cc80e0d3e14
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Jan 14 04:04:58 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Jan 14 04:14:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=828edf40

net-misc/apt-cacher-ng: Add live ebuild

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 .../apt-cacher-ng/apt-cacher-ng-999.ebuild | 130 +
 .../files/apt-cacher-ng-999-flags.patch|  18 +++
 2 files changed, 148 insertions(+)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
new file mode 100644
index 000..8bde423cde0
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-999.ebuild
@@ -0,0 +1,130 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake-utils git-r3 toolchain-funcs user
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="
+   https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+EGIT_REPO_URI="https://salsa.debian.org/blade/apt-cacher-ng.git;
+EGIT_BRANCH="upstream/sid"
+
+KEYWORDS=""
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+BDEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+PATCHES=(
+   "${FILESDIR}"/${PN}-999-flags.patch
+)
+S=${WORKDIR}/${P/_*}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+pkg_setup() {
+   # add new user & group for daemon
+   enewgroup ${PN}
+   enewuser ${PN} -1 -1 -1 ${PN}
+}
+
+src_configure(){
+   mycmakeargs=(
+   "-DCMAKE_INSTALL_PREFIX=/usr"
+   "-DCMAKE_SKIP_BUILD_RPATH=on"
+   )
+   if use fuse; then
+   mycmakeargs+=( "-DHAVE_FUSE_25=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
+   fi
+   if use tcpd; then
+   mycmakeargs+=( "-DHAVE_LIBWRAP=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_LIBWRAP=no" )
+   fi
+
+   cmake-utils_src_configure
+
+   sed -i -e '/LogDir/s|/var/tmp|/var/log/'"${PN}"'|g' 
"${BUILD_DIR}"/conf/acng.conf || die
+}
+
+src_install() {
+   pushd "${BUILD_DIR}" || die
+   dosbin ${PN} acngtool
+   dolib.so libsupacng.so
+   if use fuse; then
+   dobin acngfs
+   fi
+   popd || die
+
+   newinitd "${FILESDIR}"/initd-r2 ${PN}
+   newconfd "${FILESDIR}"/confd-r1 ${PN}
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/logrotate ${PN}
+
+   doman doc/man/${PN}*
+   if use fuse; then
+   doman doc/man/acngfs*
+   fi
+
+   # Documentation
+   dodoc doc/README TODO VERSION INSTALL ChangeLog
+   if use doc; then
+   dodoc doc/*.pdf
+
+   docinto html
+   dodoc doc/html/*
+
+   find conf -name '*.gz' -exec gzip -d {} \; || die
+   docinto examples/conf
+   dodoc conf/*
+   fi
+
+   # perl daily cron script
+   dosbin scripts/expire-caller.pl
+   exeinto /etc/cron.daily
+   newexe "${FILESDIR}"/cron.daily ${PN}
+
+   # default configuration
+   insinto /etc/${PN}
+   newins "${BUILD_DIR}"/conf/acng.conf ${PN}.conf
+   doins $( echo conf/* | sed 's|conf/acng.conf.in||g' )
+
+   keepdir /var/log/${PN}
+   # Some directories must exists
+   keepdir /var/log/${PN}
+   fowners -R ${PN}:${PN} \
+   /etc/${PN} \
+   /var/log/${PN}
+}

diff --git a/net-misc/apt-cacher-ng/files/apt-cacher-ng-999-flags.patch 
b/net-misc/apt-cacher-ng/files/apt-cacher-ng-999-flags.patch
new file mode 100644
index 000..8fe769ada32
--- /dev/null
+++ b/net-misc/apt-cacher-ng/files/apt-cacher-ng-999-flags.patch
@@ -0,0 +1,18 @@
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -114,15 +114,6 @@
+ 
+ if(CMAKE_BUILD_TYPE MATCHES Debug)
+set(USE_LTO_DEFAULT off)
+-else()
+-   set(CMAKE_REQUIRED_FLAGS "-Wl,--gc-sections")
+-   CHECK_CXX_COMPILER_FLAG("-Os -fdata-sections -ffunction-sections 
-Wl,--gc-sections" 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2020-01-13 Thread Jeroen Roovers
commit: 59272cf931b7d2545d90b34d22d633ea361e2513
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Jan 14 03:59:49 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Jan 14 04:14:13 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59272cf9

net-misc/apt-cacher-ng: Version 3.3.1_p1

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|   2 +
 .../apt-cacher-ng/apt-cacher-ng-3.3.1_p1.ebuild| 134 +
 2 files changed, 136 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index c6ca7eceb43..3adcdfe507d 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -2,4 +2,6 @@ DIST apt-cacher-ng_3.2-2.debian.tar.xz 48740 BLAKE2B 
ab2f6349aa66f39b778f3468277
 DIST apt-cacher-ng_3.2.orig.tar.xz 319036 BLAKE2B 
576fc7a409556d34ee702edd57527c9c35eb033d0e8c8ea4f7b8a8a2dae86f75cd1ca3a7fb0e02845e70d6f8715692b638ff9d574ce1664b67fec9247b60fbc0
 SHA512 
7dfee4a8f38e7c5251c761a5faae063926c5001fe0b97136d938cdbff907e97fb0a20b89dcf685645a518e92be04fe5660d840e738960b4465408f04fe532cae
 DIST apt-cacher-ng_3.3-1.debian.tar.xz 48472 BLAKE2B 
9d7f531d84f470ada8236a5603d06e45d9b7acb7bdeb8bd639c250724013a0552819cabe67f1cee0a1f337d7725429932bdf179afae307242e4d45081854614e
 SHA512 
44a241791b92d6b9231caff8296ed1d9536ffcdc18263451d662da01f1b257b8ea4741e5cfb09c5cd90986c46fe1e91b3110379442d9ed20434e696c6cf645aa
 DIST apt-cacher-ng_3.3-2.debian.tar.xz 48496 BLAKE2B 
327d57cdf74798b99067cdd7153aaba4d3fb03c047203fb1d59fce730c68a28b6db2853f5f944843b96d8613f213c0399ba78aed1b3a186968f8767d03c0fd0c
 SHA512 
aa446b8147a42fa44fcd29754dabe388eedc9829cd908314ba97e0cacbd17d6a0222789015827196ab6fe3efd51ab08a2673ae7c04f5c0781705310e28ca44e7
+DIST apt-cacher-ng_3.3.1-1.debian.tar.xz 50912 BLAKE2B 
a873c4e718765a7161d9f87b68fc891202c6406e91252eb4b1aee6ca87f3497e6f4a1ca9353d3a86f3a8a24059339f2c370a707427f5baecb1e8b6d3977b445a
 SHA512 
b643d9b38891ffd6603239ddb8635dd3dcd7c31d7a32fa128e9b4d632fa08c95ca652e1bdbd2bb046895341bc4611c436e6ff4d997ae2050cdb84e56fb311078
+DIST apt-cacher-ng_3.3.1.orig.tar.xz 321996 BLAKE2B 
b630a31414ee86256f2e2ebe950b56d182d61dffd1603ce8387b5cd677d18fcda3ed17864bb99c253b11e2d29163b172c2d0bc91a3f5b14fb9f0ef321d656b40
 SHA512 
0d412e4a488fa4c55f1292c1fc7346bdf88228528455ce1d2ad20137ddb84df211a3bc5911c12662428335d8f624979d166b0ed31f74e466228df3ab108e67f3
 DIST apt-cacher-ng_3.3.orig.tar.xz 320884 BLAKE2B 
c4bda8de90f76e7cb8335fdb758571db030c1298881afceb865f84e506aeb82e4db69c5c091debfdcf6c85bc8d4e703b75725ae6b06f2e412ba4b4362d568a05
 SHA512 
01a09bc13d2a9d24ee3012a21ae954362715bc0b69ef021a3446ad7d78157209aaaf941fbb02b0e5323bfb0337a1e3d6450c07b680d42f7bf93855d7ac65c60f

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p1.ebuild
new file mode 100644
index 000..6fcc74573fc
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3.1_p1.ebuild
@@ -0,0 +1,134 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake-utils toolchain-funcs user
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="
+   https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="
+   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz
+   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
+"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+BDEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.3-flags.patch
+   "${WORKDIR}"/debian/patches/debian-changes
+)
+S=${WORKDIR}/${P/_*}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes" )
+   else
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2019-12-03 Thread Jeroen Roovers
commit: aa1eddb3ae2fdf90c76127558110c6df93157e97
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Dec  3 10:52:39 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Dec  3 10:54:06 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa1eddb3

net-misc/apt-cacher-ng: Version 3.3_p2

Package-Manager: Portage-2.3.80, Repoman-2.3.19
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|   1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p2.ebuild | 133 +
 2 files changed, 134 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 1684579e929..c6ca7eceb43 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,4 +1,5 @@
 DIST apt-cacher-ng_3.2-2.debian.tar.xz 48740 BLAKE2B 
ab2f6349aa66f39b778f346827767514761eeb8977d69a55940d7dd4c738b54ba20a9725387f769edf2cce454588746bc10361d4a174ed380a431a6ecf6b096d
 SHA512 
e5299432b91cdf6cb51934fcc440e62d24c1b4849ad3a0c3a5e47a256c874ebb85c7ba56b97da27c2e03e0621b4ae42b69592440d521e718f4f8725a6ff379d4
 DIST apt-cacher-ng_3.2.orig.tar.xz 319036 BLAKE2B 
576fc7a409556d34ee702edd57527c9c35eb033d0e8c8ea4f7b8a8a2dae86f75cd1ca3a7fb0e02845e70d6f8715692b638ff9d574ce1664b67fec9247b60fbc0
 SHA512 
7dfee4a8f38e7c5251c761a5faae063926c5001fe0b97136d938cdbff907e97fb0a20b89dcf685645a518e92be04fe5660d840e738960b4465408f04fe532cae
 DIST apt-cacher-ng_3.3-1.debian.tar.xz 48472 BLAKE2B 
9d7f531d84f470ada8236a5603d06e45d9b7acb7bdeb8bd639c250724013a0552819cabe67f1cee0a1f337d7725429932bdf179afae307242e4d45081854614e
 SHA512 
44a241791b92d6b9231caff8296ed1d9536ffcdc18263451d662da01f1b257b8ea4741e5cfb09c5cd90986c46fe1e91b3110379442d9ed20434e696c6cf645aa
+DIST apt-cacher-ng_3.3-2.debian.tar.xz 48496 BLAKE2B 
327d57cdf74798b99067cdd7153aaba4d3fb03c047203fb1d59fce730c68a28b6db2853f5f944843b96d8613f213c0399ba78aed1b3a186968f8767d03c0fd0c
 SHA512 
aa446b8147a42fa44fcd29754dabe388eedc9829cd908314ba97e0cacbd17d6a0222789015827196ab6fe3efd51ab08a2673ae7c04f5c0781705310e28ca44e7
 DIST apt-cacher-ng_3.3.orig.tar.xz 320884 BLAKE2B 
c4bda8de90f76e7cb8335fdb758571db030c1298881afceb865f84e506aeb82e4db69c5c091debfdcf6c85bc8d4e703b75725ae6b06f2e412ba4b4362d568a05
 SHA512 
01a09bc13d2a9d24ee3012a21ae954362715bc0b69ef021a3446ad7d78157209aaaf941fbb02b0e5323bfb0337a1e3d6450c07b680d42f7bf93855d7ac65c60f

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p2.ebuild
new file mode 100644
index 000..fe76de4838c
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p2.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake-utils toolchain-funcs user
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="
+   https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="
+   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz
+   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
+"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+BDEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.3-flags.patch
+)
+S=${WORKDIR}/${P/_*}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
+   fi
+   if use tcpd; then
+   mycmakeargs+=( "-DHAVE_LIBWRAP=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_LIBWRAP=no" )
+   fi
+
+   cmake-utils_src_configure
+
+   sed -i -e '/LogDir/s|/var/tmp|/var/log/'"${PN}"'|g' 
"${BUILD_DIR}"/conf/acng.conf || die
+}
+
+src_install() {
+   pushd "${BUILD_DIR}" || die
+   dosbin ${PN} acngtool
+   dolib.so libsupacng.so
+ 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/files/, net-misc/apt-cacher-ng/

2019-11-15 Thread Jeroen Roovers
commit: bd9f55582889b29951a062daa13064b08765ebb5
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Nov 15 11:28:48 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Nov 15 11:29:11 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd9f5558

net-misc/apt-cacher-ng: Create default LogDir

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Jeroen Roovers  gentoo.org>

 .../apt-cacher-ng/apt-cacher-ng-3.3_p1-r1.ebuild   | 131 +
 net-misc/apt-cacher-ng/files/confd-r1  |   3 +
 net-misc/apt-cacher-ng/files/initd-r2  |  34 ++
 3 files changed, 168 insertions(+)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p1-r1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p1-r1.ebuild
new file mode 100644
index 000..682a66fd9f0
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p1-r1.ebuild
@@ -0,0 +1,131 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake-utils toolchain-funcs user
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="
+   https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="
+   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz
+   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
+"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+BDEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.3-flags.patch
+)
+S=${WORKDIR}/${P/_*}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
+   fi
+   if use tcpd; then
+   mycmakeargs+=( "-DHAVE_LIBWRAP=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_LIBWRAP=no" )
+   fi
+
+   cmake-utils_src_configure
+
+   sed -i -e '/LogDir/s|/var/tmp|/var/log/'"${PN}"'|g' 
"${BUILD_DIR}"/conf/acng.conf || die
+}
+
+src_install() {
+   pushd "${BUILD_DIR}" || die
+   dosbin ${PN} acngtool
+   dolib.so libsupacng.so
+   if use fuse; then
+   dobin acngfs
+   fi
+   popd || die
+
+   newinitd "${FILESDIR}"/initd-r2 ${PN}
+   newconfd "${FILESDIR}"/confd-r1 ${PN}
+
+   insinto /etc/logrotate.d
+   newins "${FILESDIR}"/logrotate ${PN}
+
+   doman doc/man/${PN}*
+   if use fuse; then
+   doman doc/man/acngfs*
+   fi
+
+   # Documentation
+   dodoc doc/README TODO VERSION INSTALL ChangeLog
+   if use doc; then
+   dodoc doc/*.pdf
+
+   docinto html
+   dodoc doc/html/*
+
+   find conf -name '*.gz' -exec gzip -d {} \; || die
+   docinto examples/conf
+   dodoc conf/*
+   fi
+
+   # perl daily cron script
+   dosbin scripts/expire-caller.pl
+   exeinto /etc/cron.daily
+   newexe "${FILESDIR}"/cron.daily ${PN}
+
+   # default configuration
+   insinto /etc/${PN}
+   newins "${BUILD_DIR}"/conf/acng.conf ${PN}.conf
+   doins $( echo conf/* | sed 's|conf/acng.conf.in||g' )
+
+   keepdir /var/log/${PN}
+   # Some directories must exists
+   keepdir /var/log/${PN}
+   fowners -R ${PN}:${PN} \
+   /etc/${PN} \
+   /var/log/${PN}
+}

diff --git a/net-misc/apt-cacher-ng/files/confd-r1 
b/net-misc/apt-cacher-ng/files/confd-r1
new file mode 100644
index 000..84b659bc488
--- /dev/null
+++ b/net-misc/apt-cacher-ng/files/confd-r1
@@ -0,0 +1,3 @@
+# Additional options that are passed to the Daemon.
+DAEMON_OPTS=" -c /etc/apt-cacher-ng "
+LOGDIR=""

diff --git a/net-misc/apt-cacher-ng/files/initd-r2 
b/net-misc/apt-cacher-ng/files/initd-r2
new file mode 100644
index 000..ae9ab7258cc
--- /dev/null
+++ 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/, net-misc/apt-cacher-ng/files/

2019-11-13 Thread Jeroen Roovers
commit: d0e515d3cb5c375b6068029d621c2fa4f2cf55ba
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Nov 13 10:05:02 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Nov 13 10:08:26 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0e515d3

net-misc/apt-cacher-ng: Old

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-misc/apt-cacher-ng/apt-cacher-ng-3.2.ebuild | 118 
 net-misc/apt-cacher-ng/files/initd  |  32 ---
 2 files changed, 150 deletions(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.2.ebuild
deleted file mode 100644
index d04cec3cc61..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.2.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit cmake-utils toolchain-funcs user
-
-DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
-HOMEPAGE="
-   https://www.unix-ag.uni-kl.de/~bloch/acng/
-   https://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   dev-libs/openssl:0=
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-
-S=${WORKDIR}/${P/_}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) -lt 4 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
-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_25=yes" )
-   else
-   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
-   fi
-   if use tcpd; then
-   mycmakeargs=( "-DHAVE_LIBWRAP=yes" )
-   else
-   mycmakeargs=( "-DHAVE_LIBWRAP=no" )
-   fi
-
-   cmake-utils_src_configure
-}
-
-src_install() {
-   pushd ${CMAKE_BUILD_DIR}
-   dosbin ${PN}
-   if use fuse; then
-   dobin acngfs
-   fi
-   popd
-
-   newinitd "${FILESDIR}"/initd-r1 ${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 doc/README TODO VERSION INSTALL ChangeLog
-   if use doc; then
-   dodoc doc/*.pdf
-   docinto html
-   dodoc doc/html/*
-   docinto examples/conf
-   dodoc conf/*
-   fi
-
-   # perl daily cron script
-   dosbin scripts/expire-caller.pl
-   exeinto /etc/cron.daily
-   newexe "${FILESDIR}"/cron.daily ${PN}
-
-   # default configuration
-   insinto /etc/${PN}
-   newins "${CMAKE_BUILD_DIR}"/conf/acng.conf ${PN}.conf
-   doins $( echo conf/* | sed 's|conf/acng.conf.in||g' )
-
-   keepdir /var/log/${PN}
-   # Some directories must exists
-   keepdir /var/log/${PN}
-   fowners -R ${PN}:${PN} \
-   /etc/${PN} \
-   /var/log/${PN}
-}

diff --git a/net-misc/apt-cacher-ng/files/initd 
b/net-misc/apt-cacher-ng/files/initd
deleted file mode 100644
index d054b4de76b..000
--- a/net-misc/apt-cacher-ng/files/initd
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-NAME="apt-cacher-ng"
-DAEMON="/usr/sbin/$NAME"
-RUNDIR="/var/run/$NAME"
-PIDFILE="$RUNDIR/$NAME.pid"
-SOCKETFILE="$RUNDIR/$NAME.socket"
-DAEMON_OPTS="$DAEMON_OPTS pidfile=$PIDFILE SocketPath=$SOCKETFILE foreground=0"
-
-depend() {
-   use net
-}
-
-start() {
-   ebegin "Starting $NAME"
-   checkpath -d -m 0755 -o ${NAME}:${NAME} ${RUNDIR}
-   start-stop-daemon --start --exec $DAEMON \
-   --user $NAME --group $NAME \
-   --pidfile $PIDFILE \
-   -- $DAEMON_OPTS
-   eend $?
-}
-
-stop() {
-   ebegin "Stopping $NAME"
-   start-stop-daemon --stop --retry 15 --exec $DAEMON 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/, net-misc/apt-cacher-ng/files/

2019-11-13 Thread Jeroen Roovers
commit: 4aa2b39b617de63c345c48f07063091fe363dde9
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Nov 13 10:02:56 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Nov 13 10:08:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aa2b39b

net-misc/apt-cacher-ng: Version 3.3_p1

Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|   2 +
 net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p1.ebuild | 129 +
 .../files/apt-cacher-ng-3.3-flags.patch|  75 
 3 files changed, 206 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 75ce6eb025d..1684579e929 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1,4 @@
 DIST apt-cacher-ng_3.2-2.debian.tar.xz 48740 BLAKE2B 
ab2f6349aa66f39b778f346827767514761eeb8977d69a55940d7dd4c738b54ba20a9725387f769edf2cce454588746bc10361d4a174ed380a431a6ecf6b096d
 SHA512 
e5299432b91cdf6cb51934fcc440e62d24c1b4849ad3a0c3a5e47a256c874ebb85c7ba56b97da27c2e03e0621b4ae42b69592440d521e718f4f8725a6ff379d4
 DIST apt-cacher-ng_3.2.orig.tar.xz 319036 BLAKE2B 
576fc7a409556d34ee702edd57527c9c35eb033d0e8c8ea4f7b8a8a2dae86f75cd1ca3a7fb0e02845e70d6f8715692b638ff9d574ce1664b67fec9247b60fbc0
 SHA512 
7dfee4a8f38e7c5251c761a5faae063926c5001fe0b97136d938cdbff907e97fb0a20b89dcf685645a518e92be04fe5660d840e738960b4465408f04fe532cae
+DIST apt-cacher-ng_3.3-1.debian.tar.xz 48472 BLAKE2B 
9d7f531d84f470ada8236a5603d06e45d9b7acb7bdeb8bd639c250724013a0552819cabe67f1cee0a1f337d7725429932bdf179afae307242e4d45081854614e
 SHA512 
44a241791b92d6b9231caff8296ed1d9536ffcdc18263451d662da01f1b257b8ea4741e5cfb09c5cd90986c46fe1e91b3110379442d9ed20434e696c6cf645aa
+DIST apt-cacher-ng_3.3.orig.tar.xz 320884 BLAKE2B 
c4bda8de90f76e7cb8335fdb758571db030c1298881afceb865f84e506aeb82e4db69c5c091debfdcf6c85bc8d4e703b75725ae6b06f2e412ba4b4362d568a05
 SHA512 
01a09bc13d2a9d24ee3012a21ae954362715bc0b69ef021a3446ad7d78157209aaaf941fbb02b0e5323bfb0337a1e3d6450c07b680d42f7bf93855d7ac65c60f

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p1.ebuild
new file mode 100644
index 000..a2ab7261f60
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.3_p1.ebuild
@@ -0,0 +1,129 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake-utils toolchain-funcs user
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="
+   https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="
+   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz
+   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
+"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   dev-libs/openssl:0=
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+BDEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+PATCHES=(
+   "${FILESDIR}"/${PN}-3.3-flags.patch
+)
+S=${WORKDIR}/${P/_*}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
+   fi
+   if use tcpd; then
+   mycmakeargs+=( "-DHAVE_LIBWRAP=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_LIBWRAP=no" )
+   fi
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   pushd "${BUILD_DIR}" || die
+   dosbin ${PN} acngtool
+   dolib.so libsupacng.so
+   if use fuse; then
+   dobin acngfs
+   fi
+   popd || die
+
+   newinitd "${FILESDIR}"/initd-r1 ${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*
+

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2019-05-29 Thread Michał Górny
commit: 10e62c266e70cfe78e33e7b7d57e07a9da37b29b
Author: Michał Górny  gentoo  org>
AuthorDate: Tue May 28 18:52:21 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed May 29 10:02:44 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10e62c26

net-misc/apt-cacher-ng: [QA] Fix openssl dep to use :0=

Signed-off-by: Michał Górny  gentoo.org>

 net-misc/apt-cacher-ng/apt-cacher-ng-3.2.ebuild   | 4 ++--
 ...{apt-cacher-ng-3.2_p2-r1.ebuild => apt-cacher-ng-3.2_p2-r2.ebuild} | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.2.ebuild
index fb6f30e111a..d04cec3cc61 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.2.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,7 +19,7 @@ IUSE="doc fuse systemd tcpd"
 COMMON_DEPEND="
app-arch/bzip2
app-arch/xz-utils
-   dev-libs/openssl:*
+   dev-libs/openssl:0=
sys-libs/zlib
systemd? (
sys-apps/systemd

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2-r1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2-r2.ebuild
similarity index 99%
rename from net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2-r1.ebuild
rename to net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2-r2.ebuild
index c66c11d82fa..4e825f700ed 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2-r1.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2-r2.ebuild
@@ -22,7 +22,7 @@ IUSE="doc fuse systemd tcpd"
 COMMON_DEPEND="
app-arch/bzip2
app-arch/xz-utils
-   dev-libs/openssl:*
+   dev-libs/openssl:0=
sys-libs/zlib
systemd? (
sys-apps/systemd



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/files/

2019-05-29 Thread Jeroen Roovers
commit: b90ef8fc86635d803baced452b4b6c9af294e86f
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed May 29 09:34:10 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed May 29 09:34:25 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b90ef8fc

net-misc/apt-cacher-ng: Drop Gentoo cmake additions from patch

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Signed-off-by: Jeroen Roovers  gentoo.org>

 .../apt-cacher-ng/files/apt-cacher-ng-3.2-flags.patch | 15 ---
 1 file changed, 15 deletions(-)

diff --git a/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.2-flags.patch 
b/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.2-flags.patch
index 9a909dcc057..bc78fcaea14 100644
--- a/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.2-flags.patch
+++ b/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.2-flags.patch
@@ -67,21 +67,6 @@
  add_subdirectory(client)
  add_subdirectory(fs)
  add_subdirectory(source)
-@@ -415,3 +379,14 @@
- CFGDIR: ${CFGDIR}
- SBINDIR: ${SBINDIR}
- ")
-+
-+MESSAGE(STATUS "<<< Gentoo configuration >>>
-+Build type  ${CMAKE_BUILD_TYPE}
-+Install path${CMAKE_INSTALL_PREFIX}
-+Compiler flags:
-+C   ${CMAKE_C_FLAGS}
-+C++ ${CMAKE_CXX_FLAGS}
-+Linker flags:
-+Executable  ${CMAKE_EXE_LINKER_FLAGS}
-+Module  ${CMAKE_MODULE_LINKER_FLAGS}
-+Shared  ${CMAKE_SHARED_LINKER_FLAGS}\n")
 --- a/fs/CMakeLists.txt
 +++ b/fs/CMakeLists.txt
 @@ -20,7 +20,7 @@



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/files/, net-misc/apt-cacher-ng/

2019-05-29 Thread Jeroen Roovers
commit: 01cb1df8882b9fbac492b6fbd28a6848f5012194
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed May 29 09:31:02 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed May 29 09:31:49 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01cb1df8

net-misc/apt-cacher-ng: Fix CFLAGS/LDFLAGS/openssl

Package-Manager: Portage-2.3.67, Repoman-2.3.13
Bug: https://bugs.gentoo.org/show_bug.cgi?id=686608
Signed-off-by: Jeroen Roovers  gentoo.org>

 2_p2.ebuild => apt-cacher-ng-3.2_p2-r1.ebuild} |   9 +-
 .../files/apt-cacher-ng-3.2-flags.patch| 112 +
 2 files changed, 118 insertions(+), 3 deletions(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2-r1.ebuild
similarity index 95%
rename from net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2.ebuild
rename to net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2-r1.ebuild
index 97f303d5634..c66c11d82fa 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2-r1.ebuild
@@ -28,7 +28,7 @@ COMMON_DEPEND="
sys-apps/systemd
)
 "
-DEPEND="
+BDEPEND="
${COMMON_DEPEND}
dev-util/cmake
>sys-devel/gcc-4.8
@@ -42,6 +42,7 @@ RDEPEND="
 "
 PATCHES=(
"${WORKDIR}"/debian/patches/debian-changes
+   "${FILESDIR}"/${PN}-3.2-flags.patch
 )
 S=${WORKDIR}/${P/_*}
 
@@ -60,7 +61,9 @@ pkg_setup() {
 }
 
 src_configure(){
-   mycmakeargs=( "-DCMAKE_INSTALL_PREFIX=/usr" )
+   mycmakeargs=(
+   "-DCMAKE_INSTALL_PREFIX=/usr"
+   )
if use fuse; then
mycmakeargs+=( "-DHAVE_FUSE_25=yes" )
else
@@ -76,7 +79,7 @@ src_configure(){
 }
 
 src_install() {
-   pushd ${BUILD_DIR} || die
+   pushd "${BUILD_DIR}" || die
dosbin ${PN}
if use fuse; then
dobin acngfs

diff --git a/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.2-flags.patch 
b/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.2-flags.patch
new file mode 100644
index 000..9a909dcc057
--- /dev/null
+++ b/net-misc/apt-cacher-ng/files/apt-cacher-ng-3.2-flags.patch
@@ -0,0 +1,112 @@
+- Rip out additional CFLAGS/LDFLAGS
+- Drop osslcompat (bug #686608)
+
+--- a/CMakeLists.txt
 b/CMakeLists.txt
+@@ -106,16 +106,6 @@
+ _append(ACNG_CXXFLAGS -fvisibility-inlines-hidden)
+ endif()
+ 
+-foreach(linkarg -Wl,--as-needed -Wl,-O1 -Wl,--discard-all -Wl,--no-undefined 
-Wl,--build-id=sha1 -Wl,-fuse-ld=gold -Wl,--threads)
+-  STRING(REGEX REPLACE "=|-|," "" optname "${linkarg}")
+-  set(CMAKE_REQUIRED_FLAGS "${linkarg}")
+-  CHECK_CXX_COMPILER_FLAG("" "LD_${optname}")
+-  if(LD_${optname})
+-  _append(CMAKE_EXE_LINKER_FLAGS ${linkarg})
+-  endif()
+-  set(CMAKE_REQUIRED_FLAGS "")
+-endforeach(linkarg)
+-
+ option(USE_SSL "Use OpenSSL library for TLS and other crypto functionality" 
on)
+ 
+ IF(CMAKE_SYSTEM MATCHES "Darwin")
+@@ -134,14 +124,6 @@
+ if(CMAKE_BUILD_TYPE MATCHES Debug)
+set(USE_LTO_DEFAULT off)
+_append(ACNG_COMPFLAGS -DDEBUG)
+-else()
+-   set(CMAKE_REQUIRED_FLAGS "-Wl,--gc-sections")
+-   CHECK_CXX_COMPILER_FLAG("-Os -fdata-sections -ffunction-sections 
-Wl,--gc-sections" GC_SECTIONS)
+-   if(GC_SECTIONS)
+-   _append(ACNG_COMPFLAGS -fdata-sections -ffunction-sections)
+-   _append(CMAKE_EXE_LINKER_FLAGS -Wl,--gc-sections)
+-   endif()
+-   set(CMAKE_REQUIRED_FLAGS "")
+ endif()
+ 
+ # XXX: could use the modern macros instead but they were not available in 
CMake 2.x
+@@ -167,23 +149,6 @@
+endif()
+ endif()
+ 
+-option(USE_LTO "Enable Link Time Optimization (requires modern compilers)" 
${USE_LTO_DEFAULT})
+-
+-if(USE_LTO)
+-SET(LDFLAGS_BACKUP "${CMAKE_EXE_LINKER_FLAGS}")
+-SET(CMAKE_REQUIRED_FLAGS "${ACNG_COMPFLAGS} -flto")
+-_append(CMAKE_EXE_LINKER_FLAGS -flto)
+-CHECK_CXX_SOURCE_COMPILES("${CXX11_TESTSRC}" HAS_LTO)
+-if(HAS_LTO)
+-SET(ACNG_COMPFLAGS ${CMAKE_REQUIRED_FLAGS})
+-else()
+-SET(CMAKE_REQUIRED_FLAGS "${ACNG_COMPFLAGS}")
+-SET(CMAKE_EXE_LINKER_FLAGS "${LDFLAGS_BACKUP}")
+-message(WARNING "Link Time Optimization support broken, 
disabling it.")
+-endif()
+-endif()
+-message("-- LTO use: ${USE_LTO}")
+-
+ FIND_LIBRARY(HAVE_SOCKETLIB socket) # separate socket lib looks like 
Solaris-like environment
+ if(HAVE_SOCKETLIB)
+LIST(APPEND BaseNetworkLibs socket nsl)
+@@ -378,7 +343,6 @@
+ 
+ CONFIGURE_FILE("${CMAKE_SOURCE_DIR}/include/acsyscap.h.in" 
"${CMAKE_BINARY_DIR}/acsyscap.h")
+ 
+-add_subdirectory(oldssl-workaround)
+ add_subdirectory(client)
+ add_subdirectory(fs)
+ add_subdirectory(source)
+@@ -415,3 +379,14 @@
+ CFGDIR: ${CFGDIR}
+ SBINDIR: ${SBINDIR}
+ ")
++
++MESSAGE(STATUS "<<< Gentoo configuration >>>
++Build type  ${CMAKE_BUILD_TYPE}
++Install path${CMAKE_INSTALL_PREFIX}
++Compiler flags:

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2019-05-22 Thread Jeroen Roovers
commit: 36f6d7b98ece51c3607837fc482687e6c7b0ea87
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed May 22 06:05:41 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed May 22 06:05:59 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36f6d7b9

net-misc/apt-cacher-ng: Version 3.2_p2

Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-misc/apt-cacher-ng/Manifest|   1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2.ebuild | 126 +
 2 files changed, 127 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 21498d91e43..75ce6eb025d 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1 +1,2 @@
+DIST apt-cacher-ng_3.2-2.debian.tar.xz 48740 BLAKE2B 
ab2f6349aa66f39b778f346827767514761eeb8977d69a55940d7dd4c738b54ba20a9725387f769edf2cce454588746bc10361d4a174ed380a431a6ecf6b096d
 SHA512 
e5299432b91cdf6cb51934fcc440e62d24c1b4849ad3a0c3a5e47a256c874ebb85c7ba56b97da27c2e03e0621b4ae42b69592440d521e718f4f8725a6ff379d4
 DIST apt-cacher-ng_3.2.orig.tar.xz 319036 BLAKE2B 
576fc7a409556d34ee702edd57527c9c35eb033d0e8c8ea4f7b8a8a2dae86f75cd1ca3a7fb0e02845e70d6f8715692b638ff9d574ce1664b67fec9247b60fbc0
 SHA512 
7dfee4a8f38e7c5251c761a5faae063926c5001fe0b97136d938cdbff907e97fb0a20b89dcf685645a518e92be04fe5660d840e738960b4465408f04fe532cae

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2.ebuild
new file mode 100644
index 000..97f303d5634
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.2_p2.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake-utils toolchain-funcs user
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="
+   https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="
+   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_*}.orig.tar.xz
+   mirror://debian/pool/main/a/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
+"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   dev-libs/openssl:*
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+PATCHES=(
+   "${WORKDIR}"/debian/patches/debian-changes
+)
+S=${WORKDIR}/${P/_*}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
+   fi
+   if use tcpd; then
+   mycmakeargs=( "-DHAVE_LIBWRAP=yes" )
+   else
+   mycmakeargs=( "-DHAVE_LIBWRAP=no" )
+   fi
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   pushd ${BUILD_DIR} || die
+   dosbin ${PN}
+   if use fuse; then
+   dobin acngfs
+   fi
+   popd
+
+   newinitd "${FILESDIR}"/initd-r1 ${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 doc/README TODO VERSION INSTALL ChangeLog
+   if use doc; then
+   dodoc doc/*.pdf
+
+   docinto html
+   dodoc doc/html/*
+
+   find conf -name '*.gz' -exec gzip -d {} \; || die
+   docinto examples/conf
+   dodoc conf/*
+   fi
+
+   # perl daily cron script
+   dosbin scripts/expire-caller.pl
+   exeinto /etc/cron.daily
+   newexe "${FILESDIR}"/cron.daily ${PN}
+
+   # default configuration
+   insinto /etc/${PN}
+   newins "${BUILD_DIR}"/conf/acng.conf ${PN}.conf
+   doins $( echo conf/* | sed 's|conf/acng.conf.in||g' )
+
+   keepdir /var/log/${PN}
+   # Some directories must exists
+   keepdir 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2019-02-17 Thread Jeroen Roovers
commit: c446af1b5d7c32ee9e1b0ff3f096b40cc05b1c31
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Feb 17 13:12:20 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Feb 17 13:14:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c446af1b

net-misc/apt-cacher-ng: Old

Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-misc/apt-cacher-ng/Manifest |   1 -
 net-misc/apt-cacher-ng/apt-cacher-ng-3.1.ebuild | 117 
 2 files changed, 118 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index f75e6975dab..21498d91e43 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1 @@
-DIST apt-cacher-ng_3.1.orig.tar.xz 319308 BLAKE2B 
6c312cda0f7ffb008b1175fc28fb8fdf9a521f0011c72d651f54d0f2f30856982be137f2facc05bc9770793f41ad445f5bbb96a3916be15d53858abffab5dbc0
 SHA512 
daebbf2fa6e140903eb6ddebcc62a4333486f2fa29a951724d316e4376b602e265094c42c9ffa5ba1f54aa93b1599d65c5c1bede39e088e9a52e4019276362fd
 DIST apt-cacher-ng_3.2.orig.tar.xz 319036 BLAKE2B 
576fc7a409556d34ee702edd57527c9c35eb033d0e8c8ea4f7b8a8a2dae86f75cd1ca3a7fb0e02845e70d6f8715692b638ff9d574ce1664b67fec9247b60fbc0
 SHA512 
7dfee4a8f38e7c5251c761a5faae063926c5001fe0b97136d938cdbff907e97fb0a20b89dcf685645a518e92be04fe5660d840e738960b4465408f04fe532cae

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.1.ebuild
deleted file mode 100644
index 092180f5b76..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.1.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit cmake-utils eutils toolchain-funcs user
-
-DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
-HOMEPAGE="
-   https://www.unix-ag.uni-kl.de/~bloch/acng/
-   https://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   dev-libs/openssl:*
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-
-S=${WORKDIR}/${P/_}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) -lt 4 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
-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_25=yes" )
-   else
-   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
-   fi
-   if use tcpd; then
-   mycmakeargs=( "-DHAVE_LIBWRAP=yes" )
-   else
-   mycmakeargs=( "-DHAVE_LIBWRAP=no" )
-   fi
-
-   cmake-utils_src_configure
-}
-
-src_install() {
-   pushd ${CMAKE_BUILD_DIR}
-   dosbin ${PN}
-   if use fuse; then
-   dobin acngfs
-   fi
-   popd
-
-   newinitd "${FILESDIR}"/initd-r1 ${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 doc/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 scripts/expire-caller.pl
-   exeinto /etc/cron.daily
-   newexe "${FILESDIR}"/cron.daily ${PN}
-
-   # default configuration
-   insinto /etc/${PN}
-   newins "${CMAKE_BUILD_DIR}"/conf/acng.conf ${PN}.conf
-   doins $( echo conf/* | sed 's|conf/acng.conf.in||g' )
-
-   keepdir /var/log/${PN}
-   # Some directories must exists
-   keepdir /var/log/${PN}
-   fowners -R ${PN}:${PN} \
-   /etc/${PN} \
-   /var/log/${PN}
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2018-09-08 Thread Jeroen Roovers
commit: c00640c07294afbb2a36fd819db53b2efdb9cc48
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Sep  8 09:13:16 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Sep  8 09:13:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c00640c0

net-misc/apt-cacher-ng: Old.

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 net-misc/apt-cacher-ng/Manifest   |   1 -
 net-misc/apt-cacher-ng/apt-cacher-ng-3.ebuild | 117 --
 2 files changed, 118 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 4feb70aa9d5..f75e6975dab 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,3 +1,2 @@
 DIST apt-cacher-ng_3.1.orig.tar.xz 319308 BLAKE2B 
6c312cda0f7ffb008b1175fc28fb8fdf9a521f0011c72d651f54d0f2f30856982be137f2facc05bc9770793f41ad445f5bbb96a3916be15d53858abffab5dbc0
 SHA512 
daebbf2fa6e140903eb6ddebcc62a4333486f2fa29a951724d316e4376b602e265094c42c9ffa5ba1f54aa93b1599d65c5c1bede39e088e9a52e4019276362fd
 DIST apt-cacher-ng_3.2.orig.tar.xz 319036 BLAKE2B 
576fc7a409556d34ee702edd57527c9c35eb033d0e8c8ea4f7b8a8a2dae86f75cd1ca3a7fb0e02845e70d6f8715692b638ff9d574ce1664b67fec9247b60fbc0
 SHA512 
7dfee4a8f38e7c5251c761a5faae063926c5001fe0b97136d938cdbff907e97fb0a20b89dcf685645a518e92be04fe5660d840e738960b4465408f04fe532cae
-DIST apt-cacher-ng_3.orig.tar.xz 319996 BLAKE2B 
e744e3d9fa5441bf97e6fa8918f6a49f63792a0fb9a61b2223db99488f4929db0e97a3520dd4b8f1297d8e809150f8d33f0d45cba967412843d227b16d26d4a0
 SHA512 
4eb520d724c1397b9deefe8dc1b0af81f2151e50d1cabfc2480f040233ae1ee95434d0dcf2b4db8aec918204ae676a49e19e3c885674c7fb389972c2da64c3d4

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.ebuild
deleted file mode 100644
index 092180f5b76..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit cmake-utils eutils toolchain-funcs user
-
-DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
-HOMEPAGE="
-   https://www.unix-ag.uni-kl.de/~bloch/acng/
-   https://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   dev-libs/openssl:*
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-
-S=${WORKDIR}/${P/_}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) -lt 4 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
-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_25=yes" )
-   else
-   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
-   fi
-   if use tcpd; then
-   mycmakeargs=( "-DHAVE_LIBWRAP=yes" )
-   else
-   mycmakeargs=( "-DHAVE_LIBWRAP=no" )
-   fi
-
-   cmake-utils_src_configure
-}
-
-src_install() {
-   pushd ${CMAKE_BUILD_DIR}
-   dosbin ${PN}
-   if use fuse; then
-   dobin acngfs
-   fi
-   popd
-
-   newinitd "${FILESDIR}"/initd-r1 ${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 doc/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 scripts/expire-caller.pl
-   exeinto /etc/cron.daily
-   newexe "${FILESDIR}"/cron.daily ${PN}
-
-   # default configuration
-   insinto /etc/${PN}
-   newins "${CMAKE_BUILD_DIR}"/conf/acng.conf ${PN}.conf
-   doins $( echo conf/* | sed 's|conf/acng.conf.in||g' )
-
-   keepdir /var/log/${PN}
-   # Some directories must exists
-   

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2018-09-08 Thread Jeroen Roovers
commit: d32e0a09b4b487031e0643312ba3cbd9290e8c32
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Sep  8 09:12:17 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Sep  8 09:12:17 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d32e0a09

net-misc/apt-cacher-ng: Version 3.2.

Package-Manager: Portage-2.3.49, Repoman-2.3.10

 net-misc/apt-cacher-ng/Manifest |   1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-3.2.ebuild | 118 
 2 files changed, 119 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index d95c94ffbec..4feb70aa9d5 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1,3 @@
 DIST apt-cacher-ng_3.1.orig.tar.xz 319308 BLAKE2B 
6c312cda0f7ffb008b1175fc28fb8fdf9a521f0011c72d651f54d0f2f30856982be137f2facc05bc9770793f41ad445f5bbb96a3916be15d53858abffab5dbc0
 SHA512 
daebbf2fa6e140903eb6ddebcc62a4333486f2fa29a951724d316e4376b602e265094c42c9ffa5ba1f54aa93b1599d65c5c1bede39e088e9a52e4019276362fd
+DIST apt-cacher-ng_3.2.orig.tar.xz 319036 BLAKE2B 
576fc7a409556d34ee702edd57527c9c35eb033d0e8c8ea4f7b8a8a2dae86f75cd1ca3a7fb0e02845e70d6f8715692b638ff9d574ce1664b67fec9247b60fbc0
 SHA512 
7dfee4a8f38e7c5251c761a5faae063926c5001fe0b97136d938cdbff907e97fb0a20b89dcf685645a518e92be04fe5660d840e738960b4465408f04fe532cae
 DIST apt-cacher-ng_3.orig.tar.xz 319996 BLAKE2B 
e744e3d9fa5441bf97e6fa8918f6a49f63792a0fb9a61b2223db99488f4929db0e97a3520dd4b8f1297d8e809150f8d33f0d45cba967412843d227b16d26d4a0
 SHA512 
4eb520d724c1397b9deefe8dc1b0af81f2151e50d1cabfc2480f040233ae1ee95434d0dcf2b4db8aec918204ae676a49e19e3c885674c7fb389972c2da64c3d4

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.2.ebuild
new file mode 100644
index 000..fb6f30e111a
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.2.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit cmake-utils toolchain-funcs user
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="
+   https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   dev-libs/openssl:*
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+
+S=${WORKDIR}/${P/_}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
+   fi
+   if use tcpd; then
+   mycmakeargs=( "-DHAVE_LIBWRAP=yes" )
+   else
+   mycmakeargs=( "-DHAVE_LIBWRAP=no" )
+   fi
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   pushd ${CMAKE_BUILD_DIR}
+   dosbin ${PN}
+   if use fuse; then
+   dobin acngfs
+   fi
+   popd
+
+   newinitd "${FILESDIR}"/initd-r1 ${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 doc/README TODO VERSION INSTALL ChangeLog
+   if use doc; then
+   dodoc doc/*.pdf
+   docinto html
+   dodoc doc/html/*
+   docinto examples/conf
+   dodoc conf/*
+   fi
+
+   # perl daily cron script
+   dosbin scripts/expire-caller.pl
+   exeinto /etc/cron.daily
+   newexe "${FILESDIR}"/cron.daily ${PN}
+
+   # default configuration
+   insinto /etc/${PN}
+   newins "${CMAKE_BUILD_DIR}"/conf/acng.conf ${PN}.conf
+   doins $( echo conf/* | sed 's|conf/acng.conf.in||g' )
+
+   keepdir /var/log/${PN}
+   # Some 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2017-11-08 Thread Jeroen Roovers
commit: 7358182a560ec94119f2842a9f761c5772429538
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Nov  8 17:09:43 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Nov  8 17:12:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7358182a

net-misc/apt-cacher-ng: Version bump.

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 net-misc/apt-cacher-ng/Manifest |   1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-3.1.ebuild | 117 
 2 files changed, 118 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index c3d33ccff0f..2321e454344 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1 +1,2 @@
+DIST apt-cacher-ng_3.1.orig.tar.xz 319308 SHA256 
21319a5f517f8de242701e5e66ab4233635e6c9479a12df86be16f705e6c0c5d SHA512 
daebbf2fa6e140903eb6ddebcc62a4333486f2fa29a951724d316e4376b602e265094c42c9ffa5ba1f54aa93b1599d65c5c1bede39e088e9a52e4019276362fd
 WHIRLPOOL 
76f994aa24a803fff7a86504b04abc725d8632dc5d9117354269c90b08ed26054b050a2a5d0f14d693c80077a991efbe7c171c6a966cc5f9c055e4aafdda8dd2
 DIST apt-cacher-ng_3.orig.tar.xz 319996 SHA256 
e5b435007ec13fafcebeef65a3a8ec4210853e339efeb98ea79d1a3557f63611 SHA512 
4eb520d724c1397b9deefe8dc1b0af81f2151e50d1cabfc2480f040233ae1ee95434d0dcf2b4db8aec918204ae676a49e19e3c885674c7fb389972c2da64c3d4
 WHIRLPOOL 
261ae398d476498d74b22af91bf9e824b5b51f597eb010677d962e2f8a6327d9c0b3fa71211d293e6d98c8b11dcdb1edae91c97618679cfb185c87a2c63f5982

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.1.ebuild
new file mode 100644
index 000..092180f5b76
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.1.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit cmake-utils eutils toolchain-funcs user
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="
+   https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   dev-libs/openssl:*
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+
+S=${WORKDIR}/${P/_}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
+   fi
+   if use tcpd; then
+   mycmakeargs=( "-DHAVE_LIBWRAP=yes" )
+   else
+   mycmakeargs=( "-DHAVE_LIBWRAP=no" )
+   fi
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   pushd ${CMAKE_BUILD_DIR}
+   dosbin ${PN}
+   if use fuse; then
+   dobin acngfs
+   fi
+   popd
+
+   newinitd "${FILESDIR}"/initd-r1 ${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 doc/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 scripts/expire-caller.pl
+   exeinto /etc/cron.daily
+   newexe "${FILESDIR}"/cron.daily ${PN}
+
+   # default configuration
+   insinto /etc/${PN}
+   newins "${CMAKE_BUILD_DIR}"/conf/acng.conf ${PN}.conf
+   doins $( echo conf/* | sed 's|conf/acng.conf.in||g' )
+
+   keepdir /var/log/${PN}
+   # Some directories must exists
+   keepdir /var/log/${PN}
+   fowners -R ${PN}:${PN} \
+   /etc/${PN} \
+   /var/log/${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2017-09-14 Thread Jeroen Roovers
commit: d9c430b6955d4d734c2e6801bdc233aa16c0ddc5
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Sep 14 20:29:00 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Sep 14 20:29:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9c430b6

net-misc/apt-cacher-ng: Old.

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 net-misc/apt-cacher-ng/Manifest   |   1 -
 net-misc/apt-cacher-ng/apt-cacher-ng-2.ebuild | 117 --
 2 files changed, 118 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 03150f73753..c3d33ccff0f 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1 @@
-DIST apt-cacher-ng_2.orig.tar.xz 313360 SHA256 
eeab24d96ceb544b4c57dd1ac749af9e2ad92dbf864056688bd9c62d02186c2e SHA512 
ad409b4ffc39af4037be003c8f73048e191bfed36e3d63dcb061fdc456b3d18c3e0ec82d8af5f9272c3e33564ec3060a567733e123c892841cbb8bc7d557fd1b
 WHIRLPOOL 
44940dd3b494d395dae18c93d4553775d9df487c7c5b4c2f8a643df91a4e30fe5d1724f9d54b3ff74f189ea877d35a7974076fd0260ce0f5ebe6291572e93805
 DIST apt-cacher-ng_3.orig.tar.xz 319996 SHA256 
e5b435007ec13fafcebeef65a3a8ec4210853e339efeb98ea79d1a3557f63611 SHA512 
4eb520d724c1397b9deefe8dc1b0af81f2151e50d1cabfc2480f040233ae1ee95434d0dcf2b4db8aec918204ae676a49e19e3c885674c7fb389972c2da64c3d4
 WHIRLPOOL 
261ae398d476498d74b22af91bf9e824b5b51f597eb010677d962e2f8a6327d9c0b3fa71211d293e6d98c8b11dcdb1edae91c97618679cfb185c87a2c63f5982

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-2.ebuild
deleted file mode 100644
index 092180f5b76..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-2.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit cmake-utils eutils toolchain-funcs user
-
-DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
-HOMEPAGE="
-   https://www.unix-ag.uni-kl.de/~bloch/acng/
-   https://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   dev-libs/openssl:*
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-
-S=${WORKDIR}/${P/_}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) -lt 4 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
-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_25=yes" )
-   else
-   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
-   fi
-   if use tcpd; then
-   mycmakeargs=( "-DHAVE_LIBWRAP=yes" )
-   else
-   mycmakeargs=( "-DHAVE_LIBWRAP=no" )
-   fi
-
-   cmake-utils_src_configure
-}
-
-src_install() {
-   pushd ${CMAKE_BUILD_DIR}
-   dosbin ${PN}
-   if use fuse; then
-   dobin acngfs
-   fi
-   popd
-
-   newinitd "${FILESDIR}"/initd-r1 ${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 doc/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 scripts/expire-caller.pl
-   exeinto /etc/cron.daily
-   newexe "${FILESDIR}"/cron.daily ${PN}
-
-   # default configuration
-   insinto /etc/${PN}
-   newins "${CMAKE_BUILD_DIR}"/conf/acng.conf ${PN}.conf
-   doins $( echo conf/* | sed 's|conf/acng.conf.in||g' )
-
-   keepdir /var/log/${PN}
-   # Some directories must exists
-   keepdir /var/log/${PN}
-   fowners -R ${PN}:${PN} \
-   /etc/${PN} \
-   /var/log/${PN}
-}



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2017-08-22 Thread Michał Górny
commit: 230e1ac2716cf35a06e61a62977284fedb39c9b4
Author: David Hicks  hicks  id  au>
AuthorDate: Tue Aug 22 12:15:24 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Tue Aug 22 21:39:57 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=230e1ac2

net-misc/apt-cacher-ng: HOMEPAGE 301 redirect to HTTPS

Package-Manager: Portage-2.3.7, Repoman-2.3.3

 net-misc/apt-cacher-ng/apt-cacher-ng-2.ebuild | 6 +++---
 net-misc/apt-cacher-ng/apt-cacher-ng-3.ebuild | 4 ++--
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-2.ebuild
index e87d5953209..092180f5b76 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-2.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -6,8 +6,8 @@ inherit cmake-utils eutils toolchain-funcs user
 
 DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
 HOMEPAGE="
-   http://www.unix-ag.uni-kl.de/~bloch/acng/
-   http://packages.qa.debian.org/a/apt-cacher-ng.html
+   https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html
 "
 LICENSE="BSD-4 ZLIB public-domain"
 SLOT="0"

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.ebuild
index dbddf2c0685..092180f5b76 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.ebuild
@@ -6,8 +6,8 @@ inherit cmake-utils eutils toolchain-funcs user
 
 DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
 HOMEPAGE="
-   http://www.unix-ag.uni-kl.de/~bloch/acng/
-   http://packages.qa.debian.org/a/apt-cacher-ng.html
+   https://www.unix-ag.uni-kl.de/~bloch/acng/
+   https://packages.qa.debian.org/a/apt-cacher-ng.html
 "
 LICENSE="BSD-4 ZLIB public-domain"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2017-03-25 Thread Jeroen Roovers
commit: 378e41bb9938c568686eb4024368ecb0cd65e045
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Mar 25 07:16:24 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Mar 25 07:16:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=378e41bb

net-misc/apt-cacher-ng: Version bump.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-misc/apt-cacher-ng/Manifest   |   1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-3.ebuild | 117 ++
 2 files changed, 118 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index dbea216f78b..03150f73753 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1 +1,2 @@
 DIST apt-cacher-ng_2.orig.tar.xz 313360 SHA256 
eeab24d96ceb544b4c57dd1ac749af9e2ad92dbf864056688bd9c62d02186c2e SHA512 
ad409b4ffc39af4037be003c8f73048e191bfed36e3d63dcb061fdc456b3d18c3e0ec82d8af5f9272c3e33564ec3060a567733e123c892841cbb8bc7d557fd1b
 WHIRLPOOL 
44940dd3b494d395dae18c93d4553775d9df487c7c5b4c2f8a643df91a4e30fe5d1724f9d54b3ff74f189ea877d35a7974076fd0260ce0f5ebe6291572e93805
+DIST apt-cacher-ng_3.orig.tar.xz 319996 SHA256 
e5b435007ec13fafcebeef65a3a8ec4210853e339efeb98ea79d1a3557f63611 SHA512 
4eb520d724c1397b9deefe8dc1b0af81f2151e50d1cabfc2480f040233ae1ee95434d0dcf2b4db8aec918204ae676a49e19e3c885674c7fb389972c2da64c3d4
 WHIRLPOOL 
261ae398d476498d74b22af91bf9e824b5b51f597eb010677d962e2f8a6327d9c0b3fa71211d293e6d98c8b11dcdb1edae91c97618679cfb185c87a2c63f5982

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-3.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-3.ebuild
new file mode 100644
index 000..dbddf2c0685
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-3.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit cmake-utils eutils toolchain-funcs user
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="
+   http://www.unix-ag.uni-kl.de/~bloch/acng/
+   http://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   dev-libs/openssl:*
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+
+S=${WORKDIR}/${P/_}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
+   fi
+   if use tcpd; then
+   mycmakeargs=( "-DHAVE_LIBWRAP=yes" )
+   else
+   mycmakeargs=( "-DHAVE_LIBWRAP=no" )
+   fi
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   pushd ${CMAKE_BUILD_DIR}
+   dosbin ${PN}
+   if use fuse; then
+   dobin acngfs
+   fi
+   popd
+
+   newinitd "${FILESDIR}"/initd-r1 ${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 doc/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 scripts/expire-caller.pl
+   exeinto /etc/cron.daily
+   newexe "${FILESDIR}"/cron.daily ${PN}
+
+   # default configuration
+   insinto /etc/${PN}
+   newins "${CMAKE_BUILD_DIR}"/conf/acng.conf ${PN}.conf
+   doins $( echo conf/* | sed 's|conf/acng.conf.in||g' )
+
+   keepdir /var/log/${PN}
+   # Some directories must exists
+   keepdir /var/log/${PN}
+   fowners -R ${PN}:${PN} \
+   /etc/${PN} \
+   /var/log/${PN}
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/, profiles/arch/hppa/

2017-02-26 Thread Jeroen Roovers
commit: 99d36d2e957164374ebcc9fa990509dc2f81833f
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Feb 26 11:58:13 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Feb 26 11:58:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99d36d2e

profiles/arch/hppa: Mask USE=libsecret for dev-vcs/git.

 net-misc/apt-cacher-ng/Manifest   |   1 -
 net-misc/apt-cacher-ng/apt-cacher-ng-1.ebuild | 118 --
 profiles/arch/hppa/package.use.mask   |   4 +
 3 files changed, 4 insertions(+), 119 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index a4655819a3..dbea216f78 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1 @@
-DIST apt-cacher-ng_1.orig.tar.xz 312120 SHA256 
f8e6fee778b2e2fa37c99b1a398d1d7fe352a719e30f4c4a21323ce0558fa9d9 SHA512 
56de49df851acde32624a3a7ade9adc9d0a7a7ed4995f50992fcedddf2e6a04bc6503869f104986aeb8dadc851cc0dd7c3c57d04e29c2300fc44b0bf111f4a58
 WHIRLPOOL 
3a82eac4bbda2cbc205ee7b7558c1c196fbbde9d4c156fed62fe3335654cc140c7c294b642c22470b9e19e118efd1e4a7d9038d9f42e760a1f96c4974d7371a3
 DIST apt-cacher-ng_2.orig.tar.xz 313360 SHA256 
eeab24d96ceb544b4c57dd1ac749af9e2ad92dbf864056688bd9c62d02186c2e SHA512 
ad409b4ffc39af4037be003c8f73048e191bfed36e3d63dcb061fdc456b3d18c3e0ec82d8af5f9272c3e33564ec3060a567733e123c892841cbb8bc7d557fd1b
 WHIRLPOOL 
44940dd3b494d395dae18c93d4553775d9df487c7c5b4c2f8a643df91a4e30fe5d1724f9d54b3ff74f189ea877d35a7974076fd0260ce0f5ebe6291572e93805

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-1.ebuild
deleted file mode 100644
index 369eb9b069..00
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-1.ebuild
+++ /dev/null
@@ -1,118 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit cmake-utils eutils toolchain-funcs user
-
-DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
-HOMEPAGE="
-   http://www.unix-ag.uni-kl.de/~bloch/acng/
-   http://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   dev-libs/openssl:*
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-
-S=${WORKDIR}/${P/_}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) -lt 4 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
-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_25=yes" )
-   else
-   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
-   fi
-   if use tcpd; then
-   mycmakeargs=( "-DHAVE_LIBWRAP=yes" )
-   else
-   mycmakeargs=( "-DHAVE_LIBWRAP=no" )
-   fi
-
-   cmake-utils_src_configure
-}
-
-src_install() {
-   pushd ${CMAKE_BUILD_DIR}
-   dosbin ${PN}
-   if use fuse; then
-   dobin acngfs
-   fi
-   popd
-
-   newinitd "${FILESDIR}"/initd-r1 ${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 doc/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 scripts/expire-caller.pl
-   exeinto /etc/cron.daily
-   newexe "${FILESDIR}"/cron.daily ${PN}
-
-   # default configuration
-   insinto /etc/${PN}
-   newins "${CMAKE_BUILD_DIR}"/conf/acng.conf ${PN}.conf
-   doins $( echo conf/* | sed 's|conf/acng.conf.in||g' )
-
-   keepdir /var/log/${PN}
-   # Some directories must exists
-   keepdir /var/log/${PN}
-   fowners -R ${PN}:${PN} \
-   /etc/${PN} \
-   /var/log/${PN}
-}

diff 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-11-24 Thread Jeroen Roovers
commit: d4d918efbf8803cacde5805e4b51a9d552420f74
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Nov 24 23:12:23 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Nov 24 23:12:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4d918ef

net-misc/apt-cacher-ng: Old.

Package-Manager: portage-2.3.2

 net-misc/apt-cacher-ng/Manifest|   1 -
 .../apt-cacher-ng/apt-cacher-ng-0.9.3.2-r1.ebuild  | 117 -
 2 files changed, 118 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index b13d3a7..a465581 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,3 +1,2 @@
-DIST apt-cacher-ng_0.9.3.2.orig.tar.xz 307564 SHA256 
cc3ee1c0d657d51332f3ba092dad8bdc94284e07922a814762fbbdcc6b7a76af SHA512 
d292a4d23658f4d71374c8c3218a5ff0ad9876ded73444b4e2e3205acc998c982d9519655ca08a99afe21506e82425252a4981485e28ec898f0b42cc55c91aa8
 WHIRLPOOL 
8223304a6428953278566c15dd43ce77f56ffa3a1a3956baca7ea554376ca528cf79cdabdf5cec0fd50ff8e745a98a32577ff7c8c9e055722dbb0d0075d47748
 DIST apt-cacher-ng_1.orig.tar.xz 312120 SHA256 
f8e6fee778b2e2fa37c99b1a398d1d7fe352a719e30f4c4a21323ce0558fa9d9 SHA512 
56de49df851acde32624a3a7ade9adc9d0a7a7ed4995f50992fcedddf2e6a04bc6503869f104986aeb8dadc851cc0dd7c3c57d04e29c2300fc44b0bf111f4a58
 WHIRLPOOL 
3a82eac4bbda2cbc205ee7b7558c1c196fbbde9d4c156fed62fe3335654cc140c7c294b642c22470b9e19e118efd1e4a7d9038d9f42e760a1f96c4974d7371a3
 DIST apt-cacher-ng_2.orig.tar.xz 313360 SHA256 
eeab24d96ceb544b4c57dd1ac749af9e2ad92dbf864056688bd9c62d02186c2e SHA512 
ad409b4ffc39af4037be003c8f73048e191bfed36e3d63dcb061fdc456b3d18c3e0ec82d8af5f9272c3e33564ec3060a567733e123c892841cbb8bc7d557fd1b
 WHIRLPOOL 
44940dd3b494d395dae18c93d4553775d9df487c7c5b4c2f8a643df91a4e30fe5d1724f9d54b3ff74f189ea877d35a7974076fd0260ce0f5ebe6291572e93805

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.2-r1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.2-r1.ebuild
deleted file mode 100644
index 7b00bd7..
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.2-r1.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit cmake-utils eutils toolchain-funcs user
-
-DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
-HOMEPAGE="
-   http://www.unix-ag.uni-kl.de/~bloch/acng/
-   http://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-
-S=${WORKDIR}/${P/_}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) -lt 4 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
-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_25=yes ${mycmakeargs}"
-   else
-   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${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 doc/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 scripts/expire-caller.pl
-   exeinto /etc/cron.daily
-   newexe "${FILESDIR}"/cron.daily ${PN}
-
-   # default 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-11-24 Thread Jeroen Roovers
commit: 6ade31c3491d0419f20de59a0637db2d4f4cbdbb
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Nov 24 23:11:05 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Nov 24 23:11:05 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ade31c3

net-misc/apt-cacher-ng: Version bump.

Package-Manager: portage-2.3.2

 net-misc/apt-cacher-ng/Manifest   |   1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-2.ebuild | 118 ++
 2 files changed, 119 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 94a3a2c..b13d3a7 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1,3 @@
 DIST apt-cacher-ng_0.9.3.2.orig.tar.xz 307564 SHA256 
cc3ee1c0d657d51332f3ba092dad8bdc94284e07922a814762fbbdcc6b7a76af SHA512 
d292a4d23658f4d71374c8c3218a5ff0ad9876ded73444b4e2e3205acc998c982d9519655ca08a99afe21506e82425252a4981485e28ec898f0b42cc55c91aa8
 WHIRLPOOL 
8223304a6428953278566c15dd43ce77f56ffa3a1a3956baca7ea554376ca528cf79cdabdf5cec0fd50ff8e745a98a32577ff7c8c9e055722dbb0d0075d47748
 DIST apt-cacher-ng_1.orig.tar.xz 312120 SHA256 
f8e6fee778b2e2fa37c99b1a398d1d7fe352a719e30f4c4a21323ce0558fa9d9 SHA512 
56de49df851acde32624a3a7ade9adc9d0a7a7ed4995f50992fcedddf2e6a04bc6503869f104986aeb8dadc851cc0dd7c3c57d04e29c2300fc44b0bf111f4a58
 WHIRLPOOL 
3a82eac4bbda2cbc205ee7b7558c1c196fbbde9d4c156fed62fe3335654cc140c7c294b642c22470b9e19e118efd1e4a7d9038d9f42e760a1f96c4974d7371a3
+DIST apt-cacher-ng_2.orig.tar.xz 313360 SHA256 
eeab24d96ceb544b4c57dd1ac749af9e2ad92dbf864056688bd9c62d02186c2e SHA512 
ad409b4ffc39af4037be003c8f73048e191bfed36e3d63dcb061fdc456b3d18c3e0ec82d8af5f9272c3e33564ec3060a567733e123c892841cbb8bc7d557fd1b
 WHIRLPOOL 
44940dd3b494d395dae18c93d4553775d9df487c7c5b4c2f8a643df91a4e30fe5d1724f9d54b3ff74f189ea877d35a7974076fd0260ce0f5ebe6291572e93805

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-2.ebuild
new file mode 100644
index ..369eb9b
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-2.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils eutils toolchain-funcs user
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="
+   http://www.unix-ag.uni-kl.de/~bloch/acng/
+   http://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   dev-libs/openssl:*
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+
+S=${WORKDIR}/${P/_}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
+   fi
+   if use tcpd; then
+   mycmakeargs=( "-DHAVE_LIBWRAP=yes" )
+   else
+   mycmakeargs=( "-DHAVE_LIBWRAP=no" )
+   fi
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   pushd ${CMAKE_BUILD_DIR}
+   dosbin ${PN}
+   if use fuse; then
+   dobin acngfs
+   fi
+   popd
+
+   newinitd "${FILESDIR}"/initd-r1 ${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 doc/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 scripts/expire-caller.pl
+   exeinto /etc/cron.daily
+   newexe "${FILESDIR}"/cron.daily ${PN}
+
+   # default configuration
+   insinto /etc/${PN}
+ 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-10-21 Thread Jeroen Roovers
commit: 7d1f242c229e620cd9b1adb9594bc6ed0f3aa869
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Oct 21 08:35:42 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Oct 21 08:35:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d1f242c

net-misc/apt-cacher-ng: Depend on dev-libs/openssl (bug #597672).

Package-Manager: portage-2.3.2

 net-misc/apt-cacher-ng/apt-cacher-ng-1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-1.ebuild
index 7e963bd..369eb9b 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-1.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-1.ebuild
@@ -20,6 +20,7 @@ IUSE="doc fuse systemd tcpd"
 COMMON_DEPEND="
app-arch/bzip2
app-arch/xz-utils
+   dev-libs/openssl:*
sys-libs/zlib
systemd? (
sys-apps/systemd



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-10-20 Thread Jeroen Roovers
commit: 54585245055be59b841e1be3a32f0675b40a0451
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Oct 21 03:23:23 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Oct 21 03:23:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54585245

net-misc/apt-cacher-ng: Old.

Package-Manager: portage-2.3.2

 net-misc/apt-cacher-ng/Manifest|   1 -
 .../apt-cacher-ng/apt-cacher-ng-0.9.3.1.ebuild | 117 -
 2 files changed, 118 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 7536227..94a3a2c 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,3 +1,2 @@
-DIST apt-cacher-ng_0.9.3.1.orig.tar.xz 307092 SHA256 
2817fe4089f40029bd83f5739a69ecbef9d10cc8944294df865d06faf635de4b SHA512 
2fc3bd6cf8298fccf04f583ce63cf1c6daf24a649ddb13b061bef15172d6e1c211293e552d79d40391aa0cb30d9a8810c66fb2ff379f5cc251974ed759fe7f07
 WHIRLPOOL 
2594033999c593fe81f016c044086696bde9ab0b26156cfbc6f453f1a4b18baecdedb0c7ed3ab7c9522bbf53a4557290756333c9a6eca95e8bc4857d2e8f04aa
 DIST apt-cacher-ng_0.9.3.2.orig.tar.xz 307564 SHA256 
cc3ee1c0d657d51332f3ba092dad8bdc94284e07922a814762fbbdcc6b7a76af SHA512 
d292a4d23658f4d71374c8c3218a5ff0ad9876ded73444b4e2e3205acc998c982d9519655ca08a99afe21506e82425252a4981485e28ec898f0b42cc55c91aa8
 WHIRLPOOL 
8223304a6428953278566c15dd43ce77f56ffa3a1a3956baca7ea554376ca528cf79cdabdf5cec0fd50ff8e745a98a32577ff7c8c9e055722dbb0d0075d47748
 DIST apt-cacher-ng_1.orig.tar.xz 312120 SHA256 
f8e6fee778b2e2fa37c99b1a398d1d7fe352a719e30f4c4a21323ce0558fa9d9 SHA512 
56de49df851acde32624a3a7ade9adc9d0a7a7ed4995f50992fcedddf2e6a04bc6503869f104986aeb8dadc851cc0dd7c3c57d04e29c2300fc44b0bf111f4a58
 WHIRLPOOL 
3a82eac4bbda2cbc205ee7b7558c1c196fbbde9d4c156fed62fe3335654cc140c7c294b642c22470b9e19e118efd1e4a7d9038d9f42e760a1f96c4974d7371a3

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.1.ebuild
deleted file mode 100644
index 2fc0582..
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.1.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit cmake-utils eutils toolchain-funcs user
-
-DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
-HOMEPAGE="
-   http://www.unix-ag.uni-kl.de/~bloch/acng/
-   http://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-
-S=${WORKDIR}/${P/_}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) -lt 4 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
-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_25=yes ${mycmakeargs}"
-   else
-   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${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 scripts/expire-caller.pl
-   exeinto /etc/cron.daily
-   newexe "${FILESDIR}"/cron.daily ${PN}
-
-   # default 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-10-20 Thread Jeroen Roovers
commit: bd8a0e55c19ec9d17c99bdf61397f84fb193c738
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Oct 21 03:22:27 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Oct 21 03:22:27 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd8a0e55

net-misc/apt-cacher-ng: Version bump.

Package-Manager: portage-2.3.2

 net-misc/apt-cacher-ng/Manifest   |   1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-1.ebuild | 117 ++
 2 files changed, 118 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 64ac839..7536227 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1,3 @@
 DIST apt-cacher-ng_0.9.3.1.orig.tar.xz 307092 SHA256 
2817fe4089f40029bd83f5739a69ecbef9d10cc8944294df865d06faf635de4b SHA512 
2fc3bd6cf8298fccf04f583ce63cf1c6daf24a649ddb13b061bef15172d6e1c211293e552d79d40391aa0cb30d9a8810c66fb2ff379f5cc251974ed759fe7f07
 WHIRLPOOL 
2594033999c593fe81f016c044086696bde9ab0b26156cfbc6f453f1a4b18baecdedb0c7ed3ab7c9522bbf53a4557290756333c9a6eca95e8bc4857d2e8f04aa
 DIST apt-cacher-ng_0.9.3.2.orig.tar.xz 307564 SHA256 
cc3ee1c0d657d51332f3ba092dad8bdc94284e07922a814762fbbdcc6b7a76af SHA512 
d292a4d23658f4d71374c8c3218a5ff0ad9876ded73444b4e2e3205acc998c982d9519655ca08a99afe21506e82425252a4981485e28ec898f0b42cc55c91aa8
 WHIRLPOOL 
8223304a6428953278566c15dd43ce77f56ffa3a1a3956baca7ea554376ca528cf79cdabdf5cec0fd50ff8e745a98a32577ff7c8c9e055722dbb0d0075d47748
+DIST apt-cacher-ng_1.orig.tar.xz 312120 SHA256 
f8e6fee778b2e2fa37c99b1a398d1d7fe352a719e30f4c4a21323ce0558fa9d9 SHA512 
56de49df851acde32624a3a7ade9adc9d0a7a7ed4995f50992fcedddf2e6a04bc6503869f104986aeb8dadc851cc0dd7c3c57d04e29c2300fc44b0bf111f4a58
 WHIRLPOOL 
3a82eac4bbda2cbc205ee7b7558c1c196fbbde9d4c156fed62fe3335654cc140c7c294b642c22470b9e19e118efd1e4a7d9038d9f42e760a1f96c4974d7371a3

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-1.ebuild
new file mode 100644
index ..7e963bd
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-1.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils eutils toolchain-funcs user
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="
+   http://www.unix-ag.uni-kl.de/~bloch/acng/
+   http://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+
+S=${WORKDIR}/${P/_}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes" )
+   else
+   mycmakeargs+=( "-DHAVE_FUSE_25=no" )
+   fi
+   if use tcpd; then
+   mycmakeargs=( "-DHAVE_LIBWRAP=yes" )
+   else
+   mycmakeargs=( "-DHAVE_LIBWRAP=no" )
+   fi
+
+   cmake-utils_src_configure
+}
+
+src_install() {
+   pushd ${CMAKE_BUILD_DIR}
+   dosbin ${PN}
+   if use fuse; then
+   dobin acngfs
+   fi
+   popd
+
+   newinitd "${FILESDIR}"/initd-r1 ${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 doc/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 scripts/expire-caller.pl
+   exeinto /etc/cron.daily
+   newexe "${FILESDIR}"/cron.daily ${PN}
+
+   # default configuration
+   insinto /etc/${PN}
+   newins 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-09-21 Thread Jeroen Roovers
commit: 68d1ce8ac25cc789dbeaffcbf2a1fe549f15e778
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Sep 21 12:36:43 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Sep 21 12:43:56 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68d1ce8a

net-misc/apt-cacher-ng: Fix README (bug #594612 by Conrad Kostecki).

Package-Manager: portage-2.3.1

 net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.2.ebuild
index 2fc0582..7b00bd7 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.2.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.2.ebuild
@@ -90,7 +90,7 @@ src_install() {
fi
 
# Documentation
-   dodoc README TODO VERSION INSTALL ChangeLog
+   dodoc doc/README TODO VERSION INSTALL ChangeLog
if use doc; then
dodoc doc/*.pdf
dohtml doc/html/*



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-09-21 Thread Jeroen Roovers
commit: 6c2249e37a567b8a5b54bf3b046a94441a852b35
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Sep 21 12:43:32 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Sep 21 12:44:02 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c2249e3

net-misc/apt-cacher-ng: Revision bump.

Package-Manager: portage-2.3.1

 .../{apt-cacher-ng-0.9.3.2.ebuild => apt-cacher-ng-0.9.3.2-r1.ebuild} | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.2-r1.ebuild
similarity index 100%
rename from net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.2.ebuild
rename to net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.2-r1.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-07-24 Thread Jeroen Roovers
commit: aa831408ad8ab6263e56a103aff54405d81bd1ca
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jul 24 16:42:29 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Jul 24 16:44:58 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa831408

net-misc/apt-cacher-ng: Old.

Package-Manager: portage-2.3.0

 net-misc/apt-cacher-ng/Manifest   |   1 -
 net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild | 117 --
 2 files changed, 118 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 7b2b3be..64ac839 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,3 +1,2 @@
 DIST apt-cacher-ng_0.9.3.1.orig.tar.xz 307092 SHA256 
2817fe4089f40029bd83f5739a69ecbef9d10cc8944294df865d06faf635de4b SHA512 
2fc3bd6cf8298fccf04f583ce63cf1c6daf24a649ddb13b061bef15172d6e1c211293e552d79d40391aa0cb30d9a8810c66fb2ff379f5cc251974ed759fe7f07
 WHIRLPOOL 
2594033999c593fe81f016c044086696bde9ab0b26156cfbc6f453f1a4b18baecdedb0c7ed3ab7c9522bbf53a4557290756333c9a6eca95e8bc4857d2e8f04aa
 DIST apt-cacher-ng_0.9.3.2.orig.tar.xz 307564 SHA256 
cc3ee1c0d657d51332f3ba092dad8bdc94284e07922a814762fbbdcc6b7a76af SHA512 
d292a4d23658f4d71374c8c3218a5ff0ad9876ded73444b4e2e3205acc998c982d9519655ca08a99afe21506e82425252a4981485e28ec898f0b42cc55c91aa8
 WHIRLPOOL 
8223304a6428953278566c15dd43ce77f56ffa3a1a3956baca7ea554376ca528cf79cdabdf5cec0fd50ff8e745a98a32577ff7c8c9e055722dbb0d0075d47748
-DIST apt-cacher-ng_0.9.3.orig.tar.xz 306284 SHA256 
8f3b3b0e0937eb6ef65e5d0a982beacddb2f1c75989a0dde4d3760f078a0a7ad SHA512 
7b8d71e4b7d436c2f38fb8f0e2ad8e929f39db47e276be91af7250509020fdee07d5cb1c5852db25fb725bd11953729c8059ad9f8f897d12b5263942b93476b6
 WHIRLPOOL 
cc3f550bfbbf5c9ba27423fd47bba393277fa6830e214aaa23376622e3386c6dbcb927fcef6c86ab67579325e1a873e24ca9888f23bdfdbbb8a4549ef5fda699

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild
deleted file mode 100644
index 2fc0582..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit cmake-utils eutils toolchain-funcs user
-
-DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
-HOMEPAGE="
-   http://www.unix-ag.uni-kl.de/~bloch/acng/
-   http://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-
-S=${WORKDIR}/${P/_}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) -lt 4 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
-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_25=yes ${mycmakeargs}"
-   else
-   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${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 scripts/expire-caller.pl
-   exeinto /etc/cron.daily
-   newexe "${FILESDIR}"/cron.daily ${PN}
-
-   # default configuration
-  

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-07-24 Thread Jeroen Roovers
commit: a4794af194c3693cacc83bbe8b5126e963b99cdc
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jul 24 16:41:12 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Jul 24 16:44:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4794af1

net-misc/apt-cacher-ng: Version bump.

Package-Manager: portage-2.3.0

 net-misc/apt-cacher-ng/Manifest|   1 +
 .../apt-cacher-ng/apt-cacher-ng-0.9.3.2.ebuild | 117 +
 2 files changed, 118 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 94f281c..7b2b3be 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1,3 @@
 DIST apt-cacher-ng_0.9.3.1.orig.tar.xz 307092 SHA256 
2817fe4089f40029bd83f5739a69ecbef9d10cc8944294df865d06faf635de4b SHA512 
2fc3bd6cf8298fccf04f583ce63cf1c6daf24a649ddb13b061bef15172d6e1c211293e552d79d40391aa0cb30d9a8810c66fb2ff379f5cc251974ed759fe7f07
 WHIRLPOOL 
2594033999c593fe81f016c044086696bde9ab0b26156cfbc6f453f1a4b18baecdedb0c7ed3ab7c9522bbf53a4557290756333c9a6eca95e8bc4857d2e8f04aa
+DIST apt-cacher-ng_0.9.3.2.orig.tar.xz 307564 SHA256 
cc3ee1c0d657d51332f3ba092dad8bdc94284e07922a814762fbbdcc6b7a76af SHA512 
d292a4d23658f4d71374c8c3218a5ff0ad9876ded73444b4e2e3205acc998c982d9519655ca08a99afe21506e82425252a4981485e28ec898f0b42cc55c91aa8
 WHIRLPOOL 
8223304a6428953278566c15dd43ce77f56ffa3a1a3956baca7ea554376ca528cf79cdabdf5cec0fd50ff8e745a98a32577ff7c8c9e055722dbb0d0075d47748
 DIST apt-cacher-ng_0.9.3.orig.tar.xz 306284 SHA256 
8f3b3b0e0937eb6ef65e5d0a982beacddb2f1c75989a0dde4d3760f078a0a7ad SHA512 
7b8d71e4b7d436c2f38fb8f0e2ad8e929f39db47e276be91af7250509020fdee07d5cb1c5852db25fb725bd11953729c8059ad9f8f897d12b5263942b93476b6
 WHIRLPOOL 
cc3f550bfbbf5c9ba27423fd47bba393277fa6830e214aaa23376622e3386c6dbcb927fcef6c86ab67579325e1a873e24ca9888f23bdfdbbb8a4549ef5fda699

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.2.ebuild
new file mode 100644
index 000..2fc0582
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.2.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils eutils toolchain-funcs user
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="
+   http://www.unix-ag.uni-kl.de/~bloch/acng/
+   http://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+
+S=${WORKDIR}/${P/_}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes ${mycmakeargs}"
+   else
+   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${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 scripts/expire-caller.pl
+   exeinto /etc/cron.daily
+   newexe "${FILESDIR}"/cron.daily ${PN}
+
+   # default 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-07-04 Thread Jeroen Roovers
commit: bfc385ceb65dda53c8a99f09bbe41595308f72d8
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Jul  4 07:15:55 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Jul  4 07:18:37 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bfc385ce

net-misc/apt-cacher-ng: Version bump.

Package-Manager: portage-2.3.0

 net-misc/apt-cacher-ng/Manifest|   1 +
 .../apt-cacher-ng/apt-cacher-ng-0.9.3.1.ebuild | 117 +
 2 files changed, 118 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index fb64886..77c8449 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1,3 @@
 DIST apt-cacher-ng_0.9.2.orig.tar.xz 303628 SHA256 
926552658a4080c973335b20e2dc7066627a366e9728d28f5777b6630b09e072 SHA512 
6e43f17a091e091f174665439cf2545c2859689e80ab7a67cf4ff1da57910336864cca024d0bd17e424fe021221259df9ed9a365ada9df2c6e4e7b5f5ea6749b
 WHIRLPOOL 
2fc1875b9f4ea54db253a7258fd9a745ec2308d7f180ec0b4e8b8de98677f5c6fddf3f8fcc88e7c5165661c98d3c2b34ef45b27c0b6286d601f6d3679d711bb4
+DIST apt-cacher-ng_0.9.3.1.orig.tar.xz 307092 SHA256 
2817fe4089f40029bd83f5739a69ecbef9d10cc8944294df865d06faf635de4b SHA512 
2fc3bd6cf8298fccf04f583ce63cf1c6daf24a649ddb13b061bef15172d6e1c211293e552d79d40391aa0cb30d9a8810c66fb2ff379f5cc251974ed759fe7f07
 WHIRLPOOL 
2594033999c593fe81f016c044086696bde9ab0b26156cfbc6f453f1a4b18baecdedb0c7ed3ab7c9522bbf53a4557290756333c9a6eca95e8bc4857d2e8f04aa
 DIST apt-cacher-ng_0.9.3.orig.tar.xz 306284 SHA256 
8f3b3b0e0937eb6ef65e5d0a982beacddb2f1c75989a0dde4d3760f078a0a7ad SHA512 
7b8d71e4b7d436c2f38fb8f0e2ad8e929f39db47e276be91af7250509020fdee07d5cb1c5852db25fb725bd11953729c8059ad9f8f897d12b5263942b93476b6
 WHIRLPOOL 
cc3f550bfbbf5c9ba27423fd47bba393277fa6830e214aaa23376622e3386c6dbcb927fcef6c86ab67579325e1a873e24ca9888f23bdfdbbb8a4549ef5fda699

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.1.ebuild
new file mode 100644
index 000..2fc0582
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.1.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils eutils toolchain-funcs user
+
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
+HOMEPAGE="
+   http://www.unix-ag.uni-kl.de/~bloch/acng/
+   http://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+
+S=${WORKDIR}/${P/_}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes ${mycmakeargs}"
+   else
+   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${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 scripts/expire-caller.pl
+   exeinto /etc/cron.daily
+   newexe "${FILESDIR}"/cron.daily ${PN}
+
+   # default 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-07-04 Thread Jeroen Roovers
commit: 4067bf8d84bb9ae10d1fd04cb5661a83555fde35
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Jul  4 07:16:45 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Jul  4 07:18:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4067bf8d

net-misc/apt-cacher-ng: Old.

Package-Manager: portage-2.3.0

 net-misc/apt-cacher-ng/Manifest   |   1 -
 net-misc/apt-cacher-ng/apt-cacher-ng-0.9.2.ebuild | 117 --
 2 files changed, 118 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 77c8449..94f281c 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,3 +1,2 @@
-DIST apt-cacher-ng_0.9.2.orig.tar.xz 303628 SHA256 
926552658a4080c973335b20e2dc7066627a366e9728d28f5777b6630b09e072 SHA512 
6e43f17a091e091f174665439cf2545c2859689e80ab7a67cf4ff1da57910336864cca024d0bd17e424fe021221259df9ed9a365ada9df2c6e4e7b5f5ea6749b
 WHIRLPOOL 
2fc1875b9f4ea54db253a7258fd9a745ec2308d7f180ec0b4e8b8de98677f5c6fddf3f8fcc88e7c5165661c98d3c2b34ef45b27c0b6286d601f6d3679d711bb4
 DIST apt-cacher-ng_0.9.3.1.orig.tar.xz 307092 SHA256 
2817fe4089f40029bd83f5739a69ecbef9d10cc8944294df865d06faf635de4b SHA512 
2fc3bd6cf8298fccf04f583ce63cf1c6daf24a649ddb13b061bef15172d6e1c211293e552d79d40391aa0cb30d9a8810c66fb2ff379f5cc251974ed759fe7f07
 WHIRLPOOL 
2594033999c593fe81f016c044086696bde9ab0b26156cfbc6f453f1a4b18baecdedb0c7ed3ab7c9522bbf53a4557290756333c9a6eca95e8bc4857d2e8f04aa
 DIST apt-cacher-ng_0.9.3.orig.tar.xz 306284 SHA256 
8f3b3b0e0937eb6ef65e5d0a982beacddb2f1c75989a0dde4d3760f078a0a7ad SHA512 
7b8d71e4b7d436c2f38fb8f0e2ad8e929f39db47e276be91af7250509020fdee07d5cb1c5852db25fb725bd11953729c8059ad9f8f897d12b5263942b93476b6
 WHIRLPOOL 
cc3f550bfbbf5c9ba27423fd47bba393277fa6830e214aaa23376622e3386c6dbcb927fcef6c86ab67579325e1a873e24ca9888f23bdfdbbb8a4549ef5fda699

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.2.ebuild
deleted file mode 100644
index fa56771..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.2.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit cmake-utils eutils toolchain-funcs user
-
-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/
-   http://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-
-S=${WORKDIR}/${P/_}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) -lt 4 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
-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_25=yes ${mycmakeargs}"
-   else
-   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${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 scripts/expire-caller.pl
-   exeinto /etc/cron.daily
-   newexe "${FILESDIR}"/cron.daily ${PN}
-
-   

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-06-09 Thread Jeroen Roovers
commit: d16f3bd6fad699a5f4d38d32bfcea24cbae30144
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Jun 10 05:09:43 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Jun 10 05:11:52 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d16f3bd6

net-misc/apt-cacher-ng: Improve DESCRIPTION.

Package-Manager: portage-2.3.0_rc1

 net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild
index 95afc02..2fc0582 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild
@@ -5,7 +5,7 @@
 EAPI=5
 inherit cmake-utils eutils toolchain-funcs user
 
-DESCRIPTION="Yet another HTTP proxy for Debian/Ubuntu software packages"
+DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software 
packages"
 HOMEPAGE="
http://www.unix-ag.uni-kl.de/~bloch/acng/
http://packages.qa.debian.org/a/apt-cacher-ng.html



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-06-09 Thread Jeroen Roovers
commit: c5158f515e27c652d0de85e566228c92d21213b6
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Jun 10 05:08:56 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Jun 10 05:11:47 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5158f51

net-misc/apt-cacher-ng: Shorten DESCRIPTION.

Package-Manager: portage-2.3.0_rc1

 net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild
index fa56771..95afc02 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild
@@ -5,7 +5,7 @@
 EAPI=5
 inherit cmake-utils eutils toolchain-funcs user
 
-DESCRIPTION="Yet another implementation of an HTTP proxy for Debian/Ubuntu 
software packages written in C++"
+DESCRIPTION="Yet another HTTP proxy for Debian/Ubuntu software packages"
 HOMEPAGE="
http://www.unix-ag.uni-kl.de/~bloch/acng/
http://packages.qa.debian.org/a/apt-cacher-ng.html



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-06-09 Thread Jeroen Roovers
commit: fdb4e707cfa2d2f9e7f96740a277abb72d45b499
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Jun 10 05:03:54 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Jun 10 05:11:20 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdb4e707

net-misc/apt-cacher-ng: Version bump.

Package-Manager: portage-2.3.0_rc1

 net-misc/apt-cacher-ng/Manifest   |   1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild | 117 ++
 2 files changed, 118 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 3b6668c..5853802 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,3 +1,4 @@
 DIST apt-cacher-ng_0.9.0.orig.tar.xz 299412 SHA256 
db1557b615dc4dfd13cbe24cbcd474b5a6839f181785624b590551562edd7817 SHA512 
3d8f05637fa15a89389a30e7bc9710085da65baa35138448990c078df1f9fc35ecca9d6c944d0c797dd8ef267ad1c98bf55dbfaa938105cf8cb58e7602b9f4eb
 WHIRLPOOL 
5fe33ab86947bc1c4c27ccee05c3e87aa3ab0c6d2df00bda30f9108620ed998c7c303ce4cf31661dce9bf9f4dae10536e6523cd6844b6d4b9eaafeadf5ae97ff
 DIST apt-cacher-ng_0.9.1.orig.tar.xz 301440 SHA256 
24994beac6ce1c51f97ce66f49ea68cac9e30a0162c5c0ae8a36bcb8ed34c8b4 SHA512 
719b7ddb96fbcf0148554b0e6df61e35f7dcc7340e1269499f2055f9c7ee5000d9a27eab8dec823291f4cb7e8336ad1ff6aca97aca88adaff732c7429362a148
 WHIRLPOOL 
34fc54dc99353b331138cda08545bca95e9b06aed784fbf7337b16bf15178d019d5d7157499978e28e75a24a0fee869439ac43c781ba65557114b05914e3
 DIST apt-cacher-ng_0.9.2.orig.tar.xz 303628 SHA256 
926552658a4080c973335b20e2dc7066627a366e9728d28f5777b6630b09e072 SHA512 
6e43f17a091e091f174665439cf2545c2859689e80ab7a67cf4ff1da57910336864cca024d0bd17e424fe021221259df9ed9a365ada9df2c6e4e7b5f5ea6749b
 WHIRLPOOL 
2fc1875b9f4ea54db253a7258fd9a745ec2308d7f180ec0b4e8b8de98677f5c6fddf3f8fcc88e7c5165661c98d3c2b34ef45b27c0b6286d601f6d3679d711bb4
+DIST apt-cacher-ng_0.9.3.orig.tar.xz 306284 SHA256 
8f3b3b0e0937eb6ef65e5d0a982beacddb2f1c75989a0dde4d3760f078a0a7ad SHA512 
7b8d71e4b7d436c2f38fb8f0e2ad8e929f39db47e276be91af7250509020fdee07d5cb1c5852db25fb725bd11953729c8059ad9f8f897d12b5263942b93476b6
 WHIRLPOOL 
cc3f550bfbbf5c9ba27423fd47bba393277fa6830e214aaa23376622e3386c6dbcb927fcef6c86ab67579325e1a873e24ca9888f23bdfdbbb8a4549ef5fda699

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild
new file mode 100644
index 000..fa56771
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.3.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils eutils toolchain-funcs user
+
+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/
+   http://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+
+S=${WORKDIR}/${P/_}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes ${mycmakeargs}"
+   else
+   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${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
+
+

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-06-09 Thread Jeroen Roovers
commit: 732c5789c54e33b8ae0b052ce30d3eb10936c0d6
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Jun 10 05:06:11 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Jun 10 05:11:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=732c5789

net-misc/apt-cacher-ng: Old.

Package-Manager: portage-2.3.0_rc1

 net-misc/apt-cacher-ng/Manifest   |   2 -
 net-misc/apt-cacher-ng/apt-cacher-ng-0.9.0.ebuild | 117 --
 net-misc/apt-cacher-ng/apt-cacher-ng-0.9.1.ebuild | 117 --
 3 files changed, 236 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 5853802..fb64886 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,4 +1,2 @@
-DIST apt-cacher-ng_0.9.0.orig.tar.xz 299412 SHA256 
db1557b615dc4dfd13cbe24cbcd474b5a6839f181785624b590551562edd7817 SHA512 
3d8f05637fa15a89389a30e7bc9710085da65baa35138448990c078df1f9fc35ecca9d6c944d0c797dd8ef267ad1c98bf55dbfaa938105cf8cb58e7602b9f4eb
 WHIRLPOOL 
5fe33ab86947bc1c4c27ccee05c3e87aa3ab0c6d2df00bda30f9108620ed998c7c303ce4cf31661dce9bf9f4dae10536e6523cd6844b6d4b9eaafeadf5ae97ff
-DIST apt-cacher-ng_0.9.1.orig.tar.xz 301440 SHA256 
24994beac6ce1c51f97ce66f49ea68cac9e30a0162c5c0ae8a36bcb8ed34c8b4 SHA512 
719b7ddb96fbcf0148554b0e6df61e35f7dcc7340e1269499f2055f9c7ee5000d9a27eab8dec823291f4cb7e8336ad1ff6aca97aca88adaff732c7429362a148
 WHIRLPOOL 
34fc54dc99353b331138cda08545bca95e9b06aed784fbf7337b16bf15178d019d5d7157499978e28e75a24a0fee869439ac43c781ba65557114b05914e3
 DIST apt-cacher-ng_0.9.2.orig.tar.xz 303628 SHA256 
926552658a4080c973335b20e2dc7066627a366e9728d28f5777b6630b09e072 SHA512 
6e43f17a091e091f174665439cf2545c2859689e80ab7a67cf4ff1da57910336864cca024d0bd17e424fe021221259df9ed9a365ada9df2c6e4e7b5f5ea6749b
 WHIRLPOOL 
2fc1875b9f4ea54db253a7258fd9a745ec2308d7f180ec0b4e8b8de98677f5c6fddf3f8fcc88e7c5165661c98d3c2b34ef45b27c0b6286d601f6d3679d711bb4
 DIST apt-cacher-ng_0.9.3.orig.tar.xz 306284 SHA256 
8f3b3b0e0937eb6ef65e5d0a982beacddb2f1c75989a0dde4d3760f078a0a7ad SHA512 
7b8d71e4b7d436c2f38fb8f0e2ad8e929f39db47e276be91af7250509020fdee07d5cb1c5852db25fb725bd11953729c8059ad9f8f897d12b5263942b93476b6
 WHIRLPOOL 
cc3f550bfbbf5c9ba27423fd47bba393277fa6830e214aaa23376622e3386c6dbcb927fcef6c86ab67579325e1a873e24ca9888f23bdfdbbb8a4549ef5fda699

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.0.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.0.ebuild
deleted file mode 100644
index 9a99ab8..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.0.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit cmake-utils eutils toolchain-funcs user
-
-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/
-   http://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-
-S=${WORKDIR}/${P/_}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) -lt 4 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
-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_25=yes ${mycmakeargs}"
-   else
-   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${PN}
-   newconfd "${FILESDIR}"/confd ${PN}
-
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/logrotate ${PN}
-
-   doman doc/man/${PN}*
-   

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-05-18 Thread Jeroen Roovers
commit: bc929cef303d87f725edd6bab6bb588a8b774239
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed May 18 09:13:08 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed May 18 09:27:13 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc929cef

net-misc/apt-cacher-ng: Version bump.

Package-Manager: portage-2.3.0_rc1

 net-misc/apt-cacher-ng/Manifest   |   1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-0.9.2.ebuild | 117 ++
 2 files changed, 118 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 8e96f8c..3b6668c 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1,3 @@
 DIST apt-cacher-ng_0.9.0.orig.tar.xz 299412 SHA256 
db1557b615dc4dfd13cbe24cbcd474b5a6839f181785624b590551562edd7817 SHA512 
3d8f05637fa15a89389a30e7bc9710085da65baa35138448990c078df1f9fc35ecca9d6c944d0c797dd8ef267ad1c98bf55dbfaa938105cf8cb58e7602b9f4eb
 WHIRLPOOL 
5fe33ab86947bc1c4c27ccee05c3e87aa3ab0c6d2df00bda30f9108620ed998c7c303ce4cf31661dce9bf9f4dae10536e6523cd6844b6d4b9eaafeadf5ae97ff
 DIST apt-cacher-ng_0.9.1.orig.tar.xz 301440 SHA256 
24994beac6ce1c51f97ce66f49ea68cac9e30a0162c5c0ae8a36bcb8ed34c8b4 SHA512 
719b7ddb96fbcf0148554b0e6df61e35f7dcc7340e1269499f2055f9c7ee5000d9a27eab8dec823291f4cb7e8336ad1ff6aca97aca88adaff732c7429362a148
 WHIRLPOOL 
34fc54dc99353b331138cda08545bca95e9b06aed784fbf7337b16bf15178d019d5d7157499978e28e75a24a0fee869439ac43c781ba65557114b05914e3
+DIST apt-cacher-ng_0.9.2.orig.tar.xz 303628 SHA256 
926552658a4080c973335b20e2dc7066627a366e9728d28f5777b6630b09e072 SHA512 
6e43f17a091e091f174665439cf2545c2859689e80ab7a67cf4ff1da57910336864cca024d0bd17e424fe021221259df9ed9a365ada9df2c6e4e7b5f5ea6749b
 WHIRLPOOL 
2fc1875b9f4ea54db253a7258fd9a745ec2308d7f180ec0b4e8b8de98677f5c6fddf3f8fcc88e7c5165661c98d3c2b34ef45b27c0b6286d601f6d3679d711bb4

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.2.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.2.ebuild
new file mode 100644
index 000..fa56771
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.2.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils eutils toolchain-funcs user
+
+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/
+   http://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+
+S=${WORKDIR}/${P/_}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes ${mycmakeargs}"
+   else
+   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${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 scripts/expire-caller.pl
+   exeinto /etc/cron.daily
+   newexe "${FILESDIR}"/cron.daily ${PN}
+

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-03-19 Thread Jeroen Roovers
commit: 28a0a79891f0db92650d20955c3e714affae6808
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Mar 19 06:48:06 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Mar 19 07:02:29 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28a0a798

net-misc/apt-cacher-ng: Version bump.

Package-Manager: portage-2.2.28

 net-misc/apt-cacher-ng/Manifest   |   1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-0.9.1.ebuild | 117 ++
 2 files changed, 118 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 480e41a..2a42ae8 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,3 +1,4 @@
 DIST apt-cacher-ng_0.8.8.orig.tar.xz 298276 SHA256 
7847f970ed9b3b3b65fe9c302107ede9cd0c5de57e3ddb497a409e8720f1fe58 SHA512 
a31b09594b842d4be23938dfbd0d06ad403f7e1ba58518d7eb0e3496c30125664ca8d3b832bd14933aaa7e115f3bb3793e0bb593a330bff162cddd129cbc0537
 WHIRLPOOL 
f8f661543fb58b96bcc5057ff2e9b29c7a7679d1ef7eb29d18530023b647b78ff339a9658b4ebf2fbec04994828fbf88182cb12153a8b25c673612785f6ef084
 DIST apt-cacher-ng_0.8.9.orig.tar.xz 299108 SHA256 
a68233811d85063f4981654f9572b65e6b7cd44d23cc76319dd1198b3c53f397 SHA512 
e24a1fd0a4463154d81a86670e14de39ef2b7b436759dab32b2b60b2d33123ce88a63b7b0b61be3cd65fe71fd77adc9e1503c7b5cd475d4d7e19635aa5ab4942
 WHIRLPOOL 
6cab8f4dc482bdcceddc89d5c969fd430db707c29da44374ba0e635dbe16e410f347f46ead5004fd41203c4d68d7feb509f400ff825d39363c91b48eede7a053
 DIST apt-cacher-ng_0.9.0.orig.tar.xz 299412 SHA256 
db1557b615dc4dfd13cbe24cbcd474b5a6839f181785624b590551562edd7817 SHA512 
3d8f05637fa15a89389a30e7bc9710085da65baa35138448990c078df1f9fc35ecca9d6c944d0c797dd8ef267ad1c98bf55dbfaa938105cf8cb58e7602b9f4eb
 WHIRLPOOL 
5fe33ab86947bc1c4c27ccee05c3e87aa3ab0c6d2df00bda30f9108620ed998c7c303ce4cf31661dce9bf9f4dae10536e6523cd6844b6d4b9eaafeadf5ae97ff
+DIST apt-cacher-ng_0.9.1.orig.tar.xz 301440 SHA256 
24994beac6ce1c51f97ce66f49ea68cac9e30a0162c5c0ae8a36bcb8ed34c8b4 SHA512 
719b7ddb96fbcf0148554b0e6df61e35f7dcc7340e1269499f2055f9c7ee5000d9a27eab8dec823291f4cb7e8336ad1ff6aca97aca88adaff732c7429362a148
 WHIRLPOOL 
34fc54dc99353b331138cda08545bca95e9b06aed784fbf7337b16bf15178d019d5d7157499978e28e75a24a0fee869439ac43c781ba65557114b05914e3

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.1.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.1.ebuild
new file mode 100644
index 000..9a99ab8
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.1.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils eutils toolchain-funcs user
+
+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/
+   http://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+
+S=${WORKDIR}/${P/_}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes ${mycmakeargs}"
+   else
+   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${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
+
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-03-19 Thread Jeroen Roovers
commit: 7ad19131c39ae81cfee7aaa35f679d26065c5712
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Mar 19 06:48:53 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Mar 19 07:02:34 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7ad19131

net-misc/apt-cacher-ng: Old.

Package-Manager: portage-2.2.28

 net-misc/apt-cacher-ng/Manifest   |   2 -
 net-misc/apt-cacher-ng/apt-cacher-ng-0.8.8.ebuild | 117 --
 net-misc/apt-cacher-ng/apt-cacher-ng-0.8.9.ebuild | 117 --
 3 files changed, 236 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 2a42ae8..8e96f8c 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,4 +1,2 @@
-DIST apt-cacher-ng_0.8.8.orig.tar.xz 298276 SHA256 
7847f970ed9b3b3b65fe9c302107ede9cd0c5de57e3ddb497a409e8720f1fe58 SHA512 
a31b09594b842d4be23938dfbd0d06ad403f7e1ba58518d7eb0e3496c30125664ca8d3b832bd14933aaa7e115f3bb3793e0bb593a330bff162cddd129cbc0537
 WHIRLPOOL 
f8f661543fb58b96bcc5057ff2e9b29c7a7679d1ef7eb29d18530023b647b78ff339a9658b4ebf2fbec04994828fbf88182cb12153a8b25c673612785f6ef084
-DIST apt-cacher-ng_0.8.9.orig.tar.xz 299108 SHA256 
a68233811d85063f4981654f9572b65e6b7cd44d23cc76319dd1198b3c53f397 SHA512 
e24a1fd0a4463154d81a86670e14de39ef2b7b436759dab32b2b60b2d33123ce88a63b7b0b61be3cd65fe71fd77adc9e1503c7b5cd475d4d7e19635aa5ab4942
 WHIRLPOOL 
6cab8f4dc482bdcceddc89d5c969fd430db707c29da44374ba0e635dbe16e410f347f46ead5004fd41203c4d68d7feb509f400ff825d39363c91b48eede7a053
 DIST apt-cacher-ng_0.9.0.orig.tar.xz 299412 SHA256 
db1557b615dc4dfd13cbe24cbcd474b5a6839f181785624b590551562edd7817 SHA512 
3d8f05637fa15a89389a30e7bc9710085da65baa35138448990c078df1f9fc35ecca9d6c944d0c797dd8ef267ad1c98bf55dbfaa938105cf8cb58e7602b9f4eb
 WHIRLPOOL 
5fe33ab86947bc1c4c27ccee05c3e87aa3ab0c6d2df00bda30f9108620ed998c7c303ce4cf31661dce9bf9f4dae10536e6523cd6844b6d4b9eaafeadf5ae97ff
 DIST apt-cacher-ng_0.9.1.orig.tar.xz 301440 SHA256 
24994beac6ce1c51f97ce66f49ea68cac9e30a0162c5c0ae8a36bcb8ed34c8b4 SHA512 
719b7ddb96fbcf0148554b0e6df61e35f7dcc7340e1269499f2055f9c7ee5000d9a27eab8dec823291f4cb7e8336ad1ff6aca97aca88adaff732c7429362a148
 WHIRLPOOL 
34fc54dc99353b331138cda08545bca95e9b06aed784fbf7337b16bf15178d019d5d7157499978e28e75a24a0fee869439ac43c781ba65557114b05914e3

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.8.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.8.ebuild
deleted file mode 100644
index 9a99ab8..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.8.ebuild
+++ /dev/null
@@ -1,117 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit cmake-utils eutils toolchain-funcs user
-
-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/
-   http://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-
-S=${WORKDIR}/${P/_}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) -lt 4 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
-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_25=yes ${mycmakeargs}"
-   else
-   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${PN}
-   newconfd "${FILESDIR}"/confd ${PN}
-
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/logrotate ${PN}
-
-   doman doc/man/${PN}*
-   if 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-02-10 Thread Jeroen Roovers
commit: 6733d3fac69aa79fc8a50fb52c0b2ee1752632e6
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Feb 10 15:55:08 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Feb 10 15:59:17 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6733d3fa

net-misc/apt-cacher-ng: Version bump.

Package-Manager: portage-2.2.27

 net-misc/apt-cacher-ng/Manifest   |   1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-0.9.0.ebuild | 117 ++
 2 files changed, 118 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 092f5c0..480e41a 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1,3 @@
 DIST apt-cacher-ng_0.8.8.orig.tar.xz 298276 SHA256 
7847f970ed9b3b3b65fe9c302107ede9cd0c5de57e3ddb497a409e8720f1fe58 SHA512 
a31b09594b842d4be23938dfbd0d06ad403f7e1ba58518d7eb0e3496c30125664ca8d3b832bd14933aaa7e115f3bb3793e0bb593a330bff162cddd129cbc0537
 WHIRLPOOL 
f8f661543fb58b96bcc5057ff2e9b29c7a7679d1ef7eb29d18530023b647b78ff339a9658b4ebf2fbec04994828fbf88182cb12153a8b25c673612785f6ef084
 DIST apt-cacher-ng_0.8.9.orig.tar.xz 299108 SHA256 
a68233811d85063f4981654f9572b65e6b7cd44d23cc76319dd1198b3c53f397 SHA512 
e24a1fd0a4463154d81a86670e14de39ef2b7b436759dab32b2b60b2d33123ce88a63b7b0b61be3cd65fe71fd77adc9e1503c7b5cd475d4d7e19635aa5ab4942
 WHIRLPOOL 
6cab8f4dc482bdcceddc89d5c969fd430db707c29da44374ba0e635dbe16e410f347f46ead5004fd41203c4d68d7feb509f400ff825d39363c91b48eede7a053
+DIST apt-cacher-ng_0.9.0.orig.tar.xz 299412 SHA256 
db1557b615dc4dfd13cbe24cbcd474b5a6839f181785624b590551562edd7817 SHA512 
3d8f05637fa15a89389a30e7bc9710085da65baa35138448990c078df1f9fc35ecca9d6c944d0c797dd8ef267ad1c98bf55dbfaa938105cf8cb58e7602b9f4eb
 WHIRLPOOL 
5fe33ab86947bc1c4c27ccee05c3e87aa3ab0c6d2df00bda30f9108620ed998c7c303ce4cf31661dce9bf9f4dae10536e6523cd6844b6d4b9eaafeadf5ae97ff

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.0.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.0.ebuild
new file mode 100644
index 000..9a99ab8
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-0.9.0.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils eutils toolchain-funcs user
+
+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/
+   http://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+
+S=${WORKDIR}/${P/_}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes ${mycmakeargs}"
+   else
+   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${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 scripts/expire-caller.pl
+   exeinto /etc/cron.daily
+   newexe "${FILESDIR}"/cron.daily ${PN}
+
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-01-23 Thread Jeroen Roovers
commit: 4a185757d81a45ee911a96bf610270283cd3f67c
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Jan 23 08:47:31 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Jan 23 08:47:48 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a185757

net-misc/apt-cacher-ng: Old.

Package-Manager: portage-2.2.27

 net-misc/apt-cacher-ng/Manifest   |   2 -
 net-misc/apt-cacher-ng/apt-cacher-ng-0.8.6.ebuild | 119 --
 net-misc/apt-cacher-ng/apt-cacher-ng-0.8.7.ebuild | 119 --
 3 files changed, 240 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 1034f8d..092f5c0 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,4 +1,2 @@
-DIST apt-cacher-ng_0.8.6.orig.tar.xz 295760 SHA256 
255b742d3551fcbfa71b6df4d8892038934812425222a15d085436a4a76b8400 SHA512 
e9b8c8cd1c1c1eee3a090599cc3735317c9062d9c8032ac1ab9657793921ab250b3200ec2e1a265a26097655ae88b5cff0e62f7d36483eaa19a1246aac58837d
 WHIRLPOOL 
efbeab3503dd3eefb9b6bdd1a54151ea8811f2bc9ed70b498dbe1169a45b7e17dbdafaa73da8b3b7d3448f47f5ace78443ecc3b253a4f68eaea1ffc0c84d3328
-DIST apt-cacher-ng_0.8.7.orig.tar.xz 297904 SHA256 
7a369632ab6b3f735221de12a10c1d74d706f9cec565cbeea5cc9a630716acd7 SHA512 
f39d5d8a7040e8271154e03cdb0758aedddadd5c09fcb0afa7f388993e7a432feea186c8c8d484673d99ded448589a48ad1a80f51c572438e594c630f7739d3b
 WHIRLPOOL 
cf68e20b5df592012d2c3fe01bb9e96effe4e24d637745c1621f3d090835b62b6af4bc79a51887e3431525c53c498906451c24f46b60bc67c03488199c83573d
 DIST apt-cacher-ng_0.8.8.orig.tar.xz 298276 SHA256 
7847f970ed9b3b3b65fe9c302107ede9cd0c5de57e3ddb497a409e8720f1fe58 SHA512 
a31b09594b842d4be23938dfbd0d06ad403f7e1ba58518d7eb0e3496c30125664ca8d3b832bd14933aaa7e115f3bb3793e0bb593a330bff162cddd129cbc0537
 WHIRLPOOL 
f8f661543fb58b96bcc5057ff2e9b29c7a7679d1ef7eb29d18530023b647b78ff339a9658b4ebf2fbec04994828fbf88182cb12153a8b25c673612785f6ef084
 DIST apt-cacher-ng_0.8.9.orig.tar.xz 299108 SHA256 
a68233811d85063f4981654f9572b65e6b7cd44d23cc76319dd1198b3c53f397 SHA512 
e24a1fd0a4463154d81a86670e14de39ef2b7b436759dab32b2b60b2d33123ce88a63b7b0b61be3cd65fe71fd77adc9e1503c7b5cd475d4d7e19635aa5ab4942
 WHIRLPOOL 
6cab8f4dc482bdcceddc89d5c969fd430db707c29da44374ba0e635dbe16e410f347f46ead5004fd41203c4d68d7feb509f400ff825d39363c91b48eede7a053

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.6.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.6.ebuild
deleted file mode 100644
index 885013a..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.6.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit cmake-utils eutils toolchain-funcs user
-
-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/
-   http://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-
-S=${WORKDIR}/${P/_}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) = 4 ]]; then
-   if [[ $(gcc-minor-version) -lt 8 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-   else
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
-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_25=yes ${mycmakeargs}"
-   else
-   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${PN}
-   newconfd "${FILESDIR}"/confd ${PN}
-
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/logrotate ${PN}
-
-   doman doc/man/${PN}*
- 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2016-01-23 Thread Jeroen Roovers
commit: e0927f4c2306f2a48ea1cc1ef390b35e5e291270
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Jan 23 08:46:49 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Jan 23 08:47:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0927f4c

net-misc/apt-cacher-ng: Version bump.

Package-Manager: portage-2.2.27

 net-misc/apt-cacher-ng/Manifest   |   1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-0.8.9.ebuild | 117 ++
 2 files changed, 118 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 50c7cc7..1034f8d 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,3 +1,4 @@
 DIST apt-cacher-ng_0.8.6.orig.tar.xz 295760 SHA256 
255b742d3551fcbfa71b6df4d8892038934812425222a15d085436a4a76b8400 SHA512 
e9b8c8cd1c1c1eee3a090599cc3735317c9062d9c8032ac1ab9657793921ab250b3200ec2e1a265a26097655ae88b5cff0e62f7d36483eaa19a1246aac58837d
 WHIRLPOOL 
efbeab3503dd3eefb9b6bdd1a54151ea8811f2bc9ed70b498dbe1169a45b7e17dbdafaa73da8b3b7d3448f47f5ace78443ecc3b253a4f68eaea1ffc0c84d3328
 DIST apt-cacher-ng_0.8.7.orig.tar.xz 297904 SHA256 
7a369632ab6b3f735221de12a10c1d74d706f9cec565cbeea5cc9a630716acd7 SHA512 
f39d5d8a7040e8271154e03cdb0758aedddadd5c09fcb0afa7f388993e7a432feea186c8c8d484673d99ded448589a48ad1a80f51c572438e594c630f7739d3b
 WHIRLPOOL 
cf68e20b5df592012d2c3fe01bb9e96effe4e24d637745c1621f3d090835b62b6af4bc79a51887e3431525c53c498906451c24f46b60bc67c03488199c83573d
 DIST apt-cacher-ng_0.8.8.orig.tar.xz 298276 SHA256 
7847f970ed9b3b3b65fe9c302107ede9cd0c5de57e3ddb497a409e8720f1fe58 SHA512 
a31b09594b842d4be23938dfbd0d06ad403f7e1ba58518d7eb0e3496c30125664ca8d3b832bd14933aaa7e115f3bb3793e0bb593a330bff162cddd129cbc0537
 WHIRLPOOL 
f8f661543fb58b96bcc5057ff2e9b29c7a7679d1ef7eb29d18530023b647b78ff339a9658b4ebf2fbec04994828fbf88182cb12153a8b25c673612785f6ef084
+DIST apt-cacher-ng_0.8.9.orig.tar.xz 299108 SHA256 
a68233811d85063f4981654f9572b65e6b7cd44d23cc76319dd1198b3c53f397 SHA512 
e24a1fd0a4463154d81a86670e14de39ef2b7b436759dab32b2b60b2d33123ce88a63b7b0b61be3cd65fe71fd77adc9e1503c7b5cd475d4d7e19635aa5ab4942
 WHIRLPOOL 
6cab8f4dc482bdcceddc89d5c969fd430db707c29da44374ba0e635dbe16e410f347f46ead5004fd41203c4d68d7feb509f400ff825d39363c91b48eede7a053

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.9.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.9.ebuild
new file mode 100644
index 000..9a99ab8
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.9.ebuild
@@ -0,0 +1,117 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils eutils toolchain-funcs user
+
+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/
+   http://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+
+S=${WORKDIR}/${P/_}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes ${mycmakeargs}"
+   else
+   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${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
+
+   

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2015-12-29 Thread Jeroen Roovers
commit: 8bbd1dd39612d6ee798dbf18d9c222fb54d28c0b
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Dec 29 10:35:01 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Dec 29 10:35:01 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bbd1dd3

net-misc/apt-cacher-ng: Fix GCC version matching thanks to Nikita Kozlov.

Package-Manager: portage-2.2.26

 net-misc/apt-cacher-ng/apt-cacher-ng-0.8.8.ebuild | 8 +++-
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.8.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.8.ebuild
index 885013a..9a99ab8 100644
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.8.ebuild
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.8.ebuild
@@ -41,11 +41,9 @@ RDEPEND="
 S=${WORKDIR}/${P/_}
 
 pkg_pretend() {
-   if [[ $(gcc-major-version) = 4 ]]; then
-   if [[ $(gcc-minor-version) -lt 8 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-   else
+   if [[ $(gcc-major-version) -lt 4 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 
]]; then
die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
fi
 }



[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2015-12-27 Thread Jeroen Roovers
commit: 608c07562bf5de2c566c1ddf3293a26d21d6e089
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Dec 28 07:41:52 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Dec 28 07:42:23 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=608c0756

net-misc/apt-cacher-ng: Version bump.

Package-Manager: portage-2.2.26

 net-misc/apt-cacher-ng/Manifest   |   1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-0.8.8.ebuild | 119 ++
 2 files changed, 120 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index dc5704c..50c7cc7 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1,3 @@
 DIST apt-cacher-ng_0.8.6.orig.tar.xz 295760 SHA256 
255b742d3551fcbfa71b6df4d8892038934812425222a15d085436a4a76b8400 SHA512 
e9b8c8cd1c1c1eee3a090599cc3735317c9062d9c8032ac1ab9657793921ab250b3200ec2e1a265a26097655ae88b5cff0e62f7d36483eaa19a1246aac58837d
 WHIRLPOOL 
efbeab3503dd3eefb9b6bdd1a54151ea8811f2bc9ed70b498dbe1169a45b7e17dbdafaa73da8b3b7d3448f47f5ace78443ecc3b253a4f68eaea1ffc0c84d3328
 DIST apt-cacher-ng_0.8.7.orig.tar.xz 297904 SHA256 
7a369632ab6b3f735221de12a10c1d74d706f9cec565cbeea5cc9a630716acd7 SHA512 
f39d5d8a7040e8271154e03cdb0758aedddadd5c09fcb0afa7f388993e7a432feea186c8c8d484673d99ded448589a48ad1a80f51c572438e594c630f7739d3b
 WHIRLPOOL 
cf68e20b5df592012d2c3fe01bb9e96effe4e24d637745c1621f3d090835b62b6af4bc79a51887e3431525c53c498906451c24f46b60bc67c03488199c83573d
+DIST apt-cacher-ng_0.8.8.orig.tar.xz 298276 SHA256 
7847f970ed9b3b3b65fe9c302107ede9cd0c5de57e3ddb497a409e8720f1fe58 SHA512 
a31b09594b842d4be23938dfbd0d06ad403f7e1ba58518d7eb0e3496c30125664ca8d3b832bd14933aaa7e115f3bb3793e0bb593a330bff162cddd129cbc0537
 WHIRLPOOL 
f8f661543fb58b96bcc5057ff2e9b29c7a7679d1ef7eb29d18530023b647b78ff339a9658b4ebf2fbec04994828fbf88182cb12153a8b25c673612785f6ef084

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.8.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.8.ebuild
new file mode 100644
index 000..885013a
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.8.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils eutils toolchain-funcs user
+
+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/
+   http://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+
+S=${WORKDIR}/${P/_}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) = 4 ]]; then
+   if [[ $(gcc-minor-version) -lt 8 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+   else
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes ${mycmakeargs}"
+   else
+   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${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 scripts/expire-caller.pl
+   exeinto /etc/cron.daily
+   newexe "${FILESDIR}"/cron.daily 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2015-12-15 Thread Jeroen Roovers
commit: d6c15c070816a6a1f8384bcba1f40bebb4cab26f
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Dec 16 06:06:25 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Dec 16 06:06:25 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6c15c07

net-misc/apt-cacher-ng: Version bump.

Package-Manager: portage-2.2.26

 net-misc/apt-cacher-ng/Manifest   |   1 +
 net-misc/apt-cacher-ng/apt-cacher-ng-0.8.7.ebuild | 119 ++
 2 files changed, 120 insertions(+)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index e71af6c..efd1f0c 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,2 +1,3 @@
 DIST apt-cacher-ng_0.8.5.orig.tar.xz 303260 SHA256 
f4e80adb02ad68a5f79a23335f1cc1e6b8a610b2c70749d9a1ce44171766775c SHA512 
6c39ff8a37f074c1e2befc4acfa9685b2349cd364bdf808862bb77bbefa4bcf5bebf3dca3924cd55132d7c29aa0a55c553f483c763ccd46c3dbad8f1da3ab58e
 WHIRLPOOL 
3530e6ffe6553753603751b8e5994b030dc2faa24cdb3ff98f21328e25070ba8750e17e040e4bcc0a40a589037441f645d9553837d1ed4de41c8e3e58c460e18
 DIST apt-cacher-ng_0.8.6.orig.tar.xz 295760 SHA256 
255b742d3551fcbfa71b6df4d8892038934812425222a15d085436a4a76b8400 SHA512 
e9b8c8cd1c1c1eee3a090599cc3735317c9062d9c8032ac1ab9657793921ab250b3200ec2e1a265a26097655ae88b5cff0e62f7d36483eaa19a1246aac58837d
 WHIRLPOOL 
efbeab3503dd3eefb9b6bdd1a54151ea8811f2bc9ed70b498dbe1169a45b7e17dbdafaa73da8b3b7d3448f47f5ace78443ecc3b253a4f68eaea1ffc0c84d3328
+DIST apt-cacher-ng_0.8.7.orig.tar.xz 297904 SHA256 
7a369632ab6b3f735221de12a10c1d74d706f9cec565cbeea5cc9a630716acd7 SHA512 
f39d5d8a7040e8271154e03cdb0758aedddadd5c09fcb0afa7f388993e7a432feea186c8c8d484673d99ded448589a48ad1a80f51c572438e594c630f7739d3b
 WHIRLPOOL 
cf68e20b5df592012d2c3fe01bb9e96effe4e24d637745c1621f3d090835b62b6af4bc79a51887e3431525c53c498906451c24f46b60bc67c03488199c83573d

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.7.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.7.ebuild
new file mode 100644
index 000..885013a
--- /dev/null
+++ b/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.7.ebuild
@@ -0,0 +1,119 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit cmake-utils eutils toolchain-funcs user
+
+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/
+   http://packages.qa.debian.org/a/apt-cacher-ng.html
+"
+LICENSE="BSD-4 ZLIB public-domain"
+SLOT="0"
+SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
+
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fuse systemd tcpd"
+
+COMMON_DEPEND="
+   app-arch/bzip2
+   app-arch/xz-utils
+   sys-libs/zlib
+   systemd? (
+   sys-apps/systemd
+   )
+"
+DEPEND="
+   ${COMMON_DEPEND}
+   dev-util/cmake
+   >sys-devel/gcc-4.8
+   virtual/pkgconfig
+"
+RDEPEND="
+   ${COMMON_DEPEND}
+   dev-lang/perl
+   fuse? ( sys-fs/fuse )
+   tcpd? ( sys-apps/tcp-wrappers )
+"
+
+S=${WORKDIR}/${P/_}
+
+pkg_pretend() {
+   if [[ $(gcc-major-version) = 4 ]]; then
+   if [[ $(gcc-minor-version) -lt 8 ]]; then
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+   else
+   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
+   fi
+}
+
+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_25=yes ${mycmakeargs}"
+   else
+   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${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 scripts/expire-caller.pl
+   exeinto /etc/cron.daily
+   newexe "${FILESDIR}"/cron.daily 

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2015-12-15 Thread Jeroen Roovers
commit: dda8c179f509573a0ac36535a35589a7ef28ad82
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Dec 16 06:33:41 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Dec 16 06:33:41 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dda8c179

net-misc/apt-cacher-ng: Old.

Package-Manager: portage-2.2.26

 net-misc/apt-cacher-ng/Manifest   |   1 -
 net-misc/apt-cacher-ng/apt-cacher-ng-0.8.5.ebuild | 119 --
 2 files changed, 120 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index efd1f0c..dc5704c 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,3 +1,2 @@
-DIST apt-cacher-ng_0.8.5.orig.tar.xz 303260 SHA256 
f4e80adb02ad68a5f79a23335f1cc1e6b8a610b2c70749d9a1ce44171766775c SHA512 
6c39ff8a37f074c1e2befc4acfa9685b2349cd364bdf808862bb77bbefa4bcf5bebf3dca3924cd55132d7c29aa0a55c553f483c763ccd46c3dbad8f1da3ab58e
 WHIRLPOOL 
3530e6ffe6553753603751b8e5994b030dc2faa24cdb3ff98f21328e25070ba8750e17e040e4bcc0a40a589037441f645d9553837d1ed4de41c8e3e58c460e18
 DIST apt-cacher-ng_0.8.6.orig.tar.xz 295760 SHA256 
255b742d3551fcbfa71b6df4d8892038934812425222a15d085436a4a76b8400 SHA512 
e9b8c8cd1c1c1eee3a090599cc3735317c9062d9c8032ac1ab9657793921ab250b3200ec2e1a265a26097655ae88b5cff0e62f7d36483eaa19a1246aac58837d
 WHIRLPOOL 
efbeab3503dd3eefb9b6bdd1a54151ea8811f2bc9ed70b498dbe1169a45b7e17dbdafaa73da8b3b7d3448f47f5ace78443ecc3b253a4f68eaea1ffc0c84d3328
 DIST apt-cacher-ng_0.8.7.orig.tar.xz 297904 SHA256 
7a369632ab6b3f735221de12a10c1d74d706f9cec565cbeea5cc9a630716acd7 SHA512 
f39d5d8a7040e8271154e03cdb0758aedddadd5c09fcb0afa7f388993e7a432feea186c8c8d484673d99ded448589a48ad1a80f51c572438e594c630f7739d3b
 WHIRLPOOL 
cf68e20b5df592012d2c3fe01bb9e96effe4e24d637745c1621f3d090835b62b6af4bc79a51887e3431525c53c498906451c24f46b60bc67c03488199c83573d

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.5.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.5.ebuild
deleted file mode 100644
index 0d43788..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.5.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit cmake-utils eutils toolchain-funcs user
-
-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/
-   http://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-
-S=${WORKDIR}/${P/_}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) = 4 ]]; then
-   if [[ $(gcc-minor-version) -lt 8 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-   else
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
-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_25=yes ${mycmakeargs}"
-   else
-   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${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 scripts/expire-caller.pl
-   exeinto /etc/cron.daily
-   newexe "${FILESDIR}"/cron.daily ${PN}
-

[gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/

2015-09-25 Thread Jeroen Roovers
commit: 5befcd1c1ce45aae17c9afa036030e9a6165e41e
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Sep 26 05:15:17 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Sep 26 05:15:55 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5befcd1c

net-misc/apt-cacher-ng: Version bump.

Package-Manager: portage-2.2.20.1

 net-misc/apt-cacher-ng/Manifest|   3 +-
 net-misc/apt-cacher-ng/apt-cacher-ng-0.8.4.ebuild  | 119 -
 ...-ng-0.8.3.ebuild => apt-cacher-ng-0.8.6.ebuild} |   4 +-
 3 files changed, 3 insertions(+), 123 deletions(-)

diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
index 0fda26e..e71af6c 100644
--- a/net-misc/apt-cacher-ng/Manifest
+++ b/net-misc/apt-cacher-ng/Manifest
@@ -1,3 +1,2 @@
-DIST apt-cacher-ng_0.8.3.orig.tar.xz 294116 SHA256 
d86a6616b56094b6888a10ff40ae374beac2bc3525ab7b9e7159c4f4dfd00c49 SHA512 
dbccec0ba44af34870bdf5650ae594552a7816d1203210f9a09826c0dec6d74f24c07bd0d18ab3df6f9068f15c601e54aa0892e68f6bfca4b59ae300c4313210
 WHIRLPOOL 
0fee51e0834f1e18ff020c933a52c7745fd23ccb3cde50ea71a10662643ccf55710f77314c344e18b07b534c9346bb010b14229fd9cf9afc0202a53baad2e84f
-DIST apt-cacher-ng_0.8.4.orig.tar.xz 297168 SHA256 
efa8c0e9300f7dda5e1a52d30aaad8c3b2c3ef9e45b0e8592797b40f2e433214 SHA512 
b564cc81bfc45e35d77d32216212608ee5adc3bcd49a61212c825b381507cda1912e15d9f5e177042d6c5e87991288ad4ad10972f1e400d4d85c5c6cc8a8d07c
 WHIRLPOOL 
cdccf30a574d3a400ea1b40e8ef2fc6d0ac5e214981951746fd684dd8abcf4a1a11047f8396977bc126dd7096c319e50304eec19ddf90d82dfe9ac7ab9c9482b
 DIST apt-cacher-ng_0.8.5.orig.tar.xz 303260 SHA256 
f4e80adb02ad68a5f79a23335f1cc1e6b8a610b2c70749d9a1ce44171766775c SHA512 
6c39ff8a37f074c1e2befc4acfa9685b2349cd364bdf808862bb77bbefa4bcf5bebf3dca3924cd55132d7c29aa0a55c553f483c763ccd46c3dbad8f1da3ab58e
 WHIRLPOOL 
3530e6ffe6553753603751b8e5994b030dc2faa24cdb3ff98f21328e25070ba8750e17e040e4bcc0a40a589037441f645d9553837d1ed4de41c8e3e58c460e18
+DIST apt-cacher-ng_0.8.6.orig.tar.xz 295760 SHA256 
255b742d3551fcbfa71b6df4d8892038934812425222a15d085436a4a76b8400 SHA512 
e9b8c8cd1c1c1eee3a090599cc3735317c9062d9c8032ac1ab9657793921ab250b3200ec2e1a265a26097655ae88b5cff0e62f7d36483eaa19a1246aac58837d
 WHIRLPOOL 
efbeab3503dd3eefb9b6bdd1a54151ea8811f2bc9ed70b498dbe1169a45b7e17dbdafaa73da8b3b7d3448f47f5ace78443ecc3b253a4f68eaea1ffc0c84d3328

diff --git a/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.4.ebuild 
b/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.4.ebuild
deleted file mode 100644
index 0d43788..000
--- a/net-misc/apt-cacher-ng/apt-cacher-ng-0.8.4.ebuild
+++ /dev/null
@@ -1,119 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit cmake-utils eutils toolchain-funcs user
-
-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/
-   http://packages.qa.debian.org/a/apt-cacher-ng.html
-"
-LICENSE="BSD-4 ZLIB public-domain"
-SLOT="0"
-SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
-
-KEYWORDS="~amd64 ~x86"
-IUSE="doc fuse systemd tcpd"
-
-COMMON_DEPEND="
-   app-arch/bzip2
-   app-arch/xz-utils
-   sys-libs/zlib
-   systemd? (
-   sys-apps/systemd
-   )
-"
-DEPEND="
-   ${COMMON_DEPEND}
-   dev-util/cmake
-   >sys-devel/gcc-4.8
-   virtual/pkgconfig
-"
-RDEPEND="
-   ${COMMON_DEPEND}
-   dev-lang/perl
-   fuse? ( sys-fs/fuse )
-   tcpd? ( sys-apps/tcp-wrappers )
-"
-
-S=${WORKDIR}/${P/_}
-
-pkg_pretend() {
-   if [[ $(gcc-major-version) = 4 ]]; then
-   if [[ $(gcc-minor-version) -lt 8 ]]; then
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-   else
-   die "GCC 4.8 or greater is required but you have 
$(gcc-major-version).$(gcc-minor-version)"
-   fi
-}
-
-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_25=yes ${mycmakeargs}"
-   else
-   mycmakeargs="-DHAVE_FUSE_25=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-r1 ${PN}
-   newconfd "${FILESDIR}"/confd ${PN}
-
-   insinto /etc/logrotate.d
-   newins "${FILESDIR}"/logrotate ${PN}
-
-   doman