a2ps is inconsistent with it's use of mempcpy. For lib/path-concat.c and
lib/strftime.c, it's looking for "mempcpy", but for src/regex.c it is
looking for __mempcpy.
DragonFly has mempcpy in string.h, so just patch the problematic
lib/path-concat.c to stop it from being redefined. HAVE_MEMPCPY isn't
defined correctly and if it were it would break at regex.c. The string.h
header and mempcpy definition are mutually exclusive in strftime.c file
so this one didn't need a patch.
1.) stpcpy() is a macro under at least Mac OS 10.6. Avoid build failures
by not defining a dodgy prototype for it.
2.) Don't strip installed binaries to allow the dynamic linker to find
symbols required by the shared library but defined by the application.
This fixes PR pkg/41827 by Christopher M. Fuhrman.
Bump package revision as the package built fine under Mac OS 10.5 before
but didn't work.
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.
in pkgsrc.
Version 4.14 Dec 29, 2007
* New Maintainer.
* No UTF-8 support yet ;-< Basically this is a maintenance release.
* License:
- Now GNU a2ps is licensed under GPLv3 or later.
- Removed or replaced non-free/license-wise vague files (see
ChangeLog for detail.)
* Build:
- Now can be built with the modern GNU Autotools.
- Now can be built with gcc 3.4 or later.
* Predefined delegations:
- Add html2ps delegation if netscape don't run.
- Now the configure script check if netscape support remote-command.
- Now works with modern GV(PostScript and PDF viewer). Tested with
3.6.2.
* Options:
- Better description on the default output and the -d option.
* Encodings:
- CP1251.
* Bug Fixes:
- `input buffer overflow, can't enlarge buffer because scanner uses REJECT'
This should no longer happen.
- Now works on IA64, PowerPC and AMD64.
- Fixed wrong default values for deskjet printers.
- Quote arguments to file(1).
- Fixed several security issues (CVE-2004-1377).
- PS generated by a2ps is now compatible with Adobe Distiller for Mac OS X.
* Style sheets:
- specc.ssh, thanks to Hideaki Yokota
- csharp.ssh, thanks to Karen Christenson
- nasm.ssh & pic16f84.ssh, thanks to Aleksandar Veselinovic
- small.ssh, thanks Christophe Continente
- matlab4.ssh & matlab.ssh, thanks to Joakim Lubeck
- stratego.ssh, thanks to Nicolas Tisserand
- rd.ssh, s.ssh and st.ssh, thanks to Torsten Hothorn et.al.
- ruby.ssh, thanks to Noritsugu Nakamura.
- php.ssh, thanks to Hartmut Holzgraefe
- udiff.ssh: Improved highlighting for diffs.
- perl.ssh: Improved.
- Some rules of sheets.map are improved
* Contributions:
- pdiff: Now pdiff can accept standard input.
* Prologues:
- Added diffcolor.pro for diffs
* Documentation:
- Revised.
* Translation:
- Japanese translation thanks to Yasuyuki Furukawa.
- Revised Dutch translation, thanks to Benno Schlenberg.
- Revised French translation.
* Many other fixes, but the log is rather spotty ;-<
* Part of works done at the Codefest Asia 2007 in ITB Bandung, Indonesia.
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
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.
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).
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
around at either build-time or at run-time is:
USE_TOOLS+= perl # build-time
USE_TOOLS+= perl:run # run-time
Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
run-time dependency (DEPENDS) on a tool is to append a ":run" modifier
to the tool name, e.g.,
USE_TOOLS+= perl:run
Tools without modifiers or with an explicit ":build" modifier will
cause build dependencies (BUILD_DEPENDS) on those tools to be added.
This makes the notation a bit more compact.
Explicitly note that it needs this tool. Also, the tools framework
knows about mktemp, so use USE_TOOLS+=mktemp instead of the homegrown
code. Bump the PKGREVISION to 8.
"The fixps and psmandup scripts in a2ps allow local users to overwrite
arbitrary files via a symlink attack on temporary files."
Patches from Gentoo with few minor issues corrected.
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.
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".
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES". This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile. Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.