@@ -33,8 +33,10 @@ def setup():
|
|||||||
--disable-sulogin \
|
--disable-sulogin \
|
||||||
--disable-utmpdump \
|
--disable-utmpdump \
|
||||||
--disable-chfn-chsh \
|
--disable-chfn-chsh \
|
||||||
|
--enable-gtk-doc-html=no \
|
||||||
--disable-makeinstall-chown \
|
--disable-makeinstall-chown \
|
||||||
--disable-socket-activation \
|
--disable-socket-activation \
|
||||||
|
--without-systemdsystemunitdir \
|
||||||
"
|
"
|
||||||
|
|
||||||
if get.buildTYPE() == "emul32":
|
if get.buildTYPE() == "emul32":
|
||||||
@@ -59,7 +61,7 @@ def setup():
|
|||||||
--bindir=/bin \
|
--bindir=/bin \
|
||||||
--sbindir=/sbin \
|
--sbindir=/sbin \
|
||||||
--enable-partx \
|
--enable-partx \
|
||||||
--enable-raw \
|
--disable-raw \
|
||||||
--enable-write \
|
--enable-write \
|
||||||
--enable-tunelp \
|
--enable-tunelp \
|
||||||
--enable-runuser \
|
--enable-runuser \
|
||||||
@@ -68,8 +70,8 @@ def setup():
|
|||||||
--enable-mountpoint \
|
--enable-mountpoint \
|
||||||
--without-utempter \
|
--without-utempter \
|
||||||
"
|
"
|
||||||
|
shelltools.system("NOCONFIGURE=1 ./autogen.sh")
|
||||||
autotools.autoreconf("-fi")
|
#autotools.autoreconf("-fi")
|
||||||
autotools.configure(options)
|
autotools.configure(options)
|
||||||
pisitools.dosed("libtool", "( -shared )", r" -Wl,--as-needed\1")
|
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);
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>Various useful Linux utilities</Summary>
|
<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>
|
<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>
|
<BuildDependencies>
|
||||||
<Dependency>zlib-devel</Dependency>
|
<Dependency>zlib-devel</Dependency>
|
||||||
<Dependency>eudev-devel</Dependency>
|
<Dependency>eudev-devel</Dependency>
|
||||||
@@ -41,6 +41,7 @@
|
|||||||
<Dependency version="current">libutil-linux</Dependency>
|
<Dependency version="current">libutil-linux</Dependency>
|
||||||
<Dependency>zlib</Dependency>
|
<Dependency>zlib</Dependency>
|
||||||
<Dependency>pam</Dependency>
|
<Dependency>pam</Dependency>
|
||||||
|
<Dependency>file</Dependency>
|
||||||
<Dependency>perl</Dependency>
|
<Dependency>perl</Dependency>
|
||||||
<Dependency>ncurses</Dependency>
|
<Dependency>ncurses</Dependency>
|
||||||
<Dependency>readline</Dependency>
|
<Dependency>readline</Dependency>
|
||||||
@@ -151,6 +152,13 @@
|
|||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<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">
|
<Update release="15">
|
||||||
<Date>2021-03-14</Date>
|
<Date>2021-03-14</Date>
|
||||||
<Version>2.36</Version>
|
<Version>2.36</Version>
|
||||||
|
|||||||
Reference in New Issue
Block a user