SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libwrap"

# SliTaz package receipt.

PACKAGE="libwrap"
VERSION="7.6"
CATEGORY="system-tools"
SHORT_DESC="Wietse Venema's network logger."
MAINTAINER="erjo@slitaz.org"
SOURCE="tcp_wrappers"
TARBALL="${SOURCE}_${VERSION}.tar.gz"
WEB_SITE="ftp://ftp.porcupine.org/pub/security/index.html"
WGET_URL="ftp://ftp.porcupine.org/pub/security/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    # Patch from Linux From Scratch
    [ -f done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch ] ||
    patch -p1 -i $stuff/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
    touch done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
    sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c 
        
    make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/lib 
    cp -a $src/shared/*.so* $fs/usr/lib
}

clean_wok()
{
    rm -rf $PWD/${SOURCE}_${VERSION}
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)