public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/burp/
Date: Sat, 24 Dec 2022 07:03:13 +0000 (UTC)	[thread overview]
Message-ID: <1671865214.04f95cd97f80fbc3e8a69480662b4a2d5e07e9de.sam@gentoo> (raw)

commit:     04f95cd97f80fbc3e8a69480662b4a2d5e07e9de
Author:     Anton Fischl <github <AT> fischl-online <DOT> de>
AuthorDate: Tue Dec 13 08:08:49 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 07:00:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04f95cd9

app-backup/burp: bump 3.1.4

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

 app-backup/burp/Manifest          |   1 +
 app-backup/burp/burp-3.1.4.ebuild | 115 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 116 insertions(+)

diff --git a/app-backup/burp/Manifest b/app-backup/burp/Manifest
index f9f24666294c..5a59f512d0dc 100644
--- a/app-backup/burp/Manifest
+++ b/app-backup/burp/Manifest
@@ -1,2 +1,3 @@
 DIST burp-2.4.0.tar.gz 624032 BLAKE2B 4a1ff48236dc631dd6d545480a33af3cdf8020c3088f1ca09ab66ac5cec8128d262b9b991bf9e3229c80f75a4746d338073a0a43fdb67a2fe21a0fd4f243469d SHA512 ea81a12e54c6d88b702dd09dc4fa5a724d1e322bdfba2643c9312a9077c9edc63f6ca0f6cb3a6ebecb6ad9feb1cc26c114277b2308d9903f4abb0442a9be7c19
 DIST burp-3.1.2.tar.gz 549260 BLAKE2B a8767d9ac2188e7a44fa2e8e4ba08dd3a5edeac268afcf196db5cae06e8bcc1faae1a48ba1873ef43fdbb9764946384233a755779e09984217b4334781529024 SHA512 a832502f617b66b87feeff032002bc25827809a165e3fb6ef85a9f3d847e308e9fa69f138b7e80662366fa3de09b39f7ef209b529d82c3d487dca11fe3ebcddf
+DIST burp-3.1.4.tar.gz 549879 BLAKE2B bf70051a658700fab60182b97b7ce8540fbd85ad1264ee09c9fa5b5a99046f391b91cd8673097ef869c6b762aea6d8fecdedb38425dca9e6bcbb1f2c2afa96fb SHA512 3aa9fb1512f985fa99e7cb9a45502bbdbf513935e0c62fa4327f0e6cb68d3840f59bfe1b38a7c2419b3e69bc04aef36c223313897c2e45e94f3be3f9d41714db

