public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-backup/backuppc/
Date: Tue, 20 Apr 2021 01:21:06 +0000 (UTC)	[thread overview]
Message-ID: <1618881634.fb0d5b1cf473ffa594946f46670780f3c8eec8c6.sam@gentoo> (raw)

commit:     fb0d5b1cf473ffa594946f46670780f3c8eec8c6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 20 00:42:18 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 20 01:20:34 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb0d5b1c

app-backup/backuppc: drop 3.3.1-r5

Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-backup/backuppc/backuppc-3.3.1-r5.ebuild | 197 ---------------------------
 1 file changed, 197 deletions(-)

diff --git a/app-backup/backuppc/backuppc-3.3.1-r5.ebuild b/app-backup/backuppc/backuppc-3.3.1-r5.ebuild
deleted file mode 100644
index dd944952eb5..00000000000
--- a/app-backup/backuppc/backuppc-3.3.1-r5.ebuild
+++ /dev/null
@@ -1,197 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit depend.apache epatch user systemd
-
-MY_P="BackupPC-${PV}"
-
-DESCRIPTION="High-performance backups to a server's disk"
-HOMEPAGE="http://backuppc.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="amd64 x86"
-
-IUSE="rss samba"
-
-# The CGI modules are handled in $RDEPEND.
-APACHE_MODULES="apache2_modules_alias," # RedirectMatch
-APACHE_MODULES+="apache2_modules_authn_core," # AuthType
-APACHE_MODULES+="apache2_modules_authz_core," # Require
-APACHE_MODULES+="apache2_modules_authz_host," # Require host
-APACHE_MODULES+="apache2_modules_authz_user" # Require valid-user
-
-DEPEND="dev-lang/perl
-	app-admin/apache-tools
-	app-admin/makepasswd"
-
-# Older versions of mod_perl think they're compatibile with apache-2.4,
-# so we require the new one explicitly.
-RDEPEND="${DEPEND}
-	virtual/perl-IO-Compress
-	dev-perl/Archive-Zip
-	dev-perl/CGI
-	dev-perl/libwww-perl
-	app-arch/tar
-	app-arch/par2cmdline
-	app-arch/gzip
-	app-arch/bzip2
-	virtual/mta
-	>=www-apache/mod_perl-2.0.9
-	www-apache/mpm_itk
-	|| ( >=www-servers/apache-2.4[${APACHE_MODULES},apache2_modules_cgi]
-		 >=www-servers/apache-2.4[${APACHE_MODULES},apache2_modules_cgid]
-		 >=www-servers/apache-2.4[${APACHE_MODULES},apache2_modules_fcgid] )
-	net-misc/rsync
-	dev-perl/File-RsyncP
-	rss? ( dev-perl/XML-RSS )
-	samba? ( net-fs/samba )"
-
-need_apache2_4
-
-SLOT="0"
-
-S="${WORKDIR}/${MY_P}"
-
-CGIDIR="/usr/lib/backuppc/htdocs"
-CONFDIR="/etc/BackupPC"
-DATADIR="/var/lib/backuppc"
-DOCDIR="/usr/share/doc/${PF}"
-LOGDIR="/var/log/BackupPC"
-
-pkg_setup() {
-	enewgroup backuppc
-	enewuser backuppc -1 /bin/bash /var/lib/backuppc backuppc
-}
-
-src_prepare() {
-	epatch "${FILESDIR}/3.3.0/01-fix-configure.pl.patch"
-	epatch "${FILESDIR}/3.3.0/02-fix-config.pl-formatting.patch"
-	epatch "${FILESDIR}/3.3.0/03-reasonable-config.pl-defaults.patch"
-
-	epatch "${FILESDIR}/3.2.0/04-add-docdir-marker.patch"
-	epatch "${FILESDIR}/3.2.0/05-nicelevel.patch"
-
-	epatch "${FILESDIR}"/${P}-perl522.patch #580254
-	epatch "${FILESDIR}"/${P}-perl526.patch #594128
-
-	# Fix docs location using the marker that we've patched in.
-	sed -i "s+__DOCDIR__+${DOCDIR}+" "lib/BackupPC/CGI/View.pm" \
-		|| die "failed to sed the documentation location"
-}
-
-src_install() {
-	local myconf
-	myconf=""
-	if use samba ; then
-		myconf="--bin-path smbclient=$(type -p smbclient)"
-		myconf="${myconf} --bin-path nmblookup=$(type -p nmblookup)"
-	fi
-
-	/usr/bin/env perl ./configure.pl \
-		--batch \
-		--bin-path perl=$(type -p perl) \
-		--bin-path tar=$(type -p tar) \
-		--bin-path rsync=$(type -p rsync) \
-		--bin-path ping=$(type -p ping) \
-		--bin-path df=$(type -p df) \
-		--bin-path ssh=$(type -p ssh) \
-		--bin-path sendmail=$(type -p sendmail) \
-		--bin-path hostname=$(type -p hostname) \
-		--bin-path gzip=$(type -p gzip) \
-		--bin-path bzip2=$(type -p bzip2) \
-		--config-dir "${CONFDIR}" \
-		--install-dir /usr \
-		--data-dir "${DATADIR}" \
-		--hostname 127.0.0.1 \
-		--uid-ignore \
-		--dest-dir "${D%/}" \
-		--html-dir "${CGIDIR}"/image \
-		--html-dir-url /image \
-		--cgi-dir "${CGIDIR}" \
-		--fhs \
-		${myconf} || die "failed the configure.pl script"
-
-	ebegin "Installing documentation"
-
-	pod2man \
-		-errors=none \
-		--section=8 \
-		--center="BackupPC manual" \
-		"${S}"/doc/BackupPC.pod backuppc.8 \
-		|| die "failed to generate man page"
-
-	doman backuppc.8
-
-	# Place the documentation in the correct location
-	dodoc "${D}/usr/doc/BackupPC.html"
-	dodoc "${D}/usr/doc/BackupPC.pod"
-	rm -rf "${D}/usr/doc" || die
-
-	eend 0
-
-	# Setup directories
-	dodir "${CONFDIR}/pc"
-
-	keepdir "${CONFDIR}"
-	keepdir "${CONFDIR}/pc"
-	keepdir "${DATADIR}"/{trash,pool,pc,cpool}
-	keepdir "${LOGDIR}"
-
-	ebegin "Setting up init.d/conf.d/systemd scripts"
-	newinitd "${S}"/init.d/gentoo-backuppc backuppc
-	newconfd "${S}"/init.d/gentoo-backuppc.conf backuppc
-	systemd_dounit "${FILESDIR}/${PN}.service"
-
-	insinto "${APACHE_MODULES_CONFDIR}"
-	doins "${FILESDIR}"/99_backuppc.conf
-
-	# Make sure that the ownership is correct
-	chown -R backuppc:backuppc "${D}${CONFDIR}" || die
-	chown -R backuppc:backuppc "${D}${DATADIR}" || die
-	chown -R backuppc:backuppc "${D}${LOGDIR}"  || die
-}
-
-pkg_postinst() {
-	elog "Installation finished, you may now start using BackupPC."
-	elog
-	elog "- Read the documentation in /usr/share/doc/${PF}/BackupPC.html"
-	elog "  Please pay special attention to the security section."
-	elog
-	elog "- You can launch backuppc by running:"
-	elog
-	elog "    # /etc/init.d/backuppc start"
-	elog
-	elog "- To enable the GUI, first edit ${ROOT}etc/conf.d/apache2 and add,"
-	elog
-	elog "    \"-D BACKUPPC -D PERL -D MPM_ITK\""
-	elog
-	elog "  to the APACHE2_OPTS line."
-	elog
-	elog "  Then you must edit ${ROOT}etc/apache2/modules.d/00_mpm_itk.conf"
-	elog "  and adjust the values of LimitUIDRange/LimitGIDRange to include"
-	elog "  the UID and GID of the backuppc user."
-	elog
-	elog "  Finally, start apache:"
-	elog
-	elog "    # /etc/init.d/apache2 start"
-	elog
-	elog "  The web interface should now be running on,"
-	elog
-	elog "    http://127.0.0.1:8080/"
-	elog
-
-	# Generate a new password if there's no auth file
-	if [[ ! -f "${CONFDIR}/users.htpasswd" ]]; then
-		adminuser="backuppc"
-		adminpass=$( makepasswd --chars=12 )
-		htpasswd -bc "${CONFDIR}/users.htpasswd" $adminuser $adminpass
-
-		elog ""
-		elog "- Created admin user $adminuser with password $adminpass"
-		elog "  To add new users, run: "
-		elog ""
-		elog "  # htpasswd ${CONFDIR}/users.htpasswd newUser"
-	fi
-}


             reply	other threads:[~2021-04-20  1:21 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-20  1:21 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-05-27 13:24 [gentoo-commits] repo/gentoo:master commit in: app-backup/backuppc/ Joonas Niilola
2022-09-09  6:20 Joonas Niilola
2022-09-09  6:20 Joonas Niilola
2022-08-16  6:34 Joonas Niilola
2022-08-16  6:34 Joonas Niilola
2022-04-27 15:47 Joonas Niilola
2022-04-26  5:26 Sam James
2021-08-10  2:59 Sam James
2021-04-29  1:52 Sam James
2021-04-20  1:21 Sam James
2017-10-27 23:32 Michael Palimaka
2017-10-27 13:49 Thomas Deutschmann
2017-08-26  8:54 Mikle Kolyada
2017-02-01 22:22 Kent Fredric
2017-02-01 22:22 Kent Fredric
2017-02-01 22:22 Kent Fredric
2016-12-21 21:34 Thomas Deutschmann
2016-12-21 17:28 Tobias Klausmann
2016-04-26  0:01 Austin English
2016-01-25 14:28 Michael Orlitzky
2015-11-22  8:03 Markus Meier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1618881634.fb0d5b1cf473ffa594946f46670780f3c8eec8c6.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox