Commit Graph

18 Commits

Author SHA1 Message Date
Fabrice Fontaine 5afe5c9031 treewide: assign PKG_CPE_ID
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2024-02-04 16:16:10 -08:00
Tjeu Kayim f4058c1c18 gnupg: compile with -fcommon
This fixes a segfault because gnupg/g10/options.h struct opt
is otherwise not shared between the different compilation units,
resulting in opt.homedir being NULL when passed to make_filename.

$ gpg1 -i

gpg: signal 11 caught ... exiting
Segmentation fault

(gdb) bt
    #0  0x00007f17bb2185e2 in strlen (s=s@entry=0x0) at src/string/strlen.c:17
    #1  0x0000000000460ea0 in make_filename (first_part=first_part@entry=0x0) at gnupg-1.4.23/util/fileutil.c:174
    #2  0x000000000040ee42 in keydb_add_resource (url=url@entry=0x46bfe3 "secring.gpg", flags=flags@entry=4, secret=secret@entry=1)
        at gnupg-1.4.23/g10/keydb.c:238
    #3  0x00000000004062ee in main (argc=<optimized out>, argv=<optimized out>) at gnupg-1.4.23/g10/gpg.c:3323

Signed-off-by: Tjeu Kayim <15987676+TjeuKayim@users.noreply.github.com>
2022-11-24 10:09:58 -08:00
Rosen Penev 2811f18da7 gnupg: remove the GCC if
Doesn't seem to work without advanced toolchain settings.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-08-19 12:37:29 -07:00
Daniel Golle cb480a40b2 gnupg: prepare for gnupg2
Use ALTERNATIVES for /usr/bin/gpg and /usr/bin/gpgv, so upcoming gnupg2
variants can be selected instead.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2020-11-07 15:51:49 +00:00
Rosen Penev 0cca8638b5
gnupg: fix compilation with GCC10
A bit ugly but it works.

Added PKG_BUILD_PARALLEL for faster compilation.

Fix license information.

Minor cleanups.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-17 20:30:19 -07:00
Daniel F. Dickinson d93d21a0b8 gnupg: Remove myself as maintainer
Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
2018-07-04 23:54:49 -04:00
Rosen Penev 36f9f95d6a
gnupg: Update to 1.4.23
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-06-26 15:46:43 -07:00
Rosen Penev b9b4979498 gnupg: Update to 1.4.22
Switched URLs to official HTTPS. More reliable and more secure.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2018-06-08 19:41:29 -07:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Daniel Dickinson ae9d95d9ec utils/gnupg: Bump version; use both PKG_HASH (sha256) and PKG_MD5SUM (md5sum)
Bump the version of gnupg and use new PKG_HASH for
sha256sum and PKG_MD5SUM for md5sum (for backwards
compatibility).

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2017-01-12 15:04:19 +08:00
Daniel Dickinson cac89a3c60 utils/gnupg: Add myself as maintainer
@Nico seems MIA; @hnyman asked if I'd be interested
in taking over.  I'm willing so adding myself.

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2017-01-12 15:04:19 +08:00
Daniel Dickinson 933e84cc7f utils/gnupg: Add build of gpgv
gpgv is a stripped down gnupg useful for only verifying signatures.
Having this package can save space when all you need is signature
verification.

Signed-off-by: Daniel Dickinson <lede@cshore.thecshore.com>
2017-01-12 15:04:19 +08:00
Alberto Bursi 198ada3b9d gnupg: move to Encryption submenu
Part of a wider housekeeping effort on the packages repository.

Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
2016-10-23 23:41:08 +02:00
Heinrich Schuchardt d708a54870 gnupg: fix dependency error concerning libcurl
libcurl is added as dependency for gnupg-util to avoid a dependency
error.

The following invalid configuration options are removed:
  --disable-ftp
  --enable-fake-curl

Fixes: 0a61d56eb3 ("utils/gnupg: add new package gnupg-utils")
Reported-by: Hannu Nyman <hannu.nyman@iki.fi>
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2016-02-10 19:19:56 +01:00
Heinrich Schuchardt 0a61d56eb3 utils/gnupg: add new package gnupg-utils
The current package gnupg does not allow to receive keys due to
disable-exec, disable-hkp configuration.

The patch removes these switches. To avoid unduely increasing the package
size the helper executables are put into a new package gnupg-utils.

The version is bumped to 1.4.20 to avoid an error when receiving keys.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2015-12-30 03:21:56 +01:00
Nicolas Thill 09f4d6b549 gnupg: update to 1.4.19
Signed-off-by: Nicolas Thill <nico@openwrt.org>
2015-03-07 23:28:06 +01:00
Ian Leonard ac7cd4c6e6 misc: correct typo in Makefiles for PKG_LICENSE_FILES
Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2014-11-24 23:43:37 -08:00
Nicolas Thill dbbc46641c gnupg: import from old packages feed
- update to latest version (v1.4.18)
 - add license info
 - add myself as maintainer

Signed-off-by: Nicolas Thill <nico@openwrt.org>
2014-08-20 15:52:34 +02:00