From a80c0be3acf905d1c66d2813010d480e0b04b2fc Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sun, 28 Nov 2010 00:11:33 +0100 Subject: add keychain package --- package/keychain/Makefile | 30 ++++++++++++++++++++++++++++++ package/keychain/patches/patch-Makefile | 11 +++++++++++ 2 files changed, 41 insertions(+) create mode 100644 package/keychain/Makefile create mode 100644 package/keychain/patches/patch-Makefile (limited to 'package/keychain') diff --git a/package/keychain/Makefile b/package/keychain/Makefile new file mode 100644 index 000000000..81cad89df --- /dev/null +++ b/package/keychain/Makefile @@ -0,0 +1,30 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= keychain +PKG_VERSION:= 2.7.1 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 07c622833192189f483cbaec287f9704 +PKG_DESCR:= manage ssh and GPG keys in a secure manner +PKG_SECTION:= crypto +PKG_URL:= http://www.funtoo.org/en/security/keychain/intro/ +PKG_SITES:= http://www.funtoo.org/archive/keychain/ + +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.bz2 + +include $(TOPDIR)/mk/package.mk + +$(eval $(call PKG_template,KEYCHAIN,$(PKG_NAME),$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION})) + +CONFIG_STYLE:= manual +INSTALL_STYLE:= manual +ALL_TARGET:= keychain + +do-install: + $(INSTALL_DIR) $(IDIR_KEYCHAIN)/usr/bin + $(INSTALL_BIN) $(WRKBUILD)/keychain \ + $(IDIR_KEYCHAIN)/usr/bin + +include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/keychain/patches/patch-Makefile b/package/keychain/patches/patch-Makefile new file mode 100644 index 000000000..487051824 --- /dev/null +++ b/package/keychain/patches/patch-Makefile @@ -0,0 +1,11 @@ +--- keychain-2.7.1.orig/Makefile 2010-05-07 19:24:14.000000000 +0200 ++++ keychain-2.7.1/Makefile 2010-11-27 23:36:29.000000000 +0100 +@@ -44,7 +44,7 @@ GENKEYCHAINPL = open P, "keychain.txt" o + s/\#\#VERSION\#\#/$V/g || die; \ + print + +-keychain: keychain.sh keychain.txt ++keychain: keychain.sh + perl -e '$(GENKEYCHAINPL)' >keychain || rm -f keychain + chmod +x keychain + -- cgit v1.2.3