Commit Graph

81 Commits

Author SHA1 Message Date
chayleaf
4d4c73ff78 treewide: update path to getent 2023-07-12 02:32:23 +07:00
Robert Scott
d3ddefde9b glusterfs: 10.3 -> 11 2023-04-10 23:02:29 +01:00
Tyler Langlois
3f70428b1c glusterfs: 10.1 -> 10.3 2023-04-06 22:13:32 -06:00
Artturin
c6568adb00 treewide: makeWrapper buildInputs to nativeBuildInputs
most found with https://github.com/siraben/nix-lint
2022-08-16 13:14:19 +03:00
Tyler Langlois
922bb56029 glusterfs: patch around SSL_CERT_PATH detection
The upstream configure.ac invokes `openssl version -d` in order to find the
system path for certificates. This is problematic for us since that resolves to
the nix store and lots of other mechanisms (including the glusterfs module)
expect /etc/ssl to be the place for certificates, so this addition patches the
file to set the value manually.
2022-07-16 16:27:33 -06:00
Ben Siraphob
21faf9fc29
treewide: move autoconf, automake to nativeBuildInputs 2022-03-30 20:17:24 -05:00
R. Ryantm
4847c5dc17 glusterfs: 10.0 -> 10.1 2022-02-11 19:23:42 +00:00
7c6f434c
197390f0a4
Merge pull request #152705 from bjornfor/glusterfs-fix-version
glusterfs: fix version info
2021-12-30 16:33:45 +00:00
Bjørn Forsman
560ec437d7 glusterfs: link up nixosTests 2021-12-30 14:51:09 +01:00
Bjørn Forsman
7e399b7078 glusterfs: fix version info
A build script in glusterfs uses /bin/bash interpreter and fails to get
the version from the VERSION file at build time:

  sh: build-aux/pkg-version: /bin/bash: bad interpreter: No such file or directory
  sh: build-aux/pkg-version: /bin/bash: bad interpreter: No such file or directory
  sh: build-aux/pkg-version: /bin/bash: bad interpreter: No such file or directory
  [...]

The result is that `gluster --version` doesn't include a version number.
Fixup the shebang to get the version info.
2021-12-30 13:03:46 +01:00
Pascal Bach
0fe8586f43 glusterfs: 9.4 -> 10.0 2021-12-11 23:15:24 +01:00
Felix Singer
59fd778186 glusterfs: 9.3 -> 9.4
Update to latest release.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2021-10-23 23:23:45 +02:00
R. RyanTM
f2534072e2 glusterfs: 9.2 -> 9.3 2021-07-04 18:14:25 +00:00
Martin Weinelt
16c2003c1f
glusterfs: 9.0 -> 9.2
https://docs.gluster.org/en/latest/release-notes/9.1/
https://docs.gluster.org/en/latest/release-notes/9.2/
2021-06-03 04:39:43 +02:00
R. RyanTM
eb4d82290f glusterfs: 8.3 -> 9.0 2021-01-30 03:07:28 +00:00
volth
bc0d605cf1 treewide: fix double quoted strings in meta.description
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
2021-01-24 19:56:59 +07:00
Ben Siraphob
d6aeae8f90 pkgs/tools: pkgconfig -> pkg-config (2) 2021-01-17 23:27:27 +07:00
Ben Siraphob
8c5d37129f pkgs/tools: stdenv.lib -> lib 2021-01-15 17:12:36 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
ajs124
0aad53c2c7 glusterfs: 7.6 -> 8.3
while 7.x is technically still supported, 8.x is already up to .3

release notes: https://gluster.readthedocs.io/en/latest/release-notes/8.3/
2020-12-19 20:27:27 +01:00
Graham Christensen
bc49a0815a
utillinux: rename to util-linux 2020-11-24 12:42:06 -05:00
Maximilian Bosch
e0030dff15
glusterfs: fix build w/glibc-2.32 2020-09-12 23:04:48 +02:00
R. RyanTM
4e4616d89f glusterfs: 7.5 -> 7.6 2020-05-21 16:26:35 +00:00
ajs124
faa621ce76 glusterfs: fix indentation 2020-05-09 20:34:23 +02:00
ajs124
2be47f021a glusterfs: fix snapshots 2020-05-09 20:32:37 +02:00
R. RyanTM
2e00c42891 glusterfs: 7.4 -> 7.5 2020-05-05 08:21:38 +00:00
R. RyanTM
47c947241e glusterfs: 7.3 -> 7.4 2020-03-22 14:13:49 +00:00
R. RyanTM
66977041ba glusterfs: 7.2 -> 7.3 2020-02-19 23:07:07 +00:00
R. RyanTM
f0da790b6d glusterfs: 7.1 -> 7.2 2020-01-21 14:13:32 +00:00
Merijn Broeren
133103d709
treewide: replace make/build/configure/patchFlags with nix lists 2019-12-30 12:58:11 +01:00
R. RyanTM
d1d2c4dce0 glusterfs: 7.0 -> 7.1 2019-12-23 05:40:24 -08:00
R. RyanTM
d0899bd7ac glusterfs: 6.5 -> 7.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/glusterfs/versions
2019-10-21 20:02:20 -07:00
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