wok-4.x diff portmap/receipt @ rev 252
ADD: lzo, lzo-dev, startup-notification, startup-notification-dev
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Feb 24 02:29:49 2008 +0100 (2008-02-24) |
parents | cf22fee17710 |
children | 49cc94a1c7aa |
line diff
1.1 --- a/portmap/receipt Wed Feb 13 15:26:29 2008 +0100 1.2 +++ b/portmap/receipt Sun Feb 24 02:29:49 2008 +0100 1.3 @@ -1,16 +1,15 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="portmap" 1.7 -VERSION="5beta" 1.8 +VERSION="6.0" 1.9 CATEGORY="network" 1.10 SHORT_DESC="RPC portmapper" 1.11 MAINTAINER="Erjo <erjo@slitaz.org>" 1.12 DEPENDS="" 1.13 -TARBALL="${PACKAGE}_${VERSION}.tar.gz" 1.14 -WEB_SITE="http://www.linuxfromscratch.org/blfs/view/stable/basicnet/portmap.html" 1.15 -WGET_URL="ftp://ftp.porcupine.org/pub/security/${TARBALL}" 1.16 +TARBALL="${PACKAGE}-${VERSION}.tgz" 1.17 +WEB_SITE="http://neil.brown.name/portmap/" 1.18 +WGET_URL="http://neil.brown.name/portmap/$TARBALL" 1.19 1.20 -src=${PACKAGE}_${VERSION} 1.21 1.22 # rules to configure and make the package. 1.23 compile_rules() 1.24 @@ -20,14 +19,9 @@ 1.25 src=${PACKAGE}_${VERSION} 1.26 cd $src 1.27 1.28 - # Applying some patches 1.29 - # see Beyond Linux From Scratch for details. 1.30 - patch -Np1 -i ../stuff/portmap-5beta-compilation_fixes-3.patch 1.31 - patch -Np1 -i ../stuff/portmap-5beta-glibc_errno_fix-1.patch 1.32 - patch -Np1 -i ../stuff/portmap-5beta-disable-tcp_wrapper.patch 1.33 - 1.34 # Build 1.35 - make 1.36 + # Disabling TCP_WRAPPER with NO_TCP_WRAPPER variable 1.37 + NO_TCP_WRAPPER=1 make 1.38 } 1.39 1.40 # Rules to gen a SliTaz package suitable for Tazpkg. 1.41 @@ -41,22 +35,18 @@ 1.42 cp -a $src/pmap_dump $fs/usr/sbin 1.43 cp -a $src/pmap_set $fs/usr/sbin 1.44 cp -a $src/portmap $fs/usr/sbin 1.45 + 1.46 strip -s $fs/usr/sbin/* 1.47 1.48 - mkdir -p $fs/etc 1.49 - cp -a stuff/init.d $fs/etc 1.50 + mkdir -p $fs/etc/init.d 1.51 + install -g root -o root -m 0755 stuff/init.d/portmap $fs/etc/init.d 1.52 + 1.53 + 1.54 } 1.55 1.56 1.57 post_install() 1.58 { 1.59 - local root 1.60 - root=$1 1.61 - echo "Processing some post-install commands..." 1.62 - 1.63 - chown root.root $root/etc/init.d/portmap 1.64 - chmod 0755 $root/etc/init.d/portmap 1.65 - 1.66 # Post message when installing. 1.67 echo -e "\nTo starts $PACKAGE server you can run :\n" 1.68 echo "/etc/init.d/$PACKAGE start"