summaryrefslogtreecommitdiff
path: root/app-backup/burp
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-02-17 20:03:52 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-02-17 20:03:52 +0000
commit4935506e9a5cbfabd37c64093eac5f36c2ff0017 (patch)
treeaf9dd93ea349eacaf28286c7c45c7a083b0b7c31 /app-backup/burp
parent434d713861b70f6c6563d6ee50a8e64f14c970d9 (diff)
gentoo resync : 17.02.2018
Diffstat (limited to 'app-backup/burp')
-rw-r--r--app-backup/burp/Manifest2
-rw-r--r--app-backup/burp/burp-2.1.28.ebuild109
2 files changed, 111 insertions, 0 deletions
diff --git a/app-backup/burp/Manifest b/app-backup/burp/Manifest
index 08fa28653fe1..eef10c33b36b 100644
--- a/app-backup/burp/Manifest
+++ b/app-backup/burp/Manifest
@@ -13,10 +13,12 @@ DIST burp-2.0.54.tar.gz 558845 BLAKE2B f6a868b09ad73e3b8aa171993849c8fec43c141d1
DIST burp-2.1.22.tar.gz 582938 BLAKE2B dbc0b7612e9cda2186d16426ec1a39559af965fcbc393259e5d4d1f376c666e8532f25dbe51d2ec816fc2e630f81b059c77aee572c562bf47f466f4114e875fd SHA512 028b48c585cdc607eb00af5f60e01541a54885b8084e0353d01b1e01744848967011cd330a443ae143884852c2dbc18fb25f364ce129a31ccbcf0f8d25ccb730
DIST burp-2.1.24.tar.gz 586055 BLAKE2B 6186e791e8b0cea74ecfbd4a85624f2492bd2721e705d8f5fb6783eb03390c7c10d88e4e4e33095aff985c70e6da59b3bb3b0f652cc850f443dabef23517c05f SHA512 b23f5e33510493e08b9b6eda405a017c8f75811fa18c9bcb6f96fbf716a79934e6c714f1258c39a81dcc52ef1a88e3629a0862bbd2462fbdc30cc7fb1b117ba6
DIST burp-2.1.26.tar.gz 588548 BLAKE2B f17d03cd79972d1a6bee3163092cd8957208024ca121113493c942cf268e53ab4dadfe05b74c5653a42088f1fb5e4e16b11632c602f2f1f09ecf1010ef43050c SHA512 abfd6866413b4bd9e382fde4cd1f2a51b41a306605dc1fce309011c4340c6e58900839878ade4e53e2d70077ea8ea92eac3ee727783e6a316efaa7b0e75e116f
+DIST burp-2.1.28.tar.gz 590482 BLAKE2B 933e7b966ea75012b46af828fc50df1dbdafec3d6fef41149dc37d9526dd8819a3f5ffef53b75a5a196781a37e8220b58ba81dbeff8e7f0006617c7d021949b5 SHA512 8784f9dfad58cdcd1f25f669bccefaaf8df95c02ae317d17b6a70e4215e40eb16e8f65bdee3e25e463cc9b58516d2244f72877d4fbd1509938ed9d542d7a62ad
EBUILD burp-2.0.54-r2.ebuild 2997 BLAKE2B f1273b3897c72cab7a54e149e31c4ed9bc1ae3bf3c9c7f5cee706720161846d37622fd5398389e920dbb884b4a5c43f03e1218f6f1e28aca1ec079893833755b SHA512 e46d39437a830437ef6fa32e7406cb32c738514e22fffaee722523df4973b9e90ca8d2d1247b9c70b12e0068fb420016d2cdbe1522ea1d75622471feed0e6f3e
EBUILD burp-2.0.54-r4.ebuild 2958 BLAKE2B e7ebacc80b7c78d92af1a13d069ae4aad495efcd4ed16baa05929c6fa5c6ea39afb2e33b61d1d0856f180bb5c9c839644dd60b00f64b68abe4c29f66243a8987 SHA512 d3f28bf715688bf5fcafc94d5242524ddf22fea6a898f2f71620439e49117dd626889f90d37875996c2f7fbb5521175af5a661a38ac93bf830af10a3f28d1390
EBUILD burp-2.0.54.ebuild 2888 BLAKE2B 8b1082f4461af6be06f44487c3dd2f3a11cf6baeb16fa9ccf7aaf61226b7fbc49ab5fa844beabf8dfc8c619f798a82ec5fe0df2ade5aa5b59de329a0b0f0723a SHA512 25cbf3277f4d8a1ff6f897c06cd3205d9e2acf312cb9117120c3803ef1db97d0b0705b533dfb57b702cfc6ed4d4cfaad76a63d4a594b5853ff54a2b49b4b4be3
EBUILD burp-2.1.22.ebuild 2944 BLAKE2B 4eace50b19e23adb1909efc2cd73846a852cd88c7ec3f03a0208f89b6eede0ecedce060fb3e41b87f899425d916c88952e226007444dec72d4ff2fec9daf2579 SHA512 afb696b8d45e7cd98f8db4a2c647a6c74b20e0ed5fa72010e45c594b56bbe8b340d434352733f50d6d368ad0f3534ccd5f40400021120230474c951263acab71
EBUILD burp-2.1.24-r1.ebuild 2845 BLAKE2B 7ac52194fb89b2eeccfc66e28de8fcff590d92bded3bda76a24c722ef78dd19f15b2aa51f5a15d9b75df1268423a21c9630f61fc0aca826fb1cd190476ffb88c SHA512 2bd8f4f1c7928615b08b16a9cc1bff2fe38b601a7a71ea22487ba064ef4758e67792f99dfcdcc9ce0683d788ad7e9fe0362a32e1e26d1c6c735abb5e74fa0a0d
EBUILD burp-2.1.26.ebuild 2845 BLAKE2B d2e9b2ea57a6cdcd4eba9e1ca385da7d1b8460a1f5d034f4f23c02ad5989e422d5631ec695d3824d98013d023be1e693e6c609e8a106f5b1eab341451e75e7f9 SHA512 ab0056b1475b9af65fc70a134419ab9f1029e393c6c930ecbf4eef18841823b00260164030f63d56c7bb21f42bbf9cd30843a397b3e2ec1b9dee358a24b20cc0
+EBUILD burp-2.1.28.ebuild 2845 BLAKE2B d2e9b2ea57a6cdcd4eba9e1ca385da7d1b8460a1f5d034f4f23c02ad5989e422d5631ec695d3824d98013d023be1e693e6c609e8a106f5b1eab341451e75e7f9 SHA512 ab0056b1475b9af65fc70a134419ab9f1029e393c6c930ecbf4eef18841823b00260164030f63d56c7bb21f42bbf9cd30843a397b3e2ec1b9dee358a24b20cc0
MISC metadata.xml 684 BLAKE2B 3b4511a62d65ec23ef3b1311f57d703154f08e8d82d189a5ea0b555b5d7d686c54365d2992b85c6e5dffa0ee93f7331367925766ea1bfe349446c23d73dba392 SHA512 3752a2b8e2fb49d44d8fe431768ab1b4bc9995099e9bbe4f957677b39ca038a75874bfb0781b1cd1bd4bd79186c0994f2ce5654921a58c9645ffd6dc553f3c9f
diff --git a/app-backup/burp/burp-2.1.28.ebuild b/app-backup/burp/burp-2.1.28.ebuild
new file mode 100644
index 000000000000..0b3678fbd2a0
--- /dev/null
+++ b/app-backup/burp/burp-2.1.28.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools systemd 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' \
+ 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 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 /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
+}