Wed Mar 29 16:31:50 2023 UTC ()
Add git-credential-osxkeychain: Git macOS Keychain credential manager
git-credential-osxkeychain caches credentials in the secure keychain
that's attached to your macOS system account. This method stores the
credentials on disk, and they never expire, but they're encrypted with
the same system that stores HTTPS certificates and Safari auto-fills.
To use with all your repos:
$ git config --global credential.helper osxkeychain
(schmonz)
diff -r0 -r1.1 pkgsrc/devel/git-credential-osxkeychain/DESCR
diff -r0 -r1.1 pkgsrc/devel/git-credential-osxkeychain/Makefile
diff -r0 -r1.1 pkgsrc/devel/git-credential-osxkeychain/PLIST
git-credential-osxkeychain caches credentials in the secure keychain
that's attached to your macOS system account. This method stores the
credentials on disk, and they never expire, but they're encrypted with
the same system that stores HTTPS certificates and Safari auto-fills.
To use with all your repos:
$ git config --global credential.helper osxkeychain
# $NetBSD: Makefile,v 1.1 2023/03/29 16:31:50 schmonz Exp $
.include "../../devel/git/Makefile.common"
PKGNAME= git-credential-osxkeychain-${GIT_VERSION}
COMMENT= Git macOS Keychain credential manager
DEPENDS+= git-base-[0-9]*:../../devel/git-base
ONLY_FOR_PLATFORM= Darwin-*-*
BUILD_DIRS= contrib/credential/osxkeychain
INSTALLATION_DIRS= libexec/git-core
# git-credential-osxkeychain
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${BUILD_DIRS}/git-credential-osxkeychain \
${DESTDIR}${PREFIX}/libexec/git-core/
.include "../../mk/bsd.pkg.mk"
@comment $NetBSD: PLIST,v 1.1 2023/03/29 16:31:50 schmonz Exp $
libexec/git-core/git-credential-osxkeychain