Commit Graph

65 Commits

Author SHA1 Message Date
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
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