Commit graph

49 commits

Author SHA1 Message Date
volth 08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Markus Kowalewski 830218cc64
glusterfs: 4.0 -> 6.5
* remove patches (fixed upstream)
* python2 -> python3
2019-08-18 18:57:47 +02:00
Niklas Hambüchen c3cddfcef1 glusterfs: 3.12.2 -> 4.0.0 2018-11-04 11:18:15 +01:00
Markus Kowalewski 06aabd8ef2
glusterfs: add license + homepage 2018-08-20 21:15:16 +02:00
Pascal Bach 3c7d0da26c glusterfs: 3.12.4 -> 3.12.12 2018-08-01 00:39:06 +02:00
volth 52f53c69ce pkgs/*: remove unreferenced function arguments 2018-07-21 02:48:04 +00:00
Pascal Bach d5988833da glusterfs: 3.12.3 -> 3.12.4 2018-01-10 22:59:20 +01: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
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
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
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
Jörg Thalheim ecc34cbdb3
glusterfs: do not set setuid in install
related to #26600
2017-06-18 11:57:23 +01: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
Niklas Hambüchen 2f7152f997 glusterfs: Remove no longer needed subsitutions of DESTDIR.
They were made unnecessary in commit d07154b3bc, which added
`makeFlags = "DESTDIR=$(out)";`.
2017-05-19 16:56:30 +02:00
Michael Raskin 16e12a6c42 glusterfs: 3.10.0 -> 3.10.1 2017-04-08 18:37:24 +02:00
Michael Raskin 1fc3486154 glusterfs: 3.9.1 -> 3.10.0 2017-03-09 18:47:38 +01:00
Michael Raskin c726f79023 glusterfs: 3.9.0 -> 3.9.1 2017-02-02 11:12:16 +01:00
Michael Raskin 2b44ec2e13 Merge pull request #21674 from fduraffourg/glusterfs
glusterfs: fix mount.glusterfs installation
2017-01-05 10:20:05 +00:00
Florian Duraffourg 06e16f00c4 Fix mount.glusterfs installation 2017-01-05 10:02:33 +01:00
Michael Raskin 37b8e22c72 glusterfs: 3.8.4 -> 3.9.0 2017-01-02 20:18:49 +01:00
Frederik Rietdijk 0e3b5834c0 glusterfs: use python2
configure reports that only python2 is supported.
2016-10-18 23:16:09 +02:00
Michael Raskin 72249360f9 glusterfs: 3.8.1 -> 3.8.4 2016-09-26 15:49:30 +02:00
Michael Raskin c27ea9bb6b glusterfs: 3.7.11 -> 3.8.1 2016-08-11 17:57:35 +02:00
Michael Raskin 6c96968d70 glusterfs: 3.7.10 -> 3.7.11 2016-05-15 23:49:44 +02:00
Michael Raskin 057bd04624 glusterfs: 3.7.8 -> 3.7.10 2016-04-13 14:47:04 +02:00
Michael Raskin 67ba412a8d gluseterfs: 3.7.6 -> 3.7.8 2016-02-14 21:17:07 +01:00
Michael Raskin 119de110a3 glusterfs: 3.7.3 -> 3.7.6 2016-01-01 12:30:17 +03:00
Michael Raskin 462ce2a65e GlusterFS: 3.7.2 -> 3.7.3 2015-08-08 21:01:31 +03:00
Michael Raskin 8454055ed4 GlusterFS: update 3.7.1 -> 3.7.2 2015-07-05 00:32:53 +03:00
William A. Kennington III ddf15bc78a glusterfs: Propagate acl due to header references 2015-06-30 23:54:42 -07:00
Michael Raskin f39c3ebf04 Update GlusterFS, adding new dependencies 2015-06-14 11:23:42 +03:00
Michael Raskin 193f2c0e21 Update GlusterFS 2015-05-10 13:36:46 +03:00
Michael Raskin a8e7a3ac86 Update glusterfs 2015-02-01 18:41:32 +03:00
Michael Raskin 13fbe8150a GlusterFS; 3.6.0 → 3.6.1 2014-12-21 11:14:25 +03:00
Thomas Strobel d07154b3bc FIX: Change local state dir, which must be writable, from "/nix/store/...glusterfs..." to "/var" 2014-12-18 11:20:03 +01:00
Michael Raskin 815bbfb852 Update GlusterFS 2014-11-02 23:51:58 +03:00
Michael Raskin 1fa783f55a Update glusterfs 2014-08-03 22:29:41 +04:00
Vladimir Kirillov 470f8cccc2 glusterfs: update to 3.5.0 2014-06-23 17:14:26 +03:00
Michael Raskin 213312b667 Update GlusterFS to 3.4.3 2014-06-14 00:23:12 +04:00
Michael Raskin d072cf56ad Update GlusterFS 2014-03-08 21:12:59 +04:00
Michael Raskin e38f86a887 Updating GlusterFS to 3.4.1 2013-10-20 21:10:25 +04:00
Michael Raskin 8a6b0087a9 Update GlusterFS 2012-12-04 21:54:20 +04:00
Eelco Dolstra c726012afe * Refactoring: move most filesystem utilities / FUSE filesystems to
tools/filesystems.  Previously they were all over the place.

svn path=/nixpkgs/trunk/; revision=18809
2009-12-04 15:39:49 +00:00