diff options
author | jmmv <jmmv@pkgsrc.org> | 2010-03-07 22:29:20 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2010-03-07 22:29:20 +0000 |
commit | ab6480a4dfda02211f990146d0010588f796a07b (patch) | |
tree | 09a3524bbaa2c690abca0cbd337e8bc819e2c6b4 /devel/monotone-server | |
parent | 9cf9eb224be0351d99438310c563f32f0c9742dd (diff) | |
download | pkgsrc-ab6480a4dfda02211f990146d0010588f796a07b.tar.gz |
Fix get_passphrase hook to do the correct thing now that the input parameter
is a structure instead of a string. Should probably change this hook to use
the provided contrib/get_passphrase_from_file.lua file, but I just want to
get things working again for now. Bump PKGREVISION to 1.
Diffstat (limited to 'devel/monotone-server')
-rw-r--r-- | devel/monotone-server/Makefile | 3 | ||||
-rw-r--r-- | devel/monotone-server/files/hooks.conf | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/devel/monotone-server/Makefile b/devel/monotone-server/Makefile index 17f3ba3db4d..f1148812162 100644 --- a/devel/monotone-server/Makefile +++ b/devel/monotone-server/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.44 2010/01/18 13:41:17 jmmv Exp $ +# $NetBSD: Makefile,v 1.45 2010/03/07 22:29:20 jmmv Exp $ # DISTNAME= monotone-server-0.46 +PKGREVISION= 1 CATEGORIES= devel scm MASTER_SITES= # empty DISTFILES= # empty diff --git a/devel/monotone-server/files/hooks.conf b/devel/monotone-server/files/hooks.conf index 11f0f78047c..43c2e4b4869 100644 --- a/devel/monotone-server/files/hooks.conf +++ b/devel/monotone-server/files/hooks.conf @@ -1,11 +1,11 @@ --- $NetBSD: hooks.conf,v 1.4 2006/02/21 16:09:16 jmmv Exp $ +-- $NetBSD: hooks.conf,v 1.5 2010/03/07 22:29:20 jmmv Exp $ -- -- This file belongs to the monotone-server package. This is the typical -- ~/.monotonerc configuration file, but is system-wide. -- function get_passphrase(identity) - if (identity == "PUT_KEYNAME_HERE") then + if (identity.given_name == "PUT_KEYNAME_HERE") then return "PUT_PASSPHRASE_HERE" end return false |