lol

irods: 4.2.1 -> 4.2.2 + server bugfixes

+71 -7
+8 -5
pkgs/tools/filesystems/irods/default.nix
··· 1 - { stdenv, fetchurl, python, bzip2, zlib, autoconf, automake, cmake, gnumake, help2man , texinfo, libtool , cppzmq , libarchive, avro-cpp, boost, jansson, zeromq, openssl , pam, libiodbc, kerberos, gcc, libcxx, which }: 1 + { stdenv, fetchurl, python, bzip2, zlib, autoconf, automake, cmake, gnumake, help2man , texinfo, libtool , cppzmq , libarchive, avro-cpp_llvm, boost, jansson, zeromq, openssl , pam, libiodbc, kerberos, gcc, libcxx, which }: 2 2 3 3 with stdenv; 4 4 5 + let 6 + avro-cpp=avro-cpp_llvm; 7 + in 5 8 let 6 9 common = import ./common.nix { 7 10 inherit stdenv bzip2 zlib autoconf automake cmake gnumake ··· 13 16 14 17 # irods: libs and server package 15 18 irods = stdenv.mkDerivation (common // rec { 16 - version = "4.2.1"; 19 + version = "4.2.2"; 17 20 prefix = "irods"; 18 21 name = "${prefix}-${version}"; 19 22 20 23 src = fetchurl { 21 24 url = "https://github.com/irods/irods/releases/download/${version}/irods-${version}.tar.gz"; 22 - sha256 = "07yj5g1mwra4sankhqx967mk4z28kc40rir5cb85x23ljql74abq"; 25 + sha256 = "0b89hs7sizwrs2ja7jl521byiwb58g297p0p7zg5frxmv4ig8dw7"; 23 26 }; 24 27 25 28 # Patches: ··· 53 56 54 57 # icommands (CLI) package, depends on the irods package 55 58 irods-icommands = stdenv.mkDerivation (common // rec { 56 - version = "4.2.1"; 59 + version = "4.2.2"; 57 60 name = "irods-icommands-${version}"; 58 61 src = fetchurl { 59 62 url = "http://github.com/irods/irods_client_icommands/archive/${version}.tar.gz"; 60 - sha256 = "1kg07frv2rf32nf53a1nxscwzgr0rpgxvp5fkmh5439knby10fqw"; 63 + sha256 = "15zcxrx0q5c3rli3snd0b2q4i0hs3zzcrbpnibbhsip855qvs77h"; 61 64 }; 62 65 63 66 buildInputs = common.buildInputs ++ [ irods ];
+62 -2
pkgs/tools/filesystems/irods/irods_root_path.patch
··· 1 - --- a/lib/core/src/irods_default_paths.cpp 2016-10-24 17:09:02.955889536 +0200 2 - +++ b/lib/core/src/irods_default_paths.cpp 2016-10-24 17:09:43.178722157 +0200 1 + diff -r -u irods-4.2.0.orig/lib/core/src/irods_default_paths.cpp irods-4.2.0/lib/core/src/irods_default_paths.cpp 2 + --- irods-4.2.0.orig/lib/core/src/irods_default_paths.cpp 2016-11-15 06:23:55.000000000 +0000 3 + +++ irods-4.2.0/lib/core/src/irods_default_paths.cpp 2016-12-20 18:03:17.156883399 +0000 3 4 @@ -18,7 +18,7 @@ 4 5 try { 5 6 boost::filesystem::path path{dl_info.dli_fname}; ··· 9 10 return path; 10 11 } catch(const boost::filesystem::filesystem_error& e) { 11 12 THROW(-1, e.what()); 13 + @@ -27,8 +27,7 @@ 14 + 15 + boost::filesystem::path 16 + get_irods_config_directory() { 17 + - boost::filesystem::path path{get_irods_root_directory()}; 18 + - path.append("etc").append("irods"); 19 + + boost::filesystem::path path("/etc/irods"); 20 + return path; 21 + } 22 + 23 + diff -r -u irods-4.2.0.orig/scripts/irods/paths.py irods-4.2.0/scripts/irods/paths.py 24 + --- irods-4.2.0.orig/scripts/irods/paths.py 2016-11-15 06:23:55.000000000 +0000 25 + +++ irods-4.2.0/scripts/irods/paths.py 2016-12-21 15:17:07.437864606 +0000 26 + @@ -10,7 +10,7 @@ 27 + return os.path.join(root_directory(), 'var', 'lib', 'irods') 28 + 29 + def config_directory(): 30 + - return os.path.join(root_directory(), 'etc', 'irods') 31 + + return os.path.join(os.path.abspath('/'), 'etc', 'irods') 32 + 33 + def plugins_directory(): 34 + return os.path.join(root_directory(), 'usr', 'lib', 'irods', 'plugins') 35 + @@ -37,7 +37,7 @@ 36 + 37 + def version_path(): 38 + return os.path.join( 39 + - irods_directory(), 40 + + home_directory(), 41 + 'VERSION.json') 42 + 43 + def hosts_config_path(): 44 + @@ -64,7 +64,7 @@ 45 + 46 + def log_directory(): 47 + return os.path.join( 48 + - irods_directory(), 49 + + home_directory(), 50 + 'log') 51 + 52 + def control_log_path(): 53 + @@ -110,8 +110,7 @@ 54 + def server_bin_directory(): 55 + return os.path.join( 56 + root_directory(), 57 + - 'usr', 58 + - 'sbin') 59 + + 'bin') 60 + 61 + def server_executable(): 62 + return os.path.join( 63 + @@ -132,7 +131,7 @@ 64 + return os.path.join(config_directory(), 'service_account.config') 65 + 66 + def genosauth_path(): 67 + - return os.path.join(irods_directory(), 'clients', 'bin', 'genOSAuth') 68 + + return os.path.join(home_directory(), 'clients', 'bin', 'genOSAuth') 69 + 70 + def irods_user_and_group_entries(): 71 + try:
+1
pkgs/top-level/all-packages.nix
··· 2597 2597 stdenv = llvmPackages_38.libcxxStdenv; 2598 2598 libcxx = llvmPackages_38.libcxx; 2599 2599 boost = boost160.override { inherit stdenv; }; 2600 + avro-cpp_llvm = avro-cpp.override { inherit stdenv boost; }; 2600 2601 }) 2601 2602 irods 2602 2603 irods-icommands;