Commit graph

123 commits

Author SHA1 Message Date
Maxim Sobolev
62f2687e21 Add USE_SUBMAKE, where it might be necessary. 2002-03-25 09:19:20 +00:00
Andreas Klemm
c497db157a - new apsfilter version 7.2.2 - bugfix release !
- please upgrade
- updated pkg-plist to match reality
- tested packaging
Changes:
- replace awk "duplex" function with psset call
- adjust psnup rotation to various converters
  for landscape mode
- add landscape option to enscript command line
- introduce IGNORE_LPD_RAW variable to please buggy
  spoolers that send jobs in raw mode
- sanitize ": ${foo:-bar}" to ": ${foo:=bar}"
- make n{c}print line whitespace-safe
- save return code in global temporary file
- typo in wmf2eps line
- make apspreview use global "restrictions" file
- get basedir in SETUP from configure
- protect $foo[bar] contructs from being expanded
  to array elements by zsh
- add "-dPARANOIDSAFER" for gs7.04 (harmless for all
  older releases)
- save "rm" and "rp" in SETUP.cfg
- add some hints w.r.t landscape and n-up in handbook
- remove media types in scripts for some PCL printers
- be more helpful with "invalid method"
- LaserJet 4L needs fixed 300dpi
- LN macro in Makefile needs -n switch -- we must
  create a directory link even if one exists already
- add .PHONY targets in Makefiles
- MAPPING update
- change email address in various places
new driver scripts:
-  ljet4l, pips/sc70s, pips/sc80s, stp/pcl-2, stp/pcl-4
2002-02-24 21:33:46 +00:00
Andreas Klemm
479c0dacb9 Update apsfilter port to 7.2.1
Important fixes for FreeBSD
Patches from files subdir went into this new release
General fixes:
       - remove apsfilter installation error when typing "make install"
          by using ln's -f (force) option to overwrite an existing symlink
          (just in case you overwrite another installation).

        - fix some HP driver mapping in MAPPING file

FreeBSD specific fixes:

        - make apspreview work again for FreeBSD (and possibly *BSD).
          BSD uses a sed implementation, that uses only "normal" regular
          expressions for backward compatibility not to break existing scripts.
          Linux (GNU sed) uses "modern REs". We use now awk which turns out
          to be more portable between different Unix flavours.
          We use awk instead of sed in other scripts as well (SETUP,
          aps2file).

        - import a patch from FreeBSD ports collection necessary for
          FreeBSD-current to use "user:group" syntax for chown. Old
          style "user.group" to change owner && group isn't supported
          anymore. Linux's implementation of chown (from GNU) groks
          new syntax.

Please note: hpijs 1.0 driver core dumps have been fixed by me some
	hours ago with the kind help of HP. So you can now savely
	use the new HPIJS driver with gs and apsfilter. Have fun.
2002-01-11 23:41:21 +00:00
Andreas Klemm
b4014b1dee Update Prio: high (because of driver and other fixes, see below)
- update to new version 7.2.0
- update pkg-plist (4 new bjc driver scripts, apsfilter4.png)
- update SETUP patch for FreeBSD-current (chown xxx:yyy syntax, which
  is currently not included in apsfilter, am unsure, if all Linux and
  Solaris support this, can somebody please clarify ? Thanks)

Highlights of the new apsfilter version (new features):

- printing to Novell remote printer supported, now apsfilter supports
  all important types of remote printer (Novell, Unix/lpd, Microsoft,
  AppleTalk)
