app-backup/backuppc: un-remove systemd service file in v3.3.1.
authorMichael Orlitzky <mjo@gentoo.org>
Mon, 25 Jan 2016 14:26:02 +0000 (09:26 -0500)
committerMichael Orlitzky <mjo@gentoo.org>
Mon, 25 Jan 2016 14:27:31 +0000 (09:27 -0500)
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

app-backup/backuppc/backuppc-3.3.1-r1.ebuild [moved from app-backup/backuppc/backuppc-3.3.1.ebuild with 97% similarity]

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 f7c0711267e58f97262a38f5232aa4aecc610c64..a40e0ae647288845edf17b23faab5a0ea017fb42 100644 (file)
@@ -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