wok-current annotate dhcp/receipt @ rev 21979
updated stunnel (5.50 -> 5.55)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Oct 11 17:49:32 2019 +0100 (2019-10-11) |
parents | e05d978e5ab8 |
children | e3178e8508fc |
rev | line source |
---|---|
pascal@1338 | 1 # SliTaz package receipt. |
pascal@1338 | 2 |
pascal@1338 | 3 PACKAGE="dhcp" |
Hans-G?nter@20825 | 4 VERSION="4.4.1" |
pascal@1338 | 5 CATEGORY="network" |
pascal@1338 | 6 SHORT_DESC="Dynamic Host Configuration Protocol server." |
pascal@1338 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15579 | 8 LICENSE="ISC" |
pascal@21770 | 9 WEB_SITE="http://www.isc.org/" |
Hans-G?nter@20825 | 10 |
pascal@1338 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@20825 | 12 WGET_URL="http://ftp.isc.org/isc/$PACKAGE/$VERSION/$TARBALL" |
pascal@14772 | 13 CONFIG_FILES="/etc/dhcpd.conf" |
pascal@14772 | 14 |
pascal@2488 | 15 DEPENDS="libcrypto" |
pascal@20567 | 16 BUILD_DEPENDS="perl file" |
pascal@1338 | 17 |
pascal@1338 | 18 # Rules to configure and make the package. |
pascal@1338 | 19 compile_rules() |
pascal@1338 | 20 { |
pascal@5734 | 21 grep -q MYEOL includes/dhctoken.h || |
pascal@5734 | 22 sed -i "s/SEMI/MYEOL = '\\\\n',\n\tQUESTION = '?',\n\t&/" \ |
pascal@5734 | 23 includes/dhctoken.h |
pascal@5734 | 24 sed -i 's/== NOERROR/== (isc_result_t) NOERROR/' server/ddns.c |
Hans-G?nter@20825 | 25 |
Hans-G?nter@20825 | 26 ./configure \ |
Hans-G?nter@20825 | 27 --prefix=/usr \ |
Hans-G?nter@20825 | 28 --infodir=/usr/share/info \ |
Hans-G?nter@20825 | 29 --disable-dhcpv6 \ |
Hans-G?nter@20825 | 30 --sysconfdir=/etc \ |
Hans-G?nter@20825 | 31 --mandir=/usr/share/man \ |
Hans-G?nter@20825 | 32 $CONFIGURE_ARGS && |
pascal@20832 | 33 make -j 1 && |
pascal@20832 | 34 make -j 1 DESTDIR=$DESTDIR install |
pascal@1338 | 35 } |
pascal@1338 | 36 |
pascal@1338 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1338 | 38 genpkg_rules() |
pascal@1338 | 39 { |
pascal@5234 | 40 mkdir -p $fs/usr/sbin $fs/etc/init.d |
Hans-G?nter@20825 | 41 cp $install/etc/dhcpd.conf.example $fs/etc/dhcpd.conf |
pascal@15579 | 42 cp $install/usr/sbin/dhcpd $fs/usr/sbin |
slaxemulator@11095 | 43 cp $stuff/dhcpd $fs/etc/init.d |
pascal@1338 | 44 } |