1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411 |
- %bcond_with systemd
- %define _libexecdir %{_libdir}
- %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
- %define initdir %{_sysconfdir}/rc.d/init.d
- %define use_alternatives 1
- %define _unpackaged_files_terminate_build 1
- Summary: Common Unix Printing System
- Name: cups
- Version: 2.4.10
- Release: 1%{?_dist_release}%{?with_systemd:.systemd}
- Group: servers
- Vendor: Project Vine
- Distribution: Vine Linux
- Packager: daisuke, tomop
- License: GPL
- Url: https://github.com/OpenPrinting/cups
- Source: https://github.com/OpenPrinting/cups/archive/v%{version}.tar.gz#/cups-%{version}.tar.gz
- # Our initscript
- Source1: cups.init
- # Pixmap for desktop file
- Source2: cupsprinter.png
- # LSPP-required ps->pdf filter
- Source4: pstopdf
- # xinetd config file for cups-lpd service
- Source5: cups-lpd
- # Logrotate configuration
- Source6: cups.logrotate
- # Cron-based tmpwatch for /var/spool/cups/tmp
- Source8: cups.cron
- # Filter and PPD for textonly printing
- Source9: textonly.filter
- Source10: textonly.ppd
- Source11: macros.cups
- Source102: pstoraster
- Source103: pstoraster.convs
- Source104: postscript.ppd.gz
- Source105: pdftops.conf
- Source201: dvitops
- Source202: dvitops.convs
- Source203: dvitops.types
- Source204: cjktexttops
- Source206: pxlmono.ppd.gz
- Source207: pxlcolor.ppd.gz
- Source208: cups.conf
- # PAM enablement, very old patch, not even git can track when or why
- # the patch was added.
- Patch1: cups-system-auth.patch
- # cups-config from devel package conflicted on multilib arches,
- # fixed hack with pkg-config calling for gnutls' libdir variable
- Patch2: cups-multilib.patch
- # if someone makes a change to banner files, then there will <banner>.rpmnew
- # with next update of cups-filters - this patch makes sure the banner file
- # changed by user is used and .rpmnew or .rpmsave is ignored
- # Note: This could be rewrite with use a kind of #define and send to upstream
- Patch3: cups-banners.patch
- # don't export ssl libs to cups-config - can't find the reason.
- Patch4: cups-no-export-ssllibs.patch
- # enables old uri usb:/dev/usb/lp0 - leave it here for users of old printers
- Patch5: cups-direct-usb.patch
- # when system workload is high, timeout for cups-driverd can be reached -
- # increase the timeout
- Patch6: cups-driverd-timeout.patch
- # usb backend didn't get any notification about out-of-paper because of kernel
- Patch7: cups-usb-paperout.patch
- # uri compatibility with old Fedoras
- Patch8: cups-uri-compat.patch
- # use IP_FREEBIND, because cupsd cannot bind to not yet existing IP address
- # by default
- Patch9: cups-freebind.patch
- # add support of multifile
- Patch10: cups-ipp-multifile.patch
- # prolongs web ui timeout
- Patch11: cups-web-devices-timeout.patch
- # failover backend for implementing failover functionality
- # TODO: move it to the cups-filters upstream
- Patch12: cups-failover-backend.patch
- # add device id for dymo printer
- Patch13: cups-dymo-deviceid.patch
- %if 0%{?lspp}
- # selinux and audit enablement for CUPS - needs work and CUPS upstream wants
- # to have these features implemented their way in the future
- Patch100: cups-lspp.patch
- %endif
- #### UPSTREAM PATCHES (starts with 1000) ####
- # none
- BuildRoot: %{_tmppath}/%{name}-root
- Requires: %{name}-libs = %{version}-%{release}
- Requires: %{name}-client = %{version}-%{release}
- Requires: tmpwatch
- Requires: ghostscript >= 8.71-4
- BuildRequires: aspell-devel
- BuildRequires: avahi-devel >= 0.6.20
- BuildRequires: dbus-devel >= 0.90
- BuildRequires: e2fsprogs-devel
- BuildRequires: gnutls-devel
- BuildRequires: krb5-devel
- BuildRequires: libacl-devel
- BuildRequires: libjpeg-devel
- BuildRequires: libpng-devel
- BuildRequires: libtiff-devel
- BuildRequires: libusb1-devel
- BuildRequires: openldap-devel
- BuildRequires: pam-devel
- BuildRequires: pkgconfig
- BuildRequires: poppler-utils
- BuildRequires: python-cups
- Requires: avahi >= 0.6.20
- Requires: avahi-tools
- Requires: dbus >= 0.90
- Requires: poppler-utils
- Requires: cups-filters
- %if %{with systemd}
- BuildRequires: systemd-devel
- %{?systemd_requires}
- %else
- Requires(pre): chkconfig initscripts perl
- %endif
- %description
- CUPS printing system provides a portable printing layer for
- UNIX® operating systems. It has been developed by Apple Inc.
- to promote a standard printing solution for all UNIX vendors and users.
- CUPS provides the System V and Berkeley command-line interfaces.
- %description -l ja
- CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を提供
- します。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューショ
- ンを提供するためにApple Inc.により開発されました。
- CUPSはSystem VやBerkeleyコマンドラインのインターフェースを提供します。
- %package devel
- Summary: Common Unix Printing System - development environment
- Group: programming
- Requires: %{name}-libs = %{version}-%{release}
- Requires: e2fsprogs-devel
- Requires: gnutls-devel
- Requires: krb5-devel
- Requires: zlib-devel
- License: LGPL
- %description devel
- CUPS printing system provides a portable printing layer for
- UNIX. operating systems. This is the development package for creating
- additional printer drivers, and other CUPS services.
- %description devel -l ja
- CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を提供
- します。
- このパッケージはプリンタドライバを追加したり他のCUPSサービスを開発す
- るためのパッケージです。
- %package libs
- Summary: Common Unix Printing System - libraries
- Group: system
- License: LGPL
- %description libs
- CUPS printing system provides a portable printing layer for
- UNIX® operating systems. It has been developed by Apple Inc.
- to promote a standard printing solution for all UNIX vendors and users.
- CUPS provides the System V and Berkeley command-line interfaces.
- The cups-libs package provides libraries used by applications to use CUPS
- natively, without needing the lp/lpr commands.
- %description libs -l ja
- CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を提供
- します。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューショ
- ンを提供するためにApple Inc.により開発されました。
- CUPSはSystem VやBerkeleyコマンドラインのインターフェースを提供します。
- cups-libsパッケージはlp/lprコマンドを必要としないCUPSネイティブなアプ
- リケーションから使われるライブラリ類です。
- %package client
- Summary: CUPS printing system - client programs
- Group: publishing
- License: GPLv2
- Requires: %{name}-libs%{?_isa} = %{version}-%{release}
- %if %{use_alternatives}
- Provides: /usr/bin/lpq /usr/bin/lpr /usr/bin/lp /usr/bin/cancel /usr/bin/lprm /usr/bin/lpstat
- Requires(pre): alternatives
- Requires(preun): alternatives
- %endif
- Provides: lpd lpr LPRng
- %description client
- CUPS printing system provides a portable printing layer for
- UNIX® operating systems. This package contains command-line client
- programs.
- %description client -l ja
- CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を
- 提供します。
- このパッケージはコマンドラインクライアントプログラムを含んでいま
- す。
- %package lpd
- Summary: CUPS printing system - lpd emulation
- Group: servers
- Requires: %{name}%{?_isa} = %{version}-%{release}
- Requires: %{name}-libs%{?_isa} = %{version}-%{release}
- Provides: lpd
- %if %{with systemd}
- %{?systemd_requires}
- %else
- Requires: xinetd
- %endif
- %description lpd
- CUPS printing system provides a portable printing layer for
- UNIX® operating systems. This is the package that provides standard
- lpd emulation.
- %description lpd -l ja
- CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を
- 提供します。
- このパッケージは標準的なlpdエミュレーションを提供します。
- %package -n compat32-%{name}-libs
- Summary: Common Unix Printing System - libraries
- Group: system,legacy
- %description -n compat32-%{name}-libs
- CUPS printing system provides a portable printing layer for
- UNIX® operating systems. It has been developed by Apple Inc.
- to promote a standard printing solution for all UNIX vendors and users.
- CUPS provides the System V and Berkeley command-line interfaces.
- The cups-libs package provides libraries used by applications to use CUPS
- natively, without needing the lp/lpr commands.
- %description -n compat32-%{name}-libs -l ja
- CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を提供
- します。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューショ
- ンを提供するためにApple Inc.により開発されました。
- CUPSはSystem VやBerkeleyコマンドラインのインターフェースを提供します。
- cups-libsパッケージはlp/lprコマンドを必要としないCUPSネイティブなアプリ
- ケーションから使われるライブラリ類です。
- %package -n compat32-%{name}-devel
- Summary: Common Unix Printing System - development environment
- Group: programming,legacy
- Requires: compat32-%{name}-libs = %{version}-%{release}
- Requires: %{name}-devel = %{version}-%{release}
- Requires: compat32-e2fsprogs-devel
- Requires: compat32-gnutls-devel
- Requires: compat32-krb5-devel
- Requires: compat32-zlib-devel
- %description -n compat32-%{name}-devel
- CUPS printing system provides a portable printing layer for
- UNIX. operating systems. This is the development package for creating
- additional printer drivers, and other CUPS services.
- %description -n compat32-%{name}-devel -l ja
- CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を提供
- します。
- このパッケージはプリンタドライバを追加したり他のCUPSサービスを開発す
- るためのパッケージです。
- %debug_package
- %prep
- %setup -q -n %{name}-%{version}
- # Use the system pam configuration.
- %patch -P 1 -p1 -b .system-auth
- # Prevent multilib conflict in cups-config script.
- %patch -P 2 -p1 -b .multilib
- # Ignore rpm save/new files in the banners directory.
- %patch -P 3 -p1 -b .banners
- # Don't export SSLLIBS to cups-config.
- %patch -P 4 -p1 -b .no-export-ssllibs
- # Allow file-based usb device URIs.
- %patch -P 5 -p1 -b .direct-usb
- # Increase driverd timeout to 70s to accommodate foomatic (bug #744715).
- %patch -P 6 -p1 -b .driverd-timeout
- # Support for errno==ENOSPACE-based USB paper-out reporting.
- %patch -P 7 -p1 -b .usb-paperout
- # Allow the usb backend to understand old-style URI formats.
- %patch -P 8 -p1 -b .uri-compat
- # Use IP_FREEBIND socket option when binding listening sockets (bug #970809).
- %patch -P 9 -p1 -b .freebind
- # Fixes for jobs with multiple files and multiple formats.
- %patch -P 10 -p1 -b .ipp-multifile
- # Increase web interface get-devices timeout to 10s (bug #996664).
- %patch -P 11 -p1 -b .web-devices-timeout
- # Add failover backend (bug #1689209)
- %patch -P 12 -p1 -b .failover
- # Added IEEE 1284 Device ID for a Dymo device (bug #747866).
- %patch -P 13 -p1 -b .dymo-deviceid
- # UPSTREAM PATCHES
- # none
- %if %{?lspp}0
- # LSPP support.
- %patch100 -p1 -b .lspp
- %endif
- # make to use cjktexttops instead texttops.
- perl -pi -e 's/texttops$/cjktexttops/' conf/mime.convs.in
- %if %{with systemd}
- # Log to the system journal by default (bug #1078781, bug #1519331).
- sed -i -e 's,^ErrorLog .*$,ErrorLog syslog,' conf/cups-files.conf.in
- sed -i -e 's,^AccessLog .*$,AccessLog syslog,' conf/cups-files.conf.in
- sed -i -e 's,^PageLog .*,PageLog syslog,' conf/cups-files.conf.in
- %else
- # if cupsd is set to log into /var/log/cups, then 'MaxLogSize 0' needs to be
- # in cupsd.conf to disable cupsd logrotate functionality and use logrotated
- sed -i -e '1iMaxLogSize 0' conf/cupsd.conf.in
- %endif
- perl -pi -e 's,^#(DefaultCharset\s)utf-8,$1notused,' conf/cupsd.conf.in
- perl -pi -e 's,^#(Printcap\s+/etc/printcap),$1,' conf/cupsd.conf.in
- perl -pi -e 's,exec_prefix/lib/cups,exec_prefix/%{_lib}/cups,' config-scripts/cups-directories.m4
- autoconf
- cp %{SOURCE5} cups-lpd.real
- perl -pi -e "s,\@LIBDIR\@,%{_libdir},g" cups-lpd.real
- # Add group wheel to SystemGroups (bug #1405669)
- sed -i -e 's,^SystemGroup .*$, SystemGroup sys root wheel,' conf/cups-files.conf.in
- # Let's look at the compilation command lines.
- perl -pi -e "s,^.SILENT:,," Makedefs.in
- f=CREDITS.md
- mv "$f" "$f"~
- iconv -f MACINTOSH -t UTF-8 "$f"~ > "$f"
- rm "$f"~
- # Rebuild configure script for --enable-avahi.
- aclocal -I config-scripts
- autoconf -I config-scripts
- %build
- export DSOFLAGS="$DSOFLAGS $RPM_LD_FLAGS"
- export CFLAGS="$CFLAGS $RPM_OPT_FLAGS -DLDAP_DEPRECATED=1"
- export CXXFLAGS="$CXXFLAGS $RPM_OPT_FLAGS -DLDAP_DEPRECATED=1"
- # --enable-debug to avoid stripping binaries
- %configure --with-docdir=%{_datadir}/%{name}/www --enable-debug \
- --enable-page-logging \
- --enable-relro \
- --enable-sync-on-close \
- --enable-webif \
- --with-access-log-level=actions \
- --with-cupsd-file-perm=0755 \
- --with-dbusdir=%{_sysconfdir}/dbus-1 \
- --with-dnssd=avahi \
- --with-log-file-perm=0600 \
- --with-pkgconfpath=%{_libdir}/pkgconfig \
- %if %{with systemd}
- --with-rundir=/run/cups \
- --with-ondemand=systemd \
- --with-xinetd=no \
- %endif
- --with-tls=gnutls \
- %if 0%{?rhel}
- --without-idle-exit-timeout \
- --without-systemd-timeoutstartsec \
- %endif
- --localedir=%{_datadir}/locale \
- --with-pdftops=pdftops \
- --disable-slp
- # If we got this far, all prerequisite libraries must be here.
- make %{?_smp_mflags}
- %install
- rm -rf %{buildroot}
- make BUILDROOT=%{buildroot} install
- rm -rf %{buildroot}%{initdir} \
- %{buildroot}%{_sysconfdir}/init.d \
- %{buildroot}%{_sysconfdir}/rc?.d
- %if ! %{with systemd}
- mkdir -p %{buildroot}%{initdir}
- install -m 755 %{SOURCE1} %{buildroot}%{initdir}/cups
- %endif
- find %{buildroot}%{_datadir}/cups/model -name "*.ppd" |xargs gzip -n9f
- pushd %{buildroot}%{_datadir}/%{name}/ipptool
- for file in color.jpg document-a4.pdf document-a4.ps document-letter.pdf document-letter.ps gray.jpg onepage-a4.pdf onepage-a4.ps onepage-letter.pdf onepage-letter.ps testfile.jpg testfile.pcl testfile.pdf testfile.ps testfile.txt
- do
- mv $file{,.gz}
- done
- popd
- %if %{use_alternatives}
- pushd %{buildroot}%{_bindir}
- for i in cancel lp lpq lpr lprm lpstat; do
- mv $i $i.cups
- done
- cd %{buildroot}%{_sbindir}
- mv lpc lpc.cups
- cd %{buildroot}%{_mandir}/man1
- for i in cancel lp lpq lpr lprm lpstat; do
- mv $i.1 $i-cups.1
- done
- cd %{buildroot}%{_mandir}/man8
- mv lpc.8 lpc-cups.8
- popd
- %endif
- mkdir -p %{buildroot}%{_datadir}/pixmaps %{buildroot}%{_sysconfdir}/X11/sysconfig %{buildroot}%{_sysconfdir}/X11/applnk/System %{buildroot}%{_sysconfdir}/xinetd.d %{buildroot}%{_sysconfdir}/logrotate.d %{buildroot}%{_sysconfdir}/cron.daily
- mkdir -p %{buildroot}%{_datadir}/pixmaps %{buildroot}%{_sysconfdir}/X11/sysconfig %{buildroot}%{_sysconfdir}/X11/applnk/System
- install -c -m 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps
- %if ! %{with systemd}
- install -c -m 644 cups-lpd.real %{buildroot}%{_sysconfdir}/xinetd.d/cups-lpd
- install -c -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/logrotate.d/cups
- %endif
- install -c -m 755 %{SOURCE8} %{buildroot}%{_sysconfdir}/cron.daily/cups
- install -c -m 755 %{SOURCE9} %{buildroot}%{_libdir}/cups/filter/textonly
- install -c -m 644 %{SOURCE10} %{buildroot}%{_datadir}/cups/model/textonly.ppd
- #install -c -m 644 %{SOURCE105} %{buildroot}%{_sysconfdir}/cups/pdftops.conf
- # Ship an rpm macro for where to put driver executables.
- mkdir -p %{buildroot}%{_sysconfdir}/rpm/
- install -m 0644 %{SOURCE11} %{buildroot}%{_sysconfdir}/rpm/
- # Ship a printers.conf file, and a client.conf file. That way, they get
- # their SELinux file contexts set correctly.
- touch %{buildroot}%{_sysconfdir}/cups/printers.conf
- touch %{buildroot}%{_sysconfdir}/cups/classes.conf
- touch %{buildroot}%{_sysconfdir}/cups/client.conf
- touch %{buildroot}%{_sysconfdir}/cups/subscriptions.conf
- # This is %%ghost'ed, but needs to be created in %%install anyway.
- touch %{buildroot}%{_sysconfdir}/cups/lpoptions
- # Tell portreserve which port we want it to protect.
- # mkdir -p %{buildroot}%{_sysconfdir}/portreserve
- # echo ipp > %{buildroot}%{_sysconfdir}/portreserve/%{name}
- # LSB 3.2 printer driver directory
- mkdir -p %{buildroot}%{_datadir}/ppd
- # Remove unshipped files.
- rm -rf %{buildroot}%{_mandir}/cat? %{buildroot}%{_mandir}/*/cat?
- rm -f %{buildroot}%{_datadir}/applications/cups.desktop
- rm -rf %{buildroot}%{_datadir}/icons
- # there are pdf-banners shipped with cups-filters (#919489)
- rm -rf %{buildroot}%{_datadir}/cups/banners
- rm -f %{buildroot}%{_datadir}/cups/data/testprint
- %if %{with systemd}
- # install /etc/tmpfiles.d/cups.conf (bug #656566)
- mkdir -p %{buildroot}%{_tmpfilesdir}
- cat > %{buildroot}%{_tmpfilesdir}/cups.conf <<EOF
- # See tmpfiles.d(5) for details
- d /run/cups 0755 root lp -
- d /run/cups/certs 0511 lp sys -
- d /var/spool/cups/tmp - - - 30d
- EOF
- # /usr/lib/tmpfiles.d/cups-lp.conf (bug #812641)
- cat > %{buildroot}%{_tmpfilesdir}/cups-lp.conf <<EOF
- # Legacy parallel port character device nodes, to trigger the
- # auto-loading of the kernel module on access.
- #
- # See tmpfiles.d(5) for details
- c /dev/lp0 0660 root lp - 6:0
- c /dev/lp1 0660 root lp - 6:1
- c /dev/lp2 0660 root lp - 6:2
- c /dev/lp3 0660 root lp - 6:3
- EOF
- %endif
- find %{buildroot} -type f -o -type l | sed '
- s:.*\('%{_datadir}'/\)\([^/_]\+\)\(.*\.po$\):%lang(\2) \1\2\3:
- /^%lang(C)/d
- /^\([^%].*\)/d
- ' > %{name}.lang
- # Ship a PCL XL/PCL 6 filter file from ESP gs-7.07.1
- install -c -m 644 %{SOURCE206} %{buildroot}%{_datadir}/cups/model
- install -c -m 644 %{SOURCE207} %{buildroot}%{_datadir}/cups/model
- # Ship a dvitops
- install -c -m 755 %{SOURCE201} %{buildroot}%{_libdir}/cups/filter
- install -c -m 644 %{SOURCE202} %{buildroot}%{_sysconfdir}/cups
- install -c -m 644 %{SOURCE203} %{buildroot}%{_sysconfdir}/cups
- # Ship a cjktexttops (import from mdv)
- install -c -m 755 %{SOURCE204} %{buildroot}%{_libdir}/cups/filter/
- # disable imagetoraster.
- perl -pi -e 's/^(image.+imagetoraster)/#$1/g' %{buildroot}/usr/share/cups/mime/mime.convs
- #install -c -m 644 conf/mime.types %{buildroot}%{_sysconfdir}/cups/mime.types
- #install -c -m 644 conf/mime.convs %{buildroot}%{_sysconfdir}/cups/mime.convs
- %triggerpostun -- cups < 1.4.8
- %ifarch x86_64
- echo "moving 32bit binaries to /usr/lib ..."
- if [ "$1" -gt 1 ]; then
- for f in `find /usr/lib64/cups/ -type f`; do
- file $f | grep ' ELF 32-bit ' >/dev/null 2>&1
- if [ "$?" = "0" ]; then
- DEST=`echo $f | sed -e 's/^\/usr\/lib64/\/usr\/lib/'`
- mv -f $f $DEST
- fi
- done
- fi
- %endif
- %pre
- %ifarch x86_64
- if [ -L /usr/lib/cups ]; then
- rm -f /usr/lib/cups
- fi
- %endif
- %post
- %if %{with systemd}
- %systemd_post %{name}.path %{name}.socket %{name}.service
- # Previous migration script unnecessarily put PageLogFormat into cups-files.conf
- # (see bug #1148995)
- FILE=%{_sysconfdir}/cups/cups-files.conf
- for keyword in PageLogFormat; do
- /bin/sed -i -e "s,^$keyword,#$keyword,i" "$FILE" || :
- done
- # Because of moving logs to journal, we need to create placeholder files
- # at /var/log/cups for users, whose are going to install CUPS on new OS
- # machine with info message
- confignames=( "ErrorLog" "AccessLog" "PageLog" )
- lognames=( "error_log" "access_log" "page_log" )
- message="This CUPS log has been moved into journal by default unless changes have been made in /etc/cups/cups-files.conf. Log messages can be got by \"$ journalctl -u cups -e\""
- for ((i=0;i<${#confignames[@]};i++));
- do
- found=`/bin/grep -i "${confignames[i]} syslog" /etc/cups/cups-files.conf`
- if [ ! -z "$found" ]
- then
- if [ ! -f %{_localstatedir}/log/cups/${lognames[i]} ]
- then
- touch %{_localstatedir}/log/cups/${lognames[i]} || :
- fi
- perms=`ls -lah %{_localstatedir}/log/cups/${lognames[i]} | /bin/grep -v -e "\-rw-------" -e "root lp"`
- if [ ! -z "$perms" ]
- then
- # we need to set correct permissions and ownership because of possible
- # security issues
- # we need to have it here, because previous CUPS releases had the bug.
- # Checking permissions and ownership here fixes it.
- chown root:lp %{_localstatedir}/log/cups/${lognames[i]} || :
- chmod 600 %{_localstatedir}/log/cups/${lognames[i]} || :
- fi
- lastmessage=`%{_bindir}/tail -n 1 %{_localstatedir}/log/cups/${lognames[i]} | /bin/grep "$message"`
- if [ -z "$lastmessage" ]
- then
- echo $message >> %{_localstatedir}/log/cups/${lognames[i]} || :
- fi
- fi
- done
- %else
- /sbin/chkconfig --del cupsd 2>/dev/null || true # Make sure old versions aren't there anymore
- /sbin/chkconfig --add cups || true
- %endif
- # Remove old-style certs directory; new-style is /var/run
- # (see bug #194581 for why this is necessary).
- /bin/rm -rf /etc/cups/certs
- rm -f %{_localstatedir}/cache/cups/*.ipp %{_localstatedir}/cache/cups/*.cache
- %if !%{with systemd}
- if [ $1 -eq 1 ]; then
- # First install. Build ppds.dat.
- /sbin/service cups reload >/dev/null 2>&1 || :
- fi
- exit 0
- %endif
- %post client
- %if %{use_alternatives}
- /sbin/update-alternatives --install %{_bindir}/lpr print %{_bindir}/lpr.cups 40 \
- --slave %{_bindir}/lp print-lp %{_bindir}/lp.cups \
- --slave %{_bindir}/lpq print-lpq %{_bindir}/lpq.cups \
- --slave %{_bindir}/lprm print-lprm %{_bindir}/lprm.cups \
- --slave %{_bindir}/lpstat print-lpstat %{_bindir}/lpstat.cups \
- --slave %{_bindir}/cancel print-cancel %{_bindir}/cancel.cups \
- --slave %{_sbindir}/lpc print-lpc %{_sbindir}/lpc.cups \
- --slave %{_mandir}/man1/cancel.1.gz print-cancelman %{_mandir}/man1/cancel-cups.1.gz \
- --slave %{_mandir}/man1/lp.1.gz print-lpman %{_mandir}/man1/lp-cups.1.gz \
- --slave %{_mandir}/man8/lpc.8.gz print-lpcman %{_mandir}/man8/lpc-cups.8.gz \
- --slave %{_mandir}/man1/lpq.1.gz print-lpqman %{_mandir}/man1/lpq-cups.1.gz \
- --slave %{_mandir}/man1/lpr.1.gz print-lprman %{_mandir}/man1/lpr-cups.1.gz \
- --slave %{_mandir}/man1/lprm.1.gz print-lprmman %{_mandir}/man1/lprm-cups.1.gz \
- --slave %{_mandir}/man1/lpstat.1.gz print-lpstatman %{_mandir}/man1/lpstat-cups.1.gz
- %endif
- %if %{with systemd}
- %post lpd
- %systemd_post cups-lpd.socket
- exit 0
- %endif
- %preun
- %if %{with systemd}
- %systemd_preun %{name}.path %{name}.socket %{name}.service
- %else
- if [ "$1" = "0" -o -x /bin/systemctl ]; then
- /sbin/service cups stop > /dev/null 2>&1
- /sbin/chkconfig --del cups
- fi
- exit 0
- %endif
- %preun client
- %if %{use_alternatives}
- if [ $1 -eq 0 ] ; then
- /usr/sbin/alternatives --remove print %{_bindir}/lpr.cups
- fi
- %endif
- exit 0
- %if %{with systemd}
- %preun lpd
- %systemd_preun cups-lpd.socket
- exit 0
- %endif
- %if %{with systemd}
- %postun
- %systemd_postun_with_restart %{name}.path %{name}.socket %{name}.service
- %endif
- if [ "$1" -ge "1" ]; then
- /sbin/service cups condrestart > /dev/null 2>&1
- fi
- exit 0
- %if %{with systemd}
- %postun lpd
- %systemd_postun_with_restart cups-lpd.socket
- exit 0
- %endif
- %triggerin -- samba-client
- ln -sf ../../../bin/smbspool %{_libdir}/cups/backend/smb || :
- exit 0
- %triggerun -- samba-client
- [ $2 = 0 ] || exit 0
- rm -f %{_libdir}/cups/backend/smb
- %files
- %defattr(-,root,root)
- %license LICENSE
- %license NOTICE
- %doc README.md CREDITS.md CHANGES.md
- %attr(0660,root,lp) %dev(char,6,0) /lib/udev/devices/lp0
- %attr(0660,root,lp) %dev(char,6,1) /lib/udev/devices/lp1
- %attr(0660,root,lp) %dev(char,6,2) /lib/udev/devices/lp2
- %attr(0660,root,lp) %dev(char,6,3) /lib/udev/devices/lp3
- %dir %attr(0755,root,lp) %{_sysconfdir}/cups
- %config(noreplace) %attr(0640,root,lp) %{_sysconfdir}/cups/cupsd.conf
- %attr(0640,root,lp) %{_sysconfdir}/cups/cupsd.conf.default
- %config(noreplace) %attr(0600,root,lp) %{_sysconfdir}/cups/classes.conf
- %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/client.conf
- %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/cups-files.conf
- %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/cups-files.conf.default
- #%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/pdftops.conf
- %config(noreplace) %attr(0600,root,lp) %{_sysconfdir}/cups/printers.conf
- %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/snmp.conf
- %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/snmp.conf.default
- %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/subscriptions.conf
- #config(noreplace) %{_sysconfdir}/cups/mime.types
- #config(noreplace) %{_sysconfdir}/cups/mime.convs
- #%config(noreplace) %{_sysconfdir}/cups/pstoraster.convs
- %config(noreplace) %{_sysconfdir}/cups/dvitops.types
- %config(noreplace) %{_sysconfdir}/cups/dvitops.convs
- %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/lpoptions
- %dir %attr(0755,root,lp) %{_sysconfdir}/cups/ppd
- %dir %attr(0700,root,lp) %{_sysconfdir}/cups/ssl
- %config(noreplace) %{_sysconfdir}/pam.d/cups
- %if %{with systemd}
- %{_unitdir}/%{name}.service
- %{_unitdir}/%{name}.socket
- %{_unitdir}/%{name}.path
- %config(noreplace) %{_tmpfilesdir}/cups*.conf
- %else
- %config(noreplace) %{_sysconfdir}/logrotate.d/cups
- %config(noreplace) %{_sysconfdir}/xinetd.d/cups-lpd
- %dir %attr(0755,root,lp) /var/run/cups
- %dir %attr(0511,lp,sys) /var/run/cups/certs
- %config(noreplace) %{initdir}/cups
- %endif
- %{_bindir}/cupstestppd
- #{_bindir}/cupstestdsc
- %{_bindir}/ippfind
- %{_bindir}/ipptool
- %{_bindir}/ppd*
- %dir %{_libdir}/cups
- %{_libdir}/cups/backend
- %{_libdir}/cups/cgi-bin
- %dir %{_libdir}/cups/daemon
- %{_libdir}/cups/daemon/cups-exec
- %{_libdir}/cups/daemon/cups-deviced
- %{_libdir}/cups/daemon/cups-driverd
- %{_libdir}/cups/notifier
- %{_libdir}/cups/filter
- %{_libdir}/cups/monitor
- %{_libdir}/cups/driver
- %{_mandir}/man1/cups.1*
- %{_mandir}/man1/cupstest*
- %{_mandir}/man1/ipp*
- %{_mandir}/man1/ppd*
- %{_mandir}/man[578]/*
- %{_sbindir}/*
- %exclude %{_sbindir}/lpc.cups
- %{_datadir}/cups
- %{_datadir}/locale/*/*
- %{_datadir}/ppd
- %dir %attr(1770,root,lp) /var/spool/cups/tmp
- %dir %attr(0710,root,lp) /var/spool/cups
- %dir %attr(0755,lp,sys) /var/log/cups
- %{_datadir}/pixmaps/cupsprinter.png
- %{_sysconfdir}/cron.daily/cups
- %config(noreplace) %{_sysconfdir}/dbus-1/system.d/cups.conf
- %dir %{_libdir}/cups/command
- %{_libdir}/cups/command/ippevepcl
- %{_libdir}/cups/command/ippeveps
- %files libs
- %defattr(-,root,root)
- %license LICENSE
- %license NOTICE
- %{_libdir}/*.so.*
- %files devel
- %defattr(-,root,root)
- %{_bindir}/cups-config
- %{_libdir}/pkgconfig/*
- %{_libdir}/*.so
- %{_includedir}/cups
- %{_mandir}/man1/cups-config.1*
- %{_sysconfdir}/rpm/macros.cups
- %files client
- %{_sbindir}/lpc.cups
- %{_bindir}/cancel*
- %{_bindir}/lp*
- %{_mandir}/man1/lp*.1.gz
- %{_mandir}/man1/cancel-cups.1.gz
- %{_mandir}/man8/lpc-cups.8.gz
- %{_bindir}/ippeveprinter
- %{_mandir}/man1/ippeveprinter.1.gz
- %files lpd
- %defattr(-,root,root)
- %if %{with systemd}
- %{_unitdir}/cups-lpd.socket
- %{_unitdir}/cups-lpd@.service
- %endif
- %{_libdir}/cups/daemon/cups-lpd
- %{_mandir}/man8/cups-lpd.8.gz
- %if %{build_compat32}
- %files -n compat32-%{name}-devel
- %defattr(-,root,root)
- %{_libdir}/*.so
- %files -n compat32-%{name}-libs
- %license LICENSE
- %license NOTICE
- %defattr(-,root,root)
- %{_libdir}/*.so.*
- %endif
- %changelog
- * Tue Jun 18 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.10-1
- - new upstream release.
- * Wed Jun 12 2024 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.9-1
- - new upstream release.
- * Tue Oct 03 2023 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.4.7-1
- - new upstream release.
- - dropped to support 32bit drivers.
- * Sun Nov 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.3-2
- - shifted to OpenPrinting version.
- * Fri May 22 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.3-1
- - new upstream release.
- - added systemd support (disabled as default).
- - splitted the main package into 3 subpackages: cups, cups-client, cups-lpd.
- * Wed May 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.11-1
- - new upstream release.
- * Thu Jan 24 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.10-1
- - new upstream release.
- - dropped Patch10-11, 14, 17, 19-20, 27-28, 33-34 and 38.
- * Wed Jan 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.6-1
- - new upstream release.
- - replaced all patches from rawhide.
- - updated Patch102.
- * Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.4-2
- - rebuilt with new toolchain.
- * Thu Jun 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.4-1
- - new upstream release.
- * Sat May 14 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-3
- - changed R:openssl-devel in cups-devel to R:gnutls-devel.
- - added R:e2fsprogs-devel to cups-devel.
- * Tue May 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-2
- - rebuilt with gnutls.
- * Sat Feb 6 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-1
- - new upstream release.
- * Thu Dec 3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.2-1
- - new upstream release.
- * Wed Dec 2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.1-1
- - new upstream release.
- * Sun Oct 4 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-1
- - new upstream release.
- * Tue Jun 9 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.3-1
- - new upstream release.
- * Tue Feb 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.2-1
- - new upstream release.
- * Sun Oct 5 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.0-1
- - new upstream release.
- * Sun Jun 8 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.3-1
- - new upstream release.
- - removed Patch100 (fixed in upstream).
- * Tue Feb 11 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.1-1
- - new upstream release.
- * Sat Jan 04 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.0-1
- - new upstream release.
- * Tue Apr 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-6
- - modified initscript and added Patch104 to deal with wrong drivers.
- * Sun Feb 12 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-5
- - fixed %%changelog.
- * Sun Feb 12 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-4
- - removed /etc/cups/mime.{convs,types}.
- * Fri Feb 10 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-3
- - replaced some patches.
- - fixed to print splitted images (BTS:1217).
- * Sat Sep 10 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-2
- - added Patch103 to detect printers with 32bit drivers.
- * Thu Sep 08 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-1
- - new upstream release (against CVE-2011-2896).
- - added str3914.patch (against CVE-2011-3170).
- - updated patches.
- * Sun May 29 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.6-2
- - added Patch101.
- * Tue Mar 22 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.6-1
- - new upstream release.
- - dropped old patches.
- - shipped some patches from fedora development.
- * Sun Jul 4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-6
- - add --disable-slp option in configure
- * Sun Jul 4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-5
- - add Patch340 for fix CVE-2009-2820
- - add Patch350 for fix CVE-2009-3553
- - patch340,350 are from rhel5
- * Sun Jul 4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-4
- - fix changelog typo
- - add Patch310 for fix CVE-2010-0540 (texttop)
- - add Patch320 for fix CVE-2010-0542 (web IF CSRF)
- - add Patch330 for fix CVE-2010-1748 (web IF uninit memory read)
- * Sun Mar 7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-3
- - setuid 0 to lppasswd binary
- * Sat Mar 6 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-2
- - add Patch300 for fix CVE-2010-0393 (lppasswd)
- * Fri Jul 10 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.11-1
- - new upstream release
- * Sun Jun 28 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.3.10-2
- - Build requires krb5-devel.
- - The devel sub-package requires krb5-devel.
- * Thu Jun 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.10-1
- - new upstream release
- - remove LC_ALL from cjktexttops
- * Sat Apr 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.9-4
- - rebuild with openldap-2.4.11
- * Mon Mar 23 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.9-3
- - add /usr/lib/cups for 32bit binary drivers on x86_64.
- * Sat Jan 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3.9-2
- - rebuild with gnutls-2.6.3
- * Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.9-1
- - new upstream release
- - renumber fedora patches
- - remove hal patch, hal backend module is now provided by hal-cups-utils
- * Mon Apr 21 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.3.7-2
- - remove libacl from dependency.
- * Fri Apr 18 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.3.7-1
- - new upstream release.
- - ship some patches from Fedora development.
- * Sun Aug 26 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.23-0vl13
- - add Patch300 and Patch310 for CVE-2007-0104 and CVE-2007-3387 respectively
- (same fixes for 1.1.23-0vl7.1 for Vine-4.1)
- * Sat May 26 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-0vl12
- - enabled Patch20: cups-gcc4.patch
- * Mon May 21 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.23-0vl11
- - always do %%configure on all archs (due to autoconf upgrade)
- * Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl10
- - rebuild with new openssl
- * Thu May 03 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-0vl9
- - added compat32 subpackage for x86_64 arch support.
- * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl8
- - rebuild with dbus-1.0
- * Fri Oct 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl7
- - add Patch50, Source20 to support hal backend.
- * Thu Jun 29 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl6
- - add cjktexttops to use mpage for text-ps filter
- (Source18, Patch210)
- - mark mime.convs and mime.types as config file
- * Sat Mar 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl5
- - add Patch43 for dbus support
- - add Patch200 to support UTF-8 ppd files
- * Wed Feb 15 2006 Shu KONNO <owa@bg.wakwak.com> 1.1.23-0vl4
- - fixed cups-link.patch of missing "-L../cups"
- - added %%configure for x86_64 architecture support
- * Sat Jan 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl3
- - import some FC patches
- - fix several security bugs
- - CVS-2005-3625,CVS-2005-3626,CVS-2005-3627
- - CAN-2005-2097
- - CAN-2004-0888
- - CAN-2005-0064
- - apply upstream patches
- * Sun Mar 27 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl2
- - added dvitops, dvitops.convs and dvitops.types
- * Tue Jan 04 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl1
- - new upstream version(cups-1.1.23)
- - removed unused patches
- * Fri Dec 31 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl0.1rc1
- - added cups-1.1.23rc1-scheduler_client.patch
- -- special thanks to kmuto@debian.org
- * Mon Dec 20 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl0.0rc1
- - new upstream version (cups-1.1.23rc1)
- * Wed Nov 03 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl1
- - new upstream version (cups-1.1.22)
- -- updated cups-resource-ja-1.1.22
- * Sun Oct 17 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl0.0rc2
- - new upstream version (cups-1.1.22rc2)
- * Wed Oct 06 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl0.0rc1
- - new upstream version (cups-1.1.22rc1)
- * Thu Sep 16 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl1
- - new upstream version (cups-1.1.21)
- * Thu Aug 26 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.1rc2
- - added some txt files in docdir
- * Wed Aug 25 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.0rc2
- - new upstream version (cups-1.1.21rc2)
- - updated to cups-1.1.21rc2-makefile.patch(patch11)
- * Sun May 30 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.0rc1
- - new upstream version (cups-1.1.21rc1)
- - updated cups-resource-ja-1.1.21.tar.bz2
- - updated ppdsdat.patch
- - dropped system-auth.patch
- * Fri Apr 23 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl6
- - updated pstorater to v1.6
- * Sun Apr 18 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl5
- - removed README.vine
- * Thu Apr 15 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.1.20-0vl4
- - rebuild
- * Wed Dec 10 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl3
- - fixed DefaultCharset in cupsd.conf
- * Mon Dec 08 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl2
- - added PCL XL/PCL 6 PPD and filter from ESP gs-7.07.1
- - updated pstoraster
- * Sun Dec 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl1
- - new upstream version (cups-1.1.20)
- -- fixed resource-ja
- -- changed DefaultCharset in cupsd.conf
- -- removed patch100
- - raised update-alternatives's priority to 50
- * Sat Nov 15 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl6
- - added Patch11 (cups-1.1.19-makefile.patch)
- -- fixed makefile
- - added resource-ja (imported from cups-1.2.x)
- - added Patch100(cups-1.1.19-lang-adhoc.patch)
- -- fixed "DefaultCharset EUC-JP" in cupsd.conf
- -- Don't fallback to C locale in setlocale()
- * Fri Nov 14 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl5
- - merged to 1.1.20rc6 patch
- - dropped patches
- --cups-idefense-v2.patch, cups-1.1.17-sanity.patch
- - deleted needless dependence in Obsoletes
- * Thu Nov 13 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl4
- - fixed init script for logrotation
- * Sun Oct 26 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl3
- - fixed coding system in spec file
- - updated README.vine
- * Mon Jul 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl2
- - added cups-1.1.17-sanity.patch
- - added Japanese descriptions
- * Fri Jun 06 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl1
- - fixed spec file
- * Thu Jun 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl0.1
- - new upstream vrsion
- - remade spec file
- * Sun May 18 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0.rc5vl1
- -- disable D-BUS.
- - new upstream version
- - added some fixes. from cups-1.1.19-0.rc5.2
- -- disable D-BUS.
- -- Fix option parsing in lpq (bug #90823).
- -- No longer need error, sigchld patches.
- -- Ship cupstestppd.
- -- Mark banners as config files (bug #89069).
- * Fri Apr 18 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl2
- - imported some patches from rawhide (cups-1.1.18-2)
- -- added cups-idefense-v2.patch
- -- added cups-1.1.17-pdftops.patch
- -- added cups-1.1.17-error.patch
- -- added cups-1.1.17-rcp.patch
- -- added cups-1.1.17-ppdsdat.patch
- -- added cups-1.1.17-sigchld.patch
- - Fix translation in the init script
- - Build ppds.dat on first install.
- - Use pkg-config information to find SSL libraries
- - Make 'service cups reload' update the configuration first
- - added README.vine
- * Sun Jan 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl1
- - fixed alternative path
- * Fri Dec 27 2002 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl0
- - New upstream version
- - dropped patch4 (merged cups-1.1.18)
- - dropped epoch tag
- * Thu Dec 26 2002 Satoshi MACHINO <machino@vinelinux.org> 1.1.17-3vl0
- - build on Vine Linux
- * Tue Dec 10 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-3
- - Fix cupsd startup hang (bug #79346).
- * Mon Dec 9 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-2
- - Fix parallel backend behaviour when cancelling jobs.
- * Mon Dec 9 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-1
- - 1.1.17.
- - No longer need libdir patch.
- - Fix logrotate script (bug #76791).
- * Wed Nov 20 2002 Tim Waugh <twaugh@redhat.com>
- - Build requires XFree86-devel (bug #78362).
- * Wed Nov 20 2002 Tim Waugh <twaugh@redhat.com>
- - 1.1.16.
- - Updated system-auth patch.
- - Add ncp backend script.
- * Wed Nov 13 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-15
- - Set alternatives priority to 40.
- * Mon Nov 11 2002 Nalin Dahyabhai <nalin@redhat.com> 1.1.15-14
- - Buildrequire pam-devel.
- - Patch default PAM config file to remove directory names from module paths,
- allowing the configuration files to work equally well on multilib systems.
- - Patch default PAM config file to use system-auth, require the file at build-
- time because that's what data/Makefile checks for.
- * Fri Nov 8 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-13
- - Use logrotate for log rotation (bug #76791).
- - No longer need cups.desktop, since redhat-config-printer handles it.
- * Thu Oct 17 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-12
- - Revert to libdir for CUPS_SERVERBIN.
- * Thu Oct 17 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-11
- - Use %%configure for multilib correctness.
- - Use libexec instead of lib for CUPS_SERVERBIN.
- - Ship translated man pages.
- - Remove unshipped files.
- - Fix file list permissions (bug #59021, bug #74738).
- - Fix messy initscript output (bug #65857).
- - Add 'reload' to initscript (bug #76114).
- * Fri Aug 30 2002 Bernhard Rosenkraenzer <bero@redhat.de> 1.1.15-10
- - Add generic postscript PPD file (#73061)
- * Mon Aug 19 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-9
- - Fix prefix in pstoraster (bug #69573).
- * Mon Aug 19 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-8
- - Disable cups-lpd by default (bug #71712).
- - No need for fread patch now that glibc is fixed.
- * Thu Aug 15 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-7
- - Really add cups-lpd xinetd file (bug #63919).
- - Ship pstoraster (bug #69573).
- - Prevent fread from trying to read from beyond EOF (fixes a segfault
- with new glibc).
- * Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> 1.1.15-6
- - rebuilt with gcc-3.2 (we hope)
- * Mon Aug 5 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-5
- - Add cups-lpd xinetd file (#63919)
- * Tue Jul 23 2002 Florian La Roche <Florian.LaRoche@redhat.de> 1.1.15-4
- - add a "exit 0" to postun script
- * Tue Jul 2 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-3
- - Add a symlink /usr/share/cups/doc -> /usr/share/doc/cups-devel-1.1.15
- because some applications expect to find the cups docs in
- /usr/share/cups/doc
- * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
- - automated rebuild
- * Fri Jun 21 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-1
- - 1.1.15-1
- - Fix up smb printing trigger (samba-client, not samba-clients)
- - Start cupsd earlier, apparently it needs to be running before samba
- starts up for smb printing to work.
- * Thu May 23 2002 Tim Powers <timp@redhat.com>
- - automated rebuild
- * Tue May 7 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-17
- - Rebuild in current environment
- - [-16 never existed because of build system breakage]
- * Wed Apr 17 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-15
- - Fix bug #63387
- * Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14
- - Fix dangling symlink created by samba-clients trigger
- * Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13
- - Add desktop file and icon for CUPS configuration
- * Wed Apr 3 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12
- - Support SMB printing (#62407)
- - Add HTML redirections to doc files to work around users mistaking
- /usr/share/doc/cups-1.1.14 for the web frontend (#62405)
- * Tue Apr 2 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11
- - fix subsys in initscript (#59206)
- - don't strip binaries
- * Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10
- - Make initscript use killproc instead of killall
- * Fri Mar 8 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9
- - use alternatives --initscript support
- * Mon Mar 4 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8
- - use the right path for the lpc man page, duh
- * Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7
- - lpc man page is alternative too
- - run ldconfig in -libs %post/%postun, not main
- - remove alternatives in %preun
- * Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6
- - don't source /etc/sysconfig/network in cups.init, we don't use any
- values from it
- * Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4
- - Fix bugs #60220 and #60352
- * Thu Feb 21 2002 Tim Powers <timp@redhat.com>
- - rebuild against correct version of openssl (0.9.6b)
- * Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2
- - Add all man pages to alternatives (#59943)
- - Update to real 1.1.14
- * Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1
- - Update to almost-1.1.14
- * Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5
- - Move cups-config to cups-devel subpackage
- - Make alternatives usage a %%define to simplify builds for earlier
- releases
- - Explicitly provide things we're supplying through alternatives
- to shut up kdeutils dependencies
- * Tue Feb 5 2002 Tim Powers <timp@redhat.com>
- - shut the alternatives stuff up for good
- * Fri Feb 1 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3
- - Fix alternatives stuff
- - Don't display error messages in %%post
- * Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2
- - alternatives stuff
- * Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1
- - 1.1.13
- - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018)
- - Rename init scripts so we can safely "killall cupsd" from there
- * Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1
- - Initial (conflicting, since alternatives isn't there yet) packaging for
- Red Hat Linux
- * Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com>
- - 1.1.12
- * Mon Nov 5 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3
- - Compress PPD files
- - Fix build with gcc 3.1
- - Fix init script
- * Tue Sep 4 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2
- - Fix URL
- - Generate printcap
- - s/Copyright/License/g
- * Tue Sep 4 2001 Than Ngo <than@redhat.com> 1.1.10-1
- - update to 1.1.10-1 for ExtraBinge 7.2
- * Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com>
- - update to 1.1.8
- - changed cupsd.conf to generate /etc/printcap
- * Tue May 15 2001 Than Ngo <than@redhat.com>
- - update to 1.1.7, bugfixes
- * Thu Dec 14 2000 Than Ngo <than@redhat.com>
- - fixed package dependency with lpr and LPRng
- * Wed Oct 25 2000 Than Ngo <than@redhat.com>
- - remove man/cat
- * Tue Oct 24 2000 Than Ngo <than@redhat.com>
- - don't start cupsd service in level 0, fixed
- * Thu Oct 19 2000 Than Ngo <than@redhat.com>
- - update to 1.1.4
- - fix CUPS_DOCROOT (Bug #18717)
- * Fri Aug 11 2000 Than Ngo <than@redhat.de>
- - update to 1.1.2 (Bugfix release)
- * Fri Aug 4 2000 Than Ngo <than@redhat.de>
- - fix, cupsd read config file under /etc/cups (Bug #15432)
- - add missing cups filters
- * Wed Aug 2 2000 Tim Powers <timp@redhat.com>
- - rebuilt against libpng-1.0.8
- * Tue Aug 01 2000 Than Ngo <than@redhat.de>
- - fix permission, add missing ldconfig in %post and %postun (Bug #14963)
- * Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
- - 1.1.1 (this has some major bugfixes)
- - Fix a typo in initscript (it's $?, not ?$)
- - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!)
- - Create the spool dir
- * Fri Jul 28 2000 Than Ngo <than@redhat.de>
- - fix unclean code for building against gcc-2.96
- - add missing restart function in startup script
- * Fri Jul 28 2000 Tim Powers <timp@redhat.com>
- - fixed initscript so that conrestart doesn't return 1 if the test fails
- * Mon Jul 24 2000 Prospector <prospector@redhat.com>
- - rebuilt
- * Wed Jul 19 2000 Than Ngo <than@redhat.de>
- - using service to fire them up
- - fix Prereq section
- * Mon Jul 17 2000 Tim Powers <timp@redhat.com>
- - added defattr to the devel package
- * Sun Jul 16 2000 Than Ngo <than@redhat.de>
- - add cups config files
- * Sat Jul 15 2000 Than Ngo <than@redhat.de>
- - update to 1.1 release
- - move back to /etc/rc.d/init.d
- - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d
- - split cups
- * Wed Jul 12 2000 Than Ngo <than@redhat.de>
- - rebuilt
- * Thu Jul 06 2000 Tim Powers <timp@redhat.com>
- - fixed broken PreReq to now require /etc/init.d
- * Tue Jun 27 2000 Tim Powers <timp@redhat.com>
- - PreReq initscripts >= 5.20
- * Mon Jun 26 2000 Tim Powers <timp@redhat.com>
- - started changelog
- - fixed init.d script location
- - changed script in init.d quite a bit and made more like the rest of our
- startup scripts
|