wok annotate ntlmaps/receipt @ rev 21519

mosh: update patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 03 16:47:04 2019 +0200 (2019-05-03)
parents bee79018e13a
children afae00265386
rev   line source
pascal@4005 1 # SliTaz package receipt.
pascal@4005 2
pascal@4005 3 PACKAGE="ntlmaps"
pascal@4005 4 VERSION="0.9.9.0.1"
pascal@4005 5 CATEGORY="network"
pascal@4005 6 SHORT_DESC="NTLM Authorization Proxy Server to authenticate via an MS Proxy."
pascal@4005 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15584 8 LICENSE="GPL2"
pascal@4005 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@4005 10 WEB_SITE="http://ntlmaps.sourceforge.net/"
pascal@4005 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@4005 12 CONFIG_FILES="/etc/ntlmaps.conf"
jozee@4969 13 TAGS="proxy server"
pascal@4005 14
pascal@15584 15 DEPENDS="python"
pascal@15584 16
pascal@4005 17 # Rules to configure and make the package.
pascal@4005 18 compile_rules()
pascal@4005 19 {
pascal@4005 20 cd $src
pascal@4005 21 }
pascal@4005 22
pascal@4005 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@4005 24 genpkg_rules()
pascal@4005 25 {
pascal@4005 26 mkdir -p $fs/usr/share/ntlmaps $fs/usr/bin $fs/etc
pascal@4005 27 cp -a $src/* $fs/usr/share/ntlmaps
pascal@4005 28 mv $fs/usr/share/ntlmaps/server.cfg $fs/etc/ntlmaps.conf
pascal@4005 29 ln -s /etc/ntlmaps.conf $fs/usr/share/ntlmaps/server.cfg
pascal@4005 30 cat > $fs/usr/bin/ntlmaps <<EOT
pascal@4005 31 #!/bin/sh
pascal@4005 32 exec python /usr/share/ntlmaps/main.py
pascal@4005 33 EOT
pascal@4005 34 chmod +x $fs/usr/bin/ntlmaps
pascal@4005 35 }
pascal@4005 36