wok-next annotate portmap/receipt @ rev 21678
updated getmail (4.41.0 -> 5.14)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 13:44:08 2020 +0100 (2020-06-29) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@21020 | 1 # SliTaz package receipt v2. |
erjo@174 | 2 |
erjo@174 | 3 PACKAGE="portmap" |
erjo@252 | 4 VERSION="6.0" |
pankso@211 | 5 CATEGORY="network" |
erjo@175 | 6 SHORT_DESC="RPC portmapper" |
Hans-G?nter@21412 | 7 MAINTAINER="maintainer@slitaz.org" |
pascal@15379 | 8 LICENSE="BSD" |
al@20949 | 9 WEB_SITE="ftp://ftp.porcupine.org/pub/security/index.html" |
al@21020 | 10 |
al@21020 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
erjo@252 | 12 WGET_URL="http://neil.brown.name/portmap/$TARBALL" |
erjo@174 | 13 |
Hans-G?nter@21412 | 14 BUILD_DEPENDS="glibc-dev libwrap-dev" |
erjo@174 | 15 |
Hans-G?nter@21412 | 16 compile_rules() |
Hans-G?nter@21412 | 17 { |
erjo@252 | 18 # Disabling TCP_WRAPPER with NO_TCP_WRAPPER variable |
al@21020 | 19 NO_TCP_WRAPPER=1 make || return 1 |
al@21020 | 20 |
al@21020 | 21 install -Dm755 pmap_dump $install/usr/sbin/pmap_dump |
al@21020 | 22 install -Dm755 pmap_set $install/usr/sbin/pmap_set |
al@21020 | 23 install -Dm755 portmap $install/usr/sbin/portmap |
al@21020 | 24 |
al@21020 | 25 install -Dm755 $stuff/init.d/portmap $install/etc/init.d/portmap |
erjo@174 | 26 } |
erjo@174 | 27 |
Hans-G?nter@21412 | 28 genpkg_rules() |
Hans-G?nter@21412 | 29 { |
al@21020 | 30 copy @std |
al@21020 | 31 DEPENDS="libwrap" |
erjo@174 | 32 } |
erjo@174 | 33 |
al@21020 | 34 # Post message when installing. |
al@21020 | 35 post_install() { |
al@21020 | 36 [ -n "$quiet" ] || cat <<EOT |
erjo@174 | 37 |
al@21020 | 38 .------------------------------------------------. |
al@21020 | 39 | To start portmap server you can run: | |
al@21020 | 40 | /etc/init.d/portmap start | |
al@21020 | 41 | or add portmap to RUN_DAEMONS in /etc/rcS.conf | |
al@21020 | 42 '------------------------------------------------' |
al@21020 | 43 EOT |
erjo@174 | 44 } |