summaryrefslogtreecommitdiff
path: root/package/aiccu
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/aiccu
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/aiccu')
-rw-r--r--package/aiccu/Makefile9
-rw-r--r--package/aiccu/files/aiccu.conffiles (renamed from package/aiccu/ipkg/aiccu.conffiles)0
-rw-r--r--package/aiccu/files/aiccu.init3
-rw-r--r--package/aiccu/files/aiccu.postinst (renamed from package/aiccu/ipkg/aiccu.postinst)0
-rw-r--r--package/aiccu/ipkg/aiccu.control5
5 files changed, 8 insertions, 9 deletions
diff --git a/package/aiccu/Makefile b/package/aiccu/Makefile
index 1f5d6b510..36a3900d3 100644
--- a/package/aiccu/Makefile
+++ b/package/aiccu/Makefile
@@ -9,15 +9,18 @@ PKG_NAME:= aiccu
PKG_VERSION:= 20070115
PKG_RELEASE:= 7
PKG_MD5SUM:= c9bcc83644ed788e22a7c3f3d4021350
+PKG_DESCR:= SixXS Automatic IPv6 Connectivity Client Utility
+PKG_SECTION:= net
+PKG_DEPENDS:= kmod-ipv6 libpthread
+PKG_URL:= http://www.sixxs.net
+PKG_SITES:= http://www.sixxs.net/archive/sixxs/aiccu/unix/
-MASTER_SITES:= http://www.sixxs.net/archive/sixxs/aiccu/unix/
DISTFILES:= $(PKG_NAME)_$(PKG_VERSION).tar.gz
-
WRKDIST= ${WRKDIR}/$(PKG_NAME)
include $(TOPDIR)/mk/package.mk
-$(eval $(call PKG_template,AICCU,aiccu,$(PKG_VERSION)-$(PKG_RELEASE)))
+$(eval $(call PKG_template,AICCU,aiccu,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
TCFLAGS+= -D_REENTRANT -D_GNU_SOURCE -DAICCU_CONSOLE \
-D_LINUX -DHAS_IFHEAD -DAICCU_TYPE=\"linux\"
diff --git a/package/aiccu/ipkg/aiccu.conffiles b/package/aiccu/files/aiccu.conffiles
index 79c42f998..79c42f998 100644
--- a/package/aiccu/ipkg/aiccu.conffiles
+++ b/package/aiccu/files/aiccu.conffiles
diff --git a/package/aiccu/files/aiccu.init b/package/aiccu/files/aiccu.init
index e678664bf..dbec044a4 100644
--- a/package/aiccu/files/aiccu.init
+++ b/package/aiccu/files/aiccu.init
@@ -1,5 +1,6 @@
#!/bin/sh
-#FWINIT 60
+#PKG aiccu
+#INIT 60
. /etc/rc.conf
case $1 in
diff --git a/package/aiccu/ipkg/aiccu.postinst b/package/aiccu/files/aiccu.postinst
index e6d0f0d9a..e6d0f0d9a 100644
--- a/package/aiccu/ipkg/aiccu.postinst
+++ b/package/aiccu/files/aiccu.postinst
diff --git a/package/aiccu/ipkg/aiccu.control b/package/aiccu/ipkg/aiccu.control
deleted file mode 100644
index 98bc6f1ba..000000000
--- a/package/aiccu/ipkg/aiccu.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: aiccu
-Priority: optional
-Section: net
-Depends: kmod-ipv6, libpthread
-Description: SixXS Automatic IPv6 Connectivity Client Utility