commit:     4cb2569154550203107bfafa2e3d3146a2a66892
Author:     Anton Fischl <github <AT> fischl-online <DOT> de>
AuthorDate: Fri Jan 30 14:01:56 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb  7 03:43:16 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4cb25691

app-backup/burp: add 3.2.0

Signed-off-by: Anton Fischl <github <AT> fischl-online.de>
Part-of: https://github.com/gentoo/gentoo/pull/45582
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-backup/burp/Manifest          |   1 +
 app-backup/burp/burp-3.2.0.ebuild | 112 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 113 insertions(+)

diff --git a/app-backup/burp/Manifest b/app-backup/burp/Manifest
index b6427e2bd489..0267df9829e4 100644
--- a/app-backup/burp/Manifest
+++ b/app-backup/burp/Manifest
@@ -1 +1,2 @@
 DIST burp-3.1.4.tar.gz 549879 BLAKE2B 
bf70051a658700fab60182b97b7ce8540fbd85ad1264ee09c9fa5b5a99046f391b91cd8673097ef869c6b762aea6d8fecdedb38425dca9e6bcbb1f2c2afa96fb
 SHA512 
3aa9fb1512f985fa99e7cb9a45502bbdbf513935e0c62fa4327f0e6cb68d3840f59bfe1b38a7c2419b3e69bc04aef36c223313897c2e45e94f3be3f9d41714db
+DIST burp-3.2.0.tar.gz 550673 BLAKE2B 
808a6aa41661f297cee034752ef59ca8a888e12154b9b54165ff822a044ebbeec12178fcb7261d2a1d965ce3d4a565f096d063ee8c404e697290f7ed89bc2ffe
 SHA512 
13affe243f1bb50460ae6bcece580a18718acb01695e2ef804ce519335a733f02c6a89d5c3263963794ff3714a0c693dd8a2f69ae43774088c3b2c63570162df

diff --git a/app-backup/burp/burp-3.2.0.ebuild 
b/app-backup/burp/burp-3.2.0.ebuild
new file mode 100644
index 000000000000..2402b3b8fe57
--- /dev/null
+++ b/app-backup/burp/burp-3.2.0.ebuild
@@ -0,0 +1,112 @@
+# 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
+)
+
+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
+}

Reply via email to