lol

monkeysphere: 0.43 -> 0.44

+6 -27
+6 -6
pkgs/tools/security/monkeysphere/default.nix
··· 2 , perl, libassuan, libgcrypt 3 , perlPackages, lockfileProgs, gnupg, coreutils 4 # For the tests: 5 - , bash, openssh, which, socat, cpio, hexdump, openssl 6 }: 7 8 let ··· 14 }); 15 in stdenv.mkDerivation rec { 16 name = "monkeysphere-${version}"; 17 - version = "0.43"; 18 19 # The patched OpenSSH binary MUST NOT be used (except in the check phase): 20 disallowedRequisites = [ opensshUnsafe ]; 21 22 src = fetchurl { 23 url = "http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monkeysphere/monkeysphere_${version}.orig.tar.gz"; 24 - sha256 = "18i7qpvp5qb7mmd0z5rqai550rya9l3nbsq2hamwkl3smqsjdqc0"; 25 }; 26 27 patches = [ ./monkeysphere.patch ]; ··· 33 nativeBuildInputs = [ makeWrapper ]; 34 buildInputs = [ perl libassuan libgcrypt ] 35 ++ stdenv.lib.optional doCheck 36 - ([ gnupg opensshUnsafe which socat cpio hexdump lockfileProgs ] ++ 37 (with perlPackages; [ CryptOpenSSLRSA CryptOpenSSLBignum ])); 38 39 makeFlags = '' ··· 60 postFixup = 61 let wrapperArgs = runtimeDeps: 62 "--prefix PERL5LIB : " 63 - + (with perlPackages; makePerlPath [ 64 CryptOpenSSLRSA 65 CryptOpenSSLBignum 66 ]) ··· 73 (wrapMonkeysphere runtimeDeps) 74 programs; 75 in wrapPrograms [ gnupg ] [ "monkeysphere-authentication" "monkeysphere-host" ] 76 - + wrapPrograms [ lockfileProgs ] [ "monkeysphere" ] 77 + '' 78 # These 4 programs depend on the program name ($0): 79 for program in openpgp2pem openpgp2spki openpgp2ssh pem2openpgp; do
··· 2 , perl, libassuan, libgcrypt 3 , perlPackages, lockfileProgs, gnupg, coreutils 4 # For the tests: 5 + , bash, openssh, which, socat, cpio, hexdump, procps, openssl 6 }: 7 8 let ··· 14 }); 15 in stdenv.mkDerivation rec { 16 name = "monkeysphere-${version}"; 17 + version = "0.44"; 18 19 # The patched OpenSSH binary MUST NOT be used (except in the check phase): 20 disallowedRequisites = [ opensshUnsafe ]; 21 22 src = fetchurl { 23 url = "http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monkeysphere/monkeysphere_${version}.orig.tar.gz"; 24 + sha256 = "1ah7hy8r9gj96pni8azzjb85454qky5l17m3pqn37854l6grgika"; 25 }; 26 27 patches = [ ./monkeysphere.patch ]; ··· 33 nativeBuildInputs = [ makeWrapper ]; 34 buildInputs = [ perl libassuan libgcrypt ] 35 ++ stdenv.lib.optional doCheck 36 + ([ gnupg opensshUnsafe which socat cpio hexdump procps lockfileProgs ] ++ 37 (with perlPackages; [ CryptOpenSSLRSA CryptOpenSSLBignum ])); 38 39 makeFlags = '' ··· 60 postFixup = 61 let wrapperArgs = runtimeDeps: 62 "--prefix PERL5LIB : " 63 + + (with perlPackages; makePerlPath [ # Optional (only required for keytrans) 64 CryptOpenSSLRSA 65 CryptOpenSSLBignum 66 ]) ··· 73 (wrapMonkeysphere runtimeDeps) 74 programs; 75 in wrapPrograms [ gnupg ] [ "monkeysphere-authentication" "monkeysphere-host" ] 76 + + wrapPrograms [ gnupg lockfileProgs ] [ "monkeysphere" ] 77 + '' 78 # These 4 programs depend on the program name ($0): 79 for program in openpgp2pem openpgp2spki openpgp2ssh pem2openpgp; do
-21
pkgs/tools/security/monkeysphere/monkeysphere.patch
··· 10 -e 's:__SYSCONFDIR_PREFIX__:$(ETCPREFIX):' \ 11 -e 's:__SYSDATADIR_PREFIX__:$(LOCALSTATEDIR):' 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 diff --git a/src/share/keytrans b/src/share/keytrans 23 --- a/src/share/keytrans 24 +++ b/src/share/keytrans ··· 28 29 # keytrans: this is an RSA key translation utility; it is capable of 30 # 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 -- 44 2.16.3
··· 10 -e 's:__SYSCONFDIR_PREFIX__:$(ETCPREFIX):' \ 11 -e 's:__SYSDATADIR_PREFIX__:$(LOCALSTATEDIR):' 12 13 diff --git a/src/share/keytrans b/src/share/keytrans 14 --- a/src/share/keytrans 15 +++ b/src/share/keytrans ··· 19 20 # keytrans: this is an RSA key translation utility; it is capable of 21 # transforming RSA keys (both public keys and secret keys) between 22 -- 23 2.16.3