cntlm: added runit service.

This commit is contained in:
Juan RP 2014-10-13 13:09:45 +02:00
parent d4025450ae
commit 5ba67e5fe9
2 changed files with 11 additions and 6 deletions

2
srcpkgs/cntlm/files/cntlm/run Executable file
View file

@ -0,0 +1,2 @@
#!/bin/sh
exec cntlm -f 2>&1

View file

@ -1,9 +1,9 @@
# Template file for 'cntlm'
pkgname=cntlm
version=0.92.3
revision=2
revision=3
build_style=gnu-configure
hostmakedepends="which"
replaces="runit-void<20141013_2"
conf_files="/etc/cntlm.conf"
short_desc="NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
@ -13,10 +13,13 @@ distfiles="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname%2
checksum=9c3ad10924d43f7248df9ecd33cbc033afbd7ea8d9545de0d68a2782fed76298
do_build() {
sed -i 's|/sbin|/bin|' Makefile
make CC=$CC ${makejobs}
}
post_install() {
vinstall ${FILESDIR}/cntlm.service 644 usr/lib/systemd/system
do_install() {
vbin cntlm
vman doc/cntlm.1
vsv cntlm
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/cntlm.service 644 usr/lib/systemd/system
fi
}