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/files/, app-backup/burp/
Date: Thu, 29 Dec 2016 21:39:29
Message-Id: 1483047514.65f08e8900abf4e0304f619521d0de048419a45c.aidecoe@gentoo
1 commit: 65f08e8900abf4e0304f619521d0de048419a45c
2 Author: Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
3 AuthorDate: Thu Dec 29 19:58:46 2016 +0000
4 Commit: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
5 CommitDate: Thu Dec 29 21:38:34 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65f08e89
7
8 app-backup/burp: Remove old, unsupported version
9
10 Package-Manager: Portage-2.3.3, Repoman-2.3.1
11
12 app-backup/burp/Manifest | 1 -
13 app-backup/burp/burp-1.3.48-r1.ebuild | 100 ---------------------
14 ...3.48-0001-Set-default_md-sha256-in-CA.cnf.patch | 25 ------
15 app-backup/burp/files/1.3.48-bedup-conf-path.patch | 33 -------
16 .../files/1.3.48-non-zero-or-build-failure.patch | 13 ---
17 app-backup/burp/files/1.3.48-tinfo.patch | 22 -----
18 6 files changed, 194 deletions(-)
19
20 diff --git a/app-backup/burp/Manifest b/app-backup/burp/Manifest
21 index bdcd141..220be5c 100644
22 --- a/app-backup/burp/Manifest
23 +++ b/app-backup/burp/Manifest
24 @@ -1,2 +1 @@
25 -DIST burp-1.3.48.tar.bz2 683509 SHA256 bb456c208998d2f5806828357934e794cd9675448cb6545473364fd9e6d73509 SHA512 08de252f25ff7aa448dd6768272a9a14622902347445313b570c857b4e690374e92956379d5b388f446a88427fc4924f9c0df83cba390aa15fd040b8e92f1946 WHIRLPOOL ac99abddd74bcc753037841afc78c74c7af23ad550334f0585540f056ce93243b8958cbdc37cae15cb98a02c2884c928dd65ac03820e1ef53ea031128a831a44
26 DIST burp-1.4.40.tar.bz2 712937 SHA256 4108eb45e14740de990d918a2adbb661d88f90de48d6e2e3a6b54fd12b16fa5e SHA512 b44ba3a63d3b75f6fee55bbfef70ac07fa87e78ddb22a398e31a86670dfa3f2db1c9dbc58de3d0038cdc409bd5ae52c8e901cb26975fd7dbe0f773c4841af10c WHIRLPOOL 636120b3fa2d4a3217567177f3c8abbdeb562d298043fd6bd685842287964d835f2a369e36db0bc32ce908ce8f96e4e2677569e6ca4bac80f8d9958a2364a62d
27
28 diff --git a/app-backup/burp/burp-1.3.48-r1.ebuild b/app-backup/burp/burp-1.3.48-r1.ebuild
29 deleted file mode 100644
30 index 0e50013..00000000
31 --- a/app-backup/burp/burp-1.3.48-r1.ebuild
32 +++ /dev/null
33 @@ -1,100 +0,0 @@
34 -# Copyright 1999-2016 Gentoo Foundation
35 -# Distributed under the terms of the GNU General Public License v2
36 -# $Id$
37 -
38 -EAPI=5
39 -
40 -inherit autotools eutils user
41 -
42 -DESCRIPTION="Network backup and restore client and server for Unix and Windows"
43 -HOMEPAGE="http://burp.grke.org/"
44 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
45 - http://burp.grke.org/downloads/${P}/${P}.tar.bz2"
46 -
47 -LICENSE="AGPL-3"
48 -SLOT="0"
49 -KEYWORDS="amd64 x86"
50 -IUSE="acl afs ipv6 nls tcpd xattr"
51 -
52 -DEPEND="
53 - dev-libs/openssl:0
54 - dev-libs/uthash
55 - sys-libs/libcap
56 - ~net-libs/librsync-0.9.7
57 - sys-libs/ncurses:0=
58 - sys-libs/zlib
59 - acl? ( sys-apps/acl )
60 - afs? ( net-fs/openafs )
61 - nls? ( sys-devel/gettext )
62 - tcpd? ( sys-apps/tcp-wrappers )
63 - xattr? ( sys-apps/attr )
64 - "
65 -RDEPEND="${DEPEND}
66 - virtual/logger
67 - "
68 -
69 -DOCS=( CONTRIBUTORS DONATIONS UPGRADING )
70 -PATCHES=(
71 - "${FILESDIR}/${PV}-non-zero-or-build-failure.patch"
72 - "${FILESDIR}/${PV}-bedup-conf-path.patch"
73 - "${FILESDIR}/${PV}-tinfo.patch"
74 - "${FILESDIR}/${PV}-0001-Set-default_md-sha256-in-CA.cnf.patch"
75 - )
76 -S="${WORKDIR}/burp"
77 -
78 -pkg_setup() {
79 - enewgroup "${PN}"
80 - enewuser "${PN}" -1 "" "" "${PN}"
81 -}
82 -
83 -src_prepare() {
84 - epatch "${PATCHES[@]}"
85 - # see bug #426262
86 - mv configure.in configure.ac || die
87 - eautoreconf
88 -}
89 -
90 -src_configure() {
91 - local myeconfargs=(
92 - --sbindir=/usr/sbin
93 - --sysconfdir=/etc/burp
94 - --enable-largefile
95 - $(use_enable acl)
96 - $(use_enable afs)
97 - $(use_enable ipv6)
98 - $(use_enable nls)
99 - $(use_enable xattr)
100 - $(use_with tcpd tcp-wrappers)
101 - )
102 - econf "${myeconfargs[@]}"
103 -}
104 -
105 -src_install() {
106 - default
107 -
108 - fowners root:burp /etc/burp /var/spool/burp
109 - fperms 0775 /etc/burp /var/spool/burp
110 - fowners root:burp /etc/burp/clientconfdir
111 - fperms 0750 /etc/burp/clientconfdir
112 - fowners root:burp /etc/burp/burp-server.conf
113 - fperms 0640 /etc/burp/burp-server.conf
114 -
115 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
116 - dodoc docs/*
117 -
118 - sed -e 's|^# user=graham|user = burp|' \
119 - -e 's|^# group=nogroup|group = burp|' \
120 - -e 's|^pidfile = .*|lockfile = /run/lock/burp/server.lock|' \
121 - -i "${D}"/etc/burp/burp-server.conf || die
122 -}
123 -
124 -pkg_postinst() {
125 - if [[ ! -e /etc/burp/CA/index.txt ]]; then
126 - elog "At first run burp server will generate DH parameters and SSL"
127 - elog "certificates. You should adjust configuration before."
128 - elog "Server configuration is located at"
129 - elog ""
130 - elog " /etc/burp/burp-server.conf"
131 - elog ""
132 - fi
133 -}
134
135 diff --git a/app-backup/burp/files/1.3.48-0001-Set-default_md-sha256-in-CA.cnf.patch b/app-backup/burp/files/1.3.48-0001-Set-default_md-sha256-in-CA.cnf.patch
136 deleted file mode 100644
137 index e4cce52..00000000
138 --- a/app-backup/burp/files/1.3.48-0001-Set-default_md-sha256-in-CA.cnf.patch
139 +++ /dev/null
140 @@ -1,25 +0,0 @@
141 -From dd9b4bad27bf0395c0836d41e61678ba39459422 Mon Sep 17 00:00:00 2001
142 -From: graham <graham@××××××××××.net>
143 -Date: Tue, 16 Jun 2015 12:29:56 +0000
144 -Subject: [PATCH] Set default_md=sha256 in CA.cnf.
145 -
146 ----
147 - configs/certs/CA/CA.cnf | 2 +-
148 - 1 file changed, 1 insertion(+), 1 deletion(-)
149 -
150 -diff --git a/configs/certs/CA/CA.cnf b/configs/certs/CA/CA.cnf
151 -index 097f5fa..608cbce 100644
152 ---- a/configs/certs/CA/CA.cnf
153 -+++ b/configs/certs/CA/CA.cnf
154 -@@ -14,7 +14,7 @@ crlnumber = $dir/crlnumber.txt
155 -
156 - unique_subject = no
157 -
158 --default_md = sha1
159 -+default_md = sha256
160 - default_days = 7300
161 - default_crl_days = 7300
162 -
163 ---
164 -2.5.0
165 -
166
167 diff --git a/app-backup/burp/files/1.3.48-bedup-conf-path.patch b/app-backup/burp/files/1.3.48-bedup-conf-path.patch
168 deleted file mode 100644
169 index a9bed19..00000000
170 --- a/app-backup/burp/files/1.3.48-bedup-conf-path.patch
171 +++ /dev/null
172 @@ -1,33 +0,0 @@
173 -diff -Naur burp-1.3.48/manpages/bedup.8 burp-1.3.48.new/manpages/bedup.8
174 ---- burp-1.3.48/manpages/bedup.8 2014-01-27 11:55:47.000000000 +0100
175 -+++ burp-1.3.48.new/manpages/bedup.8 2014-11-22 12:57:20.241299376 +0100
176 -@@ -16,7 +16,7 @@
177 - .SH OPTIONS
178 - .TP
179 - \fB\-c\fR \fBpath\fR
180 --Path to config file (default: /etc/burp/burp.conf).
181 -+Path to config file (default: /etc/burp/burp-server.conf).
182 - .TP
183 - \fB\-g\fR \fB<list of group names>\fR
184 - Only run on the directories of clients that are in one of the groups specified. The list is comma-separated. To put a client in a group, use the 'dedup_group' option in the client configuration file on the server.
185 -@@ -42,7 +42,7 @@
186 - \fB\-V\fR \fB\fR
187 - Print version and exit.\fR
188 - .TP
189 --By default, bedup will read /etc/burp/burp.conf and deduplicate client storage directories using special knowledge of the structure.\fR
190 -+By default, bedup will read /etc/burp/burp-server.conf and deduplicate client storage directories using special knowledge of the structure.\fR
191 - .TP
192 - With '\-n', this knowledge is turned off and you have to specify the directories to deduplicate on the command line. Running with '\-n' is therefore dangerous if you are deduplicating burp storage directories.
193 -
194 -diff -Naur burp-1.3.48/src/bedup.c burp-1.3.48.new/src/bedup.c
195 ---- burp-1.3.48/src/bedup.c 2014-01-27 11:55:47.000000000 +0100
196 -+++ burp-1.3.48.new/src/bedup.c 2014-11-22 12:57:20.241299376 +0100
197 -@@ -734,7 +734,7 @@
198 - static char *get_config_path(void)
199 - {
200 - static char path[256]="";
201 -- snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp.conf");
202 -+ snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp-server.conf");
203 - return path;
204 - }
205 -
206
207 diff --git a/app-backup/burp/files/1.3.48-non-zero-or-build-failure.patch b/app-backup/burp/files/1.3.48-non-zero-or-build-failure.patch
208 deleted file mode 100644
209 index 2c57048..00000000
210 --- a/app-backup/burp/files/1.3.48-non-zero-or-build-failure.patch
211 +++ /dev/null
212 @@ -1,13 +0,0 @@
213 -diff --git a/Makefile.in b/Makefile.in
214 -index ac22a24..f99ce96 100755
215 ---- a/Makefile.in
216 -+++ b/Makefile.in
217 -@@ -40,7 +40,7 @@ all: Makefile
218 - @for I in ${all_subdirs}; \
219 - do (cd $$I; echo "==>Entering directory `pwd`"; \
220 - $(MAKE) $@ || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
221 -- echo ""; echo "";)); \
222 -+ echo ""; echo ""; exit 1;)) || exit 1; \
223 - done
224 -
225 - depend:
226
227 diff --git a/app-backup/burp/files/1.3.48-tinfo.patch b/app-backup/burp/files/1.3.48-tinfo.patch
228 deleted file mode 100644
229 index 30b5cb8..00000000
230 --- a/app-backup/burp/files/1.3.48-tinfo.patch
231 +++ /dev/null
232 @@ -1,22 +0,0 @@
233 -diff -Naur burp-1.3.48/configure.in burp-1.3.48.new/configure.in
234 ---- burp-1.3.48/configure.in 2014-01-27 11:55:47.000000000 +0100
235 -+++ burp-1.3.48.new/configure.in 2014-11-22 13:01:01.192403673 +0100
236 -@@ -1203,13 +1203,12 @@
237 - fi
238 -
239 - AC_CHECK_HEADERS(ncurses.h)
240 --AC_CHECK_LIB(ncurses, curs_set, [NCURSES_LIBS="-lncurses"])
241 - have_ncurses=no
242 --if test x$NCURSES_LIBS = x-lncurses; then
243 -- AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found])
244 -- have_ncurses=yes
245 --fi
246 --AC_SUBST(NCURSES_LIBS)
247 -+AC_CHECK_LIB(ncurses, endwin,
248 -+ [NCURSES_LIBS="-lncurses"; have_ncurses=yes]
249 -+ AC_SEARCH_LIBS(curs_set, tinfo, [NCURSES_LIBS="$NCURSES_LIBS $ac_res"]),
250 -+ AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found])
251 -+ AC_SUBST(NCURSES_LIBS))
252 -
253 - dnl
254 - dnl Check if we have AFS on this system