New package: cntlm-0.92.3
This commit is contained in:
parent
0373ecd789
commit
920c0cc68b
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Cntlm Proxy Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/bin/cntlm -P /run/cntlm.pid
|
||||
PIDFile=/run/cntlm.pid
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,22 @@
|
|||
Avoids wrong Makefile symlinks (for example Makefile.arm-linux-gnueabihf) and missing CC to compile tiny executables in ./config (cross-compile).
|
||||
--- configure 2010-05-07 10:12:26.000000000 +0200
|
||||
+++ configure 2013-07-29 19:40:09.650716890 +0200
|
||||
@@ -10,17 +10,7 @@
|
||||
# This can be disabled if neccessary.
|
||||
#
|
||||
|
||||
-CCS="xlc_r gcc"
|
||||
-
|
||||
-#
|
||||
-# Look for supported compilers
|
||||
-#
|
||||
-for c in $CCS; do
|
||||
- if CCPATH=`which $c 2>&1` && [ -z "${CCPATH%%/*}" ]; then
|
||||
- CC="$c"
|
||||
- break
|
||||
- fi
|
||||
-done
|
||||
+CC=gcc
|
||||
|
||||
#
|
||||
# Make a link to a proper Makefile.*
|
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'cntlm'
|
||||
pkgname=cntlm
|
||||
version=0.92.3
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
makedepends="which"
|
||||
short_desc="NTLM / NTLM Session Response / NTLMv2 authenticating HTTP proxy"
|
||||
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
|
||||
license="GPL-2"
|
||||
homepage="http://cntlm.sourceforge.net/"
|
||||
distfiles="http://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname%20$version/$pkgname-$version.tar.gz"
|
||||
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
|
||||
}
|
||||
|
||||
cntlm_package() {
|
||||
conf_files="/etc/cntlm.conf"
|
||||
pkg_install() {
|
||||
vmove all
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue