Commit graph

58 commits

Author SHA1 Message Date
tron
55e2f702ba Add patch from GIT repository to fix build under Mac OS X. 2014-09-16 23:17:48 +00:00
wiz
d49443b9ce Update to 1.15:
Noteworthy changes in version 1.15 (2014-09-11) [C12/A12/R1]
-----------------------------------------------

 * This releases fixes problems with the use of off_t and ssize_t by
   the estream functions introduced with 1.14.  Although this is
   technically an ABI break on some platforms, we take this as a
   simple bug fix for 1.14.  The new functions are very unlikely in
   use by any code and thus no breakage should happen.  The 1.14
   tarball will be removed from the archive.

 * Add type gpgrt_off_t which is guaranteed to be 64 bit.

 * Add type gpgrt_ssize_t to make use on Windows easier.  On Unix
   platforms this is an alias for ssize_t.


Noteworthy changes in version 1.14 (2014-09-08) [C12/A12/R0]
-----------------------------------------------

 * Added gpgrt_lock_trylock.

 * Added the estream library under the name gpgrt and a set of macros
   to use them with their "es_" names.

 * Interface changes relative to the 1.13 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_KEY_DISABLED         NEW.
 gpgrt_init                   NEW macro.
 gpgrt_check_version          NEW.
 gpgrt_lock_trylock           NEW.
 gpgrt_set_syscall_clamp      NEW.
 gpgrt_set_alloc_func         NEW.
 gpgrt_stream_t               NEW.
 gpgrt_cookie_io_functions_t  NEW.
 gpgrt_syshd_t                NEW.
 GPGRT_SYSHD_NONE             NEW.
 GPGRT_SYSHD_FD               NEW.
 GPGRT_SYSHD_SOCK             NEW.
 GPGRT_SYSHD_RVID             NEW.
 GPGRT_SYSHD_HANDLE           NEW.
 gpgrt_stdin                  NEW macro.
 gpgrt_stdout                 NEW macro.
 gpgrt_stderr                 NEW macro.
 gpgrt_fopen                  NEW.
 gpgrt_mopen                  NEW.
 gpgrt_fopenmem               NEW.
 gpgrt_fopenmem_init          NEW.
 gpgrt_fdopen                 NEW.
 gpgrt_fdopen_nc              NEW.
 gpgrt_sysopen                NEW.
 gpgrt_sysopen_nc             NEW.
 gpgrt_fpopen                 NEW.
 gpgrt_fpopen_nc              NEW.
 gpgrt_freopen                NEW.
 gpgrt_fopencookie            NEW.
 gpgrt_fclose                 NEW.
 gpgrt_fclose_snatch          NEW.
 gpgrt_onclose                NEW.
 gpgrt_fileno                 NEW.
 gpgrt_fileno_unlocked        NEW.
 gpgrt_syshd                  NEW.
 gpgrt_syshd_unlocked         NEW.
 gpgrt_flockfile              NEW.
 gpgrt_ftrylockfile           NEW.
 gpgrt_funlockfile            NEW.
 gpgrt_feof                   NEW.
 gpgrt_feof_unlocked          NEW.
 gpgrt_ferror                 NEW.
 gpgrt_ferror_unlocked        NEW.
 gpgrt_clearerr               NEW.
 gpgrt_clearerr_unlocked      NEW.
 gpgrt_fflush                 NEW.
 gpgrt_fseek                  NEW.
 gpgrt_fseeko                 NEW.
 gpgrt_ftell                  NEW.
 gpgrt_ftello                 NEW.
 gpgrt_rewind                 NEW.
 gpgrt_getc                   NEW macro.
 gpgrt_getc_unlocked          NEW macro.
 gpgrt_fgetc                  NEW.
 gpgrt_fputc                  NEW.
 gpgrt_ungetc                 NEW.
 gpgrt_read                   NEW.
 gpgrt_write                  NEW.
 gpgrt_write_sanitized        NEW.
 gpgrt_write_hexstring        NEW.
 gpgrt_fread                  NEW.
 gpgrt_fwrite                 NEW.
 gpgrt_fgets                  NEW.
 gpgrt_putc                   NEW macro.
 gpgrt_putc_unlocked          NEW macro.
 gpgrt_fputs                  NEW.
 gpgrt_fputs_unlocked         NEW.
 gpgrt_getline                NEW.
 gpgrt_read_line              NEW.
 gpgrt_free                   NEW.
 gpgrt_fprintf                NEW.
 gpgrt_fprintf_unlocked       NEW.
 gpgrt_printf                 NEW.
 gpgrt_printf_unlocked        NEW.
 gpgrt_vfprintf               NEW.
 gpgrt_vfprintf_unlocked      NEW.
 gpgrt_setvbuf                NEW.
 gpgrt_setbuf                 NEW.
 gpgrt_set_binary             NEW.
 gpgrt_tmpfile                NEW.
 gpgrt_opaque_set             NEW.
 gpgrt_opaque_get             NEW.
 gpgrt_fname_set              NEW.
 gpgrt_fname_get              NEW.
 gpgrt_asprintf               NEW.
 gpgrt_vasprintf              NEW.
 gpgrt_bsprintf               NEW.
 gpgrt_vbsprintf              NEW.
 gpgrt_snprintf               NEW.
 gpgrt_vsnprintf              NEW.
