wok view portmap/receipt @ rev 20679

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 26 12:26:47 2019 +0100 (2019-01-26)
parents 2a5cc8208d36
children affc6fdda56c
line source
1 # SliTaz package receipt.
3 PACKAGE="portmap"
4 VERSION="6.0"
5 CATEGORY="network"
6 SHORT_DESC="RPC portmapper"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="${PACKAGE}-${VERSION}.tgz"
10 WEB_SITE="ftp://ftp.porcupine.org/pub/security/index.html"
11 WGET_URL="http://neil.brown.name/portmap/$TARBALL"
13 DEPENDS="libwrap"
14 BUILD_DEPENDS="libwrap-dev"
16 # rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 # Build
22 # Disabling TCP_WRAPPER with NO_TCP_WRAPPER variable
23 NO_TCP_WRAPPER=1 make
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/sbin
30 cp -a $src/pmap_dump $fs/usr/sbin
31 cp -a $src/pmap_set $fs/usr/sbin
32 cp -a $src/portmap $fs/usr/sbin
34 mkdir -p $fs/etc/init.d
35 install -g root -o root -m 0755 stuff/init.d/portmap $fs/etc/init.d
36 }
39 post_install()
40 {
41 # Post message when installing.
42 echo -e "\nTo starts $PACKAGE server you can run :\n"
43 echo "/etc/init.d/$PACKAGE start"
44 echo -e "Or add $PACKAGE to RUN_DAEMONS in /etc/rcS.conf\n"
45 }