Gentoo Archives: gentoo-commits

From: "Amadeusz Ż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: Sun, 30 Aug 2015 16:34:10
Message-Id: 1440952433.b2143e2e46588c1b1dca74e927140aa398a6634f.aidecoe@gentoo
1 commit: b2143e2e46588c1b1dca74e927140aa398a6634f
2 Author: Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 30 16:33:53 2015 +0000
4 Commit: Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 30 16:33:53 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2143e2e
7
8 app-backup/burp: Remove oldest 1.4.x version
9
10 Package-Manager: portage-2.2.20.1
11
12 app-backup/burp/Manifest | 1 -
13 app-backup/burp/burp-1.4.34.ebuild | 95 ----------------------
14 app-backup/burp/files/1.4.34-bedup-conf-path.patch | 33 --------
15 app-backup/burp/files/1.4.34-tinfo.patch | 22 -----
16 4 files changed, 151 deletions(-)
17
18 diff --git a/app-backup/burp/Manifest b/app-backup/burp/Manifest
19 index cc324b0..5fc8c0f 100644
20 --- a/app-backup/burp/Manifest
21 +++ b/app-backup/burp/Manifest
22 @@ -1,4 +1,3 @@
23 DIST burp-1.3.48.tar.bz2 683509 SHA256 bb456c208998d2f5806828357934e794cd9675448cb6545473364fd9e6d73509 SHA512 08de252f25ff7aa448dd6768272a9a14622902347445313b570c857b4e690374e92956379d5b388f446a88427fc4924f9c0df83cba390aa15fd040b8e92f1946 WHIRLPOOL ac99abddd74bcc753037841afc78c74c7af23ad550334f0585540f056ce93243b8958cbdc37cae15cb98a02c2884c928dd65ac03820e1ef53ea031128a831a44
24 DIST burp-1.3.8.tar.bz2 796082 SHA256 ed1546d97e902d0b3974a32ef3f543b5d9ec0a5448f3caca2373383192169656 SHA512 49f4fa43bcbd2aa54b8cee840dfb2f1b7e396048c609d7303fdef08d13dbaf7b0c7016da39620fc5a15cd9dfb8577f82e8446512887aff1ce1b6ce31e7a60e57 WHIRLPOOL 957cdf4b75ec5a79b7c259786b099cf5c001ebc1684df0a1028dda7ec90a2710c1cfcd4f2a8a2fb349466bc5405672350f01f989a4f6a5302eae4fa466af3056
25 -DIST burp-1.4.34.tar.bz2 712409 SHA256 547d84a03d84a5ece0562b75f785180846c8f0525c212f66316650187c9cbad2 SHA512 c65d7fab80d24fbf73c5bed1381709ad00c43372e26cebffb2847be57f3c32ec5e6ab060707766a06689a9ab7b490ce10acc93b4c229b336d1791b9dd82e025d WHIRLPOOL fa15dbdae7efd7c9736f40f06555b83b4a4b6cb932ce205eccf3e0606276aa0723c083ef0cf6e006d1cbca814265e6280572a17483d5631ac3928e6967cbcc8a
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.4.34.ebuild b/app-backup/burp/burp-1.4.34.ebuild
29 deleted file mode 100644
30 index e4da6c6..0000000
31 --- a/app-backup/burp/burp-1.4.34.ebuild
32 +++ /dev/null
33 @@ -1,95 +0,0 @@
34 -# Copyright 1999-2015 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"
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
57 - sys-libs/ncurses
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}-bedup-conf-path.patch"
72 - "${FILESDIR}/${PV}-tinfo.patch"
73 - )
74 -
75 -pkg_setup() {
76 - enewgroup "${PN}"
77 - enewuser "${PN}" -1 "" "" "${PN}"
78 -}
79 -
80 -src_prepare() {
81 - epatch "${PATCHES[@]}"
82 - eautoreconf
83 -}
84 -
85 -src_configure() {
86 - local myeconfargs=(
87 - --sbindir=/usr/sbin
88 - --sysconfdir=/etc/burp
89 - --enable-largefile
90 - $(use_enable acl)
91 - $(use_enable afs)
92 - $(use_enable ipv6)
93 - $(use_enable nls)
94 - $(use_enable xattr)
95 - $(use_with tcpd tcp-wrappers)
96 - )
97 - econf "${myeconfargs[@]}"
98 -}
99 -
100 -src_install() {
101 - default
102 -
103 - fowners root:burp /etc/burp /var/spool/burp
104 - fperms 0775 /etc/burp /var/spool/burp
105 - fowners root:burp /etc/burp/clientconfdir
106 - fperms 0750 /etc/burp/clientconfdir
107 - fowners root:burp /etc/burp/burp-server.conf
108 - fperms 0640 /etc/burp/burp-server.conf
109 -
110 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
111 - dodoc docs/*
112 -
113 - sed -e 's|^# user=graham|user = burp|' \
114 - -e 's|^# group=nogroup|group = burp|' \
115 - -e 's|^pidfile = .*|lockfile = /run/lock/burp/server.lock|' \
116 - -i "${D}"/etc/burp/burp-server.conf || die
117 -}
118 -
119 -pkg_postinst() {
120 - if [[ ! -e /etc/burp/CA/index.txt ]]; then
121 - elog "At first run burp server will generate DH parameters and SSL"
122 - elog "certificates. You should adjust configuration before."
123 - elog "Server configuration is located at"
124 - elog ""
125 - elog " /etc/burp/burp-server.conf"
126 - elog ""
127 - fi
128 -}
129
130 diff --git a/app-backup/burp/files/1.4.34-bedup-conf-path.patch b/app-backup/burp/files/1.4.34-bedup-conf-path.patch
131 deleted file mode 100644
132 index 30346d4..0000000
133 --- a/app-backup/burp/files/1.4.34-bedup-conf-path.patch
134 +++ /dev/null
135 @@ -1,33 +0,0 @@
136 -diff -Naur burp/manpages/bedup.8 burp.new/manpages/bedup.8
137 ---- burp/manpages/bedup.8 2014-10-28 12:45:26.000000000 +0100
138 -+++ burp.new/manpages/bedup.8 2014-11-21 09:49:57.705796144 +0100
139 -@@ -16,7 +16,7 @@
140 - .SH OPTIONS
141 - .TP
142 - \fB\-c\fR \fBpath\fR
143 --Path to config file (default: /etc/burp/burp.conf).
144 -+Path to config file (default: /etc/burp/burp-server.conf).
145 - .TP
146 - \fB\-g\fR \fB<list of group names>\fR
147 - 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.
148 -@@ -42,7 +42,7 @@
149 - \fB\-V\fR \fB\fR
150 - Print version and exit.\fR
151 - .TP
152 --By default, bedup will read /etc/burp/burp.conf and deduplicate client storage directories using special knowledge of the structure.\fR
153 -+By default, bedup will read /etc/burp/burp-server.conf and deduplicate client storage directories using special knowledge of the structure.\fR
154 - .TP
155 - 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.
156 -
157 -diff -Naur burp/src/bedup.c burp.new/src/bedup.c
158 ---- burp/src/bedup.c 2014-10-28 12:45:56.000000000 +0100
159 -+++ burp.new/src/bedup.c 2014-11-20 21:39:28.728206536 +0100
160 -@@ -740,7 +740,7 @@
161 - static char *get_config_path(void)
162 - {
163 - static char path[256]="";
164 -- snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp.conf");
165 -+ snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp-server.conf");
166 - return path;
167 - }
168 -
169
170 diff --git a/app-backup/burp/files/1.4.34-tinfo.patch b/app-backup/burp/files/1.4.34-tinfo.patch
171 deleted file mode 100644
172 index 0814922..0000000
173 --- a/app-backup/burp/files/1.4.34-tinfo.patch
174 +++ /dev/null
175 @@ -1,22 +0,0 @@
176 -diff -Naur burp/configure.ac burp-new/configure.ac
177 ---- burp/configure.ac 2014-10-28 12:45:56.000000000 +0100
178 -+++ burp-new/configure.ac 2014-11-10 17:40:50.996955441 +0100
179 -@@ -1203,13 +1203,12 @@
180 - fi
181 -
182 - AC_CHECK_HEADERS(ncurses.h)
183 --AC_CHECK_LIB(ncurses, curs_set, [NCURSES_LIBS="-lncurses"])
184 - have_ncurses=no
185 --if test x$NCURSES_LIBS = x-lncurses; then
186 -- AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found])
187 -- have_ncurses=yes
188 --fi
189 --AC_SUBST(NCURSES_LIBS)
190 -+AC_CHECK_LIB(ncurses, endwin,
191 -+ [NCURSES_LIBS="-lncurses"; have_ncurses=yes]
192 -+ AC_SEARCH_LIBS(curs_set, tinfo, [NCURSES_LIBS="$NCURSES_LIBS $ac_res"]),
193 -+ AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found])
194 -+ AC_SUBST(NCURSES_LIBS))
195 -
196 - dnl
197 - dnl Check if we have AFS on this system