Commit Graph

161 Commits

Author SHA1 Message Date
ajacoutot
3e0b97eefc Make sure we don't enter interactive mode in rc_post by using 'mv -f'.
Fix shutdown/reboot issues reported by Tomas Bodzar.
2011-03-24 15:17:28 +00:00
ajacoutot
9c3a94a372 Use the same trick as in nut to identify the /dev/{ugen,usb}* we want.
discussed with and ok sthen@
2011-03-09 13:05:20 +00:00
ajacoutot
b5c90e7019 Add ${SYSCONFDIR}/cups/ppd/ as a @sample. 2011-03-02 06:49:38 +00:00
ajacoutot
21b4f61f90 Tweaks, from discussion with jakemsr@ 2011-01-17 23:24:40 +00:00
ajacoutot
889cab506e Fix README after recent ugen(4) changes from jakemsr@ 2011-01-16 23:02:53 +00:00
ajacoutot
af7416c31b Update to cups-1.4.6, this version fixes landscape printing, sharing,
and fax issues.

Also merge a patch from upstream to disable multi-part support as
several browsers (notably webkit based ones) do not support it
correctly, this should fix the web interface with these browsers. See
http://www.cups.org/str.php?L3455 for details.
2011-01-11 12:13:59 +00:00
ajacoutot
2eec2a1dd7 Mention gtk+2-cups.
prodded by Jiri B.
2010-12-30 12:55:02 +00:00
ajacoutot
4ec44530ca Simplify after recent rc.subr change.
The framework is now stable and we will start documenting it (at last).
2010-12-27 14:50:22 +00:00
ajacoutot
b28452a489 Cope with recent rc.subr changes. 2010-12-24 10:40:04 +00:00
ajacoutot
833cdce03c Mention bug report in patch, no pkg change. 2010-12-20 15:53:05 +00:00
ajacoutot
391b9471d9 Some rewording a tweaks. 2010-12-20 14:43:42 +00:00
ajacoutot
cddf86404d Unbreak ulpt(4) printing.
Add libusb support. Bring a patch from upstream bug DB that allows for
both ulpt(4) and libusb based devices to work without the need for
separate packages.

Remove the useless rc patch (we provide our own).

Move MESSAGE to README and extend it.
2010-12-20 11:39:48 +00:00
ajacoutot
cbdb3f818c Don't try and change ownership on files that don't exist. 2010-11-30 08:09:09 +00:00
espie
bec176e99e new depends 2010-11-20 09:48:38 +00:00
ajacoutot
b886080d0c This release fixes several scheduler and printing bugs as well as a reported
security bug (which kili@ already patched for in previous commmit).
2010-11-12 07:09:00 +00:00
kili
3c1a0a6e40 Security patch: CVE-2010-2941 (from redhat).
ok ajacoutot@ (maintainer)

For increased fun, read the ticket at redhat:
https://bugzilla.redhat.com/show_bug.cgi?id=624438
2010-11-10 12:53:09 +00:00
landry
856571321a Propagate AUTO{MAKE,CONF}_VERSION to aclocal/autoconf calls. Fixes build
with upcoming metaauto change.
2010-11-05 07:51:57 +00:00
ajacoutot
761594762a Add RCS IDs to rc scripts. 2010-10-29 12:54:43 +00:00
ajacoutot
5abca94db5 Merge the cups-enable and cups-disable scripts into the rc script.
idea from and ok robert@
2010-10-28 15:12:49 +00:00
ajacoutot
a81d6712c2 As agreed with espie@, install a first rc script to serve as a test
example. A couple of things are still missing from the infrastructure
but the basics work. When everything has been taken care of, we'll start
mocing all ports to using the new rc system.
2010-10-27 15:42:06 +00:00
espie
4cc3f43b65 USE_GROFF=Yes 2010-10-18 21:25:07 +00:00
ajacoutot
b548ecd183 Clean up the cups-*able scripts.
Do not move out lptest as CUPS has no counterpart as spotted by armani@
2010-10-12 12:53:15 +00:00
ajacoutot
40e0bde43c Remove some left over text in lp.man.
spotted by tedu@
2010-08-22 10:48:41 +00:00
edd
273e6d9067 Convert a whole bunch of ports/print to use new WANTLIB/LIB_DEPENDS/REVISION.
OK aja@
2010-07-26 20:07:31 +00:00
ajacoutot
256d90190a More readable to me. 2010-07-13 13:02:47 +00:00
sebastia
048c27309a fix build on gcc-2.95 archs
OK ajacoutot@, landry@
2010-07-13 12:50:44 +00:00
ajacoutot
61d8bcc996 Fix SO_PEERCRED fallout.
from Moritz Grimm.
2010-07-02 07:52:08 +00:00
ajacoutot
eebf14a545 Update to cups-1.4.4.
Fixes several security, scheduler, printing, and conformance issues.
2010-06-27 04:18:50 +00:00
jasper
4459824418 - remove mips64 gcc workaround, though this still won't build because of ld 2010-05-22 09:57:42 +00:00
ajacoutot
3a83459d4e Create a link from ${LOCALBASE}/bin/smbspool to
${PREFIX}/libexec/cups/backend/smb so that is we have samba installed it
is possible to print to Windows printers out of the box (if samba is not
installed, the smb backend will not appear so there's no harm in doing
this).
Use FAKE_FLAGS instead ov post-install mv danse.
Fix group of cups.conf for dbus.
2010-05-16 14:16:36 +00:00
ajacoutot
6cce6fcad3 Disable dnssd support for now as it is not yet stable. 2010-04-07 13:55:30 +00:00
kili
74bc48a8f7 Don't only test wether GCC support -pie but also test wether a
program built with -pie actually runs. Fixes the build on arm.

