# HG changeset patch # User Eric Joseph-Alexandre # Date 1210115640 -7200 # Node ID fab97211d72f83b729f34255dd1fc58e21081d33 # Parent bec96f4407c9c19daebb4250926c668d280f7779 Add: b43-fwcutter, cabextract, unshield, pure-ftpd, pure-ftpd-extras. fix DEPNDS in ndiswrapper diff -r bec96f4407c9 -r fab97211d72f b43-fwcutter/receipt --- a/b43-fwcutter/receipt Tue May 06 21:38:43 2008 +0000 +++ b/b43-fwcutter/receipt Wed May 07 01:14:00 2008 +0200 @@ -2,31 +2,25 @@ PACKAGE="b43-fwcutter" VERSION="011" -CATEGORY="system-tools" -SHORT_DESC="Broadcom b43 firmware extractor." -MAINTAINER="pankso@slitaz.org" +CATEGORY="utilities" +SHORT_DESC="Broadcom 43xx Linux Driver." +MAINTAINER="Erjo " +DEPENDS="" TARBALL="$PACKAGE-$VERSION.tar.bz2" -WEB_SITE="http://developer.berlios.de/project/showfiles.php?group_id=4547" +WEB_SITE="http://bu3sch.de/b43/fwcutter/" WGET_URL="http://bu3sch.de/b43/fwcutter/$TARBALL" # Rules to configure and make the package. compile_rules() { - cd $src - make + cd $src + make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin - cp -a $src/b43-fwcutter $fs/usr/bin + cp -a $src/$PACKAGE $fs/usr/bin } -# Ensure /lib/firmware exist. -post_install() -{ - local root - root=$1 - mkdir -p $root/lib/firmware -} diff -r bec96f4407c9 -r fab97211d72f cabextract/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/cabextract/receipt Wed May 07 01:14:00 2008 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="cabextract" +VERSION="1.2" +CATEGORY="utilities" +SHORT_DESC="Extracting Microsoft cabinet files" +MAINTAINER="Erjo " +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://www.cabextract.org.uk/" +WGET_URL="http://www.cabextract.org.uk/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $_pkg/usr/bin $fs/usr + strip -s $fs/usr/bin/* +} + diff -r bec96f4407c9 -r fab97211d72f ndiswrapper/receipt --- a/ndiswrapper/receipt Tue May 06 21:38:43 2008 +0000 +++ b/ndiswrapper/receipt Wed May 07 01:14:00 2008 +0200 @@ -5,7 +5,7 @@ CATEGORY="system-tools" SHORT_DESC="Add Windows network drivers support to Linux kernel." MAINTAINER="Erjo " -DEPENDS="" +DEPENDS="perl" #WANTED="linux" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://ndiswrapper.sourceforge.net/joomla/" diff -r bec96f4407c9 -r fab97211d72f pure-ftpd-extras/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pure-ftpd-extras/receipt Wed May 07 01:14:00 2008 +0200 @@ -0,0 +1,22 @@ +# SliTaz package receipt. + +PACKAGE="pure-ftpd-extras" +VERSION="1.0.21" +CATEGORY="networking" +SHORT_DESC="A secure FTP daemon extras files" +MAINTAINER="Erjo " +DEPENDS="perl python" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.pureftpd.org/project/pure-ftpd" +WANTED="pure-ftpd" + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/etc/pure-ftpd $fs/usr/bin + cp -a $src/configuration-file/pure-ftpd.conf $fs/etc/pure-ftpd + cp -a $src/configuration-file/pure-config.pl $fs/usr/bin + cp -a $src/configuration-file/pure-config.py $fs/usr/bin +} + diff -r bec96f4407c9 -r fab97211d72f pure-ftpd/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pure-ftpd/receipt Wed May 07 01:14:00 2008 +0200 @@ -0,0 +1,41 @@ +# SliTaz package receipt. + +PACKAGE="pure-ftpd" +VERSION="1.0.21" +CATEGORY="networking" +SHORT_DESC="A secure FTP daemon" +MAINTAINER="Erjo " +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.pureftpd.org/project/pure-ftpd" +WGET_URL="http://download.pureftpd.org/pub/pure-ftpd/releases/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr $fs/etc/init.d + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/sbin $fs/usr + install -g root -o root -m 0755 stuff/pure-ftpd $fs/etc/init.d +} + +post_install() +{ + echo "" + echo -e "\nTo starts $PACKAGE server you can run :\n" + echo "/etc/init.d/$PACKAGE start" + echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n" + echo "" + echo "You may install pure-ftpd-extras package to get pure-config.pl " + echo " pure-config.py facilities." + +} diff -r bec96f4407c9 -r fab97211d72f pure-ftpd/stuff/pure-ftpd --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pure-ftpd/stuff/pure-ftpd Wed May 07 01:14:00 2008 +0200 @@ -0,0 +1,62 @@ +#!/bin/sh +# /etc/init.d/pure-ftpd : Start, stop and restart pure-FTPd daemon on SliTaz, at +# boot time or with the command line. +# +# To start pure-FTPd server at boot time, just put pure-ftpd in the $RUN_DAEMONS +# variable of /etc/rcS.conf and configure options with /etc/daemons.conf +# +. /etc/init.d/rc.functions +. /etc/daemons.conf + +NAME=pure-ftpd +DESC="pure-FTPd Server Daemon" +DAEMON=/usr/sbin/$NAME + +PIDFILE=/var/run/$NAME.pid + +# Options: +# -4 IPV4 Only +# -H Don't resolve +# -A Chroot Everyone +# -B Daemonize +OPTIONS="-4 -H -A -B" + +case "$1" in + start) + if [ -f $PIDFILE ] ; then + echo "$NAME already running." + exit 1 + fi + echo -n "Starting $DESC: $NAME... " + $DAEMON $OPTIONS + status + ;; + stop) + if [ ! -f $PIDFILE ] ; then + echo "$NAME is not running." + exit 1 + fi + echo -n "Stopping $DESC: $NAME... " + kill `cat $PIDFILE` + status + ;; + restart) + if [ ! -f $PIDFILE ] ; then + echo "$NAME is not running." + exit 1 + fi + echo -n "Restarting $DESC: $NAME... " + kill `cat $PIDFILE` + sleep 2 + $DAEMON $OPTIONS + status + ;; + *) + echo "" + echo -e "\033[1mUsage:\033[0m /etc/init.d/`basename $0` [start|stop|restart]" + echo "" + exit 1 + ;; +esac + +exit 0 diff -r bec96f4407c9 -r fab97211d72f unshield/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/unshield/receipt Wed May 07 01:14:00 2008 +0200 @@ -0,0 +1,30 @@ +# SliTaz package receipt. + +PACKAGE="unshield" +VERSION="0.5" +CATEGORY="utilities" +SHORT_DESC="" +MAINTAINER="Erjo " +DEPENDS="" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="http://kent.dl.sourceforge.net/sourceforge/synce/" +WGET_URL="http://kent.dl.sourceforge.net/sourceforge/synce/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure --prefix=/usr --infodir=/usr/share/info \ + --mandir=/usr/share/man $CONFIGURE_ARGS + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib +} +