wok-next diff dhcp6/receipt @ rev 19905
atril, directfb, libglu-mesa, libglw-mesa, waterline-plugin-multiload : update bdeps
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Thu Oct 12 19:04:50 2017 +0200 (2017-10-12) |
parents | eb8067417980 |
children | 757d032c55c7 |
line diff
1.1 --- a/dhcp6/receipt Sat Nov 30 10:06:29 2013 +0000 1.2 +++ b/dhcp6/receipt Thu Oct 12 19:04:50 2017 +0200 1.3 @@ -1,41 +1,61 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="dhcp6" 1.8 VERSION="4.2.2" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="Dynamic Host Configuration Protocol server with ipv6 support." 1.11 +SHORT_DESC="Dynamic Host Configuration Protocol with IPv6 support" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="ISC" 1.14 -SOURCE="dhcp" 1.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 -WEB_SITE="http://www.isc.org/products/DHCP/" 1.17 -WGET_URL="http://ftp.isc.org/isc/$SOURCE/$TARBALL" 1.18 -CONFIG_FILES="/etc/dhcpd.conf" 1.19 -PROVIDE="dhcp" 1.20 +WEB_SITE="https://www.isc.org/downloads/DHCP/" 1.21 1.22 -DEPENDS="libcrypto" 1.23 +TARBALL="dhcp-$VERSION.tar.gz" 1.24 +WGET_URL="https://ftp.isc.org/isc/dhcp/$TARBALL" 1.25 + 1.26 BUILD_DEPENDS="perl" 1.27 +SPLIT="dhcp6-client dhcp6-relay dhcp6-dev" 1.28 +SIBLINGS="dhcp" 1.29 1.30 # Rules to configure and make the package. 1.31 compile_rules() 1.32 { 1.33 - ln -s $src $PACKAGE-$VERSION 2> /dev/null 1.34 - cd $src 1.35 grep -q MYEOL includes/dhctoken.h || 1.36 sed -i "s/SEMI/MYEOL = '\\\\n',\n\tQUESTION = '?',\n\t&/" \ 1.37 includes/dhctoken.h 1.38 sed -i 's/== NOERROR/== (isc_result_t) NOERROR/' server/ddns.c 1.39 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.40 - --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && \ 1.41 + 1.42 + ./configure \ 1.43 + --sysconfdir=/etc \ 1.44 + $CONFIGURE_ARGS && 1.45 make && make DESTDIR=$DESTDIR install 1.46 + 1.47 + mkdir -p $install/etc/init.d 1.48 + cp $WOK/dhcp/stuff/dhcpd $install/etc/init.d 1.49 + cp $src/client/scripts/linux $install/etc/dhclient-script 1.50 } 1.51 1.52 # Rules to gen a SliTaz package suitable for Tazpkg. 1.53 genpkg_rules() 1.54 { 1.55 - mkdir -p $fs/usr/sbin $fs/etc/init.d 1.56 - cp $install/etc/dhcpd.conf $fs/etc 1.57 - cp $install/usr/sbin/dhcpd $fs/usr/sbin 1.58 - cp $WOK/dhcp/stuff/dhcpd $fs/etc/init.d 1.59 + case $PACKAGE in 1.60 + dhcp6) 1.61 + copy dhcpd.conf dhcpd 1.62 + CONFIG_FILES="/etc/dhcpd.conf" 1.63 + PROVIDE="dhcp" 1.64 + ;; 1.65 + dhcp6-client) 1.66 + copy dhclient.conf dhclient-script dhclient omshell 1.67 + CAT="network|ISC client" 1.68 + DEPENDS=" " 1.69 + CONFIG_FILES="/etc/dhclient.conf" 1.70 + PROVIDE="dhcp-client" 1.71 + ;; 1.72 + dhcp6-relay) 1.73 + copy dhcrelay 1.74 + CAT="network|relay" 1.75 + DEPENDS=" " 1.76 + PROVIDE="dhcp-relay" 1.77 + ;; 1.78 + *-dev) copy @dev;; 1.79 + esac 1.80 } 1.81