commit: f967f889a9a09ee2ad55e8d2ccc1525b7dd8d7a9
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 25 14:26:02 2016 +0000
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Jan 25 14:27:31 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f967f889
app-backup/backuppc: un-remove systemd service file in v3.3.1.
For some reason lost to time, I omitted the installation of the
systemd service file from backuppc-3.3.1.ebuild. Erik Zeek reported
the omission and provided a fix in bug 572818.
Gentoo-Bug: 572818
Reported-by: Erik Zeek
Package-Manager: portage-2.2.26
.../backuppc/{backuppc-3.3.1.ebuild => backuppc-3.3.1-r1.ebuild} | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/app-backup/backuppc/backuppc-3.3.1.ebuild
b/app-backup/backuppc/backuppc-3.3.1-r1.ebuild
similarity index 97%
rename from app-backup/backuppc/backuppc-3.3.1.ebuild
rename to app-backup/backuppc/backuppc-3.3.1-r1.ebuild
index f7c0711..a40e0ae 100644
--- a/app-backup/backuppc/backuppc-3.3.1.ebuild
+++ b/app-backup/backuppc/backuppc-3.3.1-r1.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit depend.apache eutils user
+inherit depend.apache eutils user systemd
MY_P="BackupPC-${PV}"
@@ -137,9 +137,10 @@ src_install() {
keepdir "${DATADIR}"/{trash,pool,pc,cpool}
keepdir "${LOGDIR}"
- ebegin "Setting up init.d/conf.d scripts"
+ 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