Commit graph

932 commits

Author SHA1 Message Date
Tuomas Tynkkynen
d2724c1346 sshfs-fuse: No need for rst2man.py patch anymore 2017-12-26 20:02:01 +02:00
Lengyel Balazs
1b01ec13f6 btrfs-progs: 4.13.3 -> 4.14
added `zstd` as a dependency to fix compilation.
2017-12-17 10:48:49 +01:00
Vladimír Čunát
6f5d989478
treewide: checkMeta fixes for x86_64-linux 2017-12-07 07:50:47 -05:00
Tuomas Tynkkynen
95c67a600f xfsprogs: 4.13.1 -> 4.14.0 2017-11-29 23:40:33 +02:00
John Ericson
405412dfd9
Merge pull request #31775 from obsidiansystems/stdenv-both-propagated-files
stdenv setup: Always use both propagated files
2017-11-22 15:23:37 -05:00
Orivej Desh
b8e1e7191e Merge branch 'master' into staging
* master: (80 commits)
  lkl: Supports aarch64
  wimlib: nitpicks
  gitAndTools.git-codeowners: 0.1.1 -> 0.1.2
  wimlib: init at 1.12.0
  kernel: improve modDirVersion error message
  releaseTools.sourceTarball: Clean up temporary files
  dotnetPackages.SmartIrc4net: rehash source
  migmix: make it a fixed-output derivation
  vm: Create /dev/full
  samba: 4.6.8 -> 4.6.11 to address CVEs CVE-2017-14746 & CVE-2017-15275
  microcodeIntel: 20170707 -> 20171117
  sshd: Remove ripemd160 MACs
  kernel config: Enable MEDIA_CONTROLLER
  linux: 4.4.99 -> 4.4.100
  linux: 4.9.63 -> 4.9.64
  nix-bash-completions: 0.4 -> 0.5
  linux: 4.14 -> 4.14.1
  linux: 4.13.14 -> 4.13.15
  nix-zsh-completions: 0.3.3 -> 0.3.5
  dns-root-data: use a stable URL that I maintain anyway
  ...
2017-11-21 22:48:36 +00:00
John Ericson
da19c34d0f stdenv setup: Always use both propagated files
This continues #23374, which always kept around both attributes, by
always including both propagated files: `propgated-native-build-inputs`
and `propagated-build-inputs`. `nativePkgs` and `crossPkgs` are still
defined as before, however, so this change should only barely
observable.

This is an incremental step to fully keeping the dependencies separate
in all cases.
2017-11-21 10:44:44 -05:00
Niklas Hambüchen
7be449a97d glusterfs: 3.12.2 -> 3.12.3 2017-11-20 18:57:55 +00:00
Niklas Hambüchen
afe5179e22 glusterfs: 3.12.1 -> 3.12.2 2017-11-20 18:57:55 +00:00
Orivej Desh
b089c21506 Merge branch 'master' into staging
* master: (39 commits)
  python.pkgs.pybfd: move to python-modules
  documentation: python 2.6 is no more
  documentation: python3Packages is python36Packages
  wireguard: 0.0.20171101 -> 0.0.20171111
  php_excel: init at 1.0.2
  libxl: init at 3.8.1
  matrix-synapse: 0.24.1 -> 0.25.1
  grafana: 4.6.1 -> 4.6.2
  linux: 4.4.98 -> 4.4.99
  linux: 4.9.62 -> 4.9.63
  linux: 4.13.13 -> 4.13.14
  nixos/zsh: add the type for enableAutosuggestions option
  zsh-powerlevel9k: init at 2017-11-10
  fio: 3.1 -> 3.2
  filebench: rehash source
  nano: 2.8.7 -> 2.9.0
  bonnie: replace dead source link
  less: 520 -> 529
  strace: 4.19 -> 4.20
  iperf: 3.2 -> 3.3
  ...
