Commit graph

70 commits

Author SHA1 Message Date
shannonjr
9e5d2d2c28 Updated gpgsm option to use security/gnupg2 instead of security/gnupg-devel. 2006-11-17 12:16:00 +00:00
shannonjr
dd67a1a1e7 Bump PKGREVISION for gpgsm change just committed. 2006-10-20 15:28:01 +00:00
shannonjr
bf4bb588d0 Fix gpgsm option so that it builds and works. 2006-10-20 15:25:22 +00:00
wiz
b6160330f7 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 21:53:15 +00:00
wiz
8e52c97716 Fix a pkglint warning. 2006-07-19 23:02:13 +00:00
wiz
48d9fe2aa7 Remove superfluous bsd.prefs.mk inclusion. 2006-07-19 23:01:49 +00:00
wiz
f00b37853e regen with current createbuildlink. 2006-07-19 23:01:03 +00:00
wiz
82394bce31 Update to 1.1.0, based on patches provided by George Michaelson
in PR 32761.

Noteworthy changes in version 1.1.0 (2005-10-01)
------------------------------------------------

 * You can now configure the backend engine file name and home
   directory to be used, as default and per context.

 * Information about the recipients of an encrypted text is now
   available at decryption time.

 * New status GPGME_STATUS_PLAINTEXT.  This is analyzed by the decrypt
   and verify handlers, the information about the plaintext filename,
   if available is made available in the new field file_name of the
   respective result structure.

 * The code for "automagically detecting the thread library" has been
   removed from libgpgme.  It is deprecated since version 0.4.3.
   Since then, you had to link against libgpgme-pthread for
   applications using pthread and libgpgme-pth for applications using
   GNU Pth.

   The code was removed because it caused compilation problems on
   systems where the pthread.h header from GNU Pth is available in
   addition to the system header (FreeBSD 6 and later for example).

 * There is a new flag for keys and subkeys, is_qualified, which
   indicates if a key can be used for qualified signatures according
   to local government regulations.

 * You can associate a filename with a data object using the new
   function gpgme_data_set_file_name().  This filename will be stored
   in the output when encrypting or signing the data and will be
   returned when decrypting or verifying the output data.

 * You can now set notation data at signature creation with the new
   function gpgme_sig_notation_add().

 * Interface changes relative to the 1.0.3 release:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gpgme_set_engine_info		NEW
gpgme_ctx_get_engine_info	NEW
gpgme_ctx_set_engine_info	NEW
gpgme_recipient_t		NEW
gpgme_decrypt_result_t		EXTENDED: New field recipients.
gpgme_verify_result_t		EXTENDED: New fields pubkey_algo, hash_algo.
gpgme_decrypt_result_t		EXTENDED: New field plaintext_filename.
gpgme_verify_result_t		EXTENDED: New field plaintext_filename.
GPGME_STATUS_PLAINTEXT		NEW
gpgme_key_t			EXTENDED: New field is_qualified.
gpgme_subkey_t			EXTENDED: New field is_qualified.
gpgme_data_get_file_name	NEW
gpgme_data_set_file_name	NEW
gpgme_sig_notation_flags_t	NEW
GPGME_SIG_NOTATION_HUMAN_READABLE NEW
GPGME_SIG_NOTATAION_CRITICAL	NEW
gpgme_sig_notation_clear	NEW
gpgme_sig_notation_add		NEW
gpgme_sig_notation_get		NEW
2006-07-19 22:59:59 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
739ade02f5 List the info pages directly in the PLIST and ensure that we honor
PKGINFODIR.
2006-03-31 23:56:28 +00:00
drochner
7b9cca0501 resolve confusion about different behaviour of getenv_r in librfuncs
and NetBSD-current which caused serius lossage:
depend on librfuncs>=1.0.7nb1 which implements NetBSD-current's
behaviour, change the patch to _gpgme_getenv() accordingly,
and bump PKGREVISION
2006-03-01 16:22:20 +00:00
joerg
14a8fc2553 Don't hard-wire -lpthread into gpgme-config, it breaks e.g. mail/balsa2
on DragonFly. Bump revision.
2006-02-11 14:11:07 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
joerg
70f2766f42 Don't depend on -lpthread as name of the thread library,
check in configure using PTHREAD_LIBS / PTHREAD_LDFLAGS and use
them to link libgpgme_thread as well.
2005-11-04 17:16:34 +00:00
drochner
3ff726032c update to 1.0.3
changes:
-license changed to LGPL
-changed default for "include certs" to use the backend's setting
-bugfixes
2005-08-12 19:36:53 +00:00
shannonjr
e220456334 Removed USE_BUILDLINK3
We don't need this any longer -- it's now default.
2005-04-25 09:54:04 +00:00
shannonjr
e5d8b0747b Added missing USE_BUILDLINK3 to Makefile 2005-04-25 09:37:09 +00:00
shannonjr
9ea89880c0 Revised to use gpg instead of gpg2 for OPENPGP when building gpgsm
following GNUPG recomendations: "Note that GnuPG 1.4 and 1.9 are not yet
in sync and thus features and bug fixes done in 1.4 are not available
in 1.9.  *Please keep on using 1.4.x for OpenPGP*; 1.9.x and 1.4.x may
be installed simultaneously."
2005-04-23 12:44:58 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
92528d7df9 Update to 1.0.2:
Noteworthy changes in version 1.0.2 (2004-12-28)
------------------------------------------------

 * Changed the license of the library to the GNU Lesser General Public
   License (LGPL), version 2.1 or later.
