diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-05-30 20:39:07 +0200 |
commit | ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd (patch) | |
tree | 10c726d162bc0ded85eb7aeacf8f246bd39ad63a /package/ipcad | |
parent | bbd610f15a71b27c955175cb98392b114717fd47 (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/ipcad')
-rw-r--r-- | package/ipcad/Makefile | 11 | ||||
-rw-r--r-- | package/ipcad/files/ipcad.conffiles (renamed from package/ipcad/ipkg/ipcad.conffiles) | 0 | ||||
-rw-r--r-- | package/ipcad/ipkg/ipcad.control | 6 |
3 files changed, 7 insertions, 10 deletions
diff --git a/package/ipcad/Makefile b/package/ipcad/Makefile index ca240ddd0..7074ef874 100644 --- a/package/ipcad/Makefile +++ b/package/ipcad/Makefile @@ -9,11 +9,15 @@ PKG_NAME:= ipcad PKG_VERSION:= 3.7.3 PKG_RELEASE:= 1 PKG_MD5SUM:= 125605249958894148ec26d3c88189f5 -MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=ipcad/} +PKG_DESCR:= IP Cisco Accounting Daemon +PKG_SECTION:= net +PKG_DEPENDS:= libpcap +PKG_URL:= http://lionet.info/ipcad +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=ipcad/} include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,IPCAD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,IPCAD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= --with-ifst=linux \ @@ -27,8 +31,7 @@ pre-build: touch $(WRKBUILD)/cfglex.c $(WRKBUILD)/cslex.c post-install: - ${INSTALL_DIR} ${IDIR_IPCAD}/usr/bin - ${INSTALL_DIR} ${IDIR_IPCAD}/etc + ${INSTALL_DIR} ${IDIR_IPCAD}/usr/bin ${IDIR_IPCAD}/etc ${INSTALL_DATA} ${WRKINST}/etc/ipcad.conf ${IDIR_IPCAD}/etc/ ${INSTALL_BIN} ${WRKINST}/usr/bin/ipcad ${IDIR_IPCAD}/usr/bin/ diff --git a/package/ipcad/ipkg/ipcad.conffiles b/package/ipcad/files/ipcad.conffiles index f6843d846..f6843d846 100644 --- a/package/ipcad/ipkg/ipcad.conffiles +++ b/package/ipcad/files/ipcad.conffiles diff --git a/package/ipcad/ipkg/ipcad.control b/package/ipcad/ipkg/ipcad.control deleted file mode 100644 index 93df70c1d..000000000 --- a/package/ipcad/ipkg/ipcad.control +++ /dev/null @@ -1,6 +0,0 @@ -Package: ipcad -Depends: libpcap -Section: net -Architecture: mipsel -Priority: optional -Description: IPCAD stands for IP Cisco Accounting Daemon. It runs in background, listens traffic on the specified interfaces, and records the traffic for later retrieval and analysis. IPCAD can use raw BPF devices, PCAP library, divert, tee or Linux iptables' ULOG & IPQ packet sources to capture the packets. |