lol

monkeysphere: 0.43 -> 0.44

+6 -27
+6 -6
pkgs/tools/security/monkeysphere/default.nix
··· 2 2 , perl, libassuan, libgcrypt 3 3 , perlPackages, lockfileProgs, gnupg, coreutils 4 4 # For the tests: 5 - , bash, openssh, which, socat, cpio, hexdump, openssl 5 + , bash, openssh, which, socat, cpio, hexdump, procps, openssl 6 6 }: 7 7 8 8 let ··· 14 14 }); 15 15 in stdenv.mkDerivation rec { 16 16 name = "monkeysphere-${version}"; 17 - version = "0.43"; 17 + version = "0.44"; 18 18 19 19 # The patched OpenSSH binary MUST NOT be used (except in the check phase): 20 20 disallowedRequisites = [ opensshUnsafe ]; 21 21 22 22 src = fetchurl { 23 23 url = "http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monkeysphere/monkeysphere_${version}.orig.tar.gz"; 24 - sha256 = "18i7qpvp5qb7mmd0z5rqai550rya9l3nbsq2hamwkl3smqsjdqc0"; 24 + sha256 = "1ah7hy8r9gj96pni8azzjb85454qky5l17m3pqn37854l6grgika"; 25 25 }; 26 26 27 27 patches = [ ./monkeysphere.patch ]; ··· 33 33 nativeBuildInputs = [ makeWrapper ]; 34 34 buildInputs = [ perl libassuan libgcrypt ] 35 35 ++ stdenv.lib.optional doCheck 36 - ([ gnupg opensshUnsafe which socat cpio hexdump lockfileProgs ] ++ 36 + ([ gnupg opensshUnsafe which socat cpio hexdump procps lockfileProgs ] ++ 37 37 (with perlPackages; [ CryptOpenSSLRSA CryptOpenSSLBignum ])); 38 38 39 39 makeFlags = '' ··· 60 60 postFixup = 61 61 let wrapperArgs = runtimeDeps: 62 62 "--prefix PERL5LIB : " 63 - + (with perlPackages; makePerlPath [ 63 + + (with perlPackages; makePerlPath [ # Optional (only required for keytrans) 64 64 CryptOpenSSLRSA 65 65 CryptOpenSSLBignum 66 66 ]) ··· 73 73 (wrapMonkeysphere runtimeDeps) 74 74 programs; 75 75 in wrapPrograms [ gnupg ] [ "monkeysphere-authentication" "monkeysphere-host" ] 76 - + wrapPrograms [ lockfileProgs ] [ "monkeysphere" ] 76 + + wrapPrograms [ gnupg lockfileProgs ] [ "monkeysphere" ] 77 77 + '' 78 78 # These 4 programs depend on the program name ($0): 79 79 for program in openpgp2pem openpgp2spki openpgp2ssh pem2openpgp; do
-21
pkgs/tools/security/monkeysphere/monkeysphere.patch
··· 10 10 -e 's:__SYSCONFDIR_PREFIX__:$(ETCPREFIX):' \ 11 11 -e 's:__SYSDATADIR_PREFIX__:$(LOCALSTATEDIR):' 12 12 13 - diff --git a/src/share/checkperms b/src/share/checkperms 14 - --- a/src/share/checkperms 15 - +++ b/src/share/checkperms 16 - @@ -1,4 +1,4 @@ 17 - -#!/usr/bin/perl -T 18 - +#!/usr/bin/perl 19 - 20 - # checkperms: ensure as best we can that a given file can only be 21 - # modified by the given user (or the superuser, naturally). This 22 13 diff --git a/src/share/keytrans b/src/share/keytrans 23 14 --- a/src/share/keytrans 24 15 +++ b/src/share/keytrans ··· 28 19 29 20 # keytrans: this is an RSA key translation utility; it is capable of 30 21 # transforming RSA keys (both public keys and secret keys) between 31 - diff --git a/tests/basic b/tests/basic 32 - --- a/tests/basic 33 - +++ b/tests/basic 34 - @@ -343,7 +340,7 @@ if [ "$MONKEYSPHERE_TEST_USE_ED25519" = true ]; then 35 - echo "### generating ed25519 key for testuser..." 36 - # from the imported secret key 37 - USER_FPR=8A4B353B4CBA6F30625498BAE00B5EEEBA79B482 38 - - gpg --quick-add-key "$USER_FPR" ed25519 auth 2d 39 - + gpg --no-tty --quick-add-key "$USER_FPR" ed25519 auth 2d 40 - else 41 - echo "### generating standard monkeysphere key for testuser..." 42 - monkeysphere gen-subkey 43 22 -- 44 23 2.16.3