git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #16280 from rushmorem/lizardfs-manpages

lizardfs: 3.9.4 -> 3.10.0

commitf126b1a7a939ca6a5e9fb3f7dbc611cbac26fa55 authorRushmore Mushambi <rushmore@webenchanter.com> dateSat 6 Aug 2016, 16:58 (10 years ago) parentce537c91767de9
3 files changed+51−39
pkgs/tools/filesystems/lizardfs/412.patch+43 pkgs/tools/filesystems/lizardfs/check-includes.patch−30 pkgs/tools/filesystems/lizardfs/default.nix+8−9
pkgs/tools/filesystems/lizardfs/412.patchnew file+43
@@ -0,0 +1,43 @@
1+From 26a27dedb7bee36f3ac5f48e22b977ea001d5903 Mon Sep 17 00:00:00 2001
2+From: Maksymilian Paszkiewicz <mpaszkiewicz@skytechnology.pl>
3+Date: Mon, 23 May 2016 12:25:19 +0200
4+Subject: [PATCH] common: Fix minor compile and copyright issues
5+
6+This commit adds include <cmath> directive to
7+slice_read_planner.cc and fixes copyright
8+statement in filesystem_operations.cc
9+
10+Closes #411
11+Closes #412
12+
13+Change-Id: I3ac995708a09f64e1389871be2e961d594e4bc68
14+---
15+ src/common/slice_read_planner.cc | 2 ++
16+ src/master/filesystem_operations.cc | 3 ++-
17+ 2 files changed, 4 insertions(+), 1 deletion(-)
18+
19+diff --git a/src/common/slice_read_planner.cc b/src/common/slice_read_planner.cc
20+index 94c106c..d0284f1 100644
21+--- a/src/common/slice_read_planner.cc
22++++ b/src/common/slice_read_planner.cc
23+@@ -20,6 +20,8 @@
24+
25+ #include "common/slice_read_planner.h"
26+
27++#include <cmath>
28++
29+ /*!
30+ * Prepares read planner for serving selected parts of a slice type.
31+ * Firstly, function checks if:
32+diff --git a/src/master/filesystem_operations.cc b/src/master/filesystem_operations.cc
33+index 69ff270..dc30b1f 100644
34+--- a/src/master/filesystem_operations.cc
35++++ b/src/master/filesystem_operations.cc
36+@@ -1,5 +1,6 @@
37+ /*
38+- Copyright 2013-2015 Skytechnology sp. z o.o..
39++ Copyright 2005-2010 Jakub Kruszona-Zawadzki, Gemius SA, 2013-2014 EditShare,
40++ 2013-2016 Skytechnology sp. z o.o..
41+
42+ This file is part of LizardFS.
43+
pkgs/tools/filesystems/lizardfs/check-includes.patchdeleted−30
@@ -1,30 +0,0 @@
1−From 60f64d7077ebd2b29b18faa3b25ee593e126e347 Mon Sep 17 00:00:00 2001
2−From: Dmitry Smirnov <onlyjob@member.fsf.org>
3−Date: Sun, 20 Dec 2015 14:03:20 +1100
4−Subject: [PATCH] build: Fix FTBFS with CMake-3.4
5−
6−Closes: #363
7−
8−~~~~
9− CMake Error at CheckIncludes.cmake:4 (check_include_files):
10− Unknown CMake command "check_include_files".
11− Call Stack (most recent call first):
12− CMakeLists.txt:113 (check_includes)
13−~~~~
14−
15−Change-Id: I70f03d829c40ae560083a98c2bcf6344dbac3ad6
16−Signed-off-by: Dmitry Smirnov <onlyjob@member.fsf.org>
17−---
18− CheckIncludes.cmake | 2 ++
19− 1 file changed, 2 insertions(+)
20−
21−diff --git a/CheckIncludes.cmake b/CheckIncludes.cmake
22−index 19ed485..f51075a 100644
23−--- a/CheckIncludes.cmake
24−+++ b/CheckIncludes.cmake
25−@@ -1,3 +1,5 @@
26−+include(CheckIncludeFiles)
27−+
28− function(check_includes INCLUDES)
29− set(INCLUDE_MISSING FALSE)
30− foreach(INCLUDE_FILE ${INCLUDES})
pkgs/tools/filesystems/lizardfs/default.nix+8−9
@@ -4,8 +4,9 @@
44, makeWrapper
55, python
66, fuse
7−# The following are required for manpages
8−#, asciidoc, libxml2
7+, asciidoc
8+, libxml2
9+, libxslt
910, boost
1011, pkgconfig
1112, judy
@@ -15,27 +16,25 @@
1516
1617stdenv.mkDerivation rec {
1718 name = "lizardfs-${version}";
18− version = "3.9.4";
19+ version = "3.10.0";
1920
2021 src = fetchFromGitHub {
2122 owner = "lizardfs";
2223 repo = "lizardfs";
2324 rev = "v.${version}";
24− sha256 = "1vg33jy280apm4lp5dn3x51pkf7035ijqjm8wbmyha2g35gfjrlx";
25+ sha256 = "18p2pj9crjqgxxxzdfcs3j3fqhinmwi7qxcf71jsw17syqwyygh8";
2526 };
2627
27− # Manpages don't build in the current release
28− buildInputs = [ cmake fuse /* asciidoc libxml2.bin */ zlib boost pkgconfig judy pam makeWrapper ];
28+ buildInputs = [ cmake fuse asciidoc libxml2 libxslt zlib boost pkgconfig judy pam makeWrapper ];
2929
30− # Fixed in upcoming 3.10.0
31− patches = [ ./check-includes.patch ];
30+ patches = [ ./412.patch ];
3231
3332 postInstall = ''
3433 wrapProgram $out/sbin/lizardfs-cgiserver \
3534 --prefix PATH ":" "${python}/bin"
3635
3736 # mfssnapshot and mfscgiserv are deprecated
38− rm -f $out/bin/mfssnapshot $out/sbin/mfscgiserv
37+ rm $out/bin/mfssnapshot $out/sbin/mfscgiserv
3938 '';
4039
4140 meta = with stdenv.lib; {