mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-15 19:43:50 +02:00
cntlm: added runit service.
This commit is contained in:
parent
d4025450ae
commit
5ba67e5fe9
2 changed files with 11 additions and 6 deletions
2
srcpkgs/cntlm/files/cntlm/run
Executable file
2
srcpkgs/cntlm/files/cntlm/run
Executable file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec cntlm -f 2>&1
|
|
@ -1,9 +1,9 @@
|
||||||
# Template file for 'cntlm'
|
# Template file for 'cntlm'
|
||||||
pkgname=cntlm
|
pkgname=cntlm
|
||||||
version=0.92.3
|
version=0.92.3
|
||||||
revision=2
|
revision=3
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="which"
|
replaces="runit-void<20141013_2"
|
||||||
conf_files="/etc/cntlm.conf"
|
conf_files="/etc/cntlm.conf"
|
||||||
short_desc="NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy"
|
short_desc="NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy"
|
||||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||||
|
@ -13,10 +13,13 @@ distfiles="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname%2
|
||||||
checksum=9c3ad10924d43f7248df9ecd33cbc033afbd7ea8d9545de0d68a2782fed76298
|
checksum=9c3ad10924d43f7248df9ecd33cbc033afbd7ea8d9545de0d68a2782fed76298
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
sed -i 's|/sbin|/bin|' Makefile
|
|
||||||
make CC=$CC ${makejobs}
|
make CC=$CC ${makejobs}
|
||||||
}
|
}
|
||||||
|
do_install() {
|
||||||
post_install() {
|
vbin cntlm
|
||||||
vinstall ${FILESDIR}/cntlm.service 644 usr/lib/systemd/system
|
vman doc/cntlm.1
|
||||||
|
vsv cntlm
|
||||||
|
if [ "$build_option_systemd" ]; then
|
||||||
|
vinstall ${FILESDIR}/cntlm.service 644 usr/lib/systemd/system
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue