Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9d551d021f6c
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8604630d9234
Choose a head ref
  • 12 commits
  • 11 files changed
  • 2 contributors

Commits on Jun 28, 2017

  1. Copy the full SHA
    179936d View commit details
  2. Copy the full SHA
    d339dc7 View commit details
  3. Copy the full SHA
    7492873 View commit details
  4. Copy the full SHA
    59bf263 View commit details
  5. Copy the full SHA
    15253a8 View commit details
  6. kbdlight: Fix installation permissions

    Looks like NixOS creates a security wrapper for this already, FWIW.
    dtzWill committed Jun 28, 2017
    Copy the full SHA
    09d85c4 View commit details
  7. Copy the full SHA
    0d871bd View commit details
  8. Copy the full SHA
    ed0ac2f View commit details
  9. Copy the full SHA
    707145a View commit details
  10. Copy the full SHA
    8e5759e View commit details
  11. Copy the full SHA
    bcaceab View commit details

Commits on Jun 30, 2017

  1. Merge pull request #26939 from dtzWill/fix/perms-fallout-misc-2

    Fixup various setuid/setgid permission problems, part 2
    joachifm authored Jun 30, 2017
    Copy the full SHA
    8604630 View commit details
4 changes: 4 additions & 0 deletions pkgs/development/libraries/libutempter/default.nix
Original file line number Diff line number Diff line change
@@ -13,6 +13,10 @@ stdenv.mkDerivation rec {

buildInputs = [ glib ];

prePatch = ''
substituteInPlace Makefile --replace 2711 0711
'';

installFlags = [
"libdir=\${out}/lib"
"libexecdir=\${out}/lib"
5 changes: 5 additions & 0 deletions pkgs/development/libraries/wcslib/default.nix
Original file line number Diff line number Diff line change
@@ -11,6 +11,11 @@ stdenv.mkDerivation rec {
sha256 ="1s2nig327g4bimd9xshlk11ww09a7mrjmsbpdcd8smsmn2kl1glb";
};

prePatch = ''
substituteInPlace GNUmakefile --replace 2775 0775
substituteInPlace C/GNUmakefile --replace 2775 0775
'';

enableParallelBuilding = true;

meta = {
2 changes: 1 addition & 1 deletion pkgs/os-specific/linux/firejail/default.nix
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
'';

preBuild = ''
sed -e "s@/etc/@$out/etc/@g" -i Makefile
sed -e "s@/etc/@$out/etc/@g" -e "/chmod u+s/d" -i Makefile
'';

meta = {
3 changes: 2 additions & 1 deletion pkgs/os-specific/linux/kbdlight/default.nix
Original file line number Diff line number Diff line change
@@ -13,7 +13,8 @@ stdenv.mkDerivation rec {

preConfigure = ''
substituteInPlace Makefile \
--replace /usr/local $out
--replace /usr/local $out \
--replace 4755 0755
'';

meta = with stdenv.lib; {
2 changes: 2 additions & 0 deletions pkgs/servers/mail/mailman/default.nix
Original file line number Diff line number Diff line change
@@ -16,6 +16,8 @@ stdenv.mkDerivation rec {

installTargets = "doinstall"; # Leave out the 'update' target that's implied by 'install'.

makeFlags = [ "DIRSETGID=:" ];

meta = {
homepage = "http://www.gnu.org/software/mailman/";
description = "Free software for managing electronic mail discussion and e-newsletter lists";
4 changes: 4 additions & 0 deletions pkgs/servers/news/leafnode/default.nix
Original file line number Diff line number Diff line change
@@ -10,6 +10,10 @@ stdenv.mkDerivation rec {

configureFlags = "--enable-runas-user=nobody";

prePatch = ''
substituteInPlace Makefile.in --replace 02770 0770
'';

preConfigure = ''
# configure uses id to check environment; we don't want this check
sed -re 's/^ID[=].*/ID="echo whatever"/' -i configure
2 changes: 2 additions & 0 deletions pkgs/tools/filesystems/irods/default.nix
Original file line number Diff line number Diff line change
@@ -40,6 +40,8 @@ in rec {
-DCMAKE_MODULE_LINKER_FLAGS=-Wl,-rpath,$out/lib
-DCMAKE_SHARED_LINKER_FLAGS=-Wl,-rpath,$out/lib
"
substituteInPlace cmake/server.cmake --replace SETUID ""
'';

meta = common.meta // {
2 changes: 2 additions & 0 deletions pkgs/tools/misc/ddccontrol/default.nix
Original file line number Diff line number Diff line change
@@ -28,6 +28,8 @@ stdenv.mkDerivation {
oldPath+="{datadir}\/ddccontrol-db"
sed "s/$oldPath/$newPath/" <configure.ac.old >configure.ac
rm configure.ac.old
sed -e "s/chmod 4711/chmod 0711/" -i src/ddcpci/Makefile*
'';

meta = with stdenv.lib; {
6 changes: 6 additions & 0 deletions pkgs/tools/networking/mailutils/default.nix
Original file line number Diff line number Diff line change
@@ -14,6 +14,12 @@ stdenv.mkDerivation rec {

patches = [ ./path-to-cat.patch ./no-gets.patch ./scm_c_string.patch ];

postPatch = ''
sed -i -e '/chown root:mail/d' \
-e 's/chmod [24]755/chmod 0755/' \
*/Makefile{,.in,.am}
'';

configureFlags = [
"--with-gsasl"
"--with-gssapi=${gss}"
9 changes: 6 additions & 3 deletions pkgs/tools/networking/netselect/default.nix
Original file line number Diff line number Diff line change
@@ -8,10 +8,13 @@ stdenv.mkDerivation {
sha256 = "0y69z59vylj9x9nk5jqn6ihx7dkzg09gpv2w1q1rs8fmi4jr90gy";
};

preBuild = "
preBuild = ''
makeFlagsArray=(PREFIX=$out)
substituteInPlace Makefile --replace '-o root' '' --replace '-g root' ''
";
substituteInPlace Makefile \
--replace "-o root" "" \
--replace "-g root" "" \
--replace "4755" "0755"
'';

meta = {
homepage = http://alumnit.ca/~apenwarr/netselect/;
5 changes: 5 additions & 0 deletions pkgs/tools/system/mcron/default.nix
Original file line number Diff line number Diff line change
@@ -10,6 +10,11 @@ stdenv.mkDerivation rec {

patches = [ ./install-vixie-programs.patch ];

# don't attempt to chmod +s files in the nix store
postPatch = ''
substituteInPlace makefile.in --replace "rwxs" "rwx"
'';

buildInputs = [ guile which ed ];

doCheck = true;