SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "knock"

# SliTaz package receipt.

PACKAGE="knock"
VERSION="0.5"
CATEGORY="security"
SHORT_DESC="Port knock sequence listener."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.zeroflux.org/$PACKAGE"
WGET_URL="http://www.zeroflux.org/proj/$PACKAGE/files/$TARBALL"
CONFIG_FILES="/etc/knockd.conf"

DEPENDS="iptables"
BUILD_DEPENDS="libpcap-dev"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    [ -f done.knock.u ] || patch -p1 < $stuff/knock.u
    touch done.knock.u
    ./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 $_pkg/etc $fs
    cp -a $_pkg/usr/sbin $fs/usr
    cp -a $_pkg/usr/bin $fs/usr
    cp -a stuff/etc $fs
}

3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)