diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-16 20:27:28 +0000 |
commit | 2fd57282f0262ca084e05b0f2c63fbada395d02b (patch) | |
tree | 4e0f23cea9ce9fd972e70ebc5214bf36fed465cc /app-backup/burp | |
parent | c3bc61051d7f12b4c682efa7a5460bbc8815649e (diff) |
gentoo resync : 16.01.2021
Diffstat (limited to 'app-backup/burp')
-rw-r--r-- | app-backup/burp/Manifest | 4 | ||||
-rw-r--r-- | app-backup/burp/burp-2.4.0.ebuild | 116 | ||||
-rw-r--r-- | app-backup/burp/metadata.xml | 9 |
3 files changed, 127 insertions, 2 deletions
diff --git a/app-backup/burp/Manifest b/app-backup/burp/Manifest index d8bb715dcfb9..f07a43cb9365 100644 --- a/app-backup/burp/Manifest +++ b/app-backup/burp/Manifest @@ -5,6 +5,8 @@ AUX burp.initd 1083 BLAKE2B ae26457422dcb3b80400b78faf930e0df86b9873ffc8665281ef AUX burp.service 193 BLAKE2B fa9a00f32999834afaf84db9d28f2e8b65688e784e32f78bc019069649c50b4c17f1cc48db3b0a62e2e269db801182321e5daccc169eaa560677bd3ff52b5ffe SHA512 5ccb7fc0535d15afca1afe21b3bb937f53203b8a893730a2745e88a5effb1add73c0f109c3419e22244def1bf978378889d47953e68586a7da8909286ccf5dcd DIST burp-2.2.18.tar.gz 632805 BLAKE2B 6106aa4bd96db035ad5893c2fe314537e620a67519295fdf99efaf2c5a639bedd15b4c8d95caa3daa3072dfac28a1ba7fd7bb4f949d9ea2b70bd13060a22f2c6 SHA512 beb14c61ace6d61b98a10fc4e6709eec9722e28990de862eef6a75984f9fbd0f903c5fe64d20ed84c95528a9889bc22618ba6d2318318cf5d515b35688db0a4d DIST burp-2.3.36.tar.gz 619564 BLAKE2B 8f30fb8808c8a3167467ef0bcdc84cd7c2e885ee6a8aa285d96f9187aeb33eacb90fefe382ddb74bbabcfefde6faa9ac6125e3bf4a6eb9778b650e74e812991d SHA512 48b852aca8ccf0abd696b9434cb83c0447845192096d0f3f0c032c328dcc20314faf68db94fa14da72692327432b78eb3680e83b1e892dd30c9aa2f340838ee3 +DIST burp-2.4.0.tar.gz 624032 BLAKE2B 4a1ff48236dc631dd6d545480a33af3cdf8020c3088f1ca09ab66ac5cec8128d262b9b991bf9e3229c80f75a4746d338073a0a43fdb67a2fe21a0fd4f243469d SHA512 ea81a12e54c6d88b702dd09dc4fa5a724d1e322bdfba2643c9312a9077c9edc63f6ca0f6cb3a6ebecb6ad9feb1cc26c114277b2308d9903f4abb0442a9be7c19 EBUILD burp-2.2.18-r2.ebuild 2802 BLAKE2B 5836cb858ddefee698aa1781b30c0e2102cdff4acb1d8f1d53cec0afb4183085c4435ce0b0a4fe74cbeb348d9c8430580207b479da6a7bd3bb67ef4a91ac5499 SHA512 b7015a72e38382af5308eb5b3e666b52c5c34a9965178dc728e7163a1e77bdbcc7a00dd0801c14b2a48087b72fff3f770149801b8ae8ae9fadbe8eb3ce17ca71 EBUILD burp-2.3.36-r1.ebuild 3175 BLAKE2B a5688984d46f9e3e26330c531ed88fe870fc799ad5c37abf2d28d49c3bc64eb827ed47ca335e94e28b3169e82352b347f5b13b0c736c9a17d2e6baa9d3229ddf SHA512 7bac5fe7037833ef67c769363471b2a0d892919c6dcbd5cf968c5f7c75d4f8b2166baeef4df7f8d0aac391e89009007065d5ecbd27bf663a4d5b713299d944f8 -MISC metadata.xml 607 BLAKE2B 49fb7f1b71924c16b7987b425ecba143c321b634eb0751811449391cef2885246abffc984be0ce8c5cf48735b3a7ac6c2554d71ba1b0bf82f9d3564ad060152e SHA512 cc0441a6620c799323e221ba351551a25b82f30d64825e2d9722563461a76b98a9c1dad2699e8961d6c5277d6abe2d91d983bb47c14ab0f78a97d0befe1f97e2 +EBUILD burp-2.4.0.ebuild 2926 BLAKE2B eb2406bd0b45cdc0d4d9fc4a697f1aed432e45a66ba44712d917e0690105e9695deeb9b1d543724b7397372e06cb7f36cfe480c937e0afa56659fa07f5a6c6aa SHA512 66963b2dfb784dc664097d7f5581860fa1da1ddbe8c2a26162b8123926ae3e977e4ff794feb939885ef7aef18073deff0e69b226988dce9e3dd7e3a5e6093705 +MISC metadata.xml 824 BLAKE2B 144475d686773901cee9f3926e843a2d9b3cab8a9db0c2b6d590b389dde0dda059bb06abb74e015d19a1f1ed60c4a2c7a11c06bf35e93bf1be8cb2a702447558 SHA512 1cc41b5f4c4d31355824a595f778702b79bec6a45b398e503834d55408bdbbf708bafc7c364f5fc038e31eef26baf4adcd8cd922ac18f6a41b5be446eb9ebf0c diff --git a/app-backup/burp/burp-2.4.0.ebuild b/app-backup/burp/burp-2.4.0.ebuild new file mode 100644 index 000000000000..7b41744c57b6 --- /dev/null +++ b/app-backup/burp/burp-2.4.0.ebuild @@ -0,0 +1,116 @@ +# 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 ipv6 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} + 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.1.20-protocol1_by_default.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 ipv6) + $(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 +} diff --git a/app-backup/burp/metadata.xml b/app-backup/burp/metadata.xml index f623199eda8b..86199d94118a 100644 --- a/app-backup/burp/metadata.xml +++ b/app-backup/burp/metadata.xml @@ -1,7 +1,14 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> + <maintainer type="person"> + <email>github@fischl-online.de</email> + <name>Anton Fischl</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> <longdescription lang="en"> Burp is a network backup and restore program. It uses librsync in order to save network traffic and to save on the amount of space that is used |