summary refs log tree commit diff
path: root/pkgs/tools/security/monkeysphere/monkeysphere.patch
blob: 0a05635d6a808549764f2ed37eb337f78786fc17 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -52,7 +52,7 @@ clean:
 replaced/%: %
 	mkdir -p $(dir $@)
 	sed < $< > $@ \
-	-e 's:__SYSSHAREDIR_PREFIX__:$(PREFIX):' \
+	-e 's:__SYSSHAREDIR_PREFIX__:$(DESTDIR):' \
 	-e 's:__SYSCONFDIR_PREFIX__:$(ETCPREFIX):' \
 	-e 's:__SYSDATADIR_PREFIX__:$(LOCALSTATEDIR):'
 
diff --git a/src/share/checkperms b/src/share/checkperms
--- a/src/share/checkperms
+++ b/src/share/checkperms
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -T
+#!/usr/bin/perl
 
 # checkperms: ensure as best we can that a given file can only be
 # modified by the given user (or the superuser, naturally).  This
diff --git a/src/share/keytrans b/src/share/keytrans
--- a/src/share/keytrans
+++ b/src/share/keytrans
@@ -1,4 +1,4 @@
-#!/usr/bin/perl -T
+#!/usr/bin/perl
 
 # keytrans: this is an RSA key translation utility; it is capable of
 # transforming RSA keys (both public keys and secret keys) between
diff --git a/tests/basic b/tests/basic
--- a/tests/basic
+++ b/tests/basic
@@ -343,7 +340,7 @@ if [ "$MONKEYSPHERE_TEST_USE_ED25519" = true ]; then
     echo "### generating ed25519 key for testuser..."
     # from the imported secret key
     USER_FPR=8A4B353B4CBA6F30625498BAE00B5EEEBA79B482
-    gpg --quick-add-key "$USER_FPR" ed25519 auth 2d
+    gpg --no-tty --quick-add-key "$USER_FPR" ed25519 auth 2d
 else
     echo "### generating standard monkeysphere key for testuser..."
     monkeysphere gen-subkey
-- 
2.16.3