2005-04-08 15:59:01 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
markd
f0a6c74cff Solaris does need librfuncs for getenv_r() or someone needs to teach the
configure script that have_thread_safe_getenv=yes in that case.
2004-11-15 09:06:32 +00:00
jmmv
e95bddd49f Ew... also let this work if getenv_r returns no errors... 2004-11-07 13:18:16 +00:00
jmmv
26e9ccdf5c Now that librfuncs' getenv_r returns ENOENT when the variable is not defined
in the environment, we can handle this case properly from here.  I.e., treat
ENOENT as if no error happened, and return NULL in the 'value' parameter (as
the function documentation says).  Finally fixes PR pkg/27884.
Bump PKGREVISION to 2.
2004-11-07 13:11:30 +00:00
jmmv
718a3b5261 Explicitly disable gpgsm if the 'gpgsm' option is not given. 2004-11-06 22:57:58 +00:00
jmmv
16239b2381 Let this build if gnupg 1.2.x is not installed (i.e., gnupg-devel exists).
A test program was trying to run 'gpg', bypassing the binary name given
through the --with-gpg flag to configure.

XXX This still has a chance to break.  If gnupg-devel is built w/o the
gpgsm option and gpgme is being built w/ it, no gpg binary will be found.
This is one of the those damages produced by build options...
2004-11-06 17:40:15 +00:00
shannonjr
aa30e0f0bd 1) Revised gpg_strerror_r to match comments in using strerror_r
2) Revised configure to perform header check for rfuncs.h
3) Revised files referencing getenv_r, strerror_r and ttyname_r
   to include <rfuncs.h> if HAVE_RFUNCS_H
2004-11-04 20:41:21 +00:00
jmmv
83b298f31c Add missing blank line after the NetBSD CVS tag in patch-ab. 2004-11-03 15:48:31 +00:00
jmmv
7495f4cdc3 Fix indentation of include lines inside conditionals. 2004-11-03 15:47:10 +00:00
jmmv
765f21ec35 Depend on gnupg when gnupg-devel is not used. While here, move inclusion
of bsd.pkg.mk to the end of the file, so that all the code in the Makefile
takes effect.  Bump PKGREVISION to 1 because of the new dependency.
2004-11-03 15:35:08 +00:00
kristerw
643fe23161 Include mk/bsd.prefs.mk so that OPSYS is defined. 2004-11-02 21:48:53 +00:00
gavan
53d1b1aac4 librfuncs is not needed on Solaris. Ideally this would be detected by
infrastructure such as a builtin.mk file.
2004-11-02 20:44:26 +00:00
gavan
8ab736d4de librfuncs is not needed on Solaris. Ideally this would be detected by
infrastructure such as a builtin.mk file.
2004-11-02 19:51:58 +00:00
shannonjr
803dd5cb88 security/gpgme includes librfuncs/buildink3.mk, but getenv_r was not
used because configure fail to detect it. Implemented recomendation
from Min Sik Kim to bypass the test.
2004-10-30 10:25:18 +00:00
shannonjr
fe8c990522 1) Updated to gpgme-1.0.1. This is a bug fix release.
2) Added optional support for OpenPGP/MIME and SMIME via gnupg-devel
   as described here: http://www.gnupg.org/aegypten2/
