1 |
commit: 0b0d2f87444f6ee15dbc756b0ce8122d84061707 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Jan 5 11:09:07 2018 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 5 11:09:29 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b0d2f87 |
7 |
|
8 |
app-backup/burp: bump to 2.1.26 |
9 |
|
10 |
Happy 2018! |
11 |
|
12 |
Package-Manager: Portage-2.3.13, Repoman-2.3.3 |
13 |
|
14 |
app-backup/burp/Manifest | 1 + |
15 |
app-backup/burp/burp-2.1.26.ebuild | 109 +++++++++++++++++++++++++++++++++++++ |
16 |
2 files changed, 110 insertions(+) |
17 |
|
18 |
diff --git a/app-backup/burp/Manifest b/app-backup/burp/Manifest |
19 |
index 5118ac92b56..a6d88e459f8 100644 |
20 |
--- a/app-backup/burp/Manifest |
21 |
+++ b/app-backup/burp/Manifest |
22 |
@@ -1,3 +1,4 @@ |
23 |
DIST burp-2.0.54.tar.gz 558845 BLAKE2B f6a868b09ad73e3b8aa171993849c8fec43c141d14a64ba7919ad73890905647741688d2f0c0b01ef2a584474ecd1464423b07279160d86c7f37d1bf37a384a7 SHA512 dccc4d3679dd759028cd6b71d09ae4e49a511e5d94b4df2f112ad974abb507bbc8fffaf63ef85c847b0f9363b20a9e817179ab556c5a788acacb7a25e7600fa4 |
24 |
DIST burp-2.1.22.tar.gz 582938 BLAKE2B dbc0b7612e9cda2186d16426ec1a39559af965fcbc393259e5d4d1f376c666e8532f25dbe51d2ec816fc2e630f81b059c77aee572c562bf47f466f4114e875fd SHA512 028b48c585cdc607eb00af5f60e01541a54885b8084e0353d01b1e01744848967011cd330a443ae143884852c2dbc18fb25f364ce129a31ccbcf0f8d25ccb730 |
25 |
DIST burp-2.1.24.tar.gz 586055 BLAKE2B 6186e791e8b0cea74ecfbd4a85624f2492bd2721e705d8f5fb6783eb03390c7c10d88e4e4e33095aff985c70e6da59b3bb3b0f652cc850f443dabef23517c05f SHA512 b23f5e33510493e08b9b6eda405a017c8f75811fa18c9bcb6f96fbf716a79934e6c714f1258c39a81dcc52ef1a88e3629a0862bbd2462fbdc30cc7fb1b117ba6 |
26 |
+DIST burp-2.1.26.tar.gz 588548 BLAKE2B f17d03cd79972d1a6bee3163092cd8957208024ca121113493c942cf268e53ab4dadfe05b74c5653a42088f1fb5e4e16b11632c602f2f1f09ecf1010ef43050c SHA512 abfd6866413b4bd9e382fde4cd1f2a51b41a306605dc1fce309011c4340c6e58900839878ade4e53e2d70077ea8ea92eac3ee727783e6a316efaa7b0e75e116f |
27 |
|
28 |
diff --git a/app-backup/burp/burp-2.1.26.ebuild b/app-backup/burp/burp-2.1.26.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..0b3678fbd2a |
31 |
--- /dev/null |
32 |
+++ b/app-backup/burp/burp-2.1.26.ebuild |
33 |
@@ -0,0 +1,109 @@ |
34 |
+# Copyright 1999-2018 Gentoo Foundation |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=6 |
38 |
+ |
39 |
+inherit autotools systemd user versionator |
40 |
+ |
41 |
+DESCRIPTION="Network backup and restore client and server for Unix and Windows" |
42 |
+HOMEPAGE="http://burp.grke.org/" |
43 |
+SRC_URI="https://github.com/grke/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="AGPL-3" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~arm ~x86" |
48 |
+IUSE="acl ipv6 libressl test xattr" |
49 |
+ |
50 |
+CDEPEND="dev-libs/uthash |
51 |
+ net-libs/librsync |
52 |
+ sys-libs/ncurses:0= |
53 |
+ sys-libs/zlib |
54 |
+ !libressl? ( dev-libs/openssl:0= ) |
55 |
+ libressl? ( dev-libs/libressl:0= ) |
56 |
+ acl? ( sys-apps/acl ) |
57 |
+ xattr? ( sys-apps/attr )" |
58 |
+DEPEND="${CDEPEND} |
59 |
+ virtual/pkgconfig |
60 |
+ test? ( dev-libs/check )" |
61 |
+RDEPEND="${CDEPEND} |
62 |
+ virtual/logger" |
63 |
+ |
64 |
+PATCHES=( |
65 |
+ "${FILESDIR}"/${PN}-2.1.20-no_mkdir_run.patch |
66 |
+ "${FILESDIR}"/${PN}-2.1.20-protocol1_by_default.patch |
67 |
+ "${FILESDIR}"/${PN}-2.0.54-server_user.patch |
68 |
+) |
69 |
+ |
70 |
+pkg_setup() { |
71 |
+ enewgroup "${PN}" |
72 |
+ enewuser "${PN}" -1 "" "" "${PN}" |
73 |
+} |
74 |
+ |
75 |
+src_prepare() { |
76 |
+ default |
77 |
+ |
78 |
+ eautoreconf |
79 |
+} |
80 |
+ |
81 |
+src_configure() { |
82 |
+ local myeconfargs=( |
83 |
+ --localstatedir=/var |
84 |
+ --sysconfdir=/etc/burp |
85 |
+ --enable-largefile |
86 |
+ $(use_enable acl) |
87 |
+ $(use_enable ipv6) |
88 |
+ $(use_enable xattr) |
89 |
+ ) |
90 |
+ # --runstatedir option will only work from autoconf-2.70 onwards |
91 |
+ runstatedir='/run' \ |
92 |
+ econf "${myeconfargs[@]}" |
93 |
+} |
94 |
+ |
95 |
+src_install() { |
96 |
+ default |
97 |
+ fowners -R root:${PN} /var/spool/burp |
98 |
+ fperms 0770 /var/spool/burp |
99 |
+ |
100 |
+ emake DESTDIR="${D}" install-configs |
101 |
+ fowners -R root:${PN} /etc/burp |
102 |
+ fperms 0750 /etc/burp |
103 |
+ fperms 0640 /etc/burp/burp-server.conf |
104 |
+ fperms 0750 /etc/burp/clientconfdir |
105 |
+ |
106 |
+ newinitd "${FILESDIR}"/${PN}.initd ${PN} |
107 |
+ systemd_dounit "${FILESDIR}"/${PN}.service |
108 |
+} |
109 |
+ |
110 |
+pkg_postinst() { |
111 |
+ elog "Burp ebuilds now support the autoupgrade mechanism in both" |
112 |
+ elog "client and server mode. In both cases it is disabled by" |
113 |
+ elog "default. You almost certainly do NOT want to enable it in" |
114 |
+ elog "client mode because upgrades obtained this way will not be" |
115 |
+ elog "managed by Portage." |
116 |
+ |
117 |
+ if [[ ! -e /etc/burp/CA/index.txt ]]; then |
118 |
+ elog "" |
119 |
+ elog "At first run burp server will generate DH parameters and SSL" |
120 |
+ elog "certificates. You should adjust configuration before." |
121 |
+ elog "Server configuration is located at" |
122 |
+ elog "" |
123 |
+ elog " /etc/burp/burp-server.conf" |
124 |
+ elog "" |
125 |
+ fi |
126 |
+ |
127 |
+ # According to PMS this can be a space-separated list of version |
128 |
+ # numbers, even though in practice it is typically just one. |
129 |
+ local oldver |
130 |
+ for oldver in ${REPLACING_VERSIONS}; do |
131 |
+ if [[ $(get_major_version ${oldver}) -lt 2 ]]; then |
132 |
+ ewarn "Starting with version 2.0.54 we no longer patch bedup to use" |
133 |
+ ewarn "the server config file by default. If you use bedup, please" |
134 |
+ ewarn "update your scripts to invoke it as" |
135 |
+ ewarn "" |
136 |
+ ewarn " bedup -c /etc/burp/burp-server.conf" |
137 |
+ ewarn "" |
138 |
+ ewarn "Otherwise deduplication will not work!" |
139 |
+ break |
140 |
+ fi |
141 |
+ done |
142 |
+} |