summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2022-04-24 23:56:21 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2022-05-01 17:06:40 -0500
commit54b27676ade77260bd812fc194bce092e7d26d13 (patch)
treec3525f6e8e7fb869943ad08ebab6c94b438ea233 /system
parentf269cc481e62a5dd9060f6679263ae03368f3bf5 (diff)
downloadpackages-54b27676ade77260bd812fc194bce092e7d26d13.tar.gz
packages-54b27676ade77260bd812fc194bce092e7d26d13.tar.bz2
packages-54b27676ade77260bd812fc194bce092e7d26d13.tar.xz
packages-54b27676ade77260bd812fc194bce092e7d26d13.zip
system/util-linux: Update to 2.38, provide su(1)
Diffstat (limited to 'system')
-rw-r--r--system/util-linux/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/system/util-linux/APKBUILD b/system/util-linux/APKBUILD
index 5e58da836..fb90e6f02 100644
--- a/system/util-linux/APKBUILD
+++ b/system/util-linux/APKBUILD
@@ -2,7 +2,7 @@
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=util-linux
-pkgver=2.37.3
+pkgver=2.38
case $pkgver in
*.*.*) _v=${pkgver%.*};;
@@ -17,12 +17,13 @@ options="!check suid" # multibyte input fails because of musl locale stuff
license="GPL-2.0-only AND GPL-2.0+ AND LGPL-2.1+ AND Public-Domain"
depends=""
makedepends_build="autoconf automake libtool"
-makedepends_host="zlib-dev ncurses-dev linux-headers libcap-ng-dev utmps-dev"
+makedepends_host="zlib-dev ncurses-dev linux-headers linux-pam-dev libcap-ng-dev
+ utmps-dev"
subpackages="$pkgname-doc $pkgname-dev $pkgname-bash-completion:bashcomp:noarch
libuuid $pkgname-lang"
makedepends="$makedepends_build $makedepends_host"
replaces="e2fsprogs util-linux-ng sfdisk cfdisk findmnt mcookie blkid setpriv
- libblkid libsmartcols libmount libfdisk"
+ libblkid libsmartcols libmount libfdisk shadow"
provides="sfdisk=$pkgver-r$pkgrel cfdisk=$pkgver-r$pkgrel
findmnt=$pkgver-r$pkgrel mcookie=$pkgver-r$pkgrel
blkid=$pkgver-r$pkgrel libblkid=$pkgver-r$pkgrel
@@ -47,13 +48,13 @@ build() {
--host=$CHOST \
--with-sysroot=$CBUILDROOT \
--prefix=/usr \
+ --enable-su \
--disable-raw \
--disable-uuidd \
--disable-tls \
--disable-kill \
--disable-login \
--disable-sulogin \
- --disable-su \
--disable-chfn-chsh \
--without-python
make
@@ -61,6 +62,9 @@ build() {
package() {
make -j1 DESTDIR="$pkgdir" install
+
+ mkdir -p "$pkgdir"/etc/default
+ printf "ALWAYS_SET_PATH yes\n" > "$pkgdir"/etc/default/su
}
dev() {
@@ -94,5 +98,5 @@ libmount() {
mv "$pkgdir"/lib/libmount.so.* "$subpkgdir"/lib/
}
-sha512sums="2303b5c55b1fd932c73b0a079d37e56e10b6a20270b72d0b7e81ec7a6b715b42ebaa336714c3e1722d05e5aa4499f8be17ceaf61bb1341532bf9697c9a2174e9 util-linux-2.37.3.tar.xz
+sha512sums="d0f7888f457592067938e216695871ce6475a45d83a092cc3fd72b8cf8fca145ca5f3a99122f1744ef60b4f773055cf4e178dc6c59cd30837172aee0b5597e8c util-linux-2.38.tar.xz
876bb9041eca1b2cca1e9aac898f282db576f7860aba690a95c0ac629d7c5b2cdeccba504dda87ff55c2a10b67165985ce16ca41a0694a267507e1e0cafd46d9 ttydefaults.h"