[BACK]Return to hooks.conf CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / monotone-server / files

File: [cvs.NetBSD.org] / pkgsrc / devel / monotone-server / files / Attic / hooks.conf (download)

Revision 1.5, Sun Mar 7 22:29:20 2010 UTC (14 years ago) by jmmv
Branch: MAIN
Changes since 1.4: +2 -2 lines

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.

-- $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.given_name == "PUT_KEYNAME_HERE") then
        return "PUT_PASSPHRASE_HERE"
    end
    return false
end