wok-6.x view dhcp6/receipt @ rev 22296
updated xorg-xmodmap (1.0.5 -> 1.0.10)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Nov 13 16:38:59 2019 +0100 (2019-11-13) |
parents | e05d978e5ab8 |
children | e3178e8508fc |
line source
1 # SliTaz package receipt.
3 PACKAGE="dhcp6"
4 VERSION="4.4.1"
5 CATEGORY="network"
6 SHORT_DESC="Dynamic Host Configuration Protocol server with ipv6 support."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="ISC"
9 WEB_SITE="http://www.isc.org/"
11 SOURCE="dhcp"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="http://ftp.isc.org/isc/$SOURCE/$TARBALL"
15 CONFIG_FILES="/etc/dhcpd.conf"
16 PROVIDE="dhcp"
17 DEPENDS="libcrypto"
18 BUILD_DEPENDS="perl file"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ln -s $src $PACKAGE-$VERSION 2> /dev/null
24 cd $src
25 grep -q MYEOL includes/dhctoken.h ||
26 sed -i "s/SEMI/MYEOL = '\\\\n',\n\tQUESTION = '?',\n\t&/" \
27 includes/dhctoken.h
28 sed -i 's/== NOERROR/== (isc_result_t) NOERROR/' server/ddns.c
29 ./configure \
30 --prefix=/usr \
31 --infodir=/usr/share/info \
32 --sysconfdir=/etc \
33 --mandir=/usr/share/man \
34 $CONFIGURE_ARGS &&
35 make -j 1 &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/sbin $fs/etc/init.d
43 cp $install/etc/dhcpd.conf.example $fs/etc/dhcpd.conf
44 cp $install/usr/sbin/dhcpd $fs/usr/sbin
45 cp $WOK/dhcp/stuff/dhcpd $fs/etc/init.d
46 }