wok-6.x rev 4005

Add ntlmaps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:21:33 2009 +0200 (2009-09-01)
parents 60a878ff9a03
children 9b235e7c8d32
files get-dropbox/stuff/get-dropbox ntlmaps/receipt
line diff
     1.1 --- a/get-dropbox/stuff/get-dropbox	Mon Aug 31 18:17:28 2009 +0200
     1.2 +++ b/get-dropbox/stuff/get-dropbox	Tue Sep 01 11:21:33 2009 +0200
     1.3 @@ -78,6 +78,7 @@
     1.4  SHORT_DESC="Dropbox daemon and client fro online storage."
     1.5  DEPENDS="python"
     1.6  WEB_SITE="http://www.getdropbox.com/"
     1.7 +SUGGESTED="ntlmaps"
     1.8  EOT
     1.9  
    1.10  # Pack
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/ntlmaps/receipt	Tue Sep 01 11:21:33 2009 +0200
     2.3 @@ -0,0 +1,33 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="ntlmaps"
     2.7 +VERSION="0.9.9.0.1"
     2.8 +CATEGORY="network"
     2.9 +SHORT_DESC="NTLM Authorization Proxy Server to authenticate via an MS Proxy."
    2.10 +MAINTAINER="pascal.bellard@slitaz.org"
    2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.12 +WEB_SITE="http://ntlmaps.sourceforge.net/"
    2.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    2.14 +DEPENDS="python"
    2.15 +CONFIG_FILES="/etc/ntlmaps.conf"
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +compile_rules()
    2.19 +{
    2.20 +	cd $src
    2.21 +}
    2.22 +
    2.23 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.24 +genpkg_rules()
    2.25 +{
    2.26 +	mkdir -p $fs/usr/share/ntlmaps $fs/usr/bin $fs/etc
    2.27 +	cp -a $src/* $fs/usr/share/ntlmaps
    2.28 +	mv $fs/usr/share/ntlmaps/server.cfg $fs/etc/ntlmaps.conf
    2.29 +	ln -s /etc/ntlmaps.conf $fs/usr/share/ntlmaps/server.cfg
    2.30 +	cat > $fs/usr/bin/ntlmaps <<EOT
    2.31 +#!/bin/sh
    2.32 +exec python /usr/share/ntlmaps/main.py
    2.33 +EOT
    2.34 +	chmod +x $fs/usr/bin/ntlmaps
    2.35 +}
    2.36 +