Gentoo Archives: gentoo-commits

From: "Amadeusz Piotr Żołnowski" <aidecoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/burp/
Date: Sat, 02 Jul 2016 21:38:56
Message-Id: 1467495512.7fec7439613efcc3bf6df2d16dca8b49a23432b4.aidecoe@gentoo
1 commit: 7fec7439613efcc3bf6df2d16dca8b49a23432b4
2 Author: Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jul 2 21:38:32 2016 +0000
4 Commit: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 2 21:38:32 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fec7439
7
8 app-backup/burp: Remove unneeded revisions
9
10 Package-Manager: portage-2.3.0
11
12 app-backup/burp/burp-1.4.40-r2.ebuild | 108 -------------------------------
13 app-backup/burp/burp-1.4.40-r3.ebuild | 116 ----------------------------------
14 2 files changed, 224 deletions(-)
15
16 diff --git a/app-backup/burp/burp-1.4.40-r2.ebuild b/app-backup/burp/burp-1.4.40-r2.ebuild
17 deleted file mode 100644
18 index 6abcbda..0000000
19 --- a/app-backup/burp/burp-1.4.40-r2.ebuild
20 +++ /dev/null
21 @@ -1,108 +0,0 @@
22 -# Copyright 1999-2016 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Id$
25 -
26 -EAPI=5
27 -
28 -inherit autotools eutils user
29 -
30 -DESCRIPTION="Network backup and restore client and server for Unix and Windows"
31 -HOMEPAGE="http://burp.grke.org/"
32 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
33 - http://burp.grke.org/downloads/${P}/${P}.tar.bz2"
34 -
35 -LICENSE="AGPL-3"
36 -SLOT="0"
37 -KEYWORDS="~amd64 ~x86"
38 -IUSE="acl afs ipv6 libressl nls tcpd xattr"
39 -
40 -DEPEND="
41 - !libressl? ( dev-libs/openssl:0= )
42 - libressl? ( dev-libs/libressl:0= )
43 - dev-libs/uthash
44 - sys-libs/libcap
45 - ~net-libs/librsync-0.9.7
46 - sys-libs/ncurses:0=
47 - sys-libs/zlib
48 - acl? ( sys-apps/acl )
49 - afs? ( net-fs/openafs )
50 - nls? ( sys-devel/gettext )
51 - tcpd? ( sys-apps/tcp-wrappers )
52 - xattr? ( sys-apps/attr )
53 - "
54 -RDEPEND="${DEPEND}
55 - virtual/logger
56 - "
57 -
58 -DOCS=( CONTRIBUTORS DONATIONS UPGRADING )
59 -PATCHES=(
60 - "${FILESDIR}/${PV}-non-zero-or-build-failure.patch"
61 - "${FILESDIR}/${PV}-bedup-conf-path.patch"
62 - "${FILESDIR}/${PV}-tinfo.patch"
63 - )
64 -
65 -pkg_setup() {
66 - enewgroup "${PN}"
67 - enewuser "${PN}" -1 "" "" "${PN}"
68 -}
69 -
70 -src_prepare() {
71 - epatch "${PATCHES[@]}"
72 - eautoreconf
73 -}
74 -
75 -src_configure() {
76 - local myeconfargs=(
77 - --sbindir=/usr/sbin
78 - --sysconfdir=/etc/burp
79 - --enable-largefile
80 - $(use_enable acl)
81 - $(use_enable afs)
82 - $(use_enable ipv6)
83 - $(use_enable nls)
84 - $(use_enable xattr)
85 - $(use_with tcpd tcp-wrappers)
86 - )
87 - econf "${myeconfargs[@]}"
88 -}
89 -
90 -src_install() {
91 - default
92 -
93 - fowners root:burp /etc/burp /var/spool/burp
94 - fperms 0775 /etc/burp /var/spool/burp
95 - fowners root:burp /etc/burp/clientconfdir
96 - fperms 0750 /etc/burp/clientconfdir
97 - fowners root:burp /etc/burp/burp-server.conf
98 - fperms 0640 /etc/burp/burp-server.conf
99 -
100 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
101 - dodoc docs/*
102 -
103 - local scripts_dir=/usr/share/burp/scripts
104 - dodir "${scripts_dir}"
105 - local script
106 - for script in notify_script ssl_extra_checks_script summary_script \
107 - timer_script; do
108 - mv "${D}etc/burp/${script}" "${D}${scripts_dir}/"
109 - sed -r \
110 - -e "s|(=\\s*)/etc/burp/${script}\\s*$|\1${scripts_dir}/${script}|" \
111 - -i "${D}etc/burp/burp-server.conf"
112 - done
113 -
114 - sed -e 's|^# user=graham|user = burp|' \
115 - -e 's|^# group=nogroup|group = burp|' \
116 - -e 's|^pidfile = .*|lockfile = /run/lock/burp/server.lock|' \
117 - -i "${D}etc/burp/burp-server.conf" || die
118 -}
119 -
120 -pkg_postinst() {
121 - if [[ ! -e /etc/burp/CA/index.txt ]]; then
122 - elog "At first run burp server will generate DH parameters and SSL"
123 - elog "certificates. You should adjust configuration before."
124 - elog "Server configuration is located at"
125 - elog ""
126 - elog " /etc/burp/burp-server.conf"
127 - elog ""
128 - fi
129 -}
130
131 diff --git a/app-backup/burp/burp-1.4.40-r3.ebuild b/app-backup/burp/burp-1.4.40-r3.ebuild
132 deleted file mode 100644
133 index d1784b1..0000000
134 --- a/app-backup/burp/burp-1.4.40-r3.ebuild
135 +++ /dev/null
136 @@ -1,116 +0,0 @@
137 -# Copyright 1999-2016 Gentoo Foundation
138 -# Distributed under the terms of the GNU General Public License v2
139 -# $Id$
140 -
141 -EAPI=5
142 -
143 -inherit autotools eutils user
144 -
145 -DESCRIPTION="Network backup and restore client and server for Unix and Windows"
146 -HOMEPAGE="http://burp.grke.org/"
147 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
148 - http://burp.grke.org/downloads/${P}/${P}.tar.bz2"
149 -
150 -LICENSE="AGPL-3"
151 -SLOT="0"
152 -KEYWORDS="~amd64 ~x86"
153 -IUSE="acl afs ipv6 libressl nls tcpd xattr"
154 -
155 -DEPEND="
156 - !libressl? ( dev-libs/openssl:0= )
157 - libressl? ( dev-libs/libressl:0= )
158 - dev-libs/uthash
159 - sys-libs/libcap
160 - ~net-libs/librsync-0.9.7
161 - sys-libs/ncurses:0=
162 - sys-libs/zlib
163 - acl? ( sys-apps/acl )
164 - afs? ( net-fs/openafs )
165 - nls? ( sys-devel/gettext )
166 - tcpd? ( sys-apps/tcp-wrappers )
167 - xattr? ( sys-apps/attr )
168 - "
169 -RDEPEND="${DEPEND}
170 - virtual/logger
171 - "
172 -
173 -DOCS=( CONTRIBUTORS DONATIONS UPGRADING )
174 -PATCHES=(
175 - "${FILESDIR}/${PV}-non-zero-or-build-failure.patch"
176 - "${FILESDIR}/${PV}-bedup-conf-path.patch"
177 - "${FILESDIR}/${PV}-tinfo.patch"
178 - )
179 -
180 -pkg_setup() {
181 - enewgroup "${PN}"
182 - enewuser "${PN}" -1 "" "" "${PN}"
183 -}
184 -
185 -src_prepare() {
186 - epatch "${PATCHES[@]}"
187 - eautoreconf
188 - sed -e '/autoupgrade/d' -i "${S}"/Makefile.in || die
189 - rm "${S}"/docs/autoupgrade.txt || die
190 -}
191 -
192 -src_configure() {
193 - local myeconfargs=(
194 - --sbindir=/usr/sbin
195 - --sysconfdir=/etc/burp
196 - --enable-largefile
197 - $(use_enable acl)
198 - $(use_enable afs)
199 - $(use_enable ipv6)
200 - $(use_enable nls)
201 - $(use_enable xattr)
202 - $(use_with tcpd tcp-wrappers)
203 - )
204 - econf "${myeconfargs[@]}"
205 -}
206 -
207 -src_install() {
208 - default
209 -
210 - fowners root:burp /etc/burp
211 - fperms 0775 /etc/burp
212 - fowners root:burp /etc/burp/burp-server.conf
213 - fperms 0640 /etc/burp/burp-server.conf
214 - fowners root:burp /etc/burp/clientconfdir
215 - fperms 0750 /etc/burp/clientconfdir
216 - fowners root:burp /var/spool/burp
217 - fperms 0770 /var/spool/burp
218 -
219 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
220 - dodoc docs/*
221 -
222 - local scripts_dir=/usr/share/burp/scripts
223 - dodir "${scripts_dir}"
224 - local script
225 - for script in notify_script ssl_extra_checks_script summary_script \
226 - timer_script; do
227 - mv "${D}etc/burp/${script}" "${D}${scripts_dir}/" || die
228 - sed -r \
229 - -e "s|(=\\s*)/etc/burp/${script}\\s*$|\1${scripts_dir}/${script}|" \
230 - -i "${D}etc/burp/burp-server.conf" \
231 - || die
232 - done
233 -
234 - sed -e '/autoupgrade/d' -i "${D}etc/burp/burp.conf" || die
235 - sed -e '/autoupgrade/,+1d' -i "${D}etc/burp/burp-server.conf" || die
236 -
237 - sed -e 's|^# user=graham|user = burp|' \
238 - -e 's|^# group=nogroup|group = burp|' \
239 - -e 's|^pidfile = .*|lockfile = /run/lock/burp/server.lock|' \
240 - -i "${D}etc/burp/burp-server.conf" || die
241 -}
242 -
243 -pkg_postinst() {
244 - if [[ ! -e /etc/burp/CA/index.txt ]]; then
245 - elog "At first run burp server will generate DH parameters and SSL"
246 - elog "certificates. You should adjust configuration before."
247 - elog "Server configuration is located at"
248 - elog ""
249 - elog " /etc/burp/burp-server.conf"
250 - elog ""
251 - fi
252 -}