Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/burp/
Date: Sat, 05 Sep 2020 19:44:33
Message-Id: 1599335002.cd0bc6a29c1df9a08ceb40b448a08ec6b6be4665.marecki@gentoo
1 commit: cd0bc6a29c1df9a08ceb40b448a08ec6b6be4665
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 5 19:21:26 2020 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 5 19:43:22 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd0bc6a2
7
8 app-backup/burp: remove old
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 app-backup/burp/Manifest | 1 -
13 app-backup/burp/burp-2.3.30.ebuild | 115 -------------------------------------
14 2 files changed, 116 deletions(-)
15
16 diff --git a/app-backup/burp/Manifest b/app-backup/burp/Manifest
17 index 32389e6d509..732a493c9cc 100644
18 --- a/app-backup/burp/Manifest
19 +++ b/app-backup/burp/Manifest
20 @@ -1,3 +1,2 @@
21 DIST burp-2.2.18.tar.gz 632805 BLAKE2B 6106aa4bd96db035ad5893c2fe314537e620a67519295fdf99efaf2c5a639bedd15b4c8d95caa3daa3072dfac28a1ba7fd7bb4f949d9ea2b70bd13060a22f2c6 SHA512 beb14c61ace6d61b98a10fc4e6709eec9722e28990de862eef6a75984f9fbd0f903c5fe64d20ed84c95528a9889bc22618ba6d2318318cf5d515b35688db0a4d
22 -DIST burp-2.3.30.tar.gz 617064 BLAKE2B 62aa65da16155d2a321d4ef700a83000e9754eeee53ad7605b97c589a09e1168cd4cece3076d2c4660c098967f5b19056875b5aa4f226f135a17965fc099bb44 SHA512 c315c30c064073f864058d1ec9341b6e800964f308fa5ea298759e35a58ff27a198a3b6886cc04692bc259f1cfe5a5e077542fd45d3e89813541af2e4ca03533
23 DIST burp-2.3.32.tar.gz 617641 BLAKE2B f193b3ed42bb8456fbad72ca5625d4a32b498749d04fc187a87f68e03c1a4131dd8e7276bcd6ded40e551f17c6bda7c12ba538e0dc74a8d750bff91e4e2ae84b SHA512 a7393d5097b03a3684104693620ecc9646caf3f4556201977ea88462700274361b01f1134f9c18368ffec6a31d11b4a9bd9091af7a54ac98dfd724779dab41c6
24
25 diff --git a/app-backup/burp/burp-2.3.30.ebuild b/app-backup/burp/burp-2.3.30.ebuild
26 deleted file mode 100644
27 index 34645f77259..00000000000
28 --- a/app-backup/burp/burp-2.3.30.ebuild
29 +++ /dev/null
30 @@ -1,115 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit autotools systemd
37 -
38 -DESCRIPTION="Network backup and restore client and server for Unix and Windows"
39 -HOMEPAGE="https://burp.grke.org/"
40 -SRC_URI="https://github.com/grke/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
41 -
42 -LICENSE="AGPL-3"
43 -SLOT="0"
44 -KEYWORDS="~amd64 ~arm ~x86"
45 -IUSE="acl ipv6 libressl test xattr"
46 -
47 -RESTRICT="!test? ( test )"
48 -
49 -CDEPEND=" acct-group/burp
50 - acct-user/burp
51 - dev-libs/uthash
52 - net-libs/librsync
53 - sys-libs/ncurses:0=
54 - sys-libs/zlib
55 - !libressl? ( dev-libs/openssl:0= )
56 - libressl? ( dev-libs/libressl:0= )
57 - acl? ( sys-apps/acl )
58 - xattr? ( sys-apps/attr )"
59 -DEPEND="${CDEPEND}
60 - virtual/pkgconfig
61 - test? ( dev-libs/check )"
62 -RDEPEND="${CDEPEND}
63 - virtual/logger"
64 -
65 -PATCHES=(
66 - "${FILESDIR}"/${PN}-2.1.20-no_mkdir_run.patch
67 - "${FILESDIR}"/${PN}-2.1.20-protocol1_by_default.patch
68 - "${FILESDIR}"/${PN}-2.0.54-server_user.patch
69 -)
70 -
71 -src_prepare() {
72 - default
73 -
74 - eautoreconf
75 -}
76 -
77 -src_configure() {
78 - local myeconfargs=(
79 - --localstatedir=/var
80 - --sysconfdir=/etc/burp
81 - --enable-largefile
82 - $(use_enable acl)
83 - $(use_enable ipv6)
84 - $(use_enable xattr)
85 - )
86 - # --runstatedir option will only work from autoconf-2.70 onwards
87 - runstatedir='/run' \
88 - econf "${myeconfargs[@]}"
89 -}
90 -
91 -src_install() {
92 - default
93 - keepdir /var/spool/burp
94 - fowners -R root:${PN} /var/spool/burp
95 - fperms 0770 /var/spool/burp
96 -
97 - emake DESTDIR="${D}" install-configs
98 - fowners -R root:${PN} /etc/burp
99 - fperms 0750 /etc/burp
100 - fperms 0640 /etc/burp/burp-server.conf
101 - fperms 0750 /etc/burp/clientconfdir
102 -
103 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
104 - systemd_dounit "${FILESDIR}"/${PN}.service
105 -}
106 -
107 -pkg_postinst() {
108 - ewarn
109 - ewarn "You are installing a development version of burp. These versions contain"
110 - ewarn "new features but might have unexpected issues. It is recommended by upstream"
111 - ewarn "to use the current stable version (i.e. currently the 2.2 branch) instead."
112 - ewarn
113 -
114 - elog "Burp ebuilds now support the autoupgrade mechanism in both"
115 - elog "client and server mode. In both cases it is disabled by"
116 - elog "default. You almost certainly do NOT want to enable it in"
117 - elog "client mode because upgrades obtained this way will not be"
118 - elog "managed by Portage."
119 -
120 - if [[ ! -e /etc/burp/CA/index.txt ]]; then
121 - elog ""
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 - # According to PMS this can be a space-separated list of version
131 - # numbers, even though in practice it is typically just one.
132 - local oldver
133 - for oldver in ${REPLACING_VERSIONS}; do
134 - if [[ $(ver_cut 1 ${oldver}) -lt 2 ]]; then
135 - ewarn "Starting with version 2.0.54 we no longer patch bedup to use"
136 - ewarn "the server config file by default. If you use bedup, please"
137 - ewarn "update your scripts to invoke it as"
138 - ewarn ""
139 - ewarn " bedup -c /etc/burp/burp-server.conf"
140 - ewarn ""
141 - ewarn "Otherwise deduplication will not work!"
142 - break
143 - fi
144 - done
145 -}