2004-10-23 15:00:48 +00:00
jmmv
a7e926f8f6 Update to 1.0.0:
* Version 1.0.0!  We are proud to present you with a thoroughly
  tested and stable version of the GPGME library.  A big Thank You!
  to all the people who made this possible.

  The development will be branched into a stable 1.x.y series and the
  head.

* The gpgme.m4 macro supports checking the API version.  Just prepend
  it to the required version string, separated by a colon.  For
  example, this release has the version "1:1.0.0".  The last release
  to which this version is (mostly) ABI compatible is "1:0.4.2",
  which is the default required version.
2004-10-20 19:09:11 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
recht
e453299c88 update to gpgme-0.9.0
Noteworthy changes in version 0.9.0 (unreleased)
------------------------------------------------

 * The type gpgme_key_t has now a new field keylist_mode that contains
   the keylist mode that was active at the time the key was retrieved.

 * The type gpgme_decrypt_result_t has a new field "wrong_key_usage"
   that contains a flag indicating that the key should not have been
   used for encryption.

 * Verifying a signature of a revoked key gives the correct result now
   (GPG_ERR_CERT_REVOKED error code).

 * Clarified that the error code GPG_ERR_NO_DATA from the decrypt &
   verify operations still allows you to look at the signature
   verification result.

 * Clarified that patterns in keylisting operations have an upper
   limit, and thus are not suited to list many keys at once by their
   fingerprint.  Also improve the error message if the pattern is too
   long for the CMS protocol to handle.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gpgme_key_t			EXTENDED: New field keylist_mode.
gpgme_decrypt_result_t		EXTENDED: New field wrong_key_usage.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Set the 0.9.0 versions as BUILDLINK_DEPENDS in the buildlink3.mk for the
library major version changes.
2004-08-22 17:52:26 +00:00
markd
60aad77f97 Update to 0.4.7.
Noteworthy changes in version 0.4.7 (2004-04-29)
------------------------------------------------

 * Correctly initialize the fields expired, revoked, invalid, and
   disabled in the gpgme_key_t structures.

 * A bug fix: The flag wrong_key_usage of gpgme_signature_t was
   accidently of type int instead unsigned int.

Noteworthy changes in version 0.4.6 (2004-04-06)
------------------------------------------------

 * Bug fixes


Noteworthy changes in version 0.4.5 (2004-03-07)
------------------------------------------------

 * GPGME is now compiled with LFS (large file support) by default.

 * New key listing mode GPGME_KEYLIST_MODE_VALIDATE for validation of
   the listed keys.

 * New interface gpgme_cancel() that can be used to cancel
   asynchronous operations.

Noteworthy changes in version 0.4.4 (2004-01-12)
------------------------------------------------

 * The member "class" in gpgme_key_sig_t and gpgme_new_signature_t has
   been renamed to "sig_class", to avoid clash with C++ compilers.  In
   the C API, the old name "class" has been preserved for backwards
   compatibility, but is deprecated.
2004-08-21 10:54:47 +00:00
grant
89cd919656 this needs -lnsl -lsocket on Solaris. 2004-07-11 00:48:42 +00:00
snj
8675850c7b Fix build on sparc64 with gcc2. 2004-03-23 07:16:10 +00:00
jlam
7db11b582a Fix serious bug where BUILDLINK_PACKAGES wasn't being ordered properly
by moving the inclusion of buildlink3.mk files outside of the protected
region.  This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.

BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list.  This ordering property is used to check for builtin
packages in the correct order.  The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end.  However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
2004-03-18 09:12:08 +00:00
seb
a8438b38a4 Remove info files entries from PLIST. 2004-03-09 23:10:34 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
minskim
e073097bd3 Not used any more. 2004-02-25 19:19:45 +00:00