- save network traffic by telling remote lpd and Netware printer scheduler,
  to manage copies of a print jobs themselves, this saves you sending
  a print job n times over the network (when printing with:
    "lpr -C copies=20 large_file.ps"
- Testinstallations of apsfilter under $HOME for testing/migration
  planning supported. Test then using aps2file ...
  This works for non-root user. configure knows 2 new options for
  that purpose, to customize printcap and spooldir location under
  $HOME, /tmp or whereever, you get the idea

FIXES:

- BJC script fixes, never ending story, 4 new subtypes of printers
  with different print capabilities.
- Security: SETUP uses secure tmpdir
- you can rename printer now or add printer aliases now
  aps2file and apspreview understand now to handle aliases (this was
  tricky/expensive but doable)
- different fixes see ANNOUNCE / ChangeLog file
2002-01-11 08:28:54 +00:00
Andreas Klemm
7e913c20c3 Update port dependency, if defined APSFILTER_ALL
The interactive script will be updated later.
Don't bump port revision, since next following commit
will contain new apsfilter release, that is now in the
queue, before I finished polishing interactive installartion.
But I didn't want to mix this change and the new apsfilter
version in one commit.
2002-01-11 07:56:35 +00:00
Andreas Klemm
705d3b985d unbreak port for -current
Since the `.' seperator has been deprecated for a while now,
the chown command fails - at least under -current.
Changed his patch to patch actually SETUP.in and not the
resulting file SETUP after running configure.

Submitted by:	"Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
2001-12-29 23:29:58 +00:00
Andreas Klemm
a29a5b29b1 Update to apsfilter version 7.1.1
Bugfix release and new cool features

New:	apspreview script and manpage -> allows you to preview your print
	session using  gv, kghostview or ghostview (in that order).
	If the result fits your needs you can of course directly print
	from within these viewers using lpr -C and using apsfilter options
New:	"apsfilter-bug" utility which supports you to release a helpful
	bug- or problem report for us developers. Its the first release
	and certainly will get useful updates in the future.
	Detects automatically the apsfilter version you use (-current or
	-stable) and sends mail to proper mailinglist apsfilter-current
	or apsfilter-stable mailinglist.
New:	handbook and manpage updates / cleanups.
	More guidance how to release a bug report using apsfilter-bug(1)
	apsfilter manpage documents now all print options (-C/-Z option)
	supported by apsfilter

Fixes (Prio)

- (HIGH) unbreak hardware duplex printing for all true Postscript printer

- (MEDIUM) pcl3/u970 driver fix for (hardware) duplex printing.
  Comment: not tested due to hardware fault of our duplex device.
  Would appreciate some feedback. pcl3 driver is very picky about
  combination of gs driver options. The options currently in use
  have been selected from pcl3 handbook to our best knowledge.

- (HIGH) New ljet4 driver for LaserJet4 style lasers. Previously it used
  the cdeskjet driver, which was wrong.

- (HIGH) a2ps sometimes delegates print jobs to other applications even
  if user wanted to force ASCII printing (using lpr -C ascii).
  This breaks for example printing of Latex Sources.
  a2ps will now be executed with "--delegate=no". Fixed !

I encourage everybody to use this new version.

Later version perhaps will get some more generic printer_add/mod/del
commands as prerequisite for perhaps other graphical admin tools.
For that we could need some help from webmin, TCL/TK or gtk GUI
wizards ... Thats usually not my business ;-)
2001-12-29 21:52:07 +00:00
Andreas Klemm
89890b0616 update to apsfilter 7.1.0
- new design: use GNU configure alike script (without the bloat) for
  creating different files (scripts, manpages, handbook, Makefile).
  now paths are 100% matching.
- create portable Makefile across various platforms
- manpage update, supported file types, commandline options (lpr -C/-Z),
  docu fixes
- some fixes in driver (hl1250, bjc600/800)

BTW: Need assistance for duplex options for pcl3 u970 driver
(HP DeskJet 970C). My duplex hardware is toast.  If you set
HARDWARE_DUPLEX in apsfilterrc, then you are able to use duplex
capabilities. pcl driver explains what magic options have to be set,
but I think it doesn't work ... If somebody has the hardware/time ...
Current settings are done from documentation to my best knowledge.
2001-12-24 19:51:55 +00:00
Andreas Klemm
3a582d6a09 "You want to make it reference ${LOCALBASE}/bin/bash. Remember, ports
assume dependencies are installed in ${LOCALBASE} or ${X11BASE}."
That says it all.

Obtained from:	Pete Fritchman <petef@databits.net>
2001-12-18 08:26:36 +00:00
Andreas Klemm
4c3cb8b3d9 Unluckily FreeBSD's shell isn't able to read from/write to /dev/stdin
and stdout.
Therefore we have to use bash as shell for /usr/local/bin/aps2file
program.
Arrange things with patch and pre-configure command, so that this
port stays prefix-clean.
The patch inserts !!PREFIX!!/bin/bash and configure configures in
the current PREFIX settings.
I'd whish somebody could fix our shell to remove the dependency from bash.
2001-12-17 18:47:36 +00:00
Andreas Klemm
67580370a5 New apsfilter version 7.0.1
- patch-SETUP is included in 7.0.1 (we don't provide insane defaults anymore)
- support for HPIJS V 1.0 ("IJS" driver)
- still supporting old HPIJS driver ("HPIJS" driver)
- some more sanity checks in SETUP (check is print device is character special)
- added bjc800 driver script, since it differs to bjc600 printer
- format of MAPFILE documented
- handbook has been updated
- compatible to 7.0.0 version, so old entries and spooldirs should work
  after upgrade has been made
2001-12-16 20:30:51 +00:00
Andreas Klemm
3517f0fb55 change default parallel device from lp0 to lpt0 2001-12-14 00:26:51 +00:00
Andreas Klemm
84018fb95b update apsfilter to new version 7.0, here a short summary,
see ANNOUNCE and ChangeLog for a complete list:
- supports fully ghostscript7
- enhanced driver support, hpijs, pips, latest gimp-print, etc ...
- per driver scripts, where printer manufacturer *could* place
  their driver/scripts, the case structure wasn't scaleable anymore
  an led to incomplete support or to large apsfilter script
- unified command-line options, see handbook
- support for HARDWARE_COPIES if your printer can print multiple copies
  himself
- option settings can be restricted by the administrator for all printer
  or print queues (maybe to save print costs on color printers ...)
- support for many new filetypes
- print contens of archives: tar, cpio, ar, zip, zoo ...
- security: update for duplex print keys
- separate faq has gone, everything is in the handbook
- error messages can be sent to user now via Cc:
- no bugs so far ;-)
2001-12-09 18:57:54 +00:00
Andreas Klemm
65cc2d41a1 - Add patch, update to FAQ and handbook and some driver updates for SETUP
- place apsfilter distfiles into subdir apsfilter, since name of patchfile
  doesn't contain string apsfilter. On my TODO list for future.
- update prio for apsfilter user: low (hint: try/test apsfilter-current
  from http://www.apsfilter.org if you are looking for more printer
  support and other goodies)
2001-12-01 16:50:19 +00:00
Andreas Klemm
31b84c6823 the ghostscript ports moved to new naming scheme,
so update configure script to reflect reality.

Submitted by:	Mario Sergio Fujikawa Ferreira <lioux@uol.com.br>
2001-09-25 06:14:22 +00:00
Akinori MUSHA
520f943856 Replace the ghostscript6 dependencies with ghostscript-gnu. 2001-09-11 21:23:46 +00:00
Akinori MUSHA
329c977502 Conditionalize bzip2 dependencies. 2001-08-15 20:33:16 +00:00
Mark Pulford
3e42242add RUN_DEPENDS on melt for freeze package
PR:		29273
Submitted by:	Frank Volf <volf@oasis.IAEhv.nl>
2001-08-05 10:53:00 +00:00
Maxim Sobolev
400f4557f6 Standartise the way used to disable X11 support in various ports. From now
on WITHOUT_X11 is the Only True Way[tm].
2001-06-05 11:38:35 +00:00
Andreas Klemm
620e8e9b76 update from apsfilter 6.1.0 to 6.1.1
- a duplex printing password fix turned out incompatibility of
  BSD od(1) to other flavours of od(1).
- apsfilter 6.1.1 contains the duplex password fix
  + a substitution of od(1) with hexdump which also seems to be
  available on Linux and Solaris.
- no PORTREVISION dump since we have a new release
- added pkg-message file for easier handling and addition of
  notification to apsfilter *package*
  had to change configure script and Makefile to follow that new
  infrastructure.
- troff notification in dependency to FreeBSD version
2001-04-01 13:24:00 +00:00
Andreas Klemm
c7a47ac606 minor fix: apsfilter developement started one year earlier (1993). 2001-03-20 15:51:45 +00:00
Andreas Klemm
d580510dc9 update to new apsfilter version 6.1.0
all from -current has been merged after a long testing period.
See the ANNOUNCE file for the long list of bugfixes, security,
feature and code enhancements.

I hope, this time apsfilter port will fit on CD 1, so
people can install apsfilter during initial FreeBSD
installation.
2001-03-20 15:46:10 +00:00
Andreas Klemm
4570832565 one gs runtime dependency too much after adding the knobs to choose
between gs with/without X11. doesn't bump portrevision, because it
doesn't bring any more benefit for the port.
2001-03-18 10:03:09 +00:00
Andreas Klemm
62cd604556 merged everything from apsfilter-current
see new handbook !!!
update to apsfilter 6.1.0 BETA
if everything is right I'll tag and roll apsfilter 6.1.0
bumped PORTREVISION
2001-03-17 17:09:55 +00:00
Andreas Klemm
63eda74a1d - bump port revision, you can select ghostscript version without X11 support
when doing interactive installation
2001-03-07 07:52:11 +00:00
Andreas Klemm
4a28c9da6b - bumped port revisions because of new dependencies
- default in BATCH mode is now, NOT to have X11 based utilities in
  port dependencies, I think this makes apsfilter better in
  - running on small printservers that don't have X11 installed
  - making apsfilter package more "sexy" for being placed onto the 1st
    FreeBSD installation CD-ROM, since now it consumes less space !!!
- make apsfilter use the same make environment variable NO_X like
  in ghostscript6 port
- this enables you to build and run apsfilter even on a small printserver,
  that doesn't have X installed
- NO_X is even usefull when having APSFILTER_ALL set, since then it installs
  all available/supported filter utilities, that don't require X11
- the last one needs some more fine tuning, currently I left it empty,
  have to think about, whats a possible replacement that don't need X11...
2001-03-07 07:19:33 +00:00
Andreas Klemm
8aa9549d54 update apsfilter port
- add patchsite and patchfile
- fix1: correct apsfilter version string that is echo'd in logfile
	when script debugging is turned on
- fix2: samba remote printing bug fixed. The exported variable
	containing the windows password was spelled incorrectly.
	samba 2.0.7 uses PASSWD not PASSWORD.

Hint: People who don't want to reinstall apsfilter can fix that easily
by substituting PASSWORD with PASSWD
- for runtime
	  in $PREFIX/share/apsfilter/bin/apsfilter
- for SETUP (test printing functionality)
	  in $PREFIX/share/apsfilter/SETUP
2001-01-09 13:17:04 +00:00
Andreas Klemm
d5c80d6076 - manpages were missing in ports Makefile
therefore they were also missing in package (-> PORTREVISION bump)
- portlint complained about descr. line being too long, trimmed it down
  to below 70 chars.

PR:		23973
Submitted by:	David W. Chapman Jr. <dwcjr@inethouston.net>
2001-01-01 17:27:43 +00:00
Andreas Klemm
f88d06dd40 Update old apsfilter-stable with V 6.0.0 from new stable-branch. 2000-12-23 18:58:28 +00:00
Andreas Klemm
116b18d5bf die apsfilter5, long live apsfilter6 ;-)
Just released the new version 6.0.0 release.
2000-12-23 13:28:04 +00:00
Andreas Klemm
443113c44e update patch
hint: no need to update folks, sorry, make-release still doesn't work right
and updates still apsfilter-stable if I want to roll a new -current snapshot.
I will fix it in the future but currently I don't have time.
2000-12-09 11:41:07 +00:00
Andreas Klemm
4264cb48a8 update after make release 2000-09-09 09:31:42 +00:00
Andreas Klemm
f07e14741e update after make-release 2000-09-07 18:14:27 +00:00
Andreas Klemm
3ed6fb6533 upgrade after make-release. 2000-09-06 20:40:41 +00:00
Andreas Klemm
cbd789df0c update. 2000-09-05 05:05:40 +00:00
Andreas Klemm
c740a5bf22 Upgrade md5 chksum. 2000-09-02 16:49:02 +00:00
Andreas Klemm
3c430db627 update after make release. 2000-08-28 17:35:37 +00:00
Andreas Klemm
39f331f5b7 update after make-release 2000-08-27 20:46:06 +00:00
Andreas Klemm
531d04891c update patch after make-release 2000-08-27 15:57:08 +00:00
Andreas Klemm
1ef0d22ed6 Update: new patch 2000-08-26 16:54:44 +00:00
Andreas Klemm
d31b2652d2 MFC
Allow 6.x gs versions, even developer snapshots.
by using gs --version to get gs version number.
2000-08-25 08:50:54 +00:00
Andreas Klemm
284b2a041d use newest available diff. 2000-08-22 19:06:34 +00:00
Andreas Klemm
e0e966dd66 Update URL, printexample and add mailinglist address to report
trouble and comments to ..
2000-08-17 18:41:45 +00:00
Andreas Klemm
6d433021fb update apsfilter stable port
last recent changes:

Mo  14 Aug 2000 07:05:28 CEST   Andreas Klemm <andreas@apsfilter.org>
        * SETUP: use "-" instead of "-_", as reported from
          Hal Bower. To make print_testpage work on every gs version.
          For printing the test page this is enough.
        * info file fix: use new domain "apsfilter.org"
        * refresh info concerning mailing-lists, the following are
          available now:
                - apsfilter-announce    Announcements
                - apsfilter-chat        talk/chat around apsfilter and printing
                - apsfilter-current     developer version of apsfilter
                - apsfilter-cvs         Commit Messages of Apsfilter Developers
                - apsfilter-devel       Closed List for Apsfilter Developers
                - apsfilter-hackers     Technical Discussion, code submissions
                - apsfilter-help        User Support / Help Forum
                - apsfilter-printing    Printing under Unix environment
                - apsfilter-stable      apsfilter stable release (5.x)
2000-08-14 05:34:55 +00:00
Andreas Klemm
a95de40a83 update port after new make-release script on www.apsfilter.org
which produces files with other md5 checksum, but more accurate
file creation date.
2000-08-13 20:58:19 +00:00
Andreas Klemm
764a482c8d fix dialog call in configure script
Submitted by:	Udo Schweigert <ust@cert.siemens.de>
2000-08-11 16:28:33 +00:00
Andreas Klemm
9d28b01702 unbreak port.
Add patch 5.4.2 to RELENG_5

Things that makes me wonder:

a) patch is unable to remove make-release, that vanished in RELENG_5
   so I had to remove the diff for that. Don't know if our patch is
   so dumb, or if cvs diff doesn't generate the right things.
   The complete diff concerning this is rejected.

b) the CONFIGURE TARGET OF OUR PORTS COLLECTION STILL doesn't work.
   Could someone please tell me, if I missed something ???
   Suddenly the apsfilter configure script isn't executed anymore
   and so the apsfilter port doesn't create Makefile.inc to resolve
   the port dependencies, when being called "interactively"...
2000-08-11 04:47:51 +00:00
Andreas Klemm
b010bfac91 Had to mark it broken, because patches for 5.4.2 were not created correctly
on www.apsfilter.org, after make-release script has moved from apsfilter
source to www area ...
Am working on this, sorry for any inconveniances !
2000-08-10 05:58:10 +00:00
Andreas Klemm
2f3fdd7a97 reorganized apsfilter download area ...
make-release produced new diff but actionally no change
2000-08-09 22:02:46 +00:00
Andreas Klemm
f9a2087076 apsfilter main site moved from freefall.freebsd.org
completely to www.apsfilter.org
Many thanks to the FreeBSD developer team, Jordan, WC,
who made distribution of apsfilter possible for years.
Changes:
- checksums changed
- Redesign concerning patches to save CVS repository space
  remove patches in patches directory completely !
- use PATCHFILES in Makefile instead, which are actually
  smaller changes !
2000-08-01 17:06:40 +00:00