summaryrefslogtreecommitdiff
path: root/package/keychain
diff options
context:
space:
mode:
Diffstat (limited to 'package/keychain')
-rw-r--r--package/keychain/Makefile30
-rw-r--r--package/keychain/patches/patch-Makefile11
2 files changed, 41 insertions, 0 deletions
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
+