2017-11-19 08:30:14 +00:00
Orivej Desh
dfd88fac3d bonnie: replace dead source link 2017-11-18 19:41:41 +00:00
Orivej Desh
d99a2fc093 Merge branch 'master' into staging
* master: (293 commits)
  go_1_9: skip flaky TestServerCancelsReadTimeoutWhenIdle
  qsyncthingtray: fix build
  qt56.qtwebengine: fix build
  stdman: d860212 -> 2017.04.02
  jackett: use mono50
  hg-git: disable with python3
  hg-git: 0.8.5 -> 0.8.10
  xfce4-settings: enable parallel building
  gcc-snapshot: mark as broken
  heaptrack: 2017-02-14 -> 2017-10-30
  nixos-container: Modify existing test to cover show-ip command
  nixos-container: Make show-ip work together with ipv4 + netmask
  linux-copperhead: 4.13.12.a -> 4.13.13.a
  matterbridge: 1.1.0 -> 1.4.1
  nixos/nghttpx: add module for the nghttpx proxy server (#31680)
  mattermost: 4.3.0 -> 4.4.0
  breakpad: delete
  simp_le: 0.2.0 -> 0.6.1
  certbot: 0.11.1 -> 0.19.0
  afl: 2.51b -> 2.52b
  ...
2017-11-17 05:35:09 +00:00
Michael Raskin
bc1e6617b9
Merge pull request #31496 from adisbladis/btrfs-progs-4_13_3
btrfs-progs: 4.13.1 -> 4.13.3
2017-11-15 19:25:07 +01:00
John Ericson
d7bddc27b2 treewide: Try to avoid depending on binutils directly
One should depend on

 - `stdenv.cc.bintools`: for executables at build time
 - `libbfd` or `libiberty`: for those libraries
 - `targetPackages.cc.bintools`: for exectuables at *run* time
 - `binutils`: only for specifically GNU Binutils's executables, regardless of
   the host platform, at run time.
2017-11-13 00:47:48 -05:00
Michael Raskin
5f6b88c27f genext2fs: fix handling of symlinks of length exactly 60
Amusingly enough, /nix/store/...-kmod-24/bin/kmod is exactly 60
characters.
2017-11-12 21:38:09 +01:00
Michael Raskin
254701d402 glusterfs: drop .upstream file, as the source archive has to be inspected manually (not just the known commands from the build output) 2017-11-11 15:31:42 +01:00
Michael Raskin
2d2d87d6f9 nilfs-utils: 2.2.6 -> 2.2.7 2017-11-11 15:31:41 +01:00
Pascal Wittmann
27e32aa357
disorderfs: 0.5.1 -> 0.5.2 2017-11-11 14:48:53 +01:00
Pascal Wittmann
24e87b49b6
Change many homepage urls from http to https #30636 2017-11-10 22:13:46 +01:00
adisbladis
ec42653430
btrfs-progs: 4.13.1 -> 4.13.3 2017-11-11 03:22:13 +08:00
Orivej Desh
e1340e67aa netatalk: support SSL and afpstats 2017-11-09 04:53:34 +00:00
kyren
1e75677118 netatalk: make perl / python utility scripts work
Adds `perl` and `python2` to nativeBuildInputs, to make the included
perl and python utility script `#!` lines point at the right place.
2017-11-08 15:11:06 -05:00
kyren
997d66c489 netatalk: 3.1.7 -> 3.1.11
Netatalk 3.1.11 is the latest stable release.  There is also a nasty bug
with netatalk < 3.1.11 (https://sourceforge.net/p/netatalk/bugs/636/)
that prevents using netatalk shares for time machine backups.
2017-11-08 14:21:00 -05:00
Orivej Desh
68d4912ea5
Merge pull request #31177 from makefu/pkgs/snapraid/fix
snapraid: fix release checksum
2017-11-05 20:37:08 +00:00
Jan Tojnar
2dfa36233d sshfs-fuse: remove unneeded rpath wrapping 2017-11-05 19:53:48 +02:00
c0bw3b
525380b472 treewide: abandon Google Code homepages 2017-11-03 18:52:28 +00:00
makefu
1774cc04cb
snapraid: fix release checksum 2017-11-03 09:12:30 +01:00
Renaud
a66f1d6047
rdfind: 1.3.4 -> 1.3.5
homepage and fetch src over HTTPS
2017-11-01 22:23:27 +01:00
Vladimír Čunát
947d48cdaf
9pfs: fix src download
Fortunately the hash is the same, so I don't really need to check
authenticity.  Uncovered by c3255fe8ec.
2017-10-31 23:11:23 +01:00
Michael Weiss
6951604011 sshfs: 3.3.0 -> 3.3.1 2017-10-26 07:58:57 +02:00
Tuomas Tynkkynen
e85768b0df xfsprogs: 4.11.0 -> 4.13.1 2017-10-25 19:36:30 +03:00
José Romildo Malaquias
a76a3cab01 avfs: 1.0.4 -> 1.0.5 2017-10-24 16:34:08 -02:00
Kevin Cox
5f8cf0048e rust: update cargo builder to fetch registry dynamically
The biggest benefit is that we no longer have to update the registry
package. This means that just about any cargo package can be built by
nix. No longer does `cargo update` need to be feared because it will
update to packages newer then what is available in nixpkgs.

Instead of fetching the cargo registry this bundles all the source code
into a "vendor/" folder.

This also uses the new --frozen and --locked flags which is nice.

Currently cargo-vendor only provides binaries for Linux and
macOS 64-bit. This can be solved by building it for the other
architectures and uploading it somewhere (like the NixOS cache).

This also has the downside that it requires a change to everyone's deps
hash. And if the old one is used because it was cached it will fail to
build as it will attempt to use the old version. For this reason the
attribute has been renamed to `cargoSha256`.

Authors:
* Kevin Cox <kevincox@kevincox.ca>
* Jörg Thalheim <Mic92@users.noreply.github.com>
* zimbatm <zimbatm@zimbatm.com>
2017-10-23 00:30:47 +01:00
Tuomas Tynkkynen
462fe50122 e2fsprogs: 1.43.4 -> 1.43.7 2017-10-22 01:40:58 +03:00
Vladimír Čunát
6525c22ef1
Merge branch 'master' into staging
Hydra: ?compare=1401528
2017-10-14 10:36:13 +02:00
adisbladis
7a86e4cf0d
cryfs: Enable tests 2017-10-13 23:29:20 +08:00
Peter Hoeg
ea1a925a95 cryfs: disable testing as it does not work - I pushed the wrong branch earlier 2017-10-13 20:49:54 +08:00
Peter Hoeg
f2e7019346 Merge pull request #30340 from peterhoeg/p/cryfs
cryfs: init at 0.9.7 and minor updates to dependencies (scrypt and spdlog)
2017-10-13 11:04:27 +08:00
Tuomas Tynkkynen
00078afb1f f2fs-tools: 1.8.0 -> 1.9.0 2017-10-12 20:35:33 +03:00
Peter Hoeg
515ea69f09 cryfs: init at 0.9.7 2017-10-12 12:41:05 +08:00
Joachim F
26c8573b1e Merge pull request #30224 from andir/cleanup
Cleanup typoed `propagateBuildInputs` that are probably not needded
2017-10-11 21:34:40 +00:00
Daniel Peebles
416979f3f7 Merge pull request #30150 from copumpkin/no-rpath-nonsense
Get rid of most @rpath nonsense on Darwin
2017-10-08 16:21:27 -04:00
Dan Peebles
b426c85ce2 Get rid of most @rpath nonsense on Darwin
This requires some small changes in the stdenv, then working around the
weird choice LLVM made to hardcode @rpath in its install name, and then
lets us remove a ton of annoying workaround hacks in many of our Go
packages. With any luck this will mean less hackery going forward.
2017-10-08 16:13:46 -04:00
Andreas Rammhold
a5d820beb1
irods: remove unused attribute propagateBuildInputs (missing d) 2017-10-08 19:12:32 +02:00
Vladimír Čunát
ef41fc7f51
Merge branch 'master' into staging
Hydra: ?compare=1399476
2017-10-07 10:17:42 +02:00
Franz Pletz
801c920e95
btrfs-progs: 4.8.2 -> 4.13.1 2017-10-07 04:04:20 +02:00
Franz Pletz
c559e96445
btrfs-progs_4_4_1: remove, snapper works with latest 2017-10-07 04:04:20 +02:00
makefu
be86af09b4
u3-tool: init at 0.3 2017-10-06 14:36:23 +02:00
Orivej Desh
fda26c8476 Merge branch 'master' into staging
* master: (271 commits)
  pysmbc: clarify license
  pysmbc: fix license
  bazel: 0.5.4 -> 0.6.0 (#29990)
  googler: init at 3.3
  go: declare support for aarch64
  firefox-beta-bin: 56.0b5 -> 57.0b4
  spotify: 1.0.64.401.g9d720389-21 -> 1.0.64.407.g9bd02c2d-26
  gogs: 0.11.19 -> 0.11.29
  grafana: 4.5.1 -> 4.5.2
  mopidy-iris: 3.4.1 -> 3.4.9
  nextcloud: 12.0.2 -> 12.0.3
  haskell-json-autotype: jailbreak to fix build within LTS 9.x
  kore: fix up
  kore: init at 2.0.0
  glusterfs service: fix issues with useRpcbind
  tig: 2.2.2 -> 2.3.0
  haskell-hspec-core: enable test suite again
  hackage-packages.nix: automatic Haskell package set update
  librsvg: fix thumbnailer path
  awscli: 1.11.108 -> 1.11.162
  ...
2017-10-02 00:22:12 +00:00
Niklas Hambüchen
8f4084004e
glusterfs: 3.10.2 -> 3.12.1
Changes:

* The patch `glusterfs-fix-unsubstituted-autoconf-macros` was deleted
  because the issue was fixed upstream:
  https://bugzilla.redhat.com/show_bug.cgi?id=1450588
* The `glusterd-ganesha.c` part of `glusterfs-use-PATH-instead-of-hardcodes`
  was detleted because `glusterd-ganesha.c` was removed upstream
  without replacement that has the relevant hardcoded paths.

Closes https://github.com/NixOS/nixpkgs/pull/29062
2017-09-30 14:24:44 +02:00
John Ericson
f037625f87 Merge remote-tracking branch 'upstream/staging' into deps-reorg 2017-09-28 12:32:57 -04:00
Orivej Desh
ad3efa3b54 gcsfuse: 0.19.0 -> 0.23.0 2017-09-28 10:28:19 +00:00
Joachim Fasting
c951a0ad07
encfs: 1.9.1 -> 1.9.2
See https://github.com/vgough/encfs/releases/tag/v1.9.2
2017-09-23 23:56:44 +02:00
Michael Weiss
699231ed78 sshfs: 3.2.0 -> 3.3.0 2017-09-23 23:15:36 +02:00
Michael Weiss
6f02c3bf77 sshfs-fuse: Fix the build on i686-linux
The last upgrade (137142a72c) broke the
build on i686. Thanks @globin for noticing this.
2017-09-22 17:13:24 +02:00
Michael Weiss
137142a72c sshfs-fuse: 2.10 -> 3.2.0 2017-09-21 23:59:46 +02:00
John Ericson
ed14223f8c treewide: Manual fix more pkg-config build-inputs 2017-09-21 15:49:54 -04:00
John Ericson
531e4b80c9 misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
2017-09-21 15:49:53 -04:00
John Ericson
fd9c7eb2e8 misc pkgs: Make solitary pkgconfig buildInputs nativeBuildInputs 2017-09-21 15:49:53 -04:00
John Ericson
d2f4084eb9 Merge pull request #29380 from obsidiansystems/eval-fix
bcachefs-tools: Make eval more robust
2017-09-14 12:54:18 -04:00
John Ericson
f96f3f7a5c bcachefs-tools: Make eval more robust
No hash was changed
2017-09-14 12:32:23 -04:00
Sarah Brofeldt
fc2566e966 s3fs: 1.80 -> 1.82 2017-09-14 08:25:29 +02:00
Daiderd Jordan
77294205ac
go-mtpfs: fix darwin build 2017-09-11 22:49:01 +02:00
Niklas Hambüchen
abc96aae47 glusterfs: Fix glusterfind's crawlers dlopen() error.
This fixes:

  Traceback (most recent call last):
    File "/nix/store/7f9arl3f9xyj8sm05mkanh2mlp217192-glusterfs-3.10.2/libexec/glusterfs/glusterfind/changelog.py", line 22, in <module>
      import libgfchangelog
    File "/nix/store/7f9arl3f9xyj8sm05mkanh2mlp217192-glusterfs-3.10.2/libexec/glusterfs/glusterfind/libgfchangelog.py", line 21, in <module>
      libgfc = CDLL("libgfchangelog.so", use_errno=True, mode=RTLD_GLOBAL)
    File "/nix/store/nlyr5ankhi7yvva8zndi718zj37js270-python-2.7.13-env/lib/python2.7/ctypes/__init__.py", line 362, in __init__
      self._handle = _dlopen(self._name, mode)
  OSError: libgfchangelog.so: cannot open shared object file: No such file or directory
  Connection to 10.0.0.2 closed.

when running `glusterfind pre`.

Done by setting PYTHONPATH/LD_LIBRARY_PATH as for the other
Python scripts.
2017-09-08 04:29:20 +02:00
Niklas Hambüchen
e7325f82a3 glusterfs: Patch upstream bug preventing glusterfind from running.
See: https://bugzilla.redhat.com/show_bug.cgi?id=1489610

Also add patch to correctly log stderr from remote nodes
when glusterfind fails.
This, too, should be removed when fixed upstream.
2017-09-08 04:29:13 +02:00
Niklas Hambüchen
8e329da496 glusterfs: Fix wrong xattr package: xattr -> pyxattr.
Fixes error

  File "/nix/store/lxpsl84km87xpk59nai6a33ihgpfs7qr-glusterfs-3.10.2/libexec/glusterfs/glusterfind/changelog.py", line 105, in populate_pgfid_and_inodegfid
      file_xattrs = xattr.list(p)
  AttributeError: 'module' object has no attribute 'list'

when using `glusterfind pre`.
2017-09-08 04:29:08 +02:00
Samuel Leathers
5fb93524b3 irods-icommands: 4.2.0 -> 4.2.1 2017-09-02 10:52:02 -04:00
davidak
bd79b8c9fc bcachefs-tools: 2016-05-13 -> 2017-08-28 2017-08-31 05:39:24 -05:00
Michael Raskin
4ef4a17f77 nilfs-utils: fix build
Just kill .libs to make sure patchelf does shrink-rpath correctly

Complain in comments that patchelf/#98 is still not used by stdenv
2017-08-30 17:54:04 +02:00
rushmorem
fafa1cca63 lizardfs: 3.10.2 -> 3.11.3 2017-08-29 18:19:33 +02:00
Franz Pletz
4d10bb5efc
xfstools: remove unused patch 2017-08-28 00:54:42 +02:00
Frederik Rietdijk
62dac1bdd9 Merge remote-tracking branch 'upstream/master' into HEAD 2017-08-14 09:34:10 +02:00
Michael Weiss
059d722e5c sshfs-fuse: 2.9 -> 2.10 2017-08-14 00:14:38 +02:00
Frederik Rietdijk
13bbaee21d Merge pull request #27881 from mimadrid/fix/http-https
Update homepage attributes: http -> https
2017-08-13 21:53:20 +02:00
Tuomas Tynkkynen
6aa074f17b e2fsprogs: Split info pages to own output
They weren't actually getting built due to missing texinfo, but it was
creating an empty $man/share/info anyway.
2017-08-11 21:32:54 +03:00
davidak
3270aa896b replace "Mac OS X" and "OS X" with "macOS"
as it is the official name since 2016

https://en.wikipedia.org/wiki/Macintosh_operating_systems#Desktop

exception are parts refering to older versions of macOS like

"GUI support for Mac OS X 10.6 - 10.12. Note that Emacs 23 and later [...]"
2017-08-07 21:41:30 +02:00
Franz Pletz
b129c994c8
irods: 4.2.0 -> 4.2.1 2017-08-04 08:26:09 +02:00
mimadrid
09e0cc7cc7
Update homepage attributes: http -> https
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated
https://repology.org/repository/nix_stable/problems
2017-08-03 11:56:15 +02:00
Silvan Mosberger
f5fa5fa4d6 pkgs: refactor needless quoting of homepage meta attribute (#27809)
* pkgs: refactor needless quoting of homepage meta attribute

A lot of packages are needlessly quoting the homepage meta attribute
(about 1400, 22%), this commit refactors all of those instances.

* pkgs: Fixing some links that were wrongfully unquoted in the previous
commit

* Fixed some instances
2017-08-01 22:03:30 +02:00
Franz Pletz
3cdacdca2e
zerofree: 1.0.4 -> 1.1.0 2017-08-01 08:36:34 +02:00
Tim Steinbach
6e00673e7f
accelio: Remove 2017-07-23 10:47:13 -04:00
Tuomas Tynkkynen
2712554f4f xfsprogs: 4.5.0 -> 4.11.0 2017-07-20 17:14:28 +03:00
Orivej Desh
d2ff74f9dd unionfs-fuse: 1.0 -> 2.0 2017-07-10 02:56:25 +02:00
wisut hantanong
25028cb750 add btrfs-progs bash-completion, fix #25793 2017-07-09 14:29:34 +07:00
Jörg Thalheim
99069268e6 Merge pull request #27147 from jfrankenau/update-mergerfs
mergerfs: 2.22.1 -> 2.23.0
2017-07-07 13:54:28 +01:00
Johannes Frankenau
ad627ae3e8 mergerfs: 2.22.1 -> 2.23.0 2017-07-05 16:01:05 +02:00
Vladimír Čunát
0ec4394ee7 ntfs3g: change package name
It was being parsed incorrectly, as noted on
https://github.com/NixOS/nix/issues/1440
nix-repl> builtins.parseDrvName ntfs3g.name
{ name = "ntfs"; version = "3g-2017.3.23"; }
2017-07-04 19:42:54 +03:00
Joachim F
8604630d92 Merge pull request #26939 from dtzWill/fix/perms-fallout-misc-2
Fixup various setuid/setgid permission problems, part 2
2017-06-30 18:30:02 +01:00
Jörg Thalheim
d0a6e05b9a Merge pull request #26929 from jfrankenau/mergerfs-2.22.1
mergerfs: 2.16.1 -> 2.22.1
2017-06-29 08:34:44 +01:00
hsloan
1b882edf78 mtdutils: Rely on cc-wrapper to export this env var 2017-06-28 21:29:07 -04:00
Johannes Frankenau
8461e31dc9 mergerfs: 2.16.1 -> 2.22.1 2017-06-29 02:54:48 +02:00
Will Dietz
8e5759e7d2 irods: Don't ask cmake to grant setuid permissions 2017-06-28 14:37:34 -05:00
Jörg Thalheim
ecc34cbdb3
glusterfs: do not set setuid in install
related to #26600
2017-06-18 11:57:23 +01:00
Bjørn Forsman
581226cfb4 nixos/bcache: /bin/sh -> ${bash}/bin/sh
Or else `services.udev.packages = [ bcache-tools ]` cannot be used.

To not break bcache in the initrd I'm modifying this in stage-1.nix:

  -  --replace /bin/sh ${extraUtils}/bin/sh
  +  --replace ${bash}/bin/sh ${extraUtils}/bin/sh

Reasoning behind that change:

* If not modifying the /bin/sh pattern in any way, it will also match
  ${bash}/bin/sh, creating a broken path like
  /nix/store/HASH-bash/nix/store/HASH-bash/bin/sh in the udev rule file.

* The addition of /bin/sh was done in 775f381a9e
  ("stage-1: add bcache support"). It seems somewhat plausible that
  no new users have appeared since then and we can take this opportunity
  to back out of this change without much fear of regressions.

  If there _are_ regressions, they should be in the form of build time
  errors, not runtime (boot), due to how the udev rule output is checked
  for invalid path references. So low risk, IMHO.

* An alternative approach could be to copy the /bin/sh substitute rule
  over to the non-initrd udev rules implementation in NixOS, but I think
  this way is better:
  - The rules file comes with a working path out of the box.
  - We can use more precise pattern matching when modifying the udev
    rules for the initrd.
2017-06-10 17:10:49 +02:00
Bjørn Forsman
f12b0a2179 bcache-tools: add name to the source store path
So that

 $ nix-build -A bcache-tools.src

gives

 /nix/store/HASH-bcache-tools-1.0.7.tar.gz

instead of

 /nix/store/HASH-v1.0.7.tar.gz
2017-06-10 17:10:49 +02:00
Frederik Rietdijk
87ee5896fb Merge pull request #25709 from nh2/25620-glusterfs-fix-python-import-errors
Fix: GlusterFS python tools all have import errors
2017-06-01 22:06:21 +02:00
Niklas Hambüchen
13eefe13cd glusterfs: Upgrade to 3.10.2 2017-05-19 16:56:31 +02:00
Niklas Hambüchen
01bbdae2fe glusterfs: Enable parallel building.
I checked for determinism with `nix-build --option build-repeat 10`.
2017-05-19 16:56:30 +02:00
Niklas Hambüchen
85f6ff48e1 glusterfs: Make commands that gluster calls work. Fixes #25620.
Done by setting PATH and PYTHONPATH appropriately.

Adds the following patches:

* One that removes hardcodes to /sbin, /usr/bin, etc.
  from gluster, so that programs like `lvm` and `xfs_info` can be
  called at runtime; see https://bugzilla.redhat.com/show_bug.cgi?id=1450546.
* One that fixes unsubstituted autoconf macros in paths (a problem
  in the 3.10 release); see https://bugzilla.redhat.com/show_bug.cgi?id=1450588.
* One that removes uses of the `find_library()` Python function that does
  not behave as expected in Python < 3.6 (and would not behave correctly
  even on 3.6 in nixpkgs due to #25763);
  see https://bugzilla.redhat.com/show_bug.cgi?id=1450593.

I think that all of these patches should be upstreamed.

Also adds tests to check that none of the Python based utilities
throw import errors, calling `--help` or equivalent on them.
2017-05-19 16:56:30 +02:00
Niklas Hambüchen
833acf9ff1 glusterfs: Use github instead of download.gluster.org to obtain source.
This is because the source tarball available on
  https://download.gluster.org/pub/gluster/glusterfs/3.10/3.10.1/glusterfs-3.10.1.tar.gz
has different contents than the v3.10.1 tag;
for example, it lacks the file `xlators/features/ganesha/src/Makefile.am`,
which the tag has.
This is because GluserFS's release process removes some unused files.

This made impossible to apply patches written by or for upstream, as those
are written against what's in upstream's git.

As a nice side effect, we no longer have to hardcode the "3.10" in the
`3.10/${version}` part of the URL.
2017-05-19 16:56:30 +02:00