Merge pull request #1376 from Rmys/master

util-linuxver. bump
This commit is contained in:
Rmys
2022-07-21 20:05:21 +03:00
committed by GitHub
3 changed files with 26 additions and 4 deletions
+5 -3
View File
@@ -33,8 +33,10 @@ def setup():
--disable-sulogin \
--disable-utmpdump \
--disable-chfn-chsh \
--enable-gtk-doc-html=no \
--disable-makeinstall-chown \
--disable-socket-activation \
--without-systemdsystemunitdir \
"
if get.buildTYPE() == "emul32":
@@ -59,7 +61,7 @@ def setup():
--bindir=/bin \
--sbindir=/sbin \
--enable-partx \
--enable-raw \
--disable-raw \
--enable-write \
--enable-tunelp \
--enable-runuser \
@@ -68,8 +70,8 @@ def setup():
--enable-mountpoint \
--without-utempter \
"
autotools.autoreconf("-fi")
shelltools.system("NOCONFIGURE=1 ./autogen.sh")
#autotools.autoreconf("-fi")
autotools.configure(options)
pisitools.dosed("libtool", "( -shared )", r" -Wl,--as-needed\1")
@@ -0,0 +1,12 @@
diff -up util-linux-2.36/login-utils/login.c.kzak util-linux-2.36/login-utils/login.c
--- util-linux-2.36/login-utils/login.c.kzak 2020-07-23 14:13:26.777030764 +0200
+++ util-linux-2.36/login-utils/login.c 2020-07-23 14:11:22.793686983 +0200
@@ -585,7 +585,7 @@ static void log_lastlog(struct login_con
sa.sa_handler = SIG_IGN;
sigaction(SIGXFSZ, &sa, &oldsa_xfsz);
- fd = open(_PATH_LASTLOG, O_RDWR, 0);
+ fd = open(_PATH_LASTLOG, O_RDWR | O_CREAT, 0);
if (fd < 0)
goto done;
offset = cxt->pwd->pw_uid * sizeof(ll);
+9 -1
View File
@@ -13,7 +13,7 @@
<IsA>library</IsA>
<Summary>Various useful Linux utilities</Summary>
<Description>The util-linux package contains a large variety of low-level system utilities that are necessary for a Linux system to function.</Description>
<Archive sha1sum="cf99c3df18cf0a13033ec2d3d1a31587eba825d9" type="tarxz">https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.36/util-linux-2.36.tar.xz</Archive>
<Archive sha1sum="6e6c49c1dbb288b90b933e4328bde4786172f021" type="tarxz">https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.37/util-linux-2.37.4.tar.xz</Archive>
<BuildDependencies>
<Dependency>zlib-devel</Dependency>
<Dependency>eudev-devel</Dependency>
@@ -41,6 +41,7 @@
<Dependency version="current">libutil-linux</Dependency>
<Dependency>zlib</Dependency>
<Dependency>pam</Dependency>
<Dependency>file</Dependency>
<Dependency>perl</Dependency>
<Dependency>ncurses</Dependency>
<Dependency>readline</Dependency>
@@ -151,6 +152,13 @@
</Package>
<History>
<Update release="16">
<Date>2022-07-21</Date>
<Version>2.37.4</Version>
<Comment>Version bump.</Comment>
<Name>Mustafa Cinasal</Name>
<Email>muscnsl@gmail.com</Email>
</Update>
<Update release="15">
<Date>2021-03-14</Date>
<Version>2.36</Version>