2014-09-14 16:45:54 +00:00
wiz
3b5c8cda46 Update to 1.13:
Noteworthy changes in version 1.13 (2014-04-15)
-----------------------------------------------

 * Added a portable mutex API.

 * The AM_PATH_GPG_ERROR macro now defines GPG_ERROR_MT_CFLAGS and
   GPG_ERROR_MT_LIBS autoconf output variables for use by programs
   which need gpgrt based thread support.  gpg-error-config has a new
   option --mt.

 * Interface changes relative to the 1.12 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_KEY_ON_CARD          NEW.
 GPG_ERR_MAC_ALGO             NEW.
 GPG_ERR_INV_LOCK_OBJ         NEW.
 gpgrt_lock_t                 NEW.
 GPGRT_LOCK_INITIALIZER       NEW.
 GPGRT_LOCK_DEFINE            NEW.
 gpgrt_lock_init              NEW.
 gpgrt_lock_lock              NEW.
 gpgrt_lock_unlock            NEW.
 gpgrt_lock_destroy           NEW.
 gpgrt_yield                  NEW.
2014-04-25 08:33:57 +00:00
wiz
aa5d8bb03e Update to 1.12:
Noteworthy changes in version 1.12 (2013-06-24)
-----------------------------------------------

 * Add support for 64 bit Windows (use ./autogen.sh --build-w64).

 * Fixed parsing and installing of the Windows .def file.

 * Interface changes relative to the 1.11 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_NO_CRYPT_CTX         NEW.
 GPG_ERR_WRONG_CRYPT_CTX      NEW.
 GPG_ERR_BAD_CRYPT_CTX        NEW.
 GPG_ERR_CRYPT_CTX_CONFLICT   NEW.
 GPG_ERR_BROKEN_PUBKEY        NEW.
 GPG_ERR_BROKEN_SECKEY        NEW.
2013-07-03 08:12:24 +00:00
riastradh
2e3a3fdfed Fix cross-build of security/libgpg-error with CC_FOR_BUILD=NATIVE_CC.
ok agc
2013-05-10 00:37:48 +00:00
wiz
c9fd9bff6e Update to 1.11:
Noteworthy changes in version 1.11 (2013-02-25)
-----------------------------------------------

 * New error source GPG_ERR_SOURCE_ASSUAN for Libassuan related
   errors.

 * New macros GPG_ERROR_VERSION and GPG_ERROR_VERSION_NUMBER.  New
   function gpg_error_check_version.

 * Interface changes relative to the 1.10 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_NO_KEYSERVER          NEW.
 GPG_ERR_INV_CURVE             NEW.
 GPG_ERR_UNKNOWN_CURVE         NEW.
 GPG_ERR_DUP_KEY               NEW.
 GPG_ERR_AMBIGUOUS             NEW.
 GPG_ERR_SOURCE_ASSUAN         NEW.
 gpg_error_check_version       NEW.
 GPG_ERROR_VERSION             NEW.
 GPG_ERROR_VERSION_NUMBER      NEW.
