wok-next view libwrap/receipt @ rev 20558
openmotif: fix syntax error in receipt
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 07 16:14:50 2018 +0300 (2018-04-07) |
parents | ccb92f8ccaf6 |
children | d6378d455338 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libwrap"
4 VERSION="7.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="Wietse Venema's network logger"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 SOURCE="tcp_wrappers"
10 TARBALL="${SOURCE}_${VERSION}.tar.gz"
11 WEB_SITE="ftp://ftp.porcupine.org/pub/security/index.html"
12 WGET_URL="ftp://ftp.porcupine.org/pub/security/$TARBALL"
14 SPLIT="libwrap-dev tcpd"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 # Patch from Linux From Scratch
20 [ -f done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch ] ||
21 patch -p1 -i $stuff/tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
22 touch done.tcp_wrappers-7.6-shared_lib_plus_plus-1.patch
23 sed -i -e "s,^extern char \*malloc();,/* & */," scaffold.c
25 make REAL_DAEMON_DIR=/usr/sbin STYLE=-DPROCESS_OPTIONS linux
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 case $PACKAGE in
32 libwrap)
33 mkdir -p $fs/usr/lib
34 cp -a $src/shared/*.so* $fs/usr/lib
35 ;;
36 libwrap-dev)
37 mkdir -p $fs/usr/include $fs/usr/lib
38 cp -a $src/tcpd.h $fs/usr/include
39 cp -a $src/*.a $fs/usr/lib
40 ;;
41 tcpd)
42 CAT="development|network encapsulation files"
43 CONFIG_FILES="/etc/hosts.allow /etc/hosts.deny"
44 DEPENDS="libwrap"
45 mkdir -p $fs/usr/sbin $fs/etc
46 cp -a $src/tcpd $fs/usr/sbin
47 cp -a $src/tcpdchk $fs/usr/sbin
48 cp -a $src/tcpdmatch $fs/usr/sbin
49 cp -a $src/try-from $fs/usr/sbin
50 cp -a $src/safe_finger $fs/usr/sbin
51 echo "ALL : 127.0.0.1, 192.168." > $fs/etc/hosts.allow
52 touch $fs/etc/hosts.deny
53 ;;
54 esac
55 }