From ba3359722cbf8aa7b0ed39e1f81d1d74ec88fecd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 30 May 2009 20:39:07 +0200 Subject: 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 --- package/kismet/Makefile | 10 +++++----- package/kismet/files/kismet-client.conffiles | 4 ++++ package/kismet/files/kismet-drone.conffiles | 1 + package/kismet/files/kismet-server.conffiles | 3 +++ package/kismet/ipkg/kismet-client.conffiles | 4 ---- package/kismet/ipkg/kismet-client.control | 9 --------- package/kismet/ipkg/kismet-drone.conffiles | 1 - package/kismet/ipkg/kismet-drone.control | 9 --------- package/kismet/ipkg/kismet-server.conffiles | 3 --- package/kismet/ipkg/kismet-server.control | 9 --------- package/kismet/ipkg/kismet.control | 9 --------- 11 files changed, 13 insertions(+), 49 deletions(-) create mode 100644 package/kismet/files/kismet-client.conffiles create mode 100644 package/kismet/files/kismet-drone.conffiles create mode 100644 package/kismet/files/kismet-server.conffiles delete mode 100644 package/kismet/ipkg/kismet-client.conffiles delete mode 100644 package/kismet/ipkg/kismet-client.control delete mode 100644 package/kismet/ipkg/kismet-drone.conffiles delete mode 100644 package/kismet/ipkg/kismet-drone.control delete mode 100644 package/kismet/ipkg/kismet-server.conffiles delete mode 100644 package/kismet/ipkg/kismet-server.control delete mode 100644 package/kismet/ipkg/kismet.control (limited to 'package/kismet') diff --git a/package/kismet/Makefile b/package/kismet/Makefile index 5638908ac..907d2e535 100644 --- a/package/kismet/Makefile +++ b/package/kismet/Makefile @@ -9,14 +9,14 @@ PKG_NAME:= kismet PKG_VERSION:= 2008-05-R1 PKG_RELEASE:= 1 PKG_MD5SUM:= 6ee365d36354b4dee4945e67f8149294 -MASTER_SITES:= http://www.kismetwireless.net/code/ +PKG_SITES:= http://www.kismetwireless.net/code/ include ${TOPDIR}/mk/package.mk -$(eval $(call PKG_template,KISMET,kismet,${PKG_VERSION}-${PKG_RELEASE})) -$(eval $(call PKG_template,KISMET_CLIENT,kismet-client,${PKG_VERSION}-${PKG_RELEASE})) -$(eval $(call PKG_template,KISMET_DRONE,kismet-drone,${PKG_VERSION}-${PKG_RELEASE})) -$(eval $(call PKG_template,KISMET_SERVER,kismet-server,${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,KISMET,kismet,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,KISMET_CLIENT,kismet-client,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,KISMET_DRONE,kismet-drone,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) +$(eval $(call PKG_template,KISMET_SERVER,kismet-server,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) ifeq ($(ADK_COMPILE_KISMET_WITH_UCLIBCXX),y) TCFLAGS+= -fno-builtin -fno-rtti -nostdinc++ -I${STAGING_DIR}/usr/include/uClibc++ diff --git a/package/kismet/files/kismet-client.conffiles b/package/kismet/files/kismet-client.conffiles new file mode 100644 index 000000000..b849ce1ce --- /dev/null +++ b/package/kismet/files/kismet-client.conffiles @@ -0,0 +1,4 @@ +/etc/kismet/ap_manuf +/etc/kismet/client_manuf +/etc/kismet/kismet.conf +/etc/kismet/kismet_ui.conf \ No newline at end of file diff --git a/package/kismet/files/kismet-drone.conffiles b/package/kismet/files/kismet-drone.conffiles new file mode 100644 index 000000000..744e24473 --- /dev/null +++ b/package/kismet/files/kismet-drone.conffiles @@ -0,0 +1 @@ +/etc/kismet/kismet_drone.conf diff --git a/package/kismet/files/kismet-server.conffiles b/package/kismet/files/kismet-server.conffiles new file mode 100644 index 000000000..0fdf43763 --- /dev/null +++ b/package/kismet/files/kismet-server.conffiles @@ -0,0 +1,3 @@ +/etc/kismet/ap_manuf +/etc/kismet/client_manuf +/etc/kismet/kismet.conf diff --git a/package/kismet/ipkg/kismet-client.conffiles b/package/kismet/ipkg/kismet-client.conffiles deleted file mode 100644 index b849ce1ce..000000000 --- a/package/kismet/ipkg/kismet-client.conffiles +++ /dev/null @@ -1,4 +0,0 @@ -/etc/kismet/ap_manuf -/etc/kismet/client_manuf -/etc/kismet/kismet.conf -/etc/kismet/kismet_ui.conf \ No newline at end of file diff --git a/package/kismet/ipkg/kismet-client.control b/package/kismet/ipkg/kismet-client.control deleted file mode 100644 index e5c8f512c..000000000 --- a/package/kismet/ipkg/kismet-client.control +++ /dev/null @@ -1,9 +0,0 @@ -Package: kismet-client -Priority: optional -Section: net -Depends: uclibc++, libncurses -Description: The kismet client - Kismet is an 802.11 layer2 wireless network detector, - sniffer, and intrusion detection system. Kismet will work with any - wireless card which supports raw monitoring (rfmon) mode, and can - sniff 802.11b, 802.11a, and 802.11g traffic. diff --git a/package/kismet/ipkg/kismet-drone.conffiles b/package/kismet/ipkg/kismet-drone.conffiles deleted file mode 100644 index 744e24473..000000000 --- a/package/kismet/ipkg/kismet-drone.conffiles +++ /dev/null @@ -1 +0,0 @@ -/etc/kismet/kismet_drone.conf diff --git a/package/kismet/ipkg/kismet-drone.control b/package/kismet/ipkg/kismet-drone.control deleted file mode 100644 index 9d8ac0df3..000000000 --- a/package/kismet/ipkg/kismet-drone.control +++ /dev/null @@ -1,9 +0,0 @@ -Package: kismet-drone -Priority: optional -Section: net -Depends: uclibc++, libpcap -Description: The kismet drone - Kismet is an 802.11 layer2 wireless network detector, - sniffer, and intrusion detection system. Kismet will work with any - wireless card which supports raw monitoring (rfmon) mode, and can - sniff 802.11b, 802.11a, and 802.11g traffic. diff --git a/package/kismet/ipkg/kismet-server.conffiles b/package/kismet/ipkg/kismet-server.conffiles deleted file mode 100644 index 0fdf43763..000000000 --- a/package/kismet/ipkg/kismet-server.conffiles +++ /dev/null @@ -1,3 +0,0 @@ -/etc/kismet/ap_manuf -/etc/kismet/client_manuf -/etc/kismet/kismet.conf diff --git a/package/kismet/ipkg/kismet-server.control b/package/kismet/ipkg/kismet-server.control deleted file mode 100644 index 3c416be83..000000000 --- a/package/kismet/ipkg/kismet-server.control +++ /dev/null @@ -1,9 +0,0 @@ -Package: kismet-server -Priority: optional -Section: net -Depends: uclibc++, libpcap -Description: The kismet server - Kismet is an 802.11 layer2 wireless network detector, - sniffer, and intrusion detection system. Kismet will work with any - wireless card which supports raw monitoring (rfmon) mode, and can - sniff 802.11b, 802.11a, and 802.11g traffic. diff --git a/package/kismet/ipkg/kismet.control b/package/kismet/ipkg/kismet.control deleted file mode 100644 index 193328563..000000000 --- a/package/kismet/ipkg/kismet.control +++ /dev/null @@ -1,9 +0,0 @@ -Package: kismet -Priority: optional -Section: net -Depends: libgcc, kismet-client, kismet-server -Description: kismet - Kismet is an 802.11 layer2 wireless network detector, - sniffer, and intrusion detection system. Kismet will work with any - wireless card which supports raw monitoring (rfmon) mode, and can - sniff 802.11b, 802.11a, and 802.11g traffic. -- cgit v1.2.3