ok ajacoutot@
2010-04-04 18:42:14 +00:00
ajacoutot
619a46ab85 Fix WANTLIB of the ldap FLAVOR. 2010-04-01 07:14:43 +00:00
ajacoutot
d1ea956b94 Major update to cups-1.4.3.
Changelog is to big to detail here, refer to HOMEPAGE for details.

I have been using 1.4.X for several months.
Versions 1.4.0 and 1.4.2 have been tested in bulks by jasper@, thanks!

Please contact me directly if you see regressions.
2010-03-31 16:20:02 +00:00
sthen
7e0b0c7e60 fix trailing backslash; pointed out by Andreas Kahari, thanks!
ok ajacoutot@
2010-03-29 13:11:42 +00:00
ajacoutot
b9b195187c No need to specify the no_* FLAVOR for avahi, this is the default now.
naddy thinks there may be some gratuitous bumps but let's be safe.

reads good to sthen@, ok jasper@
2010-03-29 07:52:26 +00:00
jasper
228964a8d2 - extend archtecture tests for mips64el
ok naddy@ phessler@
2010-02-09 12:23:59 +00:00
ajacoutot
7f48ea4ece Use @unexec-delete instead of @unexec for the *-update-* goos.
prodded by espie@
discussed with espie@ sthen@ landry@
2009-12-22 15:54:32 +00:00
ajacoutot
1ca27be86e Create a symlink to the foomatic drivers database so that they are
available without doing anything if some are installed.
2009-12-10 10:57:06 +00:00
jasper
2b82712fd4 ECURITY FIX for CVE-2009-3553.
CUPS "cupsdDoSelect()" Denial of Service Vulnerability.
2009-11-22 18:10:12 +00:00
jasper
d98c45b104 give cups a better chance to build on mips64, this exposes a bug in
ld(1), but the build is able to progress a lot further though.

ok ajacoutot@ (MAINTAINER)
2009-11-22 16:47:35 +00:00
ajacoutot
a5a0b69c01 Now that SHA1_Update symbol conflict has been solved in security/nss3,
remove the need for gnutls and use openssl instead.
2009-11-22 16:38:55 +00:00
ajacoutot
2ed669f58b Upstream rolled up a new tarball.
from alek@
cvs: ----------------------------------------------------------------------
2009-11-19 22:10:30 +00:00
ajacoutot
2e753781b9 Extend comment with deeper explanation.
No pkg change.
2009-11-11 11:00:32 +00:00
jasper
6a63c0cb29 SECURITY FIX for CVE-2009-3608, CVE-2009-3609.
CUPS "pdftops" Filter Data Handling Integer Overflow Vulnerabilities
Patch from Ubuntu.

ok ajacoutot@ (MAINTAINER)
2009-10-25 16:04:34 +00:00
ajacoutot
e5b1a4f773 Add gnutl support back after recent gnutls upgrade.
Regen wantlib & bump.
2009-10-12 11:17:17 +00:00
ajacoutot
633ab74432 Missed bump...
pointed out by jasper@
cvs: ----------------------------------------------------------------------
2009-10-10 12:39:29 +00:00
ajacoutot
d6a3d8d184 Add no_mono PSEUDO_FLAVOR on the avahi dependency. 2009-10-10 09:28:31 +00:00
jolan
f5d1e2831c remove some quoting which was causing sqlports to error out with my
mk.conf, ok ajacoutot@
2009-09-06 12:01:07 +00:00
ajacoutot
e19b4862c3 - update to cups-1.3.11
kurt@'s patches are now upstream
2009-07-12 19:58:19 +00:00
ajacoutot
fe386413a2 - fix cyclic dependency by using the "no_gtk no_qt3 no_qt4" FLAVOR of
avahi so that only the -main subpackage is built
(i.e. cups needs avahi, avahi needs qt3, qt3 needs cups... *bang*)

