Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475860 - net-analyzer/smokeping: add systemd support
Summary: net-analyzer/smokeping: add systemd support
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemd-love
  Show dependency tree
 
Reported: 2013-07-05 16:54 UTC by Pacho Ramos
Modified: 2013-07-06 06:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
smokeping.service (smokeping.service,200 bytes, text/plain)
2013-07-05 16:54 UTC, Pacho Ramos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pacho Ramos gentoo-dev 2013-07-05 16:54:10 UTC
From systemd-love overlay. I will commit in a week if nobody disagrees. Thanks

# diff -u /usr/portage/net-analyzer/smokeping/smokeping-2.6.8.ebuild /usr/portage/local/layman/systemd-love/net-analyzer/smokeping/smokeping-2.6.8-r1.ebuild 
--- /usr/portage/net-analyzer/smokeping/smokeping-2.6.8.ebuild	2012-10-29 09:31:23.000000000 +0100
+++ /usr/portage/local/layman/systemd-love/net-analyzer/smokeping/smokeping-2.6.8-r1.ebuild	2013-07-05 18:38:32.000000000 +0200
@@ -4,7 +4,7 @@
 
 EAPI="4"
 
-inherit eutils user
+inherit eutils user systemd
 
 DESCRIPTION="A powerful latency measurement tool."
 HOMEPAGE="http://oss.oetiker.ch/smokeping/"
@@ -69,6 +69,8 @@
 	emake DESTDIR="${D}" install || die "emake install failed"
 
 	newinitd "${FILESDIR}/${PN}.init.3" ${PN} || die
+	systemd_dotmpfilesd "${FILESDIR}"/"${PN}".conf || die
+	systemd_dounit "${FILESDIR}"/"${PN}".service || die
 
 	mv "${D}/etc/smokeping/basepage.html.dist" "${D}/etc/smokeping/basepage.html"
 	mv "${D}/etc/smokeping/config.dist" "${D}/etc/smokeping/config"


Reproducible: Always
Comment 1 Pacho Ramos gentoo-dev 2013-07-05 16:54:28 UTC
Created attachment 352688 [details]
smokeping.service
Comment 2 Pacho Ramos gentoo-dev 2013-07-06 06:45:57 UTC
+*smokeping-2.6.8-r1 (06 Jul 2013)
+
+  06 Jul 2013; Pacho Ramos <pacho@gentoo.org> +files/smokeping.conf,
+  +files/smokeping.service, +smokeping-2.6.8-r1.ebuild:
+  Install unit file (#475860).
+