diff --git a/srcpkgs/cntlm/files/cntlm/run b/srcpkgs/cntlm/files/cntlm/run new file mode 100755 index 0000000000..b1e45897f5 --- /dev/null +++ b/srcpkgs/cntlm/files/cntlm/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec cntlm -f 2>&1 diff --git a/srcpkgs/cntlm/template b/srcpkgs/cntlm/template index 35e8d337af..6f80dc7b95 100644 --- a/srcpkgs/cntlm/template +++ b/srcpkgs/cntlm/template @@ -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 " @@ -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 }