1515 systemd ,
1616 keyutils ,
1717 udevCheckHook ,
18+ gettext ,
1819
1920 # drbd-utils are compiled twice, once with forOCF = true to extract
2021 # its OCF definitions for use in the ocf-resource-agents derivation,
2627
2728stdenv . mkDerivation rec {
2829 pname = "drbd" ;
29- version = "9.32 .0" ;
30+ version = "9.33 .0" ;
3031
3132 src = fetchurl {
3233 url = "https://pkg.linbit.com/downloads/drbd/utils/${ pname } -utils-${ version } .tar.gz" ;
33- hash = "sha256-szOM7jSbXEZZ4p1P73W6tK9Put0+wOZar+cUiUNC6M0 =" ;
34+ hash = "sha256-Ij/gfQtkbpkbM7qepBRo+aZvkDVi59p2bdD8a06jPbk =" ;
3435 } ;
3536
3637 nativeBuildInputs = [
@@ -40,11 +41,13 @@ stdenv.mkDerivation rec {
4041 asciidoctor
4142 keyutils
4243 udevCheckHook
44+ gettext
4345 ] ;
4446
4547 buildInputs = [
4648 perl
4749 perlPackages . Po4a
50+ gettext
4851 ] ;
4952
5053 configureFlags = [
@@ -98,20 +101,6 @@ stdenv.mkDerivation rec {
98101 patch_docbook45 documentation/v9/drbdsetup.xml.in
99102 patch_docbook45 documentation/v84/drbdsetup.xml
100103 patch_docbook45 documentation/v84/drbd.conf.xml
101- # The ja documentation is disabled because:
102- # make[1]: Entering directory '/build/drbd-utils-9.16.0/documentation/ja/v84'
103- # /nix/store/wyx2nn2pjcn50lc95c6qgsgm606rn0x2-perl5.32.1-po4a-0.62/bin/po4a-translate -f docbook -M utf-8 -L utf-8 -keep 0 -m ../../v84/drbdsetup.xml -p drbdsetup.xml.po -l drbdsetup.xml
104- # Use of uninitialized value $args[1] in sprintf at /nix/store/wyx2nn2pjcn50lc95c6qgsgm606rn0x2-perl5.32.1-po4a-0.62/lib/perl5/site_perl/Locale/Po4a/Common.pm line 134.
105- # Invalid po file drbdsetup.xml.po:
106- substituteInPlace Makefile.in \
107- --replace 'DOC_DIRS := documentation/v9 documentation/ja/v9' \
108- 'DOC_DIRS := documentation/v9' \
109- --replace 'DOC_DIRS += documentation/v84 documentation/ja/v84' \
110- 'DOC_DIRS += documentation/v84' \
111- --replace '$(MAKE) -C documentation/ja/v9 doc' \
112- "" \
113- --replace '$(MAKE) -C documentation/ja/v84 doc' \
114- ""
115104 substituteInPlace user/v9/drbdtool_common.c \
116105 --replace 'add_component_to_path("/lib/drbd");' \
117106 'add_component_to_path("${ placeholder "out" } /lib/drbd");'
@@ -139,7 +128,7 @@ stdenv.mkDerivation rec {
139128 ] ;
140129 longDescription = ''
141130 DRBD is a software-based, shared-nothing, replicated storage solution
142- mirroring the content of block devices (hard disks, partitions, logical volumes, and so on ) between hosts.
131+ mirroring the content of block devices (hard disks, partitions, logical volumes etc. ) between hosts.
143132 '' ;
144133 } ;
145134}
0 commit comments