util-linux update && login path fix
This commit is contained in:
1 parent
306ce3c3cf
commit
8c23f91dfc
1 file changed
+28
-23
@@ -1,15 +1,16 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
name='util-linux'
|
name='util-linux'
|
||||||
release='3'
|
release='4'
|
||||||
version='2.40'
|
version='2.40.2'
|
||||||
|
_version='2.40'
|
||||||
url='https://en.wikipedia.org/wiki/Util-linux'
|
url='https://en.wikipedia.org/wiki/Util-linux'
|
||||||
description='Various useful Linux utilities'
|
description='Various useful Linux utilities'
|
||||||
email='kurth4cker@tutanota.com'
|
email='kurth4cker@tutanota.com'
|
||||||
maintainer='kurth4cker'
|
maintainer='kurth4cker'
|
||||||
license=('GPLv3' 'GPLv2' 'LPGL-2.1' 'BSD-4' 'MIT')
|
license=('GPLv3' 'GPLv2' 'LPGL-2.1' 'BSD-4' 'MIT')
|
||||||
source=("https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v${version}/util-linux-${version}.tar.gz")
|
source=("https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v${_version}/util-linux-${version}.tar.gz")
|
||||||
depends=(libcap-ng)
|
depends=(libcap-ng)
|
||||||
sha256sums=('2a51d08cb71fd8e491e0cf633032c928f9a2848417f8441cb8cf7ef9971de916')
|
sha256sums=('7bec316b713a14c6be1a5721aa0e56a3b6170277329e6e1f1a56013cc91eece0')
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
group=(sys.apps)
|
group=(sys.apps)
|
||||||
uses_extra=(python udev)
|
uses_extra=(python udev)
|
||||||
@@ -18,27 +19,31 @@ udev_depends=(eudev)
|
|||||||
|
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
|
export CFLAGS="$CFLAGS -D_PATH_LOGIN=\\\"/usr/bin/login\\\""
|
||||||
|
export CXXFLAGS="$CXXFLAGS -D_PATH_LOGIN=\\\"/usr/bin/login\\\""
|
||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
|
autoreconf -fvi
|
||||||
./configure --prefix=/usr \
|
./configure --prefix=/usr \
|
||||||
--libdir=/usr/lib64 \
|
--libdir=/usr/lib64 \
|
||||||
--bindir=/usr/bin \
|
--bindir=/usr/bin \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-static \
|
--enable-static \
|
||||||
--disable-su \
|
--disable-su \
|
||||||
--disable-runuser \
|
--disable-runuser \
|
||||||
--disable-chfn-chsh \
|
--disable-chfn-chsh \
|
||||||
--disable-login \
|
--disable-login \
|
||||||
--disable-sulogin \
|
--disable-sulogin \
|
||||||
--disable-makeinstall-chown \
|
--disable-makeinstall-chown \
|
||||||
--disable-makeinstall-setuid \
|
--disable-makeinstall-setuid \
|
||||||
--disable-pylibmount \
|
--disable-pylibmount \
|
||||||
--disable-raw \
|
--disable-raw \
|
||||||
--without-systemd \
|
--without-systemd \
|
||||||
--without-libuser \
|
--without-libuser \
|
||||||
--without-utempter \
|
--without-utempter \
|
||||||
--without-econf \
|
--without-econf \
|
||||||
$(use_opt python --with-python --without-python) \
|
$(use_opt python --with-python --without-python) \
|
||||||
$(use_opt udev --with-udev --without-udev)
|
$(use_opt udev --with-udev --without-udev)
|
||||||
}
|
}
|
||||||
|
|
||||||
build(){
|
build(){
|
||||||
|
|||||||
Reference in new issue
Block a user