mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
app-backup/burp: drop 3.2.0
Signed-off-by: Anton Fischl <github@fischl-online.de> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1865 Merges: https://codeberg.org/gentoo/gentoo/pulls/1865 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST burp-3.2.0.tar.gz 550673 BLAKE2B 808a6aa41661f297cee034752ef59ca8a888e12154b9b54165ff822a044ebbeec12178fcb7261d2a1d965ce3d4a565f096d063ee8c404e697290f7ed89bc2ffe SHA512 13affe243f1bb50460ae6bcece580a18718acb01695e2ef804ce519335a733f02c6a89d5c3263963794ff3714a0c693dd8a2f69ae43774088c3b2c63570162df
|
||||
DIST burp-3.3.0.tar.bz2 709561 BLAKE2B ac2e736142bb3fd64f1985737328ec09e418656153b42ce9e62a92093187c1e93540e1a35d0e3469a1c507d9b7aaf8b89b8418ecc22c290c88ab59d35de79fcc SHA512 98752921d929ada41135d6a7e4b3ca84dc9971fa1f325534805e5e7946b063f48a7bbc9bdcbd3d275ab9ad12d7d0f0526dc36fca9968851e316929e27ba745e0
|
||||
DIST burp-3.3.0.tar.bz2.asc 488 BLAKE2B 4c6dc29d5bfae6084db128f999d9192546385a419993fa9b8127f8d1c3cb0643066e5f5757a099b3cac29c16a5a40268066345888cc552ace6ccd0eb394816f1 SHA512 f231e45457ab42d3783661875eb146c3b047da1bf26b05aa11c2e7eb4eecdb3495d200c92aedb6c2c01ce251ac9b6fde10f708a8e7084f6dde77fc44cb48cb5a
|
||||
|
||||
@@ -1,113 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit autotools eapi9-ver flag-o-matic systemd
|
||||
|
||||
DESCRIPTION="Network backup and restore client and server for Unix and Windows"
|
||||
HOMEPAGE="https://burp.grke.org/"
|
||||
SRC_URI="https://github.com/grke/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm x86"
|
||||
IUSE="acl test xattr"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="acct-group/burp
|
||||
acct-user/burp
|
||||
dev-libs/uthash
|
||||
dev-libs/openssl:0=
|
||||
net-libs/librsync:=
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/libcap
|
||||
virtual/zlib:=
|
||||
virtual/libcrypt:=
|
||||
acl? ( sys-apps/acl )
|
||||
xattr? ( sys-apps/attr )"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
elibc_musl? ( sys-libs/queue-standalone )
|
||||
test? ( dev-libs/check )"
|
||||
BDEPEND=">=dev-build/autoconf-2.71
|
||||
virtual/pkgconfig"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
virtual/logger"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/"${PN}"-2.1.20-no_mkdir_run.patch
|
||||
"${FILESDIR}"/"${PN}"-2.0.54-server_user.patch
|
||||
"${FILESDIR}"/"${PN}"-3.2.0-zlib-1.3.2.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# Fails tests (bug #865273)
|
||||
filter-lto
|
||||
local myeconfargs=(
|
||||
--localstatedir=/var
|
||||
--sysconfdir=/etc/burp
|
||||
--enable-largefile
|
||||
--runstatedir=/run
|
||||
"$(use_enable acl)"
|
||||
"$(use_enable xattr)"
|
||||
)
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# See https://bugs.gentoo.org/915690
|
||||
local -x CK_DEFAULT_TIMEOUT=0
|
||||
local -x CK_TIMEOUT_MULTIPLIER=0
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
keepdir /var/spool/burp
|
||||
fowners -R root:"${PN}" /var/spool/burp
|
||||
fperms 0770 /var/spool/burp
|
||||
|
||||
emake DESTDIR="${D}" install-configs
|
||||
fowners -R root:"${PN}" /etc/burp
|
||||
fperms 0750 /etc/burp
|
||||
fperms 0640 /etc/burp/burp-server.conf
|
||||
fperms 0750 /etc/burp/clientconfdir
|
||||
|
||||
newinitd "${FILESDIR}"/"${PN}".initd "${PN}"
|
||||
systemd_dounit "${FILESDIR}"/"${PN}".service
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Burp ebuilds now support the autoupgrade mechanism in both"
|
||||
elog "client and server mode. In both cases it is disabled by"
|
||||
elog "default. You almost certainly do NOT want to enable it in"
|
||||
elog "client mode because upgrades obtained this way will not be"
|
||||
elog "managed by Portage."
|
||||
|
||||
if [[ ! -e "${EROOT}"/etc/burp/CA/index.txt ]]; then
|
||||
elog ""
|
||||
elog "At first run burp server will generate DH parameters and SSL"
|
||||
elog "certificates. You should adjust configuration before."
|
||||
elog "Server configuration is located at"
|
||||
elog ""
|
||||
elog " ${EROOT}/etc/burp/burp-server.conf"
|
||||
elog ""
|
||||
fi
|
||||
|
||||
if ver_replacing -lt 2; then
|
||||
ewarn "Starting with version 2.0.54 we no longer patch bedup to use"
|
||||
ewarn "the server config file by default. If you use bedup, please"
|
||||
ewarn "update your scripts to invoke it as"
|
||||
ewarn ""
|
||||
ewarn " bedup -c ${EROOT}/etc/burp/burp-server.conf"
|
||||
ewarn ""
|
||||
ewarn "Otherwise deduplication will not work!"
|
||||
fi
|
||||
}
|
||||
@@ -1,13 +0,0 @@
|
||||
--- a/utest/builders/build_asfd_mock.c 2025-12-23 22:56:10.000000000 +0100
|
||||
+++ b/utest/builders/build_asfd_mock.c 2026-05-20 10:19:05.676588434 +0200
|
||||
@@ -72,9 +72,7 @@
|
||||
*/
|
||||
//printf("w %s - '%s' '%s'\n", asfd->desc, iobuf_to_printable(wbuf),
|
||||
// iobuf_to_printable(expected));
|
||||
- fail_unless(wbuf->len==expected->len);
|
||||
fail_unless(wbuf->cmd==expected->cmd);
|
||||
- fail_unless(!memcmp(expected->buf, wbuf->buf, wbuf->len));
|
||||
iobuf_free_content(expected);
|
||||
return w->ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user