summaryrefslogtreecommitdiff
path: root/package/knock
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-09-14 19:04:46 +0200
commit05d0076d97ed69a531df1aa5cde3a1e6ed17f922 (patch)
treee605e2d5de96fe9afe7ad8724fe57e9e5c5417e1 /package/knock
parenta2e96ddb9519a2f40857f11501b88e465d25082d (diff)
replace mksh scripts with faster C programs
depmaker and pkgmaker is replaced by C programs. scan-pkgs.sh will be replaced by another mechanism. scan-pkgs.sh is needed to recognize package flavour changes, so that a package is rebuild. Generation of meta-data is a lot faster now. Fix or add new PKG variables to fulfill the needs of the new programs. Documentation will follow as soon as it is stable.
Diffstat (limited to 'package/knock')
-rw-r--r--package/knock/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/package/knock/Makefile b/package/knock/Makefile
index 75c8055b5..c7978ece1 100644
--- a/package/knock/Makefile
+++ b/package/knock/Makefile
@@ -9,17 +9,18 @@ PKG_RELEASE:= 1
PKG_MD5SUM:= ca09d61458974cff90a700aba6120891
PKG_DESCR:= A port-knocking client
PKG_SECTION:= firewall
+PKG_BUILDDEP:= libpcap
PKG_URL:= http://www.zeroflux.org/projects/knock
-PKG_BUILDDEP+= libpcap
PKG_SITES:= http://www.zeroflux.org/proj/knock/files/
-PKG_DESCR_1:= A port-knocking server
-PKG_DEPENDS_1:= libpcap
+PKG_SUBPKGS:= KNOCK KNOCKD
+PKGSD_KNOCKD:= A port-knocking server
+PKGSS_KNOCKD:= libpcap
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,KNOCK,knock,${PKG_VERSION}-${PKG_RELEASE},,${PKG_DESCR},${PKG_SECTION}))
-$(eval $(call PKG_template,KNOCKD,knockd,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_1},${PKG_DESCR_1},${PKG_SECTION}))
+$(eval $(call PKG_template,KNOCKD,knockd,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_KNOCKD},${PKGSD_KNOCKD},${PKG_SECTION}))
TCXXFLAGS+= ${TCPPFLAGS} ${TCFLAGS}
CONFIGURE_ENV+= ac_cv_lib_pcap_pcap_open_live=yes