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