summaryrefslogtreecommitdiff
path: root/package/ipcad
diff options
context:
space:
mode:
Diffstat (limited to 'package/ipcad')
-rw-r--r--package/ipcad/Makefile11
-rw-r--r--package/ipcad/files/ipcad.conffiles (renamed from package/ipcad/ipkg/ipcad.conffiles)0
-rw-r--r--package/ipcad/ipkg/ipcad.control6
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.