public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/burp/
Date: Fri, 17 Nov 2017 09:16:16 +0000 (UTC)	[thread overview]
Message-ID: <1510910144.731c625f39998c99403b4fcb01681106c05ee072.marecki@gentoo> (raw)

commit:     731c625f39998c99403b4fcb01681106c05ee072
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 17 09:10:13 2017 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Fri Nov 17 09:15:44 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=731c625f

app-backup/burp: bump to 2.1.22

Note that this ebuild fails the test phase when linked against
<net-libs/librsync-2.0.1. Upstream has been notified and already
fixed the problem in the master branch, meanwhile however just let it
slide - it only occurs if you combine an unstable version of burp with a
stable version of librsync.

Package-Manager: Portage-2.3.13, Repoman-2.3.3

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

diff --git a/app-backup/burp/Manifest b/app-backup/burp/Manifest
index f823ce4343e..d8b094df5f7 100644
--- a/app-backup/burp/Manifest
+++ b/app-backup/burp/Manifest
@@ -1,3 +1,4 @@
 DIST burp-1.4.40.tar.bz2 712937 SHA256 4108eb45e14740de990d918a2adbb661d88f90de48d6e2e3a6b54fd12b16fa5e SHA512 b44ba3a63d3b75f6fee55bbfef70ac07fa87e78ddb22a398e31a86670dfa3f2db1c9dbc58de3d0038cdc409bd5ae52c8e901cb26975fd7dbe0f773c4841af10c WHIRLPOOL 636120b3fa2d4a3217567177f3c8abbdeb562d298043fd6bd685842287964d835f2a369e36db0bc32ce908ce8f96e4e2677569e6ca4bac80f8d9958a2364a62d
 DIST burp-2.0.54.tar.gz 558845 SHA256 26130da9791c57b1e194973ef1ea292dec57468bf4291a4d0eae880d192c1fd1 SHA512 dccc4d3679dd759028cd6b71d09ae4e49a511e5d94b4df2f112ad974abb507bbc8fffaf63ef85c847b0f9363b20a9e817179ab556c5a788acacb7a25e7600fa4 WHIRLPOOL 60e9bec56c08bc7ebc4700824eab34cf8cefdc5871140471eec5e05dbff4f4b83c2f7c6d5554d33dbb918f46e2c60159ba99a5da599938acd40b9d5b7b582978
 DIST burp-2.1.20.tar.gz 579488 SHA256 225f8ac0ad80ef4fa19c77c2d397d6829086a29dd8ab3d762820b9862d8b8f5c SHA512 5937187e0c93e21b4e3f4ab92f05589f8da56c774cf86644f095a0bff93c127911b2d513c04e380188956c2a97fb01ce471bb746d630baa5d30e6a70b53a0389 WHIRLPOOL b1253df69e20c9448249e14c898cdabc40ba5cbe5e5da5e20c8c4d7e161bf498b9f8a7ead80175d1bf00ad4b0bc893436abde27e37b61b1fad1792de04f16e99
+DIST burp-2.1.22.tar.gz 582938 SHA256 052eaa3d30392e00ec63d30587d4748d468ebb78f40f6c9612355e93f8add093 SHA512 028b48c585cdc607eb00af5f60e01541a54885b8084e0353d01b1e01744848967011cd330a443ae143884852c2dbc18fb25f364ce129a31ccbcf0f8d25ccb730 WHIRLPOOL 0cb271fc384fbb407e8cfb69c8baa1bbf42f5d2539a14c6db1787fafec9ecb8c72f8b8013093176c868fab98c32e99cd8b6a6c259dc71244f13fb6d9638107e1

diff --git a/app-backup/burp/burp-2.1.22.ebuild b/app-backup/burp/burp-2.1.22.ebuild
new file mode 100644
index 00000000000..ca210f89c0f
--- /dev/null
+++ b/app-backup/burp/burp-2.1.22.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools systemd tmpfiles user versionator
+
+DESCRIPTION="Network backup and restore client and server for Unix and Windows"
+HOMEPAGE="http://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 ipv6 libressl test xattr"
+
+CDEPEND="dev-libs/uthash
+	net-libs/librsync
+	sys-libs/ncurses:0=
+	sys-libs/zlib
+	!libressl? ( dev-libs/openssl:0= )
+	libressl? ( dev-libs/libressl:0= )
+	acl? ( sys-apps/acl )
+	xattr? ( sys-apps/attr )"
+DEPEND="${CDEPEND}
+	virtual/pkgconfig
+	test? ( dev-libs/check )"
+RDEPEND="${CDEPEND}
+	virtual/logger"
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-2.1.20-no_mkdir_run.patch
+	"${FILESDIR}"/${PN}-2.1.20-protocol1_by_default.patch
+	"${FILESDIR}"/${PN}-2.0.54-server_user.patch
+)
+
+pkg_setup() {
+	enewgroup "${PN}"
+	enewuser "${PN}" -1 "" "" "${PN}"
+}
+
+src_prepare() {
+	default
+
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		--localstatedir=/var
+		--sysconfdir=/etc/burp
+		--enable-largefile
+		$(use_enable acl)
+		$(use_enable ipv6)
+		$(use_enable xattr)
+	)
+	# --runstatedir option will only work from autoconf-2.70 onwards
+	runstatedir='/run/burp' \
+		econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+	fowners -R root:${PN} /var/spool/burp
+	fperms 0770 /var/spool/burp
+
+	emake DESTDIR="${D}" install-configs
+	fowners -R root:${PN} /etc/burp
+	fperms 0775 /etc/burp
+	fperms 0640 /etc/burp/burp-server.conf
+	fperms 0750 /etc/burp/clientconfdir
+
+	newinitd "${FILESDIR}"/${PN}2.initd ${PN}
+	systemd_dounit "${FILESDIR}"/${PN}.service
+
+	newtmpfiles "${FILESDIR}"/${PN}.tmpfiles ${PN}.conf
+}
+
+pkg_postinst() {
+	tmpfiles_process ${PN}.conf
+
+	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 /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 "  /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 [[ $(get_major_version ${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 /etc/burp/burp-server.conf"
+			ewarn ""
+			ewarn "Otherwise deduplication will not work!"
+			break
+		fi
+	done
+}


             reply	other threads:[~2017-11-17  9:16 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-17  9:16 Marek Szuba [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-24  7:03 Sam James
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-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=1510910144.731c625f39998c99403b4fcb01681106c05ee072.marecki@gentoo \
    --to=marecki@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