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