2013-03-15 22:06:01 +00:00
asau
1a433eae91 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 18:16:19 +00:00
marino
e57f3be0c6 security/libgpg-error: Disable NLS on i386-DragonFly
It seems that I386 DragonFly (x86_64 is okay), invoking libintl's
bindtextdomain causes pkgsrc's libintl to segfault on a thread
locking operation.  Anything linking with libgpg-error on i386
will consequently core dump.

Recognizing this treating the symptom, this patch disabled NLS on
I386 DragonFly.
2012-07-17 16:01:10 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
adam
a563d2138f Fix building with special CFLAGS; e.g. on Mac OS X with -isysroot 2011-01-20 07:43:02 +00:00
drochner
16cf750011 update to 1.10
change: 3 error codes added
2010-11-26 17:55:21 +00:00
drochner
c315c4aa11 update to 1.9
change: New function gpg_err_deinit
2010-09-01 16:34:00 +00:00
drochner
447ca785c0 remove awk script modifications someone added for compatibility -- they
are wrong and caused out-of-bounds memory accesses
bump PKGREVISION
2010-08-05 13:28:24 +00:00
wiz
743c02520a Update to 1.8:
Noteworthy changes in version 1.8 (2010-05-06)
----------------------------------------------

 * Support for WindowsCE.

 * New option --list for gpg-error.

 * Interface changes relative to the 1.7 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_NOT_ENABLED           NEW.
 GPG_ERR_SOURCE_G13            NEW.
 GPG_ERR_NO_ENGINE             NEW.
 gpg_err_set_errno             NEW.
2010-06-08 10:15:32 +00:00
heinz
c286ae7afc Added LICENSE information. 2010-01-21 23:32:10 +00:00
joerg
f0bbd1517d Remove @dirrm entries from PLISTs 2009-06-14 18:13:25 +00:00
wiz
2e243628e7 Update to 1.7:
Noteworthy changes in version 1.7 (2008-11-26)
----------------------------------------------

 * Minor fixes and a few new error codes.

 * Interface changes relative to the 1.6 release:
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 GPG_ERR_NOT_OPERATIONAL       NEW
 GPG_ERR_NO_PASSPHRASE         NEW
 GPG_ERR_NO_PIN                NEW
2009-06-09 13:27:33 +00:00
zafer
99074a7440 update mirrors. pull in a few more mirrors from the official mirror list. 2009-05-01 13:59:53 +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
adam
b4c509e9c8 Changes 1.6:
* Fixed a build problem under Windows.

Changes 1.5:
* Minor build system fixes.
* Updated gettext.  Removed included gettext copy.
* gpg-error has a new option --version.
2008-10-14 11:32:11 +00:00
rillig
dc7f429739 Added MAKE_JOBS_SAFE as suggested in PR 37261. 2007-11-03 22:40:27 +00:00
wiz
3053dddc84 Remove share/common-lisp/source/gpg-error directory tree on deinstall.
Bump PKGREVISION.
2007-01-24 19:38:16 +00:00
joerg
aa48c98240 DESTDIR support. 2006-11-05 17:31:09 +00:00
shannonjr
c760f3f584 PLIST correction 2006-10-20 16:15:49 +00:00
shannonjr
4139e7d5c6 Update to 1.4 (Required by gnupg-devel 1.93) 2006-10-20 15:12:20 +00:00
dsainty
176c977d64 Add an HTTP download URL for when outbound FTP isn't available. 2006-10-13 17:32:10 +00:00
shannonjr
d8a7b82f68 Remove patch-ab, patch-ac, and patch-ad because they are no longer needed. 2006-10-11 16:41:36 +00:00
shannonjr
cdbfc6d454 Update to 1.3 to sastify dependancies in several other packages. 2006-10-11 11:05:04 +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
jlam
ea5f9f80b6 Strip ${PKGLOCALEDIR} from PLISTs of packages that already obey
PKGLOCALEDIR and which install their locale files directly under
${PREFIX}/${PKGLOCALEDIR} and sort the PLIST file entries.  From now
on, pkgsrc/mk/plist/plist-locale.awk will automatically handle
transforming the PLIST to refer to the correct locale directory.
2006-04-17 07:07:11 +00:00
heinz
5851e5bff0 Added appropriate TEST_TARGET. 2006-04-14 18:14:34 +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
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
kim
245cd1880b Avoid changing FS as it triggers an odd bug on some awk versions, with
incorrect field calculation for the second field if the first field is
numeric and there are only 2 fields total in the input record (line).

