summaryrefslogtreecommitdiff
path: root/package/dhcp
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-26 09:53:28 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-26 09:56:01 +0200
commit1aacea2738c291c5e144ad1913c3ed6cca9f87db (patch)
treef8a39f8d250a1a8bc1e56a3607b59231281f1927 /package/dhcp
parent5bdd93287770808c4100008b8b0b39c1a55bf098 (diff)
use XZ tarballs as default
Diffstat (limited to 'package/dhcp')
-rw-r--r--package/dhcp/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/package/dhcp/Makefile b/package/dhcp/Makefile
index ea3af6439..d0fd9c1db 100644
--- a/package/dhcp/Makefile
+++ b/package/dhcp/Makefile
@@ -5,12 +5,14 @@ include ${TOPDIR}/rules.mk
PKG_NAME:= dhcp
PKG_VERSION:= 4.1.1
-PKG_RELEASE:= 2
+PKG_RELEASE:= 1
PKG_MD5SUM:= 38a74c89d8913b9b5f33737047623c18
PKG_DESCR:= ISC DHCP server
PKG_SECTION:= dhcp
PKG_URL:= https://www.isc.org/software/dhcp/
-PKG_SITES:= ftp://ftp.isc.org/isc/dhcp/
+PKG_SITES:= ftp://ftp.isc.org/isc/dhcp/${PKG_VERSION}/
+
+DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
PKG_SUBPKGS:= DHCP_SERVER DHCP_RELAY
PKGSD_DHCP_RELAY:= ISC DHCP relay server
@@ -22,10 +24,12 @@ $(eval $(call PKG_template,DHCP_RELAY,dhcp-relay,${PKG_VERSION}-${PKG_RELEASE},$
CONFIGURE_ENV+= ac_cv_file__dev_random=yes
-post-install:
+dhcp-relay-install:
${INSTALL_DIR} ${IDIR_DHCP_RELAY}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/dhcrelay \
${IDIR_DHCP_RELAY}/usr/sbin/
+
+dhcp-server-install:
${INSTALL_DIR} ${IDIR_DHCP_SERVER}/usr/sbin
${INSTALL_DIR} ${IDIR_DHCP_SERVER}/etc
${INSTALL_DATA} ./files/dhcpd.conf ${IDIR_DHCP_SERVER}/etc