aidecoe     14/12/01 16:28:47

  Added:                ChangeLog metadata.xml burp-1.4.26.ebuild
                        burp-1.3.8.ebuild burp-1.3.48.ebuild
  Log:
  Add initial version of the burp package. Import ebuilds from the aidecoe's
  overlay [1]. Add various versions at once: 1.3.48 is the latest stable
  version, 1.4.26 is the latest stable candidate and 1.3.8 is an old version
  for people who use burp on Debian and want to have the same version.
  
  Thanks for contribution to (in order by first name):
  - Aurelien Reynaud <[email protected]>
  - Jared B. <[email protected]>
  - Jeroen Roovers <[email protected]>
  
  Thanks to perfinion for review.
  
  [1] https://github.com/aidecoe/aidecoe-overlay
  
  (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 
F0134531E1DBFAB5)

Revision  Changes    Path
1.1                  app-backup/burp/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/ChangeLog?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/ChangeLog?rev=1.1&content-type=text/plain

Index: ChangeLog
===================================================================
# ChangeLog for app-backup/burp
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/burp/ChangeLog,v 1.1 2014/12/01 
16:28:47 aidecoe Exp $

*burp-1.4.26 (01 Dec 2014)
*burp-1.3.48 (01 Dec 2014)
*burp-1.3.8 (01 Dec 2014)

  01 Dec 2014; Amadeusz Żołnowski <[email protected]> +burp-1.3.8.ebuild,
  +burp-1.3.48.ebuild, +burp-1.4.26.ebuild, +files/1.3.8-bedup-conf-path.patch,
  +files/1.3.48-bedup-conf-path.patch, +files/1.3.48-tinfo.patch,
  +files/1.4.26-bedup-conf-path.patch, +files/1.4.26-tinfo.patch,
  +files/burp.initd, +metadata.xml:
  Add initial version of the burp package. Import ebuilds from the aidecoe's
  overlay [1]. Add various versions at once: 1.3.48 is the latest stable
  version, 1.4.26 is the latest stable candidate and 1.3.8 is an old version
  for people who use burp on Debian and want to have the same version.

  Thanks for contribution to (in order by first name):
  - Aurelien Reynaud <[email protected]>
  - Jared B. <[email protected]>
  - Jeroen Roovers <[email protected]>

  Thanks to perfinion for review.

  [1] https://github.com/aidecoe/aidecoe-overlay




1.1                  app-backup/burp/metadata.xml

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/metadata.xml?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/metadata.xml?rev=1.1&content-type=text/plain

Index: metadata.xml
===================================================================
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
<pkgmetadata>
        <maintainer>
                <email>[email protected]</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>
</pkgmetadata>



1.1                  app-backup/burp/burp-1.4.26.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/burp-1.4.26.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/burp-1.4.26.ebuild?rev=1.1&content-type=text/plain

Index: burp-1.4.26.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/burp/burp-1.4.26.ebuild,v 1.1 
2014/12/01 16:28:47 aidecoe Exp $

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 )
        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

        if use ssl; then
                # The server will create this directory if it doesn't exist, 
but the
                # client won't.  It must be writable by both.
                dodir /etc/burp/CA
                fowners root:burp /etc/burp/CA
                fperms 0775 /etc/burp/CA
        fi

        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
}



1.1                  app-backup/burp/burp-1.3.8.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/burp-1.3.8.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/burp-1.3.8.ebuild?rev=1.1&content-type=text/plain

Index: burp-1.3.8.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/burp/burp-1.3.8.ebuild,v 1.1 
2014/12/01 16:28:47 aidecoe Exp $

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 )
        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

        if use ssl; then
                # The server will create this directory if it doesn't exist, 
but the
                # client won't.  It must be writable by both.
                dodir /etc/burp/CA
                fowners root:burp /etc/burp/CA
                fperms 0775 /etc/burp/CA
        fi

        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
}



1.1                  app-backup/burp/burp-1.3.48.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/burp-1.3.48.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/burp/burp-1.3.48.ebuild?rev=1.1&content-type=text/plain

Index: burp-1.3.48.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-backup/burp/burp-1.3.48.ebuild,v 1.1 
2014/12/01 16:28:47 aidecoe Exp $

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 )
        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

        if use ssl; then
                # The server will create this directory if it doesn't exist, 
but the
                # client won't.  It must be writable by both.
                dodir /etc/burp/CA
                fowners root:burp /etc/burp/CA
                fperms 0775 /etc/burp/CA
        fi

        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
}




Reply via email to