Commit graph

22 commits

Author SHA1 Message Date
marino
cd53f5c145 print/a2ps: Fix mempcpy for DragonFly
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.
2012-03-23 18:44:23 +00:00
tron
bc9e0dbd6f Fix two problem under Mac OS X:
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.
2010-10-28 23:21:52 +00:00
wiz
32be612128 Update to 4.14. Security problems cited below were already fixed
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.
2008-11-10 18:00:34 +00:00
minskim
31c0194218 Remove a conflicting declaration of malloc(); include stdlib.h instead. 2006-06-07 21:06:49 +00:00
salo
1c0b66e6e0 Security fix for CAN-2004-1377:
"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.
2005-06-09 14:53:49 +00:00
wiz
0adb116c8a Apply patch from Rudolf Polzer against CAN-2004-1170.
See http://archives.neohapsis.com/archives/fulldisclosure/2004-08/1026.html
Bump PKGREVISION.
2004-12-20 15:02:34 +00:00
jmmv
47d632a01f Make this package install its configuration files in the examples directory
and copy them to the right place using PKG_SYSCONFDIR. Bump PKGREVISION to
1 because this change.

Approved by wiz.

This closes PR 18992.
2002-11-26 11:02:05 +00:00
tron
4502810bd4 Fix fuzz in patch detected by "gpatch" under Solaris. 2001-09-09 12:24:45 +00:00
wiz
4f2b4c4dcf Don't install .elc files, no matter if emacs is installed or not.
Noted in recent bulk build.
2001-07-22 17:18:04 +00:00
wiz
9b3737905c Update to 4.13b. Major changes since 4.12:
pdf, simplex, display output options; ISO 8859-13 encoding support;
euro glyph support; many new style sheets (autoconf, awk, cpp, maple,
ocaml, sed, shell, and others); regexp changed to be perl/egrep like, not
emacs-style (UPDATE YOUR STYLESHEETS!).
2001-05-22 13:11:37 +00:00
jlam
6f51cd01e1 USE_LIBTOOL instead of PKGLIBTOOL. 2000-06-21 07:07:40 +00:00
tron
fb3cad5af7 Install emacs lisp files to "${LOCALBASE}/share/emacs/site-lisp" instead of
"${LOCALBASE}/share/emacs/site-lisp/${LOCALBASE}/share/emacs/site-lisp".
1999-09-24 15:54:08 +00:00
hubertf
a847bb07bf Don't install .el-files in / 1999-09-21 03:36:01 +00:00
tron
a983e151a0 Update "a2ps" package to version 4.12. 1999-06-20 15:53:28 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
tv
10c7f46929 Update to use the pkg version of libtool instead of a2ps's own private
copy.
1998-07-17 19:08:28 +00:00
frueauf
aeea60a278 Don't try to install contrib el files. 1998-07-09 12:03:49 +00:00
frueauf
0ffbd4e009 Update to a2ps-4.10.3. 1998-07-02 14:04:53 +00:00
frueauf
7540db3af6 Add missing entry for bin/texi2dvi4a2ps, resort PLIST. Fix ldconfig
handling and add proper dir info entry to a2ps.info.
1998-05-09 12:01:57 +00:00
hubertf
1f104218f0 fix info handling, complete PLIST 1998-05-09 01:51:31 +00:00
agc
39a37f4d3e Don't try to strip scripts or libraries on installation. 1998-02-16 17:45:03 +00:00
agc
3671528ad8 Initial import of a2ps 4.9.9, a utility to translate ASCII text to
Postscript, into the NetBSD packages collection.  This is taken from
the FreeBSD port.
1998-02-16 17:38:27 +00:00