The buggy awk was in 2.99.* and early 3.99.*, and identifies itself as
awk version 20030729.  However, not all awk's with this version number
exhibit the problem (so it could be related to a library used by awk).

Recent 3.99.* builds don't have this problem, and the awk versio on
them is also much more recent.
2005-12-29 16:09:42 +00:00
xtraeme
1d38628f0a Expand the regexp to [3-9]*, to match future NetBSD versions. 2005-09-22 09:14:34 +00:00
xtraeme
135b2a7b38 Do not require GNU AWK (aka gawk) on NetBSD >= 3.0, because the
native awk package is enough to build/install the package.
2005-09-22 09:11:37 +00:00
jlam
585534220c Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:
USE_GNU_TOOLS	-> USE_TOOLS
	awk		-> gawk
	m4		-> gm4
	make		-> gmake
	sed		-> gsed
	yacc		-> bison
2005-05-22 20:07:36 +00:00
jschauma
b18397b36c Unbreak this under IRIX by not demanding gawk. This is a hack:
Apparently, for as of yet undetermined reasons, gawk as built on IRIX
under pkgsrc croaks on regular expressions including a
combination of alpha- and numerical matches, such as the rather
trivial /^[ \t]*[0-9]+/
Let's use the system's AWK (ie nawk) for this package to avoid
breaking hundreds of dependents.
Speculation: somehow the regular expression library used to build
gawk conflicts with the systems regular expression library or
some such.
Note: gawk from SGIs freeware collection depends on expat -- why
is that? Does that have anything to do with anything?
2005-05-15 22:22:48 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
d81d19f8e0 Add RMD160 digests. 2005-02-24 12:51:41 +00:00
minskim
14ae434c0e Set LC_ALL to "C" when running GNU awk. Otherwise it behaves
differently depending on user's LC_ALL value.

Thanks to "amorphis" of Korea BSD User Forum for reporting and
testing.
2004-12-29 03:43:23 +00:00
minskim
c2d624c720 Include gettext-lib/buildlink3.mk so that libtoolized packages
depending on this package can link correctly with pkgsrc libintl.
2004-10-19 17:40:37 +00:00
minskim
ea70f07d61 This package requires GNU awk. 2004-10-15 20:54:02 +00:00
minskim
551bf9b517 Update libgpg-error to 1.0. Patch submitted by shannonjr@ and
slightly modified by me.

Changes since 0.6:
 * Ported to Solaris 2.8.

 * Added a new error source GPG_ERR_SOURCE_GSTI, and new error
   codes GPG_ERR_PROTOCOL_VIOLATION and GPG_ERR_INV_MAC for this
   source.

 * Interface changes relative to the 0.7 release:
   GPG_ERR_SOURCE_GSTI		NEW
   GPG_ERR_PROTOCOL_VIOLATION	NEW
   GPG_ERR_INV_MAC		NEW
   GPG_ERR_INV_REQUEST          NEW

 * libgpg-error can be built on systems where the errno macros do not
   evaluate to plain numbers, but expressions.  If you want to
   cross-compile, you might have to set CC_FOR_BUILD, though.

 * A new tool gpg-error to convert error numbers into symbols into
   strings is provided.

 * Interface changes relative to the 0.6 release:
   GPG_ERR_LOCALE_PROBLEM          NEW
   GPG_ERR_NOT_LOCKED              NEW
2004-10-15 18:21:56 +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
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
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