summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-01-03 20:55:50 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-01-03 20:56:31 -0600
commit0cb53d7aff9ee58ab02f202cbabb9b16e139aae7 (patch)
tree9b1f20aa573121080dba4d494a88ae6c09313a3e /package
parent6c6b7be9d536da0f3d996f9484f7d2dda4279229 (diff)
remove unpackaged su
Diffstat (limited to 'package')
-rw-r--r--package/util-linux/Makefile95
1 files changed, 43 insertions, 52 deletions
diff --git a/package/util-linux/Makefile b/package/util-linux/Makefile
index 659dc3ce9..2bf59efc3 100644
--- a/package/util-linux/Makefile
+++ b/package/util-linux/Makefile
@@ -1,11 +1,11 @@
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
-include ${ADK_TOPDIR}/rules.mk
+include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= util-linux
PKG_VERSION:= 2.25.2
-PKG_RELEASE:= 3
+PKG_RELEASE:= 4
PKG_HASH:= e0457f715b73f4a349e1acb08cb410bf0edc9a74a3f75c357070f31f70e33cd6
PKG_DESCR:= basic utilities
PKG_SECTION:= base/apps
@@ -14,7 +14,7 @@ PKG_SITES:= http://www.kernel.org/pub/linux/utils/util-linux/v2.25/
PKG_OPTS:= dev
PKG_SUBPKGS:= FDISK SFDISK SWAP_UTILS LOSETUP MCOOKIE MOUNT
-PKG_SUBPKGS+= LIBUUID LIBBLKID LIBMOUNT SU CFDISK MKFS
+PKG_SUBPKGS+= LIBUUID LIBBLKID LIBMOUNT CFDISK MKFS
PKGSD_LIBUUID:= uuid library
PKGSC_LIBUUID:= libs/misc
PKGSD_LIBBLKID:= blkid library
@@ -27,9 +27,6 @@ PKGSD_SFDISK:= scriptable partition table manipulation utility
PKGSC_SFDISK:= sys/fs
PKGSD_CFDISK:= partition table manipulation utility
PKGSC_CFDISK:= sys/fs
-PKGSD_SU:= switch user utility
-PKGSC_SU:= sys/misc
-PKGSB_SU:= pam
PKGSD_SWAP_UTILS:= swap space management utilities
PKGSS_SWAP_UTILS:= libblkid
PKGSC_SWAP_UTILS:= sys/fs
@@ -43,35 +40,29 @@ PKGSC_MOUNT:= sys/fs
PKGSD_MCOOKIE:= generate magic cookies for xauth
PKGSC_MCOOKIE:= x11/utils
-include ${ADK_TOPDIR}/mk/package.mk
-
-$(eval $(call PKG_template,FDISK,fdisk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_FDISK},${PKGSC_FDISK}))
-$(eval $(call PKG_template,CFDISK,cfdisk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_CFDISK},${PKGSC_CFDISK}))
-$(eval $(call PKG_template,SFDISK,sfdisk,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_SFDISK},${PKGSC_SFDISK}))
-$(eval $(call PKG_template,SU,su,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_SU},${PKGSD_SU},${PKGSC_SU}))
-$(eval $(call PKG_template,SWAP_UTILS,swap-utils,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_SWAP_UTILS},${PKGSD_SWAP_UTILS},${PKGSC_SWAP_UTILS}))
-$(eval $(call PKG_template,LOSETUP,losetup,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_LOSETUP},${PKGSD_LOSETUP},${PKGSC_LOSETUP}))
-$(eval $(call PKG_template,MKFS,mkfs,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_MKFS},${PKGSD_MKFS},${PKGSC_MKFS}))
-$(eval $(call PKG_template,MOUNT,mount,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_MOUNT},${PKGSD_MOUNT},${PKGSC_MOUNT}))
-$(eval $(call PKG_template,MCOOKIE,mcookie,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_MCOOKIE},${PKGSC_MCOOKIE}))
-$(eval $(call PKG_template,LIBUUID,libuuid,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBUUID},${PKGSC_LIBUUID},${PKG_OPTS}))
-$(eval $(call PKG_template,LIBBLKID,libblkid,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBBLKID},${PKGSC_LIBBLKID},${PKG_OPTS}))
-$(eval $(call PKG_template,LIBMOUNT,libmount,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBMOUNT},${PKGSC_LIBMOUNT},${PKG_OPTS}))
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,FDISK,fdisk,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_FDISK),$(PKGSC_FDISK)))
+$(eval $(call PKG_template,CFDISK,cfdisk,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_CFDISK),$(PKGSC_CFDISK)))
+$(eval $(call PKG_template,SFDISK,sfdisk,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_SFDISK),$(PKGSC_SFDISK)))
+$(eval $(call PKG_template,SWAP_UTILS,swap-utils,$(PKG_VERSION)-$(PKG_RELEASE),$(PKGSS_SWAP_UTILS),$(PKGSD_SWAP_UTILS),$(PKGSC_SWAP_UTILS)))
+$(eval $(call PKG_template,LOSETUP,losetup,$(PKG_VERSION)-$(PKG_RELEASE),$(PKGSS_LOSETUP),$(PKGSD_LOSETUP),$(PKGSC_LOSETUP)))
+$(eval $(call PKG_template,MKFS,mkfs,$(PKG_VERSION)-$(PKG_RELEASE),$(PKGSS_MKFS),$(PKGSD_MKFS),$(PKGSC_MKFS)))
+$(eval $(call PKG_template,MOUNT,mount,$(PKG_VERSION)-$(PKG_RELEASE),$(PKGSS_MOUNT),$(PKGSD_MOUNT),$(PKGSC_MOUNT)))
+$(eval $(call PKG_template,MCOOKIE,mcookie,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_MCOOKIE),$(PKGSC_MCOOKIE)))
+$(eval $(call PKG_template,LIBUUID,libuuid,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_LIBUUID),$(PKGSC_LIBUUID),$(PKG_OPTS)))
+$(eval $(call PKG_template,LIBBLKID,libblkid,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_LIBBLKID),$(PKGSC_LIBBLKID),$(PKG_OPTS)))
+$(eval $(call PKG_template,LIBMOUNT,libmount,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKGSD_LIBMOUNT),$(PKGSC_LIBMOUNT),$(PKG_OPTS)))
TARGET_CFLAGS+= -DSWAPON_HAS_TWO_ARGS -DHAVE_LLSEEK
TARGET_LDFLAGS+= -ltinfo
AUTOTOOL_STYLE:= autoreconf
CONFIGURE_ENV+= have_scanf_alloc_modifier=yes \
scanf_cv_alloc_modifier=ms
-
-ifeq ($(ADK_TARGET_USE_STATIC_LIBS),y)
-CONFIGURE_ARGS+= --disable-su
-CONFIGURE_ARGS+= --disable-runuser
-else
-CONFIGURE_ARGS+= --enable-su
-endif
-
CONFIGURE_ARGS+= --disable-use-tty-group \
+ --disable-chfn-chsh \
+ --disable-su \
+ --disable-runuser \
--disable-schedutils \
--disable-cramfs \
--disable-login \
@@ -86,48 +77,48 @@ CONFIGURE_ARGS+= --disable-use-tty-group \
FAKE_FLAGS+= INSTALLSUID="install -m 4755"
fdisk-install:
- ${INSTALL_DIR} ${IDIR_FDISK}/usr/sbin
- ${CP} ${WRKINST}/usr/sbin/fdisk ${IDIR_FDISK}/usr/sbin
+ $(INSTALL_DIR) $(IDIR_FDISK)/usr/sbin
+ $(CP) $(WRKINST)/usr/sbin/fdisk $(IDIR_FDISK)/usr/sbin
cfdisk-install:
- ${INSTALL_DIR} ${IDIR_CFDISK}/usr/sbin
- ${CP} ${WRKINST}/usr/sbin/cfdisk ${IDIR_FDISK}/usr/sbin
+ $(INSTALL_DIR) $(IDIR_CFDISK)/usr/sbin
+ $(CP) $(WRKINST)/usr/sbin/cfdisk $(IDIR_FDISK)/usr/sbin
sfdisk-install:
- ${INSTALL_DIR} ${IDIR_SFDISK}/usr/sbin
- ${CP} ${WRKINST}/usr/sbin/sfdisk ${IDIR_SFDISK}/usr/sbin
+ $(INSTALL_DIR) $(IDIR_SFDISK)/usr/sbin
+ $(CP) $(WRKINST)/usr/sbin/sfdisk $(IDIR_SFDISK)/usr/sbin
losetup-install:
- ${INSTALL_DIR} ${IDIR_LOSETUP}/usr/sbin
- ${CP} ${WRKINST}/usr/sbin/losetup ${IDIR_LOSETUP}/usr/sbin
+ $(INSTALL_DIR) $(IDIR_LOSETUP)/usr/sbin
+ $(CP) $(WRKINST)/usr/sbin/losetup $(IDIR_LOSETUP)/usr/sbin
swap-utils-install:
- ${INSTALL_DIR} ${IDIR_SWAP_UTILS}/usr/sbin
- ${CP} ${WRKINST}/usr/sbin/mkswap ${IDIR_SWAP_UTILS}/usr/sbin
- ${CP} ${WRKINST}/usr/sbin/swap{on,off} ${IDIR_SWAP_UTILS}/usr/sbin
+ $(INSTALL_DIR) $(IDIR_SWAP_UTILS)/usr/sbin
+ $(CP) $(WRKINST)/usr/sbin/mkswap $(IDIR_SWAP_UTILS)/usr/sbin
+ $(CP) $(WRKINST)/usr/sbin/swap(on,off) $(IDIR_SWAP_UTILS)/usr/sbin
mkfs-install:
- ${INSTALL_DIR} ${IDIR_MKFS}/usr/sbin
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/mkfs ${IDIR_MKFS}/usr/sbin
+ $(INSTALL_DIR) $(IDIR_MKFS)/usr/sbin
+ $(INSTALL_BIN) $(WRKINST)/usr/sbin/mkfs $(IDIR_MKFS)/usr/sbin
mount-install:
- ${INSTALL_DIR} ${IDIR_MOUNT}/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/{u,}mount ${IDIR_MOUNT}/bin
+ $(INSTALL_DIR) $(IDIR_MOUNT)/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/(u,)mount $(IDIR_MOUNT)/bin
mcookie-install:
- ${INSTALL_DIR} ${IDIR_MCOOKIE}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/bin/mcookie ${IDIR_MCOOKIE}/usr/bin
+ $(INSTALL_DIR) $(IDIR_MCOOKIE)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/mcookie $(IDIR_MCOOKIE)/usr/bin
libuuid-install:
- ${INSTALL_DIR} ${IDIR_LIBUUID}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libuuid.so* ${IDIR_LIBUUID}/usr/lib
+ $(INSTALL_DIR) $(IDIR_LIBUUID)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libuuid.so* $(IDIR_LIBUUID)/usr/lib
libblkid-install:
- ${INSTALL_DIR} ${IDIR_LIBBLKID}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libblkid.so* ${IDIR_LIBBLKID}/usr/lib
+ $(INSTALL_DIR) $(IDIR_LIBBLKID)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libblkid.so* $(IDIR_LIBBLKID)/usr/lib
libmount-install:
- ${INSTALL_DIR} ${IDIR_LIBMOUNT}/usr/lib
- ${CP} ${WRKINST}/usr/lib/libmount.so* ${IDIR_LIBMOUNT}/usr/lib
+ $(INSTALL_DIR) $(IDIR_LIBMOUNT)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libmount.so* $(IDIR_LIBMOUNT)/usr/lib
-include ${ADK_TOPDIR}/mk/pkg-bottom.mk
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk