net-misc/htpdate: use openrc-service.exlib

Change-Id: I64ff9a7faf3efee805a8907a749af0b8aba48083
This commit is contained in:
Julian Ospald 2016-05-20 22:22:55 +02:00
parent 054791beca
commit 50804bd645
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28
3 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,8 @@
# Copyright 2016 Julian Ospald <hasufell@posteo.de> # Copyright 2016 Julian Ospald <hasufell@posteo.de>
# Distributed under the terms of the GNU General Public License v2 # Distributed under the terms of the GNU General Public License v2
require openrc-service [ openrc_confd_files=[ "${FILES}"/openrc/confd ] ]
SUMMARY="Synchronize local workstation with time offered by remote webservers" SUMMARY="Synchronize local workstation with time offered by remote webservers"
HOMEPAGE="http://www.vervest.org/fiki/bin/view/HTP/DownloadC" HOMEPAGE="http://www.vervest.org/fiki/bin/view/HTP/DownloadC"
DOWNLOADS="http://www.vervest.org/htp/archive/c/${PNV}.tar.gz" DOWNLOADS="http://www.vervest.org/htp/archive/c/${PNV}.tar.gz"
@ -26,7 +28,6 @@ src_install() {
doman htpdate.8 doman htpdate.8
dodoc README Changelog dodoc README Changelog
newconfd "${FILES}"/htpdate.conf htpdate install_openrc_files
newinitd "${FILES}"/htpdate.init-r1 htpdate
} }