
Receipt for package "airpwn"
# SliTaz package receipt. PACKAGE="airpwn" VERSION="1.4" CATEGORY="network" SHORT_DESC="Airpwn is a tool for generic packet injection on an 802.11 network." MAINTAINER="slaxemulator@gmail.com" LICENSE="GPL2" WEB_SITE="https://airpwn.sourceforge.net" TARBALL="$PACKAGE-$VERSION.tgz" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="pcre libpcap libcrypto openssl lorcon wireless_tools libnet" BUILD_DEPENDS="pcre-dev libpcap-dev libcrypto-dev openssl-dev lorcon-dev \ wireless_tools-dev libnet-dev libnet python python-dev autoconf automake" # What is the latest version available today? current_version() { wget -O - https://sourceforge.net/projects/airpwn/files/airpwn/ 2>/dev/null | \ sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ sed '/scope="row/!d;s|.*/airpwn/||;s|/.*||;q' } # Rules to configure and make the package. compile_rules() { # Patch configure to link libcrypto patch -Np1 -i $stuff/link-libcrypto.patch # Fix airpwn files so we can use it with a Python version other than 2.4. PYTHON_VERSION1=$(python -c 'import sys; print sys.version[:3]') PYTHON_VERSION2=$(echo $PYTHON_VERSION1 | tr . _) for FILE in configure.ac conf.h config.h.in; do sed -i "s|python2.4|python${PYTHON_VERSION1}|g" $FILE done autoreconf automake --add-missing ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $install/usr/sbin $fs/usr }
6088 packages and 256128 files in current database (Wed Mar 5 09:18:31 2025)