wok annotate libwrap/receipt @ rev 25399

updated vim and vim-tiny (8.2.0664 -> 9.0.0133)
author Hans-G?nter Theisgen
date Tue Aug 02 14:18:25 2022 +0100 (2022-08-02)
parents ede1d184d5c5
children
rev   line source
erjo@286 1 # SliTaz package receipt.
erjo@286 2
erjo@286 3 PACKAGE="libwrap"
erjo@286 4 VERSION="7.6"
erjo@286 5 CATEGORY="system-tools"
erjo@286 6 SHORT_DESC="Wietse Venema's network logger."
erjo@784 7 MAINTAINER="erjo@slitaz.org"
pascal@15600 8 LICENSE="BSD"
erjo@286 9 SOURCE="tcp_wrappers"
erjo@286 10 TARBALL="${SOURCE}_${VERSION}.tar.gz"
pascal@24614 11 WEB_SITE="http://ftp.porcupine.org/pub/security/index.html"
erjo@286 12 WGET_URL="ftp://ftp.porcupine.org/pub/security/$TARBALL"
pankso@16034 13 HOST_ARCH="i486 arm"
erjo@286 14
pascal@24447 15 # What is the latest version available today?
pascal@24447 16 current_version()
pascal@24447 17 {
pascal@24614 18 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24614 19 sed '/tcp_wrappers_[0-9]/!d;s|.*tcp_wrappers_||;s|.t.*||;q'
pascal@24447 20 }
pascal@24447 21
erjo@286 22 # Rules to configure and make the package.
erjo@286 23 compile_rules()
erjo@286 24 {
erjo@286 25 cd $src
erjo@286 26 # Patch from Linux From Scratch
pascal@1448 27 [ -f done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch ] ||
slaxemulator@9700 28 patch -p1 -i $stuff/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
pascal@1448 29 touch done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
erjo@286 30 sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c
erjo@286 31
erjo@286 32 make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux
erjo@286 33 }
erjo@286 34
erjo@286 35 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@286 36 genpkg_rules()
erjo@286 37 {
erjo@286 38 mkdir -p $fs/usr/lib
erjo@286 39 cp -a $src/shared/*.so* $fs/usr/lib
erjo@286 40 }
erjo@286 41
erjo@286 42 clean_wok()
erjo@286 43 {
erjo@286 44 rm -rf $PWD/${SOURCE}_${VERSION}
erjo@286 45 }