From a5956e0a0daddcad648e0d8d8e5cb3e49e09bda7 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 18 Nov 2017 18:38:22 +0000 Subject: gentoo resync : 18.11.2017 --- app-backup/burp/Manifest | 2 + app-backup/burp/burp-2.1.22.ebuild | 113 +++++++++++++++++++++++++++++++++++++ 2 files changed, 115 insertions(+) create mode 100644 app-backup/burp/burp-2.1.22.ebuild (limited to 'app-backup/burp') diff --git a/app-backup/burp/Manifest b/app-backup/burp/Manifest index 680d9c92ae57..f0fbd044b76f 100644 --- a/app-backup/burp/Manifest +++ b/app-backup/burp/Manifest @@ -14,11 +14,13 @@ AUX burp2.initd 1091 SHA256 ad6b87328cf8fca548684fee1450bc49ac622887fc08df8a5431 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 EBUILD burp-1.4.40-r5.ebuild 2852 SHA256 39d3384f224f3fd54753a859f430772f02b49b61d5fed4e794dbc33282f1f356 SHA512 63210b7bfb11033633f167ee49ff8d4eb6402c9517d12b8e5e000f62d39a7fcfd742b13e41bd3d19fef63fdb508257c0bf16878abd509863f678a9bfc5ec2c4a WHIRLPOOL df4af8ad3360adc823e9aaab782aeeba477034a8911c64af925128c15dd3b97760ea3ead921562ab2d9bfcb275fe313d9e07d159729da962dea89fa22b532532 EBUILD burp-2.0.54-r1.ebuild 2925 SHA256 2e0b49712881710598e049472b530768ba4a7a3f4e841ecf60394fe5592d9f12 SHA512 cbf286ec00a6db919dc1aaa0673cc6ee51fdc6c4605c84727024d155a0c3af239e3c7af0cf51f0aea9b8f2a6955b20aa410fae9f14ff4ce61676fd961beacf7b WHIRLPOOL 397e6374273583cbff81750fead2fcd4eb85ac9db8b25609bd792c2df1bf1177dc444ee631906cb5b30d1a76ad6104839b23d025a7008b9ded0192accb23eeea EBUILD burp-2.0.54-r2.ebuild 2997 SHA256 ef7c8b26cabb932e4d8ec95087e8650f0cacc2ee108460c17461f679d5283896 SHA512 e46d39437a830437ef6fa32e7406cb32c738514e22fffaee722523df4973b9e90ca8d2d1247b9c70b12e0068fb420016d2cdbe1522ea1d75622471feed0e6f3e WHIRLPOOL 9a03fd5899464ddc92736774bfbe02fb0903701cc98caab3426654f714b3402c44ced3f3b54565bc06a56711b788a5efbb084be838ecf68a3cbbf71d17ed4bec EBUILD burp-2.0.54.ebuild 2888 SHA256 aafb707244feb151011a2e21b3d65c9228d5513d5f16d445e18fe1fe5992d6a7 SHA512 25cbf3277f4d8a1ff6f897c06cd3205d9e2acf312cb9117120c3803ef1db97d0b0705b533dfb57b702cfc6ed4d4cfaad76a63d4a594b5853ff54a2b49b4b4be3 WHIRLPOOL e00b54c83700f95a316f1585b752d004e31917ee0d6486178068a5e394a5b2a45b481fdca7ebd929b621a4faf789fbb50f77154823e9c38e033f762cd140d16f EBUILD burp-2.1.20.ebuild 2944 SHA256 c554c7d74b26782757d60ebafef5b0ac5d128e731235ef835475bdb02ffbd022 SHA512 afb696b8d45e7cd98f8db4a2c647a6c74b20e0ed5fa72010e45c594b56bbe8b340d434352733f50d6d368ad0f3534ccd5f40400021120230474c951263acab71 WHIRLPOOL 84f638e6a765ccdd0a570ded82eafa066588cd016c42e42e2dbeed9655f6077735b308ca1889859f62c2f92ef1701fc2c3bea900fe5a65e2f5d6cb3708724f7d +EBUILD burp-2.1.22.ebuild 2944 SHA256 c554c7d74b26782757d60ebafef5b0ac5d128e731235ef835475bdb02ffbd022 SHA512 afb696b8d45e7cd98f8db4a2c647a6c74b20e0ed5fa72010e45c594b56bbe8b340d434352733f50d6d368ad0f3534ccd5f40400021120230474c951263acab71 WHIRLPOOL 84f638e6a765ccdd0a570ded82eafa066588cd016c42e42e2dbeed9655f6077735b308ca1889859f62c2f92ef1701fc2c3bea900fe5a65e2f5d6cb3708724f7d MISC ChangeLog 10104 SHA256 552c019805ee1e4755e4664f42be74855d814c07e2aee1d8fc6e83f5907040bb SHA512 c0b2ec70e96501bd5fee5ae166fe544c2bb0bcc4bf07648c591014c68840c08075f0e00ddd2ae3aecc4fdc821191f4da60bc2762bf4e593937ed427a7b6f9c48 WHIRLPOOL fce81ea70cb8c766ab06269059b4c7686635598af06bcbd673ecc2d99da9153b2d5bb20ac21b10a5bc08768f339bf54935e5b326f42541bdf59c90b010afa36f MISC ChangeLog-2015 2905 SHA256 c565b278d85dabb20721a04664fc3e04e1ea1b76c6877b2fd4e329491dc8a7c7 SHA512 a2fcf2df1fd47bab040ba6d29bb5d0bbe169e5846694765cecade311c0c1f4730638bab9adb09ceeaa2503a7b5320468282958028953b1ff2955baef76a44a77 WHIRLPOOL 46d9603bc20c6c11229d575e5ded0eb057fd0081f6007d4f3339ecf1820e021fbb1f0f12003ba8fb9016befe6f5bcc6dbeb0635b8a7bc41cfa4083301ff2e62a MISC metadata.xml 684 SHA256 b041b5ae55ee9ffb22bcc7f8c0221290720f0f395c7ba63f246e262693544e47 SHA512 3752a2b8e2fb49d44d8fe431768ab1b4bc9995099e9bbe4f957677b39ca038a75874bfb0781b1cd1bd4bd79186c0994f2ce5654921a58c9645ffd6dc553f3c9f WHIRLPOOL 5203e7910fbfe28c9e451f3d8d9e45a2b7ee1f0a21dbf96e40ef485791ecb9a064e41ca240835425251f7be4f686085523a6edf049a042abc505b24f709cce73 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 000000000000..ca210f89c0ff --- /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 +} -- cgit v1.2.3