Commit graph

81 commits

Author SHA1 Message Date
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
1f9d754f97 Reset maintainer, mail bounced 2009-02-17 13:02:20 +00:00
joerg
3b0d97b0de Add DESTDIR support. 2008-06-20 01:09:05 +00:00
wiz
48aee8ab57 Remove Ex-MASTER_SITE. From Zafer Aydogan. 2007-12-02 11:31:49 +00:00
bjs
4e3bb28481 Bump revision, as the resulting binary should differ because it finds
gpg2.
2007-11-08 21:22:40 +00:00
bjs
179d6dfdcd Tell gpgme where the gnupg2 binary is should the user build with
the 'gpgsm' option.
2007-11-08 21:19:22 +00:00
minskim
23242fb4e9 This package requires libgpg-error>=1.4.
Bump PKGREVISION.
2007-09-25 15:19:29 +00:00
tnn
c6504f63a7 Work around broken pthread_create configure test on HPUX. 2007-07-28 19:29:57 +00:00
joerg
be9fa112f8 Fix build on DragonFly. 2007-03-25 00:48:08 +00:00
drochner
c6a373a7cb update to 1.1.4
this fixes the same problem which was fixed by gpg-1.4.7: depending
on use, additional text could get through undetected
this gpgme uses gpg in a save way -- since we have gpg-1.4.7 in pkgsrc
this is kindo belt-and-suspender, but anyway...
2007-03-23 20:04:13 +00:00
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