Gentoo Archives: gentoo-commits

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