diff --git a/app-backup/burp/burp-3.1.4.ebuild b/app-backup/burp/burp-3.1.4.ebuild
new file mode 100644
index 000000000000..1efa9828e50c
--- /dev/null
+++ b/app-backup/burp/burp-3.1.4.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools 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
+	sys-libs/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=">=sys-devel/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() {
+	local myeconfargs=(
+		--localstatedir=/var
+		--sysconfdir=/etc/burp
+		--enable-largefile
+		--runstatedir=/run
+		"$(use_enable acl)"
+		"$(use_enable xattr)"
+	)
+	econf "${myeconfargs[@]}"
+}
+
+src_test() {
+	# See https://github.com/grke/burp/issues/869
+	local -x CK_DEFAULT_TIMEOUT=10
+	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
+
+	# According to PMS this can be a space-separated list of version
+	# numbers, even though in practice it is typically just one.
+	local oldver
+	for oldver in ${REPLACING_VERSIONS}; do
+		if [[ $(ver_cut 1 "${oldver}") -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!"
+			break
+		fi
+	done
+}


             reply	other threads:[~2022-12-24  7:03 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-24  7:03 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-11-22 17:44 [gentoo-commits] repo/gentoo:master commit in: app-backup/burp/ Sam James
2023-05-07  7:22 Joonas Niilola
2023-04-19  1:07 Sam James
2023-04-19  1:07 Sam James
2022-12-24 18:19 Arthur Zamarin
2022-12-24 18:05 Arthur Zamarin
2022-12-03  8:10 Sam James
2022-12-03  8:10 Sam James
2022-10-24  7:27 Joonas Niilola
2022-10-24  7:27 Joonas Niilola
2022-02-23  4:05 Sam James
2022-02-18  7:40 Agostino Sarubbo
2022-02-18  7:39 Agostino Sarubbo
2022-01-25  8:50 Jakov Smolić
2022-01-25  8:50 Jakov Smolić
2022-01-15  9:31 Joonas Niilola
2022-01-15  9:31 Joonas Niilola
2022-01-15  9:31 Joonas Niilola
2021-04-30 17:32 Mikle Kolyada
2020-11-11 12:47 Marek Szuba
2020-11-10 17:53 Marek Szuba
2020-11-09 12:19 Marek Szuba
2020-11-05 13:00 Marek Szuba
2020-09-07 12:07 Marek Szuba
2020-09-05 19:44 Marek Szuba
2020-08-24 17:19 Marek Szuba
2020-07-25 10:31 Marek Szuba
2020-07-25 10:31 Marek Szuba
2020-03-20  9:04 Agostino Sarubbo
2020-03-20  8:59 Agostino Sarubbo
2019-10-08 14:57 Marek Szuba
2019-10-08 14:57 Marek Szuba
2019-07-30 10:11 Sven Wegener
2019-07-05 10:13 Agostino Sarubbo
2019-07-04 12:33 Agostino Sarubbo
2019-07-01 11:24 Marek Szuba
2019-03-28  9:40 Marek Szuba
2019-03-27 23:44 Thomas Deutschmann
2019-03-27 20:04 Agostino Sarubbo
2019-03-25 14:16 Marek Szuba
2019-03-25 14:16 Marek Szuba
2018-06-12  9:19 Marek Szuba
2018-05-27 14:14 Thomas Deutschmann
2018-05-25 10:21 Marek Szuba
2018-05-18 14:44 Agostino Sarubbo
2018-04-18 13:22 Marek Szuba
2018-02-15 16:31 Marek Szuba
2018-01-05 11:09 Marek Szuba
2017-12-21 14:52 Marek Szuba
2017-11-17  9:16 Marek Szuba
2017-10-11 20:52 Marek Szuba
2017-07-10 12:20 Marek Szuba
2017-07-10 12:20 Marek Szuba
2017-06-14 19:48 Markus Meier
2017-06-14 19:48 Markus Meier
2017-06-06  9:18 Marek Szuba
2017-06-06  9:18 Marek Szuba
2017-06-01  9:13 Agostino Sarubbo
2017-05-31 13:46 Marek Szuba
2017-05-31 13:46 Marek Szuba
2017-05-31  7:34 Marek Szuba
2017-04-27 14:02 Marek Szuba
2017-04-03 11:41 Marek Szuba
2016-09-26 20:35 Amadeusz Piotr Żołnowski
2016-07-10 19:47 Amadeusz Piotr Żołnowski
2016-07-02 21:38 Amadeusz Piotr Żołnowski
2016-07-02 21:32 Amadeusz Piotr Żołnowski
2016-07-02 21:32 Amadeusz Piotr Żołnowski
2016-06-17 21:16 Amadeusz Piotr Żołnowski
2016-03-22  0:27 Anthony G. Basile
2016-01-20 20:53 Amadeusz Piotr Żołnowski
2016-01-18 17:08 Agostino Sarubbo
2016-01-18 17:06 Agostino Sarubbo
2016-01-17 16:48 Amadeusz Piotr Żołnowski
2016-01-17 14:50 Amadeusz Piotr Żołnowski
2015-09-25 14:43 Agostino Sarubbo
2015-09-24 13:19 Agostino Sarubbo
2015-08-30 16:47 Amadeusz Żołnowski
2015-08-18  8:43 Amadeusz Żołnowski
2015-08-17 21:48 Amadeusz Żołnowski
2015-08-16 23:53 Amadeusz Żołnowski
2015-08-16 23:53 Amadeusz Żołnowski
2015-08-16 23:53 Amadeusz Żołnowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1671865214.04f95cd97f80fbc3e8a69480662b4a2d5e07e9de.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox