Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/apt-cacher-ng/
Date: Sun, 17 Feb 2019 13:14:10
Message-Id: 1550409242.c446af1b5d7c32ee9e1b0ff3f096b40cc05b1c31.jer@gentoo
1 commit: c446af1b5d7c32ee9e1b0ff3f096b40cc05b1c31
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 17 13:12:20 2019 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 17 13:14:02 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c446af1b
7
8 net-misc/apt-cacher-ng: Old
9
10 Package-Manager: Portage-2.3.60, Repoman-2.3.12
11 Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>
12
13 net-misc/apt-cacher-ng/Manifest | 1 -
14 net-misc/apt-cacher-ng/apt-cacher-ng-3.1.ebuild | 117 ------------------------
15 2 files changed, 118 deletions(-)
16
17 diff --git a/net-misc/apt-cacher-ng/Manifest b/net-misc/apt-cacher-ng/Manifest
18 index f75e6975dab..21498d91e43 100644
19 --- a/net-misc/apt-cacher-ng/Manifest
20 +++ b/net-misc/apt-cacher-ng/Manifest
21 @@ -1,2 +1 @@
22 -DIST apt-cacher-ng_3.1.orig.tar.xz 319308 BLAKE2B 6c312cda0f7ffb008b1175fc28fb8fdf9a521f0011c72d651f54d0f2f30856982be137f2facc05bc9770793f41ad445f5bbb96a3916be15d53858abffab5dbc0 SHA512 daebbf2fa6e140903eb6ddebcc62a4333486f2fa29a951724d316e4376b602e265094c42c9ffa5ba1f54aa93b1599d65c5c1bede39e088e9a52e4019276362fd
23 DIST apt-cacher-ng_3.2.orig.tar.xz 319036 BLAKE2B 576fc7a409556d34ee702edd57527c9c35eb033d0e8c8ea4f7b8a8a2dae86f75cd1ca3a7fb0e02845e70d6f8715692b638ff9d574ce1664b67fec9247b60fbc0 SHA512 7dfee4a8f38e7c5251c761a5faae063926c5001fe0b97136d938cdbff907e97fb0a20b89dcf685645a518e92be04fe5660d840e738960b4465408f04fe532cae
24
25 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
26 deleted file mode 100644
27 index 092180f5b76..00000000000
28 --- a/net-misc/apt-cacher-ng/apt-cacher-ng-3.1.ebuild
29 +++ /dev/null
30 @@ -1,117 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=5
35 -inherit cmake-utils eutils toolchain-funcs user
36 -
37 -DESCRIPTION="Yet another caching HTTP proxy for Debian/Ubuntu software packages"
38 -HOMEPAGE="
39 - https://www.unix-ag.uni-kl.de/~bloch/acng/
40 - https://packages.qa.debian.org/a/apt-cacher-ng.html
41 -"
42 -LICENSE="BSD-4 ZLIB public-domain"
43 -SLOT="0"
44 -SRC_URI="mirror://debian/pool/main/a/${PN}/${PN}_${PV}.orig.tar.xz"
45 -
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE="doc fuse systemd tcpd"
48 -
49 -COMMON_DEPEND="
50 - app-arch/bzip2
51 - app-arch/xz-utils
52 - dev-libs/openssl:*
53 - sys-libs/zlib
54 - systemd? (
55 - sys-apps/systemd
56 - )
57 -"
58 -DEPEND="
59 - ${COMMON_DEPEND}
60 - dev-util/cmake
61 - >sys-devel/gcc-4.8
62 - virtual/pkgconfig
63 -"
64 -RDEPEND="
65 - ${COMMON_DEPEND}
66 - dev-lang/perl
67 - fuse? ( sys-fs/fuse )
68 - tcpd? ( sys-apps/tcp-wrappers )
69 -"
70 -
71 -S=${WORKDIR}/${P/_}
72 -
73 -pkg_pretend() {
74 - if [[ $(gcc-major-version) -lt 4 ]]; then
75 - die "GCC 4.8 or greater is required but you have $(gcc-major-version).$(gcc-minor-version)"
76 - elif [[ $(gcc-major-version) = 4 ]] && [[ $(gcc-minor-version) -lt 8 ]]; then
77 - die "GCC 4.8 or greater is required but you have $(gcc-major-version).$(gcc-minor-version)"
78 - fi
79 -}
80 -
81 -pkg_setup() {
82 - # add new user & group for daemon
83 - enewgroup ${PN}
84 - enewuser ${PN} -1 -1 -1 ${PN}
85 -}
86 -
87 -src_configure(){
88 - mycmakeargs=( "-DCMAKE_INSTALL_PREFIX=/usr" )
89 - if use fuse; then
90 - mycmakeargs+=( "-DHAVE_FUSE_25=yes" )
91 - else
92 - mycmakeargs+=( "-DHAVE_FUSE_25=no" )
93 - fi
94 - if use tcpd; then
95 - mycmakeargs=( "-DHAVE_LIBWRAP=yes" )
96 - else
97 - mycmakeargs=( "-DHAVE_LIBWRAP=no" )
98 - fi
99 -
100 - cmake-utils_src_configure
101 -}
102 -
103 -src_install() {
104 - pushd ${CMAKE_BUILD_DIR}
105 - dosbin ${PN}
106 - if use fuse; then
107 - dobin acngfs
108 - fi
109 - popd
110 -
111 - newinitd "${FILESDIR}"/initd-r1 ${PN}
112 - newconfd "${FILESDIR}"/confd ${PN}
113 -
114 - insinto /etc/logrotate.d
115 - newins "${FILESDIR}"/logrotate ${PN}
116 -
117 - doman doc/man/${PN}*
118 - if use fuse; then
119 - doman doc/man/acngfs*
120 - fi
121 -
122 - # Documentation
123 - dodoc doc/README TODO VERSION INSTALL ChangeLog
124 - if use doc; then
125 - dodoc doc/*.pdf
126 - dohtml doc/html/*
127 - docinto examples/conf
128 - dodoc conf/*
129 - fi
130 -
131 - # perl daily cron script
132 - dosbin scripts/expire-caller.pl
133 - exeinto /etc/cron.daily
134 - newexe "${FILESDIR}"/cron.daily ${PN}
135 -
136 - # default configuration
137 - insinto /etc/${PN}
138 - newins "${CMAKE_BUILD_DIR}"/conf/acng.conf ${PN}.conf
139 - doins $( echo conf/* | sed 's|conf/acng.conf.in||g' )
140 -
141 - keepdir /var/log/${PN}
142 - # Some directories must exists
143 - keepdir /var/log/${PN}
144 - fowners -R ${PN}:${PN} \
145 - /etc/${PN} \
146 - /var/log/${PN}
147 -}