issue reported by sthen@, then naddy@, then sturm@...
2009-06-04 21:46:49 +00:00
ajacoutot
fd6b7790be - add avahi support 2009-06-03 16:31:57 +00:00
ajacoutot
45145171af - don't link .so to .so.X.Y
- merge PFRAG.shared into PLIST
- bump
2009-05-19 11:15:28 +00:00
ajacoutot
9ff4d05ca6 - upstream integrated kurt@'s patches with some small changes ; bring
them in as it will ease update to a new release
2009-05-18 17:09:54 +00:00
ajacoutot
8fd5cae47a - tweak MESSAGE & bump 2009-05-16 17:34:52 +00:00
kurt
e436b9fc81 Fix daemon mode by correcting non-portable code:
- close(0); open(...); is no guaranteed to open on file descriptor 0.
  Change to using dup2()
- Threaded applications that fork() may only call async-signal-safe
  functions in the child process until such time as one of the exec
  functions are called. Enable the APPLE code path that uses execlp()
  in child. Also close child fd's in such a way as to not trip on
  non-blocking fd design issues of libpthread.

okay ajacoutot@
2009-05-14 12:38:52 +00:00
ajacoutot
dd1ef1ab89 Revert part of previous, it does not seem to help after all; for now
it is advised to start cups in foreground mode (i.e. 'cupsd -f &').
Issue is still under investigation.
2009-05-09 11:05:44 +00:00
ajacoutot
95350a94bb - disable threading; it causes several issues which will need more
investigation
- explicitely set some configure switches
- use wheel as "system-groups" instead of non-existent "sys"
- enable raw printing
- respect CFLAGS
- add GSSAPI support
- tweak gecos
- add missing @sample
2009-05-08 20:00:57 +00:00
bernd
e5effe71d7 Update to cups-1.3.10. With lots of help from ajacoutot@.
There's an issue with the admin.cgi which will be fixed
in-tree.

ok ajacoutot@, jasper@
2009-04-27 08:25:39 +00:00
ajacoutot
8f7cd0f1e5 - remove workaround now that our default thread stack size has been
increased
2009-04-21 13:01:18 +00:00
ajacoutot
d0674337d4 - add some comments ; no pkg change 2009-04-10 16:36:02 +00:00
ajacoutot
61cdcb5a0a - lower some buffer size to prevent crash with default limit settings 2009-04-10 15:35:01 +00:00
ajacoutot
5c0f045c92 - fix a crash with NSS based applications when printing using gtk+2-cups
There are some conflicting symbols between nss and openssl (hint from
martynas@ some time ago about another issue).
- fix tyop while here (MAITAINER -> MAINTAINER)

"looks good" landry@ ok jasper@
2009-04-09 08:47:24 +00:00
ajacoutot
daf6cc05c9 - enable dbus support
this adds some nice desktop functionnality when dealing with print
queues, printer notifications...
2009-03-23 15:04:41 +00:00
ajacoutot
d9ce578e26 - tweak 2009-03-15 18:31:29 +00:00
ajacoutot
57a1b88602 - tweak rc.local bits in MESSAGE 2009-03-05 17:17:28 +00:00
jasper
98266ca12c Security fix for CVE-2008-5183.
Patch adapted from Red Hat's solution.

ok ajacoutot@ (MAINTAINER)
2009-03-04 19:50:00 +00:00
jasper
580818c350 regen patch 2009-02-15 18:57:27 +00:00
ajacoutot
6c01c04658 - remove foomatic-rip link (the foomatic-filters package now handles it)
- tweak MESSAGE
2008-11-19 05:28:30 +00:00
ajacoutot
5be1ba2e28 - use xdg-open in the desktop file command 2008-10-30 15:07:05 +00:00
ajacoutot
a6cf2c9fdb - make sure we don't try to install stuff outside of WRKINST if the
/usr/share/applications directory exists
spotted by todd@
- while here, do install the .desktop files and icons and add the
corresponding goos
- regen PLIST
- bump
2008-10-30 13:26:41 +00:00
naddy
a57993cf08 Change "${SYSCONFDIR}" to "/etc" for files that are *always* in the
latter location.
2008-10-28 15:21:48 +00:00
ajacoutot
003b771660 - remove foomatic-filters from RUN_DEPENDS (for now) as it creates a
circular dependency with ghostscript-*-cups
- precise license marker
- take over maintainership
- bump

