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_HASH
:=6b47a3100c857dcab3c60e6152e56a997f2c7862c1b8b2b25adf3884a1ae2276
20 PKG_LICENSE_FILES
:=COPYING
21 PKG_MAINTAINER
:=Daniel Dickinson
<lede@cshore.thecshore.com
>
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/gnupg
/Default
31 DEPENDS
:=+zlib
+libncurses
+libreadline
32 TITLE
:=GNU privacy guard
- a free PGP replacement
33 URL
:=http
://www.gnupg.org
/
37 $(call Package
/gnupg
/Default
)
42 $(call Package
/gnupg
/Default
)
43 TITLE
:=GnuPG signature verification only
46 define Package
/gnupg-utils
47 $(call Package
/gnupg
/Default
)
48 DEPENDS
:=gnupg
+libcurl
49 TITLE
:=Key management utilities for GnuPG
52 define Package
/gnupg
/description
53 GnuPG is GNU
's tool for secure communication and data storage.
54 It can be used to encrypt data and to create digital signatures.
55 It includes an advanced key management facility and is compliant
56 with the proposed OpenPGP Internet standard as described in RFC2440.
58 GnuPG does not use any patented algorithms so it cannot be compatible
59 with PGP2 because it uses IDEA (which is patented worldwide).
62 define Package/gpgv/description
63 GPGv is a stripped down version of GnuPG that only checks signatures.
65 GnuPG does not use any patented algorithms so it cannot be compatible
66 with PGP2 because it uses IDEA (which is patented worldwide).
69 define Package/gnupg-utils/description
70 Key management utilies for GnuPG.
71 This package is needed to import keys from a keyserver.
77 --disable-gnupg-iconv \
78 --disable-card-support \
79 --disable-agent-support \
87 SUBDIRS="m4 intl zlib util mpi cipher tools g10 keyserver ${checks}" \
89 define Package/gnupg/install
90 $(INSTALL_DIR) $(1)/usr/bin
91 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gpg $(1)/usr/bin/
94 define Package/gpgv/install
95 $(INSTALL_DIR) $(1)/usr/bin
96 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/gpgv $(1)/usr/bin/
99 define Package/gnupg-utils/install
100 $(INSTALL_DIR) $(1)/usr/lib/gnupg
101 for file in gpgkeys_curl gpgkeys_hkp; do \
102 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/gnupg/$$$$file \
103 $(1)/usr/lib/gnupg/; \
107 $(eval $(call BuildPackage,gnupg))
108 $(eval $(call BuildPackage,gpgv))
109 $(eval $(call BuildPackage,gnupg-utils))