diff options
author | George Sherwood | 2006-06-25 13:27:15 -0400 |
---|---|---|
committer | George Sherwood | 2006-06-25 13:27:15 -0400 |
commit | d228ccc96147a5c2ebe5a6a9ea2ebf1694b32bb7 (patch) | |
tree | ce5a8d3aa10d8d7ac7d935383d0aa4c037df0dad /printer/cups-old | |
parent | 4d83dc441cbcc25951fdbc1028d0eac325a8d604 (diff) |
Added new spell cups-old to work with kde. Added provides CUPS for
both and conflicts for both.
Diffstat (limited to 'printer/cups-old')
-rwxr-xr-x | printer/cups-old/CONFLICTS | 2 | ||||
-rwxr-xr-x | printer/cups-old/DEPENDS | 17 | ||||
-rwxr-xr-x | printer/cups-old/DETAILS | 37 | ||||
-rw-r--r-- | printer/cups-old/HISTORY | 278 | ||||
-rw-r--r-- | printer/cups-old/Makefile.diff | 33 | ||||
-rwxr-xr-x | printer/cups-old/PRE_BUILD | 6 | ||||
-rwxr-xr-x | printer/cups-old/PROVIDES | 1 | ||||
-rwxr-xr-x | printer/cups-old/TRIGGERS | 4 | ||||
-rw-r--r-- | printer/cups-old/cups-1.1.23-source.tar.bz2.sig | bin | 0 -> 280 bytes | |||
-rwxr-xr-x | printer/cups-old/init.d/cups-old | 13 | ||||
-rw-r--r-- | printer/cups-old/xpdf-pl3.patch | 13 |
11 files changed, 404 insertions, 0 deletions
diff --git a/printer/cups-old/CONFLICTS b/printer/cups-old/CONFLICTS new file mode 100755 index 0000000000..1048b2cda0 --- /dev/null +++ b/printer/cups-old/CONFLICTS @@ -0,0 +1,2 @@ +conflicts gnulpr && +conflicts cups diff --git a/printer/cups-old/DEPENDS b/printer/cups-old/DEPENDS new file mode 100755 index 0000000000..5bd99cd212 --- /dev/null +++ b/printer/cups-old/DEPENDS @@ -0,0 +1,17 @@ +depends gcc34 && + +depends zlib && +depends jpeg && +depends tiff && +depends libpng && + +optional_depends "linux-pam" \ + "--enable-pam" \ + "--disable-pam" \ + "for pluggable authentication" && + +optional_depends "openssl" \ + "--enable-ssl" \ + "--disable-ssl" \ + "for encrypted communications" + diff --git a/printer/cups-old/DETAILS b/printer/cups-old/DETAILS new file mode 100755 index 0000000000..1c91bf93d9 --- /dev/null +++ b/printer/cups-old/DETAILS @@ -0,0 +1,37 @@ + SPELL=cups-old + VERSION=1.1.23 + SOURCE=cups-$VERSION-source.tar.bz2 +SOURCE_DIRECTORY=$BUILD_DIRECTORY/cups-$VERSION + SOURCE_URL[0]=ftp://ftp.easysw.com/pub/cups/$VERSION/$SOURCE ## Oregon, USA + SOURCE_URL[1]=ftp://ftp2.easysw.com/pub/cups/$VERSION/$SOURCE ## Maryland, USA + SOURCE_URL[2]=ftp://ftp3.easysw.com/pub/cups/$VERSION/$SOURCE ## California, USA + SOURCE_URL[3]=http://www.nu6.org/_/mirror/ftp.easysw.com/pub/ghostscript/${VERSION}/${SOURCE} ## Gustavsberg, Sweden + SOURCE_URL[4]=ftp://ftp.rz.tu-bs.de/pub/mirror/ftp.easysw.com/ftp/pub/cups/${VERSION}/${SOURCE} ## Braunschweig, Germany + WEB_SITE=http://www.cups.org + SOURCE_GPG="gurus.gpg:${SOURCE}.sig" + ENTERED=20010922 + UPDATED=20050221 + LICENSE[0]=http://www.cups.org/faq0003.html + BUILD_API=2 + GCC_VERSION=3.4 + KEYWORDS="printer" + SHORT="Common Unix Printing System is a portable printing layer" +cat << EOF +The Common UNIX Printing System (CUPS) provides a portable printing layer for +UNIX(r)-based operating systems. It has been developed to promote a standard +printing solution for all UNIX vendors and users. CUPS provides the System V +and Berkeley commandline interfaces, uses the Internet Printing Protocol +(IPP) as the basis for managing print jobs and queues, supports (with +reduced functionality) the Line Printer Daemon (LPD), Server Message Block +(SMB), and AppSocket (a.k.a. JetDirect) protocols, and adds network printer +browsing and PostScript Printer Description (PPD)-based printing options to +support real-world printing under UNIX. CUPS also includes a customized +version of GNU Ghostscript and an image file RIP that are used to support +non-PostScript printers. Sample drivers for HP and EPSON printers are +included that use these filters. + +NOTE: + In order to be able to print to postscript printers, you will need to + cast espgs after casting cups. + +EOF diff --git a/printer/cups-old/HISTORY b/printer/cups-old/HISTORY new file mode 100644 index 0000000000..8a588eee67 --- /dev/null +++ b/printer/cups-old/HISTORY @@ -0,0 +1,278 @@ +2006-06-16 Jaka Kranjc <lynxlynxlynx@sourcemage.org> + * PRE_BUILD: removed the conflict managment + * CONFLICTS: readded + * TRIGGERS: cleaned up + +2006-04-28 Arwed v. Merkatz <v.merkatz@gmx.net> + * PRE_BUILD: replaced 'gaze depends' call with + fast_up_depends, bug #10661 + +2006-03-12 Karsten Behrmann <BearPerson@sourcemage.org> + * DETAILS: (automated) Add KEYWORDS + +2005-10-09 Jason Flatt <jflatt@sourcemage.org> + * DEPENDS: Added missing deps on zlib, jpeg, tiff and libpng. + +2005-09-26 Jason Flatt <jflatt@sourcemage.org> + * BUILD, PRE_BUILD: Moved the Makefile patch code to PRE_BUILD. + * DETAILS, cups-1.1.23-source.tar.bz2.sig: Converted from MD5 to GPG. + Updated SOURCE_URLs. + * DETAILS, DEPENDS: Removed dependency on espgs and noted it in the + long description. + * INSTALL: Removed, as it doesn't seem to be necessary. + +2005-09-16 Gareth Clay <gareth@caffeinefuelled.co.uk> + * init.d/cups: added some handling for the case where hplip is + installed + +2005-08-25 Jason Flatt <jflatt@sourcemage.org> + * DEPENDS: Removed dependency on Samba (since cups really does nothing + with it) (bug # 8245). + * INSTALL: Removed code for creating Samba symlink (also bug # 8245). + +2005-07-30 Treeve Jelbert <treeve01@pi.be> + * PREPARE: deleted + +2005-07-22 Sergey Lipnevich <sergey@sourcemage.org> + * DEPENDS,DETAILS: use GCC 3.4, to work on AMD64 in particular; + * DETAILS: remove ARCHIVE=off. + +2005-02-22 Eric Sandall <eric@sandall.us> + * xpdf-pl3.patch: Updated to CUPS 1.1.23 + * PRE_BUILD: Patch now applies with -p1 + cd to SOURCE_DIRECTORY (Bug #8299) + +2005-02-21 Seth Woolley <seth@tautology.org> + * DETAILS: update UPDATED for SECURITY FIX + * PRE_BUILD: added patching for patch below + * xpdf-pl3.patch: added for security fix + authenticated access can overflow xpdftops routine + +2005-01-29 Arjan Bouter <abouter@sourcemage.org> + * INSTALL: converted spell_installed to spell_ok + +2005-01-23 Arjan Bouter <abouter@sourcemage.org> + * lowercase linux-pam + +2004-01-05 Eric Sandall <eric@sandall.us> + * DETAILS: Updated to 1.1.23 SECURITY FIX (Bug #7912) + Expanded SHORT + +2004-11-22 Eric Sandall <eric@sandall.us> + * PRE_BUILD: Changed `exit 1` to `return 1` (Bug #7649) + +2004-10-30 Treeve Jelbert <treeve01@pi.be> + * DETAILS: version 1.2.2 + adjust urls to use $VERSION + +2004-09-16 Jason Flatt <jason@flattfamily.com> + * DETAILS: Version bump to 1.2.1 (bug # 7374). + Corrected SOURCE_URL[0], moved it to position [3], created [0], [1] + & [2] and arranged them in the order most likely to succeed. + +2004-08-29 Treeve Jelbert <treeve01@pi.be> + * DETAILS: version 1.2.1rc2 + +2004-08-15 Jason Flatt <jason@flattfamily.com> + * DETAILS: Correctly spelled BUILD_API (bug # 7233). + Removed MAINTAINER. + * BUILD, DEPENDS, TRIGGERS: Cleaned up whitespace. + * INSTALL: Simplified and cleaned up whitespace. + +2004-06-03 Treeve Jelbert <treeve01@pi.be> + * DETAILS: version 1.2.1rc1 + BUILD_API=2 + * BUILD: simplify + * INSTALL: add + +2003-11-24 Jason Flatt <jason@flattfamily.com> + * DETAILS: Version bump to 1.1.20. + +2003-11-10 Jason Flatt <jason@flattfamily.com> + * DETAILS: Version bump to 1.1.20rc6. + +2003-10-27 Jason Flatt <jason@flattfamily.com> + * DETAILS: Updated MD5 and VERSION to 1.1.20rc5. + +2003-10-20 Jason Flatt <jason@flattfamily.com> + * HISTORY: Reformatted this file based on new standard. + +2003-10-09 Jason Flatt <jason@flattfamily.com> + * DETAILS: updated UPDATED so hpoj users don't get hosed + * init.d/cups: added check for hpoj in NEEDS + +2003-09-19 Jason Flatt <jason@flattfamily.com> + * DETAILS: Version bump to 1.1.20rc2. + +2003-09-06 Jason Flatt <jason@flattfamily.com> + * DETAILS: Version bump to 1.1.20rc1. + +2003-08-22 hgg <hgreig@bigpond.net.au> + * DETAILS: Update UPDATED purely for test grimoire integration. + +2003-08-10 hgg <hgreig@bigpond.net.au> + * Revert on_dispel Linux-PAM cast_self (doesn't work the way it is + documented) + +2003-07-28 Arwed v. Merkatz <v.merkatz@gmx.net> + * init.d/cups: updated to new init system + +2003-07-26 hgg <hgreig@bigpond.net.au> + * TRIGGERS: Update for Linux-PAM + +2003-06-23 hgg <hgreig@bigpond.net.au> + * DETAILS: ARCHIVE="off" fix in bugzilla bug #1068, reverting change 13315, + keeping 13321. + * PREPARE: Added to remove cache after fixing bug #1068 + +2003-05-27 Jason Flatt <jason@flattfamily.com> + * DETAILS: Version bump to 1.1.19. Includes previous security fix. + +2003-05-27 Arwed v. Merkatz <v.merkatz@gmx.net> + * Apply security fix, see http://www.cups.org/str.php?L75 + +2003-05-19 Jason Flatt <jason@flattfamily.com> + * BUILD: Update for ${INSTALL_ROOT}. + +2003-04-25 Jason Flatt <jason@flattfamily.com> + * Removed all references to cupsomatic since I am unable to find the file + on any public Web or FTP site, and since it has been replaced with + foomatic-rip. + * Also, some minor code clean up. + +2003-05-14 Seth Woolley <seth@tautology.org> + * BUILD: Added unpack for SOURCE2 + +2003-05-02 Rob Verkuylen <rob@verkuylen.net> + * Copied /init.d/cups.sh to /init.d/cups. Step 1/3 in bug #3115. + +2003-04-25 Jason Flatt <jason@flattfamily.com> + * DETAILS: Updated MAINTAINER e-mail address. + +2003-04-25 Seth Woolley <seth@tautology.org> + * DETAILS: Modified to fix md5 for SOURCE2. + +2003-03-04 Jason Flatt <jason@flattfamily.com> + * Changed where the cupsomatic file was being installed (thanks to + Christian Sonne [FreakCERS] for the heads up). + +2003-02-25 Jason Flatt <jasonflatt@wizard.com> + * Forgot to change the script from SGL to SMGL. + +2003-02-25 Jason Flatt <jasonflatt@wizard.com> + * Updated to use new init.d functionality. + +2003-01-30 Seth Woolley <seth@tautology.org> + * DETAILS: Added md5[1] for cupsomatic. + +2003-01-17 Jason Flatt <jasonflatt@wizard.com> + * lib_runlevel: Modified to pad date with zeros (%H) instead of spaces + (%k). Fixes bug 2257, thanks to Robert Helgesson (rycee). + +2002-12-20 Jason Flatt <jasonflatt@wizard.com> + * DETAILS: Version update to 1.1.18. + +2002-11-01 Jason Flatt <jasonflatt@wizard.com> + * BUILD: Modified to use lib_runlevel for both parts of init script + installation. + +2002-11-01 Jason Flatt <jasonflatt@wizard.com> + * BUILD: Fixed to take care of bug # 1542. + * POST_INSTALL, PRE_REMOVE: Fixed to account for cups init script name + change (thanks to Tom Garland). + * Added a second cups init script to account for another bug which was + discovered during the fixing and testing of the above two bugs. :^) + +2002-10-25 Jason Flatt <jasonflatt@wizard.com> + * HISTORY: Set correct date for MD5 removal entry. + +2002-10-25 Jason Flatt <jasonflatt@wizard.com> + * BUILD: Modified for init script stuff as per Neal Birch's recomendations. + +2002-10-25 Jason Flatt <jasonflatt@wizard.com> + * DETAILS: Removed MD5 for cupsomatic as it changes frequently and I + don't want to keep the spell from casting when I will not be able to + keep up on the MD5. + +2002-10-23 Jason Flatt <jasonflatt@wizard.com> + * TRIGGERS: Added for optional_depends LinuxPAM. + +2002-10-20 Jason Flatt <jasonflatt@wizard.com> + * Changed the way the init script is done to address bug # 1358. + +2002-10-14 Jason Flatt <jasonflatt@wizard.com> + * DETAILS: Modified to address bug # 1180. + +2002-10-07 Jason Flatt <jasonflatt@wizard.com> + * DETAILS: Updated VERSION to 1.1.16. + +2002-10-03 Jason Flatt <jasonflatt@wizard.com> + * DETAILS: Updated MD5 for cupsomatic. + +2002-09-24 Jason Flatt <jasonflatt@wizard.com> + * CONFIGURE: Moved symlink queries to (hopefully fixes bug # 895). + * cupsomatic: Removed and set it up to be downloaded during cast. + * Makefile.diff: Re-added. (I have no idea what happened to that file.) + +2002-09-08 Eric Sandall <eric@sandall.us> + * Fixed Bug #856 + +2002-08-27 Jason Flatt <jasonflatt@wizard.com> + * DEPENDS: Cleaned up. Changed espgs from optional_depends to depends. + * HISTORY: Reformatted this file. + +2002-08-17 Jason Flatt <jasonflatt@wizard.com> + * cupsomatic: Compressed as it is rather large. Doing my part for the + dial-up users of the world. :^) + +2002-08-16 Jason Flatt <jasonflatt@wizard.com> + * cupsomatic: Added to spell for easy access during install. + +2002-08-15 Jason Flatt <jasonflatt@wizard.com> + * DEPENDS: Modified how CUPS is installed w/Samba to eliminate a + (unreported) bug in the original code. + * PRE_BUILD: Modified the conflict checking to hopefully work a little + better. + * Added a suggestion from Eric Sandall to hopefully kill bug # 237. + * Revamped how the init scripts are installed and setup. + +2002-08-02 Jason Flatt <jasonflatt@wizard.com> + * DETAILS: Changed LICENSE= and MD5= to LICENSE[x]= and MD5[x]=. + * HISTORY: Reformatted this file. + +2002-06-24 Jason Flatt <jasonflatt@wizard.com> + * DETAILS: Forgot to add ARCHIVE="off" for previous bug fix. + +2002-06-23 Jason Flatt <jasonflatt@wizard.com> + * CONFLICTS: Removed to modify the way cups and gnulpr handle conflicts + with each other (fixes bug # 207). + * PRE_BUILD: Added to modify the way cups and gnulpr handle conflicts with + each other (fixes bug # 207). + +2002-06-22 Jason Flatt <jasonflatt@wizard.com> + * DETAILS: Added LICENSE and MD5 to DETAILS. + +2002-06-10 Jason Flatt <jasonflatt@wizard.com> + * DETAILS: Updated VERSION to 1.1.15 (and source to include -1 on version). + +2002-06-10 Jason Flatt <jasonflatt@wizard.com> + * USEGCC2: Removed as it compiles w/gcc 3.1 and executes. + +2002-05-29 Jason Flatt <jasonflatt@wizard.com> + * USEGCC2: Added in preparation for gcc3 upgrade. + +2002-05-08 Jason Flatt <jasonflatt@wizard.com> + * HISTORY: Reformatted to conform to new template. + +2002-04-21 Jason Flatt <jasonflatt@wizard.com> + * CONFLICTS: Added. + * DETAILS: Updated long description for improved readability. + * HISTORY: Corrected this file. + +2002-04-16 Jason Flatt <jasonflatt@wizard.com> + * DEPENDS: Added support for SAMBA printers as per Giovanni Lopedote. + +2002-03-24 Jason Flatt <jasonflatt@wizard.com> + * DETAILS: Added MAINTAINER=jasonflatt@wizard.com to DETAILS file. + * HISTORY: Added this file. + diff --git a/printer/cups-old/Makefile.diff b/printer/cups-old/Makefile.diff new file mode 100644 index 0000000000..2d1349e0b6 --- /dev/null +++ b/printer/cups-old/Makefile.diff @@ -0,0 +1,33 @@ +--- Makefile.old 2003-05-27 21:52:27.000000000 -0700 ++++ Makefile 2003-05-27 21:52:49.000000000 -0700 +@@ -89,30 +89,6 @@ + echo Installing cups-config script... + $(INSTALL_DIR) $(BINDIR) + $(INSTALL_SCRIPT) cups-config $(BINDIR)/cups-config +- echo Installing startup script... +- if test "x$(INITDIR)" != "x"; then \ +- $(INSTALL_DIR) $(BUILDROOT)$(INITDIR)/init.d; \ +- $(INSTALL_SCRIPT) cups.sh $(BUILDROOT)$(INITDIR)/init.d/cups; \ +- $(INSTALL_DIR) $(BUILDROOT)$(INITDIR)/rc0.d; \ +- $(INSTALL_SCRIPT) cups.sh $(BUILDROOT)$(INITDIR)/rc0.d/K00cups; \ +- $(INSTALL_DIR) $(BUILDROOT)$(INITDIR)/rc2.d; \ +- $(INSTALL_SCRIPT) cups.sh $(BUILDROOT)$(INITDIR)/rc2.d/S99cups; \ +- $(INSTALL_DIR) $(BUILDROOT)$(INITDIR)/rc3.d; \ +- $(INSTALL_SCRIPT) cups.sh $(BUILDROOT)$(INITDIR)/rc3.d/S99cups; \ +- $(INSTALL_DIR) $(BUILDROOT)$(INITDIR)/rc5.d; \ +- $(INSTALL_SCRIPT) cups.sh $(BUILDROOT)$(INITDIR)/rc5.d/S99cups; \ +- fi +- if test "x$(INITDIR)" = "x" -a "x$(INITDDIR)" != "x"; then \ +- $(INSTALL_DIR) $(BUILDROOT)$(INITDDIR); \ +- if test "$(INITDDIR)" = "/System/Library/StartupItems/PrintingServices"; then \ +- $(INSTALL_SCRIPT) cups.osx $(BUILDROOT)$(INITDDIR)/PrintingServices; \ +- $(INSTALL_DATA) cups.plist $(BUILDROOT)$(INITDDIR)/StartupParameters.plist; \ +- $(INSTALL_DIR) $(BUILDROOT)$(INITDDIR)/Resources/English.lproj; \ +- $(INSTALL_DATA) cups.strings $(BUILDROOT)$(INITDDIR)/Resources/English.lproj/Localizable.strings; \ +- else \ +- $(INSTALL_SCRIPT) cups.sh $(BUILDROOT)$(INITDDIR)/cups; \ +- fi \ +- fi + + # + # Install source and header files... diff --git a/printer/cups-old/PRE_BUILD b/printer/cups-old/PRE_BUILD new file mode 100755 index 0000000000..8ececd78da --- /dev/null +++ b/printer/cups-old/PRE_BUILD @@ -0,0 +1,6 @@ +default_pre_build && +cd $SOURCE_DIRECTORY && + +patch -p0 < $SCRIPT_DIRECTORY/xpdf-pl3.patch && +patch -p0 < $SCRIPT_DIRECTORY/Makefile.diff + diff --git a/printer/cups-old/PROVIDES b/printer/cups-old/PROVIDES new file mode 100755 index 0000000000..7c846a0987 --- /dev/null +++ b/printer/cups-old/PROVIDES @@ -0,0 +1 @@ +CUPS diff --git a/printer/cups-old/TRIGGERS b/printer/cups-old/TRIGGERS new file mode 100755 index 0000000000..88a0fa86e0 --- /dev/null +++ b/printer/cups-old/TRIGGERS @@ -0,0 +1,4 @@ +# replace with is_depends_enabled once it's available +if grep -q "$SPELL:linux-pam:on" "$DEPENDS_STATUS"; then + on_cast linux-pam cast_self +fi diff --git a/printer/cups-old/cups-1.1.23-source.tar.bz2.sig b/printer/cups-old/cups-1.1.23-source.tar.bz2.sig Binary files differnew file mode 100644 index 0000000000..5ebe8fb1e2 --- /dev/null +++ b/printer/cups-old/cups-1.1.23-source.tar.bz2.sig diff --git a/printer/cups-old/init.d/cups-old b/printer/cups-old/init.d/cups-old new file mode 100755 index 0000000000..c35f34ee04 --- /dev/null +++ b/printer/cups-old/init.d/cups-old @@ -0,0 +1,13 @@ +#!/bin/bash + +PROGRAM=/usr/sbin/cupsd +RUNLEVEL=3 +if [ -x /usr/sbin/ptal-init ]; then + NEEDS="hpoj +network +remote_fs" +elif [ -x /usr/sbin/hpiod ]; then + NEEDS="hplip +network +remote_fs" +else + NEEDS="+network +remote_fs" +fi + +. /etc/init.d/smgl_init diff --git a/printer/cups-old/xpdf-pl3.patch b/printer/cups-old/xpdf-pl3.patch new file mode 100644 index 0000000000..fdd7746936 --- /dev/null +++ b/printer/cups-old/xpdf-pl3.patch @@ -0,0 +1,13 @@ +diff -Naur pdftops/XRef.cxx pdftops/XRef.cxx +--- pdftops/XRef.cxx 2005-02-22 10:27:40.025289672 -0800 ++++ pdftops/XRef.cxx 2005-02-22 10:27:57.643611280 -0800 +@@ -527,6 +527,9 @@ + } else { + keyLength = 5; + } ++ if (keyLength > 16) { ++ keyLength = 16; ++ } + permFlags = permissions.getInt(); + if (encVersion >= 1 && encVersion <= 2 && + encRevision >= 2 && encRevision <= 3) { |