ok kili@ mbalmer@
2008-10-28 12:33:32 +00:00
ajacoutot
cf10739f24 - SYSCONFDIR and LOCALBASE are already part of the generic SUBST_VARS
looks good to landry@
2008-09-18 13:37:41 +00:00
jakemsr
b8d7bcd5a4 use -pthread instead of -lpthread for pthreads linkage in CUPS
bulk build tested by steven@ (a while ago) "sure" mbalmer@
2007-12-11 08:00:06 +00:00
steven
315c46ce8a register symlink in plist instead of using @exec/@unexec
discussed with mbalmer
2007-09-30 14:39:23 +00:00
ajacoutot
0f7256f6a3 - MESSAGE is already long enough without the need to add several useless
blank lines
2007-09-20 09:34:07 +00:00
jasper
4defa4f3b2 make it more clear on how to start cups.
prompted by and ok marco@
ok mbalmer@
2007-09-19 20:58:07 +00:00
ajacoutot
25edb3df76 - use foomatic-rip from the foomatic-filter package and remove the
script from FILES
- remove quotes from COMMENTS

no objection from former maintainer Benjamin Lerman, ok jakemsr@ kili@
2007-09-09 14:53:05 +00:00
kili
4a499bb87c SECURITY: CVE-2007-3387.
ok naddy@
2007-08-03 20:51:42 +00:00
ajacoutot
9ba0e992d7 - don't force optimisation nor debug
- regen patches while here
2007-05-07 13:58:07 +00:00
espie
9eafbbfb35 base64 checksums. 2007-04-05 16:19:55 +00:00
mbalmer
ff51206292 Drop maintainership, since we no longer use this software. 2007-03-26 22:10:29 +00:00
deanna
a3a35e5221 Disable gnutls, remove no_gnutls FLAVOR, and use our ssl instead.
ok mbalmer
2007-03-26 16:33:05 +00:00
deanna
984d0b6e04 Fix regress by letting the test know the correct shared lib versions.
ok mbalmer
2007-03-17 18:28:02 +00:00
mbalmer
748ae603c4 Update to CUP 1.2.7. 2006-11-17 19:15:36 +00:00
mbalmer
3d9dc6bc61 Don't install files with weird ownership, don't install lppasswd setuid root. 2006-11-07 11:20:49 +00:00
mbalmer
9d690dfd6f Update to CUPS 1.2.5, this fixes a handful of bugs. Remove one patch that
was applied upstream.
2006-10-21 10:58:24 +00:00
mbalmer
2939b8a1c3 They don't know C, they don't know german, as well. 2006-10-07 14:03:09 +00:00
mbalmer
1769b800ab Add an ldap FLAVOR to allow printer sharing via LDAP and mention the
available FLAVORs in pkg/DESCR.
2006-10-02 11:48:06 +00:00
mbalmer
ba5d658cb0 Remove unused left-overs. 2006-10-02 10:06:03 +00:00
mbalmer
4e177d3544 Add a missing directory. 2006-10-02 09:59:05 +00:00
mbalmer
9e49dd30d1 Make this port build with USE_SYSTRACE=Yes. I forgot parts of a patch
to scheduler/Makefile, sorry, guys!
2006-10-01 16:02:24 +00:00
mbalmer
d5c1f39165 Update to CUPS 1.2.4, which has lots of improvements over the old version
we had, like better support for foreign languages and the usual plethora
of bugfixes.

tested on various architectures and with various applications that use CUPS
as their printing system.  I verified that all ports that are depending on
CUPS still build.
2006-10-01 10:43:38 +00:00
espie
444cc3c520 new lib specs 2006-08-03 23:28:11 +00:00
mbalmer
42347a509d Bump the package to be one the safe side... 2006-02-05 10:31:13 +00:00
mbalmer
5a34e7c673 Apply patch from bernd@, regen with new gettext 2006-02-05 10:26:23 +00:00
mbalmer
771ece5153 Make SHARED_LIBS actually work, this was lying around for quite some time,
no idea why I did not get committed...

prodded by bernd.
2006-02-05 10:20:57 +00:00
mbalmer
d930c2d380 SHARED_LIBS 2005-12-23 20:17:41 +00:00
mbalmer
79221cf34b Security: Fix vulnerabilities in the PDF to PS rendering code
(iDefense advisories from 2005-12-05)
- DCTStream Baseline Heap Overflow Vulnerability
- DCTStream Progressive Heap Overflow
- StreamPredictor Heap Overflow Vulnerability
Patch provided by the Xpdf folks.
2005-12-06 23:23:44 +00:00