summaryrefslogtreecommitdiff
path: root/package/util-linux
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/util-linux
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/util-linux')
-rw-r--r--package/util-linux/Makefile17
-rw-r--r--package/util-linux/ipkg/fdisk.control5
-rw-r--r--package/util-linux/ipkg/losetup.control5
-rw-r--r--package/util-linux/ipkg/swap-utils.control5
4 files changed, 10 insertions, 22 deletions
diff --git a/package/util-linux/Makefile b/package/util-linux/Makefile
index fd0600e61..570203887 100644
--- a/package/util-linux/Makefile
+++ b/package/util-linux/Makefile
@@ -9,17 +9,20 @@ PKG_NAME:= util-linux
PKG_VERSION:= 2.12r
PKG_RELEASE:= 1
PKG_MD5SUM:= c261230b27fc0fbcc287c76884caf2d3
+PKG_DESCR:= Linux utilities
+PKG_SECTION:= admin
+PKG_SITES:= ${MASTER_SITE_KERNEL:=utils/util-linux/}
-MASTER_SITES:= ftp://ftp.kernel.org/pub/linux/utils/util-linux/ \
- http://ftp.kernel.org/pub/linux/utils/util-linux/ \
- ftp://ftp.de.kernel.org/pub/linux/utils/util-linux/ \
- http://ftp.de.kernel.org/pub/linux/utils/util-linux/
+PKG_DESCR_1:= Partition table manipulation utility
+PKG_DESCR_2:= Swap space management utilities
+PKG_DESCR_3:= Loop devices setup and control utility
+PKG_DEPENDS_3:= kmod-loop
include ${TOPDIR}/mk/package.mk
-$(eval $(call PKG_template,FDISK,fdisk,${PKG_VERSION}-${PKG_RELEASE}))
-$(eval $(call PKG_template,LOSETUP,losetup,${PKG_VERSION}-${PKG_RELEASE}))
-$(eval $(call PKG_template,SWAP_UTILS,swap-utils,${PKG_VERSION}-${PKG_RELEASE}))
+$(eval $(call PKG_template,FDISK,fdisk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_1},${PKG_SECTION}))
+$(eval $(call PKG_template,SWAP_UTILS,swap-utils,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR_2},${PKG_SECTION}))
+$(eval $(call PKG_template,LOSETUP,losetup,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS_3},${PKG_DESCR_3},${PKG_SECTION}))
CONFIGURE_STYLE:= gnu
BUILD_STYLE:= auto
diff --git a/package/util-linux/ipkg/fdisk.control b/package/util-linux/ipkg/fdisk.control
deleted file mode 100644
index cf73e98df..000000000
--- a/package/util-linux/ipkg/fdisk.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: fdisk
-Priority: optional
-Section: admin
-Depends:
-Description: Partition table manipulation utility
diff --git a/package/util-linux/ipkg/losetup.control b/package/util-linux/ipkg/losetup.control
deleted file mode 100644
index 502305058..000000000
--- a/package/util-linux/ipkg/losetup.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: losetup
-Priority: optional
-Section: admin
-Depends: kmod-loop
-Description: Loop devices setup and control utility
diff --git a/package/util-linux/ipkg/swap-utils.control b/package/util-linux/ipkg/swap-utils.control
deleted file mode 100644
index c888251f6..000000000
--- a/package/util-linux/ipkg/swap-utils.control
+++ /dev/null
@@ -1,5 +0,0 @@
-Package: swap-utils
-Priority: optional
-Section: admin
-Depends:
-Description: Swap space management utilities