2 # Copyright (C) 2006-2015 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
15 PKG_SOURCE_URL
:=ftp
://ftp.franken.de
/pub
/crypt
/mirror
/ftp.gnupg.org
/gcrypt
/gnupg \
16 ftp
://ftp.gnupg.org
/gcrypt
/gnupg
17 PKG_MD5SUM
:=9bdeabf3c0f87ff21cb3f9216efdd01d
18 PKG_HASH
:=6b47a3100c857dcab3c60e6152e56a997f2c7862c1b8b2b25adf3884a1ae2276
21 PKG_LICENSE_FILES
:=COPYING
22 PKG_MAINTAINER
:=Daniel Dickinson
<lede@cshore.thecshore.com
>
26 include $(INCLUDE_DIR
)/package.mk
28 define Package
/gnupg
/Default
32 DEPENDS
:=+zlib
+libncurses
+libreadline
33 TITLE
:=GNU privacy guard
- a free PGP replacement
34 URL
:=http
://www.gnupg.org
/
38 $(call Package
/gnupg
/Default
)
43 $(call Package
/gnupg
/Default
)
44 TITLE
:=GnuPG signature verification only
47 define Package
/gnupg-utils
48 $(call Package
/gnupg
/Default
)
49 DEPENDS
:=gnupg
+libcurl
50 TITLE
:=Key management utilities for GnuPG
53 define Package
/gnupg
/description
54 GnuPG is GNU
's tool for secure communication and data storage.
55 It can be used to encrypt data and to create digital signatures.
56 It includes an advanced key management facility and is compliant
57 with the proposed OpenPGP Internet standard as described in RFC2440.
59 GnuPG does not use any patented algorithms so it cannot be compatible
60 with PGP2 because it uses IDEA (which is patented worldwide).
63 define Package/gpgv/description
64 GPGv is a stripped down version of GnuPG that only checks signatures.
66 GnuPG does not use any patented algorithms so it cannot be compatible
67 with PGP2 because it uses IDEA (which is patented worldwide).
70 define Package/gnupg-utils/description
71 Key management utilies for GnuPG.
72 This package is needed to import keys from a keyserver.
78 --disable-gnupg-iconv \
79 --disable-card-support \
80 --disable-agent-support \
88 SUBDIRS="m4 intl zlib util mpi cipher tools g10 keyserver ${checks}" \
90 define Package/gnupg/install
91 $(INSTALL_DIR) $(1)/usr/bin
92 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gpg $(1)/usr/bin/
95 define Package/gpgv/install
96 $(INSTALL_DIR) $(1)/usr/bin
97 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gpgv $(1)/usr/bin/
100 define Package/gnupg-utils/install
101 $(INSTALL_DIR) $(1)/usr/lib/gnupg
102 for file in gpgkeys_curl gpgkeys_hkp; do \
103 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/gnupg/$$$$file \
104 $(1)/usr/lib/gnupg/; \
108 $(eval $(call BuildPackage,gnupg))
109 $(eval $(call BuildPackage,gpgv))
110 $(eval $(call BuildPackage,gnupg-utils))