mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
udevil: minor cleanup, fix setuid/setgid problems
This commit is contained in:
parent
4d57153659
commit
98b2e4816f
1 changed files with 1 additions and 5 deletions
|
@ -7,8 +7,8 @@ stdenv.mkDerivation {
|
||||||
};
|
};
|
||||||
buildInputs = [ intltool glib pkgconfig udev ];
|
buildInputs = [ intltool glib pkgconfig udev ];
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
substituteInPlace src/Makefile.am --replace "-o root -g root" ""
|
|
||||||
substituteInPlace src/Makefile.in --replace "-o root -g root" ""
|
substituteInPlace src/Makefile.in --replace "-o root -g root" ""
|
||||||
|
substituteInPlace src/Makefile.in --replace 4755 0755
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=$out \
|
--prefix=$out \
|
||||||
--with-mount-prog=${utillinux}/bin/mount \
|
--with-mount-prog=${utillinux}/bin/mount \
|
||||||
|
@ -17,10 +17,6 @@ stdenv.mkDerivation {
|
||||||
--with-setfacl-prog=${acl.bin}/bin/setfacl \
|
--with-setfacl-prog=${acl.bin}/bin/setfacl \
|
||||||
--sysconfdir=$prefix/etc
|
--sysconfdir=$prefix/etc
|
||||||
'';
|
'';
|
||||||
preConfigure = ''
|
|
||||||
cat src/Makefile.am
|
|
||||||
exit 2
|
|
||||||
'';
|
|
||||||
patches = [ ./device-info-sys-stat.patch ];
|
patches = [ ./device-info-sys-stat.patch ];
|
||||||
meta = {
|
meta = {
|
||||||
description = "A command line Linux program which mounts and unmounts removable devices without a password, shows device info, and monitors device changes";
|
description = "A command line Linux program which mounts and unmounts removable devices without a password, shows device info, and monitors device changes";
|
||||||
|
|
Loading…
Reference in a new issue