summaryrefslogtreecommitdiff
path: root/package/xinetd/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-30 20:39:07 +0200
commitba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch)
tree10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/xinetd/Makefile
parentbbd610f15a71b27c955175cb98392b114717fd47 (diff)
optimize ipkg package management
- generate ipkg control file from PKG_* variables - automatically install init scripts from ./files/*.init set #PKG pkgname to set the binary package - rename FWINIT -> INIT - move postinst and conffiles meta data to ./files - update the packages to the latest upstream version - remove some unready or unused package (strongswan,..) more cleanups needed after allmodconfig
Diffstat (limited to 'package/xinetd/Makefile')
-rw-r--r--package/xinetd/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/package/xinetd/Makefile b/package/xinetd/Makefile
index 349d194fd..2e92a4e7e 100644
--- a/package/xinetd/Makefile
+++ b/package/xinetd/Makefile
@@ -9,12 +9,14 @@ PKG_NAME:= xinetd
PKG_VERSION:= 2.3.13
PKG_RELEASE:= 9
PKG_MD5SUM:= 4295b5fe12350f09b5892b363348ac8b
-
-MASTER_SITES:= http://www.xinetd.org/
+PKG_DESCR:= a powerful and secure superserver
+PKG_SECTION:= net
+PKG_URL:= http://www.xinetd.org
+PKG_SITES:= http://www.xinetd.org/
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,XINETD,xinetd,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,XINETD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
CONFIGURE_ARGS+= --without-libwrap \
@@ -24,12 +26,8 @@ ALL_TARGET:= build
INSTALL_STYLE:= auto
post-install:
- ${INSTALL_DIR} ${IDIR_XINETD}/etc
+ ${INSTALL_DIR} ${IDIR_XINETD}/etc/xinetd.d ${IDIR_XINETD}/usr/sbin
${INSTALL_DATA} ./files/xinetd.conf ${IDIR_XINETD}/etc/xinetd.conf
- ${INSTALL_DIR} ${IDIR_XINETD}/etc/xinetd.d
- ${INSTALL_DIR} ${IDIR_XINETD}/etc/init.d
- ${INSTALL_BIN} ./files/xinetd.init ${IDIR_XINETD}/etc/init.d/xinetd
- ${INSTALL_DIR} ${IDIR_XINETD}/usr/sbin
${INSTALL_BIN} ${WRKINST}/usr/sbin/xinetd ${IDIR_XINETD}/usr/sbin/
include ${TOPDIR}/mk/pkg-bottom.mk