@ -1,5 +1,5 @@
#
# Copyright (C) 2007-2012 OpenWrt.org
# Copyright (C) 2007-2010 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
@ -7,51 +7,42 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := util-linux
PKG_VERSION := 2.2 0.1
PKG_RELEASE := 1
PKG_NAME := util-linux-ng
PKG_VERSION := 2.13. 0.1
PKG_RELEASE := 4
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := @KERNEL/linux/utils/$( PKG_NAME) /v2.20
PKG_MD5SUM := fcd18041c5390178b1aadc2fd298bee8
PKG_SOURCE_URL := @KERNEL/linux/utils/$( PKG_NAME) /v2.13
PKG_MD5SUM := c841dc8743905c8f0db20c9db5094f57
PKG_BUILD_PARALLEL := 1
PKG_BUILD_DEPENDS = e2fsprogs libncurses
PKG_FIXUP := autoreconf
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
d e f i n e P a c k a g e / u t i l - l i n u x / D e f a u l t
SECTION:= utils
CATEGORY:= Utilities
URL:= http://www.kernel.org/pub/linux/utils/util-linux/
URL:= http://www.kernel.org/pub/linux/utils/util-linux-ng /
e n d e f
CONFIGURE_VARS += \
scanf_cv_type_modifier = "ms"
CONFIGURE_ARGS += \
--disable-nls \
--disable-tls
d e f i n e P a c k a g e / c f d i s k
d e f i n e P a c k a g e / f d i s k
$( call Package /util -linux /Default )
SUBMENU:= disc
TITLE:= Partition table manipulation utility
DEPENDS:= +libncurses
SUBMENU = disc
e n d e f
d e f i n e P a c k a g e / c f d i s k / d e s c r i p t i o n
d e f i n e P a c k a g e / f d i s k / d e s c r i p t i o n
This package contains a utility for managing disk partition tables.
e n d e f
d e f i n e P a c k a g e / f d i s k
d e f i n e P a c k a g e / c f d i s k
$( call Package /util -linux /Default )
SUBMENU:= disc
TITLE:= Partition table manipulation utility
SUBMENU = disc
DEPENDS:= +libncurses
e n d e f
d e f i n e P a c k a g e / f d i s k / d e s c r i p t i o n
d e f i n e P a c k a g e / c f d i s k / d e s c r i p t i o n
This package contains a utility for managing disk partition tables.
e n d e f
@ -65,31 +56,23 @@ define Package/sfdisk/description
This package contains a utility for managing disk partition tables using command-line only.
e n d e f
d e f i n e P a c k a g e / g e t o p t
$( call Package /util -linux /Default )
TITLE:= Tool for parsing command parameters
e n d e f
d e f i n e P a c k a g e / g e t o p t / d e s c r i p t i o n
getopt is a program to help shell scripts parse command-line parameters.
e n d e f
d e f i n e P a c k a g e / h w c l o c k
d e f i n e P a c k a g e / l o s e t u p
$( call Package /util -linux /Default )
TITLE:= Utilities for managing the hardware clock
TITLE:= Loopback devices setup and control utility
e n d e f
d e f i n e P a c k a g e / h w c l o c k / d e s c r i p t i o n
This package contains a utility for managing the hardware c lock.
d e f i n e P a c k a g e / l o s e t u p / d e s c r i p t i o n
This package contains a utility for managing loopback devices.
e n d e f
d e f i n e P a c k a g e / l o s e t u p
d e f i n e P a c k a g e / m o u n t - u t i l s
$( call Package /util -linux /Default )
TITLE:= Loopback devices setup and control utility
TITLE:= Devices mount/unmounting utilities
DEPENDS += +libblkid +libuuid
e n d e f
d e f i n e P a c k a g e / l o s e t u p / d e s c r i p t i o n
This package contains a utility for managing loopback devices.
d e f i n e P a c k a g e / m o u n t - u t i l s / d e s c r i p t i o n
This package contains utilities to mount/unmount devices.
e n d e f
d e f i n e P a c k a g e / s w a p - u t i l s
@ -106,14 +89,13 @@ define Package/swap-utils/description
- swapoff
e n d e f
d e f i n e P a c k a g e / m o u n t - u t i l s
d e f i n e P a c k a g e / h w c l o c k
$( call Package /util -linux /Default )
TITLE:= Devices mount/unmounting utilities
DEPENDS += +libblkid +libuuid
TITLE:= Utilities for managing the hardware clock
e n d e f
d e f i n e P a c k a g e / m o u n t - u t i l s / d e s c r i p t i o n
This package contains utilities to mount/unmount devices .
d e f i n e P a c k a g e / h w c l o c k / d e s c r i p t i o n
This package contains a utility for managing the hardware clock .
e n d e f
d e f i n e P a c k a g e / f l o c k
@ -133,7 +115,7 @@ $(call Package/util-linux/Default)
e n d e f
d e f i n e P a c k a g e / s e t t e r m / d e s c r i p t i o n
This package contains a utility for setting terminal attributes.
This package contains a utility for setting terminal attributes
e n d e f
d e f i n e P a c k a g e / s c r i p t
@ -144,26 +126,28 @@ endef
d e f i n e P a c k a g e / s c r i p t / d e s c r i p t i o n
Script makes a typescript of everything printed on your terminal.
http://linux.die.net/man/1/script
e n d e f
d e f i n e B u i l d / C o m p i l e
$( MAKE) -C $( PKG_BUILD_DIR) /disk-utils mkswap
$( MAKE) -C $( PKG_BUILD_DIR) /fdisk cfdisk fdisk sfdisk
$( MAKE) -C $( PKG_BUILD_DIR) /getopt getopt
$( MAKE) -C $( PKG_BUILD_DIR) /mount swapon losetup umount mount
$( MAKE) -C $( PKG_BUILD_DIR) /fdisk fdisk cfdisk sfdisk
$( MAKE) -C $( PKG_BUILD_DIR) /hwclock hwclock
$( MAKE) -C $( PKG_BUILD_DIR) /mount losetup mount swapon umount
$( MAKE) -C $( PKG_BUILD_DIR) /sys-utils flock
$( MAKE) -C $( PKG_BUILD_DIR) /term-utils setterm script
$( MAKE) -C $( PKG_BUILD_DIR) /misc-utils setterm
$( MAKE) -C $( PKG_BUILD_DIR) /misc-utils script
e n d e f
d e f i n e P a c k a g e / c f d i s k / i n s t a l l
d e f i n e P a c k a g e / f d i s k / i n s t a l l
$( INSTALL_DIR) $( 1) /sbin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /fdisk/.libs/c fdisk $( 1) /sbin/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /fdisk/fdisk $( 1) /sbin/
e n d e f
d e f i n e P a c k a g e / f d i s k / i n s t a l l
d e f i n e P a c k a g e / c f d i s k / i n s t a l l
$( INSTALL_DIR) $( 1) /sbin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /fdisk/.libs/ fdisk $( 1) /sbin/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /fdisk/c fdisk $( 1) /sbin/
e n d e f
d e f i n e P a c k a g e / s f d i s k / i n s t a l l
@ -171,31 +155,25 @@ define Package/sfdisk/install
$( INSTALL_BIN) $( PKG_BUILD_DIR) /fdisk/sfdisk $( 1) /usr/sbin/
e n d e f
d e f i n e P a c k a g e / g e t o p t / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /getopt/getopt $( 1) /usr/bin/
e n d e f
d e f i n e P a c k a g e / h w c l o c k / i n s t a l l
$( INSTALL_DIR) $( 1) /sbin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /hwclock/hwclock $( 1) /sbin/
e n d e f
d e f i n e P a c k a g e / l o s e t u p / i n s t a l l
$( INSTALL_DIR) $( 1) /sbin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /mount/losetup $( 1) /sbin/
e n d e f
d e f i n e P a c k a g e / m o u n t - u t i l s / i n s t a l l
$( INSTALL_DIR) $( 1) /bin/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /mount/{ u,} mount $( 1) /bin
e n d e f
d e f i n e P a c k a g e / s w a p - u t i l s / i n s t a l l
$( INSTALL_DIR) $( 1) /sbin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /disk-utils/.libs/mkswap $( 1) /sbin/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /mount/.libs/swapon $( 1) /sbin/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /disk-utils/mkswap $( PKG_BUILD_DIR) /mount/swapon $( 1) /sbin/
ln -sf swapon $( 1) /sbin/swapoff
e n d e f
d e f i n e P a c k a g e / m o u n t - u t i l s / i n s t a l l
$( INSTALL_DIR) $( 1) /bin/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /mount/.libs/{ u,} mount $( 1) /bin
d e f i n e P a c k a g e / h w c l o c k / i n s t a l l
$( INSTALL_DIR) $( 1) /s bin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /hwclock/hwclock $( 1) /s bin/
e n d e f
d e f i n e P a c k a g e / f l o c k / i n s t a l l
@ -205,22 +183,22 @@ endef
d e f i n e P a c k a g e / s e t t e r m / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /ter m-utils/setterm $( 1) /usr/bin/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /misc -utils/setterm $( 1) /usr/bin/
e n d e f
d e f i n e P a c k a g e / s c r i p t / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /ter m-utils/script $( 1) /usr/bin/
$( INSTALL_BIN) $( PKG_BUILD_DIR) /misc -utils/script $( 1) /usr/bin/
e n d e f
$( eval $ ( call BuildPackage ,cfdisk ) )
$( eval $ ( call BuildPackage ,fdisk ) )
$( eval $ ( call BuildPackage ,cfdisk ) )
$( eval $ ( call BuildPackage ,sfdisk ) )
$( eval $ ( call BuildPackage ,getopt ) )
$( eval $ ( call BuildPackage ,hwclock ) )
$( eval $ ( call BuildPackage ,losetup ) )
$( eval $ ( call BuildPackage ,swap -utils ) )
$( eval $ ( call BuildPackage ,mount -utils ) )
$( eval $ ( call BuildPackage ,swap -utils ) )
$( eval $ ( call BuildPackage ,hwclock ) )
$( eval $ ( call BuildPackage ,flock ) )
$( eval $ ( call BuildPackage ,setterm ) )
$( eval $ ( call BuildPackage ,script ) )