Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/burp/
Date: Wed, 31 May 2017 13:46:13
Message-Id: 1496238357.4128d28383432ea825a1eb297f95ffb3463f2448.marecki@gentoo
1 commit: 4128d28383432ea825a1eb297f95ffb3463f2448
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 31 13:09:38 2017 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Wed May 31 13:45:57 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4128d283
7
8 app-backup/burp: remove old unstable revision
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.1
11
12 app-backup/burp/burp-1.4.40-r6.ebuild | 115 ----------------------------------
13 1 file changed, 115 deletions(-)
14
15 diff --git a/app-backup/burp/burp-1.4.40-r6.ebuild b/app-backup/burp/burp-1.4.40-r6.ebuild
16 deleted file mode 100644
17 index d658d876bac..00000000000
18 --- a/app-backup/burp/burp-1.4.40-r6.ebuild
19 +++ /dev/null
20 @@ -1,115 +0,0 @@
21 -# Copyright 1999-2016 Gentoo Foundation
22 -# Distributed under the terms of the GNU General Public License v2
23 -
24 -EAPI=5
25 -
26 -inherit autotools eutils user
27 -
28 -DESCRIPTION="Network backup and restore client and server for Unix and Windows"
29 -HOMEPAGE="http://burp.grke.org/"
30 -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2
31 - http://burp.grke.org/downloads/${P}/${P}.tar.bz2"
32 -
33 -LICENSE="AGPL-3"
34 -SLOT="0"
35 -KEYWORDS="~amd64 ~x86"
36 -IUSE="acl afs ipv6 libressl nls tcpd xattr"
37 -
38 -DEPEND="
39 - !libressl? ( dev-libs/openssl:0= )
40 - libressl? ( dev-libs/libressl:0= )
41 - dev-libs/uthash
42 - sys-libs/libcap
43 - >net-libs/librsync-2.0.0:0=
44 - sys-libs/ncurses:0=
45 - sys-libs/zlib
46 - acl? ( sys-apps/acl )
47 - afs? ( net-fs/openafs )
48 - nls? ( sys-devel/gettext )
49 - tcpd? ( sys-apps/tcp-wrappers )
50 - xattr? ( sys-apps/attr )
51 - "
52 -RDEPEND="${DEPEND}
53 - virtual/logger
54 - "
55 -
56 -DOCS=( CONTRIBUTORS DONATIONS UPGRADING )
57 -PATCHES=(
58 - "${FILESDIR}/${PV}-non-zero-or-build-failure.patch"
59 - "${FILESDIR}/${PV}-bedup-conf-path.patch"
60 - "${FILESDIR}/${PV}-tinfo.patch"
61 - )
62 -
63 -pkg_setup() {
64 - enewgroup "${PN}"
65 - enewuser "${PN}" -1 "" "" "${PN}"
66 -}
67 -
68 -src_prepare() {
69 - epatch "${PATCHES[@]}"
70 - eautoreconf
71 - sed -e '/autoupgrade/d' -i "${S}"/Makefile.in || die
72 - rm "${S}"/docs/autoupgrade.txt || die
73 -}
74 -
75 -src_configure() {
76 - local myeconfargs=(
77 - --sbindir=/usr/sbin
78 - --sysconfdir=/etc/burp
79 - --enable-largefile
80 - $(use_enable acl)
81 - $(use_enable afs)
82 - $(use_enable ipv6)
83 - $(use_enable nls)
84 - $(use_enable xattr)
85 - $(use_with tcpd tcp-wrappers)
86 - )
87 - econf "${myeconfargs[@]}"
88 -}
89 -
90 -src_install() {
91 - default
92 -
93 - fowners root:burp /etc/burp
94 - fperms 0775 /etc/burp
95 - fowners root:burp /etc/burp/burp-server.conf
96 - fperms 0640 /etc/burp/burp-server.conf
97 - fowners root:burp /etc/burp/clientconfdir
98 - fperms 0750 /etc/burp/clientconfdir
99 - fowners root:burp /var/spool/burp
100 - fperms 0770 /var/spool/burp
101 -
102 - newinitd "${FILESDIR}"/${PN}.initd ${PN}
103 - dodoc docs/*
104 -
105 - local scripts_dir=/usr/share/burp/scripts
106 - dodir "${scripts_dir}"
107 - local script
108 - for script in notify_script ssl_extra_checks_script summary_script \
109 - timer_script; do
110 - mv "${D}etc/burp/${script}" "${D}${scripts_dir}/" || die
111 - sed -r \
112 - -e "s|(=\\s*)/etc/burp/${script}\\s*$|\1${scripts_dir}/${script}|" \
113 - -i "${D}etc/burp/burp-server.conf" \
114 - || die
115 - done
116 -
117 - sed -e '/autoupgrade/d' -i "${D}etc/burp/burp.conf" || die
118 - sed -e '/autoupgrade/,+1d' -i "${D}etc/burp/burp-server.conf" || die
119 -
120 - sed -e 's|^# user=graham|user = burp|' \
121 - -e 's|^# group=nogroup|group = burp|' \
122 - -e 's|^pidfile = .*|lockfile = /run/lock/burp/server.lock|' \
123 - -i "${D}etc/burp/burp-server.conf" || die
124 -}
125 -
126 -pkg_postinst() {
127 - if [[ ! -e /etc/burp/CA/index.txt ]]; then
128 - elog "At first run burp server will generate DH parameters and SSL"
129 - elog "certificates. You should adjust configuration before."
130 - elog "Server configuration is located at"
131 - elog ""
132 - elog " /etc/burp/burp-server.conf"
133 - elog ""
134 - fi
135 -}