diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-backup/burp | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-backup/burp')
-rw-r--r-- | app-backup/burp/Manifest | 4 | ||||
-rw-r--r-- | app-backup/burp/burp-1.3.48.ebuild | 96 | ||||
-rw-r--r-- | app-backup/burp/burp-1.3.8.ebuild | 91 | ||||
-rw-r--r-- | app-backup/burp/burp-1.4.26.ebuild | 96 | ||||
-rw-r--r-- | app-backup/burp/burp-1.4.34.ebuild | 95 | ||||
-rw-r--r-- | app-backup/burp/files/1.3.48-bedup-conf-path.patch | 33 | ||||
-rw-r--r-- | app-backup/burp/files/1.3.48-tinfo.patch | 22 | ||||
-rw-r--r-- | app-backup/burp/files/1.3.8-bedup-conf-path.patch | 33 | ||||
-rw-r--r-- | app-backup/burp/files/1.4.26-bedup-conf-path.patch | 33 | ||||
-rw-r--r-- | app-backup/burp/files/1.4.26-tinfo.patch | 22 | ||||
-rw-r--r-- | app-backup/burp/files/1.4.34-bedup-conf-path.patch | 33 | ||||
-rw-r--r-- | app-backup/burp/files/1.4.34-tinfo.patch | 22 | ||||
-rw-r--r-- | app-backup/burp/files/burp.initd | 41 | ||||
-rw-r--r-- | app-backup/burp/metadata.xml | 17 |
14 files changed, 638 insertions, 0 deletions
diff --git a/app-backup/burp/Manifest b/app-backup/burp/Manifest new file mode 100644 index 000000000000..402fa3a901ae --- /dev/null +++ b/app-backup/burp/Manifest @@ -0,0 +1,4 @@ +DIST burp-1.3.48.tar.bz2 683509 SHA256 bb456c208998d2f5806828357934e794cd9675448cb6545473364fd9e6d73509 SHA512 08de252f25ff7aa448dd6768272a9a14622902347445313b570c857b4e690374e92956379d5b388f446a88427fc4924f9c0df83cba390aa15fd040b8e92f1946 WHIRLPOOL ac99abddd74bcc753037841afc78c74c7af23ad550334f0585540f056ce93243b8958cbdc37cae15cb98a02c2884c928dd65ac03820e1ef53ea031128a831a44 +DIST burp-1.3.8.tar.bz2 796082 SHA256 ed1546d97e902d0b3974a32ef3f543b5d9ec0a5448f3caca2373383192169656 SHA512 49f4fa43bcbd2aa54b8cee840dfb2f1b7e396048c609d7303fdef08d13dbaf7b0c7016da39620fc5a15cd9dfb8577f82e8446512887aff1ce1b6ce31e7a60e57 WHIRLPOOL 957cdf4b75ec5a79b7c259786b099cf5c001ebc1684df0a1028dda7ec90a2710c1cfcd4f2a8a2fb349466bc5405672350f01f989a4f6a5302eae4fa466af3056 +DIST burp-1.4.26.tar.bz2 710273 SHA256 04111dd0d41277b6b257d7551333f394a3b6da12ffefc8222ba99777ed9448ff SHA512 d42249ac837a642ad0ca980060053d58685c2a5aa61d790ad67a72828fe632f99346886d29e175f6f533267608e55d784db86d5f0ee946519b937ef2825d4530 WHIRLPOOL f724d0a91d4447c5a2ce7920662078a845ae300966bc9425632f80f81cfd19b223c8f0c108c7e6e636a4503837b7202b643bc3c933d3e894d3a0f7a0358d4458 +DIST burp-1.4.34.tar.bz2 712409 SHA256 547d84a03d84a5ece0562b75f785180846c8f0525c212f66316650187c9cbad2 SHA512 c65d7fab80d24fbf73c5bed1381709ad00c43372e26cebffb2847be57f3c32ec5e6ab060707766a06689a9ab7b490ce10acc93b4c229b336d1791b9dd82e025d WHIRLPOOL fa15dbdae7efd7c9736f40f06555b83b4a4b6cb932ce205eccf3e0606276aa0723c083ef0cf6e006d1cbca814265e6280572a17483d5631ac3928e6967cbcc8a diff --git a/app-backup/burp/burp-1.3.48.ebuild b/app-backup/burp/burp-1.3.48.ebuild new file mode 100644 index 000000000000..423b28ce1644 --- /dev/null +++ b/app-backup/burp/burp-1.3.48.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils user + +DESCRIPTION="Network backup and restore client and server for Unix and Windows" +HOMEPAGE="http://burp.grke.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="acl afs ipv6 nls ssl tcpd xattr" + +DEPEND=" + dev-libs/uthash + sys-libs/libcap + net-libs/librsync + sys-libs/ncurses + sys-libs/zlib + acl? ( sys-apps/acl ) + afs? ( net-fs/openafs ) + nls? ( sys-devel/gettext ) + ssl? ( dev-libs/openssl:0 ) + tcpd? ( sys-apps/tcp-wrappers ) + xattr? ( sys-apps/attr ) + " +RDEPEND="${DEPEND} + virtual/logger + " + +DOCS=( CONTRIBUTORS DONATIONS UPGRADING ) +PATCHES=( + "${FILESDIR}/${PV}-bedup-conf-path.patch" + "${FILESDIR}/${PV}-tinfo.patch" + ) +S="${WORKDIR}/burp" + +pkg_setup() { + enewgroup "${PN}" + enewuser "${PN}" -1 "" "" "${PN}" +} + +src_prepare() { + epatch "${PATCHES[@]}" + eautoreconf +} + +src_configure() { + local myeconfargs=( + --sbindir=/usr/sbin + --sysconfdir=/etc/burp + --enable-largefile + $(use_with ssl openssl) + $(use_enable acl) + $(use_enable afs) + $(use_enable ipv6) + $(use_enable nls) + $(use_enable xattr) + $(use_with tcpd tcp-wrappers) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + fowners root:burp /etc/burp /var/spool/burp + fperms 0775 /etc/burp /var/spool/burp + fowners root:burp /etc/burp/clientconfdir + fperms 0750 /etc/burp/clientconfdir + fowners root:burp /etc/burp/burp-server.conf + fperms 0640 /etc/burp/burp-server.conf + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + dodoc docs/* + + sed -e 's|^# user=graham|user = burp|' \ + -e 's|^# group=nogroup|group = burp|' \ + -e 's|^pidfile = .*|lockfile = /run/lock/burp/server.lock|' \ + -i "${D}"/etc/burp/burp-server.conf || die +} + +pkg_postinst() { + if use ssl && [ ! -e /etc/burp/CA/index.txt ]; then + elog "At first run burp server will generate DH parameters and SSL" + elog "certificates. You should adjust configuration before." + elog "Server configuration is located at" + elog "" + elog " /etc/burp/burp-server.conf" + elog "" + fi +} diff --git a/app-backup/burp/burp-1.3.8.ebuild b/app-backup/burp/burp-1.3.8.ebuild new file mode 100644 index 000000000000..5b49eb747f4a --- /dev/null +++ b/app-backup/burp/burp-1.3.8.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils user + +DESCRIPTION="Network backup and restore client and server for Unix and Windows" +HOMEPAGE="http://burp.grke.org/" +SRC_URI="http://burp.grke.org/downloads/${P}/${P}.tar.bz2" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="acl afs nls ssl tcpd xattr" + +DEPEND=" + dev-libs/uthash + sys-libs/libcap + net-libs/librsync + sys-libs/ncurses + sys-libs/zlib + acl? ( sys-apps/acl ) + afs? ( net-fs/openafs ) + nls? ( sys-devel/gettext ) + ssl? ( dev-libs/openssl:0 ) + tcpd? ( sys-apps/tcp-wrappers ) + xattr? ( sys-apps/attr ) + " +RDEPEND="${DEPEND} + virtual/logger + " + +DOCS=( CONTRIBUTORS DONATIONS UPGRADING ) +PATCHES=( "${FILESDIR}/${PV}-bedup-conf-path.patch" ) +S="${WORKDIR}/burp" + +pkg_setup() { + enewgroup "${PN}" + enewuser "${PN}" -1 "" "" "${PN}" +} + +src_prepare() { + epatch "${PATCHES[@]}" +} + +src_configure() { + local myeconfargs=( + --sbindir=/usr/sbin + --sysconfdir=/etc/burp + --enable-largefile + $(use_with ssl openssl) + $(use_enable acl) + $(use_enable afs) + $(use_enable nls) + $(use_enable xattr) + $(use_with tcpd tcp-wrappers) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + fowners root:burp /etc/burp /var/spool/burp + fperms 0775 /etc/burp /var/spool/burp + fowners root:burp /etc/burp/clientconfdir + fperms 0750 /etc/burp/clientconfdir + fowners root:burp /etc/burp/burp-server.conf + fperms 0640 /etc/burp/burp-server.conf + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + dodoc docs/* + + sed -e 's|^# user=graham|user = burp|' \ + -e 's|^# group=nogroup|group = burp|' \ + -e 's|^pidfile = .*|lockfile = /run/lock/burp/server.lock|' \ + -i "${D}"/etc/burp/burp-server.conf || die +} + +pkg_postinst() { + if use ssl && [ ! -e /etc/burp/CA/index.txt ]; then + elog "At first run burp server will generate DH parameters and SSL" + elog "certificates. You should adjust configuration before." + elog "Server configuration is located at" + elog "" + elog " /etc/burp/burp-server.conf" + elog "" + fi +} diff --git a/app-backup/burp/burp-1.4.26.ebuild b/app-backup/burp/burp-1.4.26.ebuild new file mode 100644 index 000000000000..47b354576f7e --- /dev/null +++ b/app-backup/burp/burp-1.4.26.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils user + +DESCRIPTION="Network backup and restore client and server for Unix and Windows" +HOMEPAGE="http://burp.grke.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="acl afs ipv6 nls ssl tcpd xattr" + +DEPEND=" + dev-libs/uthash + sys-libs/libcap + net-libs/librsync + sys-libs/ncurses + sys-libs/zlib + acl? ( sys-apps/acl ) + afs? ( net-fs/openafs ) + nls? ( sys-devel/gettext ) + ssl? ( dev-libs/openssl:0 ) + tcpd? ( sys-apps/tcp-wrappers ) + xattr? ( sys-apps/attr ) + " +RDEPEND="${DEPEND} + virtual/logger + " + +DOCS=( CONTRIBUTORS DONATIONS UPGRADING ) +PATCHES=( + "${FILESDIR}/${PV}-bedup-conf-path.patch" + "${FILESDIR}/${PV}-tinfo.patch" + ) +S="${WORKDIR}/burp" + +pkg_setup() { + enewgroup "${PN}" + enewuser "${PN}" -1 "" "" "${PN}" +} + +src_prepare() { + epatch "${PATCHES[@]}" + eautoreconf +} + +src_configure() { + local myeconfargs=( + --sbindir=/usr/sbin + --sysconfdir=/etc/burp + --enable-largefile + $(use_with ssl openssl) + $(use_enable acl) + $(use_enable afs) + $(use_enable ipv6) + $(use_enable nls) + $(use_enable xattr) + $(use_with tcpd tcp-wrappers) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + fowners root:burp /etc/burp /var/spool/burp + fperms 0775 /etc/burp /var/spool/burp + fowners root:burp /etc/burp/clientconfdir + fperms 0750 /etc/burp/clientconfdir + fowners root:burp /etc/burp/burp-server.conf + fperms 0640 /etc/burp/burp-server.conf + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + dodoc docs/* + + sed -e 's|^# user=graham|user = burp|' \ + -e 's|^# group=nogroup|group = burp|' \ + -e 's|^pidfile = .*|lockfile = /run/lock/burp/server.lock|' \ + -i "${D}"/etc/burp/burp-server.conf || die +} + +pkg_postinst() { + if use ssl && [ ! -e /etc/burp/CA/index.txt ]; then + elog "At first run burp server will generate DH parameters and SSL" + elog "certificates. You should adjust configuration before." + elog "Server configuration is located at" + elog "" + elog " /etc/burp/burp-server.conf" + elog "" + fi +} diff --git a/app-backup/burp/burp-1.4.34.ebuild b/app-backup/burp/burp-1.4.34.ebuild new file mode 100644 index 000000000000..f43007d138cb --- /dev/null +++ b/app-backup/burp/burp-1.4.34.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit autotools eutils user + +DESCRIPTION="Network backup and restore client and server for Unix and Windows" +HOMEPAGE="http://burp.grke.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="AGPL-3" +SLOT="0" +KEYWORDS="~amd64" +IUSE="acl afs ipv6 nls ssl tcpd xattr" + +DEPEND=" + dev-libs/uthash + sys-libs/libcap + net-libs/librsync + sys-libs/ncurses + sys-libs/zlib + acl? ( sys-apps/acl ) + afs? ( net-fs/openafs ) + nls? ( sys-devel/gettext ) + ssl? ( dev-libs/openssl:0 ) + tcpd? ( sys-apps/tcp-wrappers ) + xattr? ( sys-apps/attr ) + " +RDEPEND="${DEPEND} + virtual/logger + " + +DOCS=( CONTRIBUTORS DONATIONS UPGRADING ) +PATCHES=( + "${FILESDIR}/${PV}-bedup-conf-path.patch" + "${FILESDIR}/${PV}-tinfo.patch" + ) + +pkg_setup() { + enewgroup "${PN}" + enewuser "${PN}" -1 "" "" "${PN}" +} + +src_prepare() { + epatch "${PATCHES[@]}" + eautoreconf +} + +src_configure() { + local myeconfargs=( + --sbindir=/usr/sbin + --sysconfdir=/etc/burp + --enable-largefile + $(use_with ssl openssl) + $(use_enable acl) + $(use_enable afs) + $(use_enable ipv6) + $(use_enable nls) + $(use_enable xattr) + $(use_with tcpd tcp-wrappers) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + + fowners root:burp /etc/burp /var/spool/burp + fperms 0775 /etc/burp /var/spool/burp + fowners root:burp /etc/burp/clientconfdir + fperms 0750 /etc/burp/clientconfdir + fowners root:burp /etc/burp/burp-server.conf + fperms 0640 /etc/burp/burp-server.conf + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + dodoc docs/* + + sed -e 's|^# user=graham|user = burp|' \ + -e 's|^# group=nogroup|group = burp|' \ + -e 's|^pidfile = .*|lockfile = /run/lock/burp/server.lock|' \ + -i "${D}"/etc/burp/burp-server.conf || die +} + +pkg_postinst() { + if use ssl && [ ! -e /etc/burp/CA/index.txt ]; then + elog "At first run burp server will generate DH parameters and SSL" + elog "certificates. You should adjust configuration before." + elog "Server configuration is located at" + elog "" + elog " /etc/burp/burp-server.conf" + elog "" + fi +} diff --git a/app-backup/burp/files/1.3.48-bedup-conf-path.patch b/app-backup/burp/files/1.3.48-bedup-conf-path.patch new file mode 100644 index 000000000000..a9bed192d96c --- /dev/null +++ b/app-backup/burp/files/1.3.48-bedup-conf-path.patch @@ -0,0 +1,33 @@ +diff -Naur burp-1.3.48/manpages/bedup.8 burp-1.3.48.new/manpages/bedup.8 +--- burp-1.3.48/manpages/bedup.8 2014-01-27 11:55:47.000000000 +0100 ++++ burp-1.3.48.new/manpages/bedup.8 2014-11-22 12:57:20.241299376 +0100 +@@ -16,7 +16,7 @@ + .SH OPTIONS + .TP + \fB\-c\fR \fBpath\fR +-Path to config file (default: /etc/burp/burp.conf). ++Path to config file (default: /etc/burp/burp-server.conf). + .TP + \fB\-g\fR \fB<list of group names>\fR + Only run on the directories of clients that are in one of the groups specified. The list is comma-separated. To put a client in a group, use the 'dedup_group' option in the client configuration file on the server. +@@ -42,7 +42,7 @@ + \fB\-V\fR \fB\fR + Print version and exit.\fR + .TP +-By default, bedup will read /etc/burp/burp.conf and deduplicate client storage directories using special knowledge of the structure.\fR ++By default, bedup will read /etc/burp/burp-server.conf and deduplicate client storage directories using special knowledge of the structure.\fR + .TP + With '\-n', this knowledge is turned off and you have to specify the directories to deduplicate on the command line. Running with '\-n' is therefore dangerous if you are deduplicating burp storage directories. + +diff -Naur burp-1.3.48/src/bedup.c burp-1.3.48.new/src/bedup.c +--- burp-1.3.48/src/bedup.c 2014-01-27 11:55:47.000000000 +0100 ++++ burp-1.3.48.new/src/bedup.c 2014-11-22 12:57:20.241299376 +0100 +@@ -734,7 +734,7 @@ + static char *get_config_path(void) + { + static char path[256]=""; +- snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp.conf"); ++ snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp-server.conf"); + return path; + } + diff --git a/app-backup/burp/files/1.3.48-tinfo.patch b/app-backup/burp/files/1.3.48-tinfo.patch new file mode 100644 index 000000000000..30b5cb88d6e8 --- /dev/null +++ b/app-backup/burp/files/1.3.48-tinfo.patch @@ -0,0 +1,22 @@ +diff -Naur burp-1.3.48/configure.in burp-1.3.48.new/configure.in +--- burp-1.3.48/configure.in 2014-01-27 11:55:47.000000000 +0100 ++++ burp-1.3.48.new/configure.in 2014-11-22 13:01:01.192403673 +0100 +@@ -1203,13 +1203,12 @@ + fi + + AC_CHECK_HEADERS(ncurses.h) +-AC_CHECK_LIB(ncurses, curs_set, [NCURSES_LIBS="-lncurses"]) + have_ncurses=no +-if test x$NCURSES_LIBS = x-lncurses; then +- AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found]) +- have_ncurses=yes +-fi +-AC_SUBST(NCURSES_LIBS) ++AC_CHECK_LIB(ncurses, endwin, ++ [NCURSES_LIBS="-lncurses"; have_ncurses=yes] ++ AC_SEARCH_LIBS(curs_set, tinfo, [NCURSES_LIBS="$NCURSES_LIBS $ac_res"]), ++ AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found]) ++ AC_SUBST(NCURSES_LIBS)) + + dnl + dnl Check if we have AFS on this system diff --git a/app-backup/burp/files/1.3.8-bedup-conf-path.patch b/app-backup/burp/files/1.3.8-bedup-conf-path.patch new file mode 100644 index 000000000000..a9bed192d96c --- /dev/null +++ b/app-backup/burp/files/1.3.8-bedup-conf-path.patch @@ -0,0 +1,33 @@ +diff -Naur burp-1.3.48/manpages/bedup.8 burp-1.3.48.new/manpages/bedup.8 +--- burp-1.3.48/manpages/bedup.8 2014-01-27 11:55:47.000000000 +0100 ++++ burp-1.3.48.new/manpages/bedup.8 2014-11-22 12:57:20.241299376 +0100 +@@ -16,7 +16,7 @@ + .SH OPTIONS + .TP + \fB\-c\fR \fBpath\fR +-Path to config file (default: /etc/burp/burp.conf). ++Path to config file (default: /etc/burp/burp-server.conf). + .TP + \fB\-g\fR \fB<list of group names>\fR + Only run on the directories of clients that are in one of the groups specified. The list is comma-separated. To put a client in a group, use the 'dedup_group' option in the client configuration file on the server. +@@ -42,7 +42,7 @@ + \fB\-V\fR \fB\fR + Print version and exit.\fR + .TP +-By default, bedup will read /etc/burp/burp.conf and deduplicate client storage directories using special knowledge of the structure.\fR ++By default, bedup will read /etc/burp/burp-server.conf and deduplicate client storage directories using special knowledge of the structure.\fR + .TP + With '\-n', this knowledge is turned off and you have to specify the directories to deduplicate on the command line. Running with '\-n' is therefore dangerous if you are deduplicating burp storage directories. + +diff -Naur burp-1.3.48/src/bedup.c burp-1.3.48.new/src/bedup.c +--- burp-1.3.48/src/bedup.c 2014-01-27 11:55:47.000000000 +0100 ++++ burp-1.3.48.new/src/bedup.c 2014-11-22 12:57:20.241299376 +0100 +@@ -734,7 +734,7 @@ + static char *get_config_path(void) + { + static char path[256]=""; +- snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp.conf"); ++ snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp-server.conf"); + return path; + } + diff --git a/app-backup/burp/files/1.4.26-bedup-conf-path.patch b/app-backup/burp/files/1.4.26-bedup-conf-path.patch new file mode 100644 index 000000000000..30346d466148 --- /dev/null +++ b/app-backup/burp/files/1.4.26-bedup-conf-path.patch @@ -0,0 +1,33 @@ +diff -Naur burp/manpages/bedup.8 burp.new/manpages/bedup.8 +--- burp/manpages/bedup.8 2014-10-28 12:45:26.000000000 +0100 ++++ burp.new/manpages/bedup.8 2014-11-21 09:49:57.705796144 +0100 +@@ -16,7 +16,7 @@ + .SH OPTIONS + .TP + \fB\-c\fR \fBpath\fR +-Path to config file (default: /etc/burp/burp.conf). ++Path to config file (default: /etc/burp/burp-server.conf). + .TP + \fB\-g\fR \fB<list of group names>\fR + Only run on the directories of clients that are in one of the groups specified. The list is comma-separated. To put a client in a group, use the 'dedup_group' option in the client configuration file on the server. +@@ -42,7 +42,7 @@ + \fB\-V\fR \fB\fR + Print version and exit.\fR + .TP +-By default, bedup will read /etc/burp/burp.conf and deduplicate client storage directories using special knowledge of the structure.\fR ++By default, bedup will read /etc/burp/burp-server.conf and deduplicate client storage directories using special knowledge of the structure.\fR + .TP + With '\-n', this knowledge is turned off and you have to specify the directories to deduplicate on the command line. Running with '\-n' is therefore dangerous if you are deduplicating burp storage directories. + +diff -Naur burp/src/bedup.c burp.new/src/bedup.c +--- burp/src/bedup.c 2014-10-28 12:45:56.000000000 +0100 ++++ burp.new/src/bedup.c 2014-11-20 21:39:28.728206536 +0100 +@@ -740,7 +740,7 @@ + static char *get_config_path(void) + { + static char path[256]=""; +- snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp.conf"); ++ snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp-server.conf"); + return path; + } + diff --git a/app-backup/burp/files/1.4.26-tinfo.patch b/app-backup/burp/files/1.4.26-tinfo.patch new file mode 100644 index 000000000000..081492261685 --- /dev/null +++ b/app-backup/burp/files/1.4.26-tinfo.patch @@ -0,0 +1,22 @@ +diff -Naur burp/configure.ac burp-new/configure.ac +--- burp/configure.ac 2014-10-28 12:45:56.000000000 +0100 ++++ burp-new/configure.ac 2014-11-10 17:40:50.996955441 +0100 +@@ -1203,13 +1203,12 @@ + fi + + AC_CHECK_HEADERS(ncurses.h) +-AC_CHECK_LIB(ncurses, curs_set, [NCURSES_LIBS="-lncurses"]) + have_ncurses=no +-if test x$NCURSES_LIBS = x-lncurses; then +- AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found]) +- have_ncurses=yes +-fi +-AC_SUBST(NCURSES_LIBS) ++AC_CHECK_LIB(ncurses, endwin, ++ [NCURSES_LIBS="-lncurses"; have_ncurses=yes] ++ AC_SEARCH_LIBS(curs_set, tinfo, [NCURSES_LIBS="$NCURSES_LIBS $ac_res"]), ++ AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found]) ++ AC_SUBST(NCURSES_LIBS)) + + dnl + dnl Check if we have AFS on this system diff --git a/app-backup/burp/files/1.4.34-bedup-conf-path.patch b/app-backup/burp/files/1.4.34-bedup-conf-path.patch new file mode 100644 index 000000000000..30346d466148 --- /dev/null +++ b/app-backup/burp/files/1.4.34-bedup-conf-path.patch @@ -0,0 +1,33 @@ +diff -Naur burp/manpages/bedup.8 burp.new/manpages/bedup.8 +--- burp/manpages/bedup.8 2014-10-28 12:45:26.000000000 +0100 ++++ burp.new/manpages/bedup.8 2014-11-21 09:49:57.705796144 +0100 +@@ -16,7 +16,7 @@ + .SH OPTIONS + .TP + \fB\-c\fR \fBpath\fR +-Path to config file (default: /etc/burp/burp.conf). ++Path to config file (default: /etc/burp/burp-server.conf). + .TP + \fB\-g\fR \fB<list of group names>\fR + Only run on the directories of clients that are in one of the groups specified. The list is comma-separated. To put a client in a group, use the 'dedup_group' option in the client configuration file on the server. +@@ -42,7 +42,7 @@ + \fB\-V\fR \fB\fR + Print version and exit.\fR + .TP +-By default, bedup will read /etc/burp/burp.conf and deduplicate client storage directories using special knowledge of the structure.\fR ++By default, bedup will read /etc/burp/burp-server.conf and deduplicate client storage directories using special knowledge of the structure.\fR + .TP + With '\-n', this knowledge is turned off and you have to specify the directories to deduplicate on the command line. Running with '\-n' is therefore dangerous if you are deduplicating burp storage directories. + +diff -Naur burp/src/bedup.c burp.new/src/bedup.c +--- burp/src/bedup.c 2014-10-28 12:45:56.000000000 +0100 ++++ burp.new/src/bedup.c 2014-11-20 21:39:28.728206536 +0100 +@@ -740,7 +740,7 @@ + static char *get_config_path(void) + { + static char path[256]=""; +- snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp.conf"); ++ snprintf(path, sizeof(path), "%s", SYSCONFDIR "/burp-server.conf"); + return path; + } + diff --git a/app-backup/burp/files/1.4.34-tinfo.patch b/app-backup/burp/files/1.4.34-tinfo.patch new file mode 100644 index 000000000000..081492261685 --- /dev/null +++ b/app-backup/burp/files/1.4.34-tinfo.patch @@ -0,0 +1,22 @@ +diff -Naur burp/configure.ac burp-new/configure.ac +--- burp/configure.ac 2014-10-28 12:45:56.000000000 +0100 ++++ burp-new/configure.ac 2014-11-10 17:40:50.996955441 +0100 +@@ -1203,13 +1203,12 @@ + fi + + AC_CHECK_HEADERS(ncurses.h) +-AC_CHECK_LIB(ncurses, curs_set, [NCURSES_LIBS="-lncurses"]) + have_ncurses=no +-if test x$NCURSES_LIBS = x-lncurses; then +- AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found]) +- have_ncurses=yes +-fi +-AC_SUBST(NCURSES_LIBS) ++AC_CHECK_LIB(ncurses, endwin, ++ [NCURSES_LIBS="-lncurses"; have_ncurses=yes] ++ AC_SEARCH_LIBS(curs_set, tinfo, [NCURSES_LIBS="$NCURSES_LIBS $ac_res"]), ++ AC_DEFINE(HAVE_NCURSES, 1, [Defined to 1 if libncurses was found]) ++ AC_SUBST(NCURSES_LIBS)) + + dnl + dnl Check if we have AFS on this system diff --git a/app-backup/burp/files/burp.initd b/app-backup/burp/files/burp.initd new file mode 100644 index 000000000000..8457a2b20aff --- /dev/null +++ b/app-backup/burp/files/burp.initd @@ -0,0 +1,41 @@ +#!/sbin/runscript +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +BURP_CONFIG="/etc/burp/burp-server.conf" + +description="Burp is a network backup and restore program" + +command="/usr/sbin/burp" +command_args="-c '${BURP_CONFIG}' -F" +command_background="yes" +pidfile="/run/burp-server.pid" +start_stop_daemon_arg="--make-pidfile --wait 500" + +extra_started_commands="reload summary" +description_reload="Reloads configuration" +description_summary="Displays main status monitor summary" + +depend() { + need localmount + after bootmisc + use net +} + +start_pre() { + checkpath -o burp:burp -m 0775 -d /run/lock/burp + checkpath -o root:burp -m 0775 -d /etc/burp + checkpath -o root:burp -m 0750 -d /etc/burp/clientconfdir + checkpath -o root:burp -m 0640 -f /etc/burp/burp-server.conf +} + +reload() { + ebegin "Reloading ${SVCNAME} configuration" + start-stop-daemon --exec ${command} --signal HUP + eend $? +} + +summary() { + "${command}" -c "${BURP_CONFIG}" -a S +} diff --git a/app-backup/burp/metadata.xml b/app-backup/burp/metadata.xml new file mode 100644 index 000000000000..9ab9895c52aa --- /dev/null +++ b/app-backup/burp/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>aidecoe@gentoo.org</email> + <name>Amadeusz Żołnowski</name> + </maintainer> + <longdescription lang="en"> + Burp is a network backup and restore program. It uses librsync in order + to save network traffic and to save on the amount of space that is used + by each backup. It also uses VSS (Volume Shadow Copy Service) to make + snapshots when backing up Windows computers. + </longdescription> + <upstream> + <remote-id type="sourceforge">burp</remote-id> + </upstream> +</pkgmetadata> |