cups-vl.spec 40 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174
  1. %define _libexecdir %{_libdir}
  2. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  3. %define initdir %{_sysconfdir}/rc.d/init.d
  4. %define use_alternatives 1
  5. %define use_dbus 1
  6. %define use_avahi 1
  7. Summary: Common Unix Printing System
  8. Name: cups
  9. Version: 1.4.8
  10. Release: 2%{?_dist_release}
  11. License: GPL
  12. Group: System Environment/Daemons
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: daisuke, tomop
  16. Source: http://ftp.easysw.com/pub/cups/%{version}/cups-%{version}-source.tar.bz2
  17. # Our initscript
  18. Source1: cups.init
  19. # Pixmap for desktop file
  20. Source2: cupsprinter.png
  21. # udev rules for libusb devices
  22. Source3: cups-libusb.rules
  23. # LSPP-required ps->pdf filter
  24. Source4: pstopdf
  25. # xinetd config file for cups-lpd service
  26. Source5: cups-lpd
  27. # Logrotate configuration
  28. Source6: cups.logrotate
  29. # Backend for NCP protocol
  30. Source7: ncp.backend
  31. # Cron-based tmpwatch for /var/spool/cups/tmp
  32. Source8: cups.cron
  33. # Filter and PPD for textonly printing
  34. Source9: textonly.filter
  35. Source10: textonly.ppd
  36. Source101: http://www.openprinting.org/download/printing/dnssd
  37. Source102: pstoraster
  38. Source103: pstoraster.convs
  39. Source104: postscript.ppd.gz
  40. Source105: pdftops.conf
  41. Source201: dvitops
  42. Source202: dvitops.convs
  43. Source203: dvitops.types
  44. Source204: cjktexttops
  45. Source206: pxlmono.ppd.gz
  46. Source207: pxlcolor.ppd.gz
  47. Source208: cups.conf
  48. Patch1: cups-no-gzip-man.patch
  49. Patch2: cups-1.1.16-system-auth.patch
  50. Patch3: cups-multilib.patch
  51. Patch4: cups-serial.patch
  52. Patch5: cups-banners.patch
  53. Patch6: cups-serverbin-compat.patch
  54. Patch7: cups-no-export-ssllibs.patch
  55. Patch8: cups-direct-usb.patch
  56. Patch9: cups-lpr-help.patch
  57. Patch10: cups-peercred.patch
  58. Patch11: cups-pid.patch
  59. Patch12: cups-page-label.patch
  60. Patch13: cups-eggcups.patch
  61. Patch14: cups-getpass.patch
  62. Patch15: cups-driverd-timeout.patch
  63. Patch16: cups-strict-ppd-line-length.patch
  64. Patch17: cups-logrotate.patch
  65. Patch18: cups-usb-paperout.patch
  66. Patch19: cups-build.patch
  67. Patch20: cups-res_init.patch
  68. Patch21: cups-filter-debug.patch
  69. Patch22: cups-uri-compat.patch
  70. Patch23: cups-cups-get-classes.patch
  71. Patch24: cups-str3382.patch
  72. Patch25: cups-force-gnutls.patch
  73. Patch26: cups-serialize-gnutls.patch
  74. Patch27: cups-0755.patch
  75. Patch28: cups-snmp-quirks.patch
  76. Patch29: cups-hp-deviceid-oid.patch
  77. Patch30: cups-dnssd-deviceid.patch
  78. Patch31: cups-ricoh-deviceid-oid.patch
  79. Patch32: cups-texttops-rotate-page.patch
  80. Patch33: cups-usb-parallel.patch
  81. Patch34: cups-str3535.patch
  82. Patch35: cups-polld-busy-loop.patch
  83. Patch36: cups-CVE-2011-2896.patch
  84. Patch40: cups-avahi-1-config.patch
  85. Patch41: cups-avahi-2-backend.patch
  86. Patch42: cups-avahi-3-timeouts.patch
  87. Patch43: cups-avahi-4-poll.patch
  88. Patch44: cups-avahi-5-services.patch
  89. Patch45: cups-icc.patch
  90. Patch100: cups-1.4.6-fix-template-ja.patch
  91. Patch101: cups-1.4.6-pstext-utf8.patch
  92. Patch102: cups-serverbin-compat2.patch
  93. Patch103: cups-serverbin-compat3.patch
  94. # security fix
  95. Patch1000: cups-str3914.patch
  96. Url: http://www.cups.org/
  97. BuildRoot: %{_tmppath}/%{name}-root
  98. Requires(pre): chkconfig initscripts perl alternatives
  99. Requires: %{name}-libs = %{version}-%{release}
  100. Requires: tmpwatch
  101. %if %use_alternatives
  102. Provides: /usr/bin/lpq /usr/bin/lpr /usr/bin/lp /usr/bin/cancel /usr/bin/lprm /usr/bin/lpstat
  103. Requires(pre): alternatives
  104. %else
  105. Obsoletes: lpd lpr LPRng printtool
  106. Provides: lpd lpr LPRng
  107. %endif
  108. BuildRequires: pam-devel pkgconfig
  109. BuildRequires: gnutls-devel
  110. BuildRequires: libacl-devel
  111. BuildRequires: openldap-devel
  112. BuildRequires: aspell-devel
  113. BuildRequires: libjpeg-devel
  114. BuildRequires: libpng-devel
  115. BuildRequires: libtiff-devel
  116. BuildRequires: krb5-devel
  117. BuildRequires: e2fsprogs-devel
  118. BuildRequires: poppler-utils
  119. %if %use_dbus
  120. BuildRequires: dbus-devel >= 0.90
  121. Requires: dbus >= 0.90
  122. %endif
  123. %if %use_avahi
  124. BuildRequires: avahi-devel >= 0.6.20
  125. Requires: avahi >= 0.6.20
  126. Requires: avahi-tools
  127. %endif
  128. Requires: poppler-utils
  129. %package devel
  130. Summary: Common Unix Printing System - development environment
  131. Group: Development/Libraries
  132. Requires: %{name}-libs = %{version}-%{release}
  133. Requires: gnutls-devel
  134. Requires: krb5-devel
  135. Requires: zlib-devel
  136. License: LGPL
  137. %package libs
  138. Summary: Common Unix Printing System - libraries
  139. Group: System Environment/Libraries
  140. License: LGPL
  141. %package -n compat32-%{name}-libs
  142. Summary: Common Unix Printing System - libraries
  143. Group: System Environment/Libraries
  144. %package -n compat32-%{name}-devel
  145. Summary: Common Unix Printing System - development environment
  146. Group: Development/Libraries
  147. Requires: compat32-%{name}-libs = %{version}-%{release}
  148. Requires: %{name}-devel = %{version}-%{release}
  149. Requires: compat32-gnutls-devel
  150. Requires: compat32-krb5-devel
  151. Requires: compat32-zlib-devel
  152. %description
  153. The Common UNIX Printing System provides a portable printing layer for
  154. UNIX. operating systems. It has been developed by Easy Software Products
  155. to promote a standard printing solution for all UNIX vendors and users.
  156. CUPS provides the System V and Berkeley command-line interfaces.
  157. If you want to use CUPS on VineLinux, you should rebuild ghostscript package.
  158. Please read README.vine in your CUPS's document dir.
  159. #'
  160. %description -l ja
  161. Common UNIX Printing SystemはUNIX操作環境においてポータブルな印刷環境を提供します。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューションを提供するためにEasy Software Productsで開発されました。CUPSはSystem VやBerkeleyコマンドラインなインターフェースを提供します。
  162. %description devel
  163. The Common UNIX Printing System provides a portable printing layer for
  164. UNIX. operating systems. This is the development package for creating
  165. additional printer drivers, and other CUPS services.
  166. %description devel -l ja
  167. Common UNIX Printing SystemはUNIX操作環境においてポータブルな印刷環境を提供しま\す。このパッケージはプリンタドライバを追加したり他のCUPSサービスを開発するためのパッケージです。
  168. %description libs
  169. The Common UNIX Printing System provides a portable printing layer for
  170. UNIXョ operating systems. It has been developed by Easy Software Products
  171. to promote a standard printing solution for all UNIX vendors and users.
  172. CUPS provides the System V and Berkeley command-line interfaces.
  173. The cups-libs package provides libraries used by applications to use CUPS
  174. natively, without needing the lp/lpr commands.
  175. %description libs -l ja
  176. Common UNIX Printing SystemはUNIX操作環境においてポータブルな印刷環境を提供しま\す。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューションを提供するためにEasy Software Productsで開発されました。CUPSはSystem VやBerkeleyコマンドラインなインターフェースを提供します。cups-libsパッケージはlp/lprコマンドを必要としないCUPSネイティブなアプリケーションから使われるライブラリ類です。
  177. %description -n compat32-%{name}-libs
  178. The Common UNIX Printing System provides a portable printing layer for
  179. UNIXョ operating systems. It has been developed by Easy Software Products
  180. to promote a standard printing solution for all UNIX vendors and users.
  181. CUPS provides the System V and Berkeley command-line interfaces.
  182. The cups-libs package provides libraries used by applications to use CUPS
  183. natively, without needing the lp/lpr commands.
  184. %description -n compat32-%{name}-libs -l ja
  185. Common UNIX Printing SystemはUNIX操作環境においてポータブルな印刷環境を提供しま\す。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューションを提供するためにEasy Software Productsで開発されました。CUPSはSystem VやBerkeleyコマンドラインなインターフェースを提供します。cups-libsパッケージはlp/lprコマンドを必要としないCUPSネイティブなアプリケーションから使われるライブラリ類です。
  186. %description -n compat32-%{name}-devel
  187. The Common UNIX Printing System provides a portable printing layer for
  188. UNIX. operating systems. This is the development package for creating
  189. additional printer drivers, and other CUPS services.
  190. %description -n compat32-%{name}-devel -l ja
  191. Common UNIX Printing SystemはUNIX操作環境においてポータブルな印刷環境を提供しま\す。このパッケージはプリンタドライバを追加したり他のCUPSサービスを開発するためのパッケージです。
  192. %prep
  193. %setup -q -n %{name}-%{version}
  194. # Don't gzip man pages in the Makefile, let rpmbuild do it.
  195. %patch1 -p1 -b .no-gzip-man
  196. # Use the system pam configuration.
  197. %patch2 -p1 -b .system-auth
  198. # Prevent multilib conflict in cups-config script.
  199. %patch3 -p1 -b .multilib
  200. # Fix compilation of serial backend.
  201. %patch4 -p1 -b .serial
  202. # Ignore rpm save/new files in the banners directory.
  203. %patch5 -p1 -b .banners
  204. # Use compatibility fallback path for ServerBin.
  205. %patch6 -p1 -b .serverbin-compat
  206. # Don't export SSLLIBS to cups-config.
  207. %patch7 -p1 -b .no-export-ssllibs
  208. # Allow file-based usb device URIs.
  209. %patch8 -p1 -b .direct-usb
  210. # Add --help option to lpr.
  211. %patch9 -p1 -b .lpr-help
  212. # Fix compilation of peer credentials support.
  213. %patch10 -p1 -b .peercred
  214. # Maintain a cupsd.pid file.
  215. %patch11 -p1 -b .pid
  216. # Fix orientation of page labels.
  217. %patch12 -p1 -b .page-label
  218. # Fix implementation of com.redhat.PrinterSpooler D-Bus object.
  219. %patch13 -p1 -b .eggcups
  220. # More sophisticated implementation of cupsGetPassword than getpass.
  221. %patch14 -p1 -b .getpass
  222. # Increase driverd timeout to 70s to accommodate foomatic.
  223. %patch15 -p1 -b .driverd-timeout
  224. # Only enforce maximum PPD line length when in strict mode.
  225. %patch16 -p1 -b .strict-ppd-line-length
  226. # Re-open the log if it has been logrotated under us.
  227. %patch17 -p1 -b .logrotate
  228. # Support for errno==ENOSPACE-based USB paper-out reporting.
  229. %patch18 -p1 -b .usb-paperout
  230. # Simplify the DNSSD parts so they can build using the compat library.
  231. %patch19 -p1 -b .build
  232. # Re-initialise the resolver on failure in httpAddrGetList().
  233. %patch20 -p1 -b .res_init
  234. # Log extra debugging information if no filters are available.
  235. %patch21 -p1 -b .filter-debug
  236. # Allow the usb backend to understand old-style URI formats.
  237. %patch22 -p1 -b .uri-compat
  238. # Fix support for older CUPS servers in cupsGetDests.
  239. %patch23 -p1 -b .cups-get-classes
  240. # Fix temporary filename creation.
  241. %patch24 -p1 -b .str3382
  242. # Force the use of gnutls despite thread-safety concerns (bug #607159).
  243. %patch25 -p1 -b .force-gnutls
  244. # Perform locking for gnutls and avoid libgcrypt's broken
  245. # locking (bug #607159).
  246. %patch26 -p1 -b .serialize-gnutls
  247. # Use mode 0755 for binaries and libraries where appropriate.
  248. %patch27 -p1 -b .0755
  249. # Handle SNMP supply level quirks (bug #581825).
  250. %patch28 -p1 -b .snmp-quirks
  251. # Add an SNMP query for HP's device ID OID (STR #3552).
  252. %patch29 -p1 -b .hp-deviceid-oid
  253. # Mark DNS-SD Device IDs that have been guessed at with "FZY:1;".
  254. %patch30 -p1 -b .dnssd-deviceid
  255. # Add an SNMP query for Ricoh's device ID OID (STR #3552).
  256. %patch31 -p1 -b .ricoh-deviceid-oid
  257. # Adjust texttops output to be in natural orientation (STR #3563).
  258. # This fixes page-label orientation when texttops is used in the
  259. # filter chain (bug #572338).
  260. %patch32 -p1 -b .texttops-rotate-page
  261. # Use numeric addresses for interfaces unless HostNameLookups are
  262. # turned on (bug #583054).
  263. # Till's patch to fix USB-Parallel adapter cable problem (bug #624564).
  264. %patch33 -p1 -b .usb-parallel
  265. # Set the default RIPCache to 128m (STR #3535, bug #549901).
  266. %patch34 -p1 -b .str3535
  267. # Avoid busy loop in cups-polld (bug #720921).
  268. %patch35 -p1 -b .polld-busy-loop
  269. # Avahi support:
  270. # - discovery in the dnssd backend
  271. # - service announcement in the scheduler
  272. %patch40 -p1 -b .avahi-1-config
  273. %patch41 -p1 -b .avahi-2-backend
  274. %patch42 -p1 -b .avahi-3-timeouts
  275. %patch43 -p1 -b .avahi-4-poll
  276. %patch44 -p1 -b .avahi-5-services
  277. # ICC colord support.
  278. %patch45 -p1 -b .icc
  279. %patch100 -p1 -b .template-ja
  280. %patch101 -p1 -b .pstext
  281. %patch102 -p0 -b .serverbin-compat2
  282. %patch103 -p0 -b .serverbin-compat3
  283. # security fix
  284. %patch1000 -p0 -b .str3914
  285. # make to use cjktexttops instead texttops.
  286. perl -pi -e 's/texttops$/cjktexttops/' conf/mime.convs.in
  287. perl -pi -e 's,^#(DefaultCharset\s)utf-8,$1notused,' conf/cupsd.conf.in
  288. perl -pi -e 's,^#(Printcap\s+/etc/printcap),$1,' conf/cupsd.conf.in
  289. perl -pi -e 's,^#(MaxLogSize\s+0),$1,' conf/cupsd.conf.in
  290. perl -pi -e 's,exec_prefix/lib/cups,exec_prefix/%{_lib}/cups,' config-scripts/cups-directories.m4
  291. autoconf
  292. cp %{SOURCE5} cups-lpd.real
  293. perl -pi -e "s,\@LIBDIR\@,%{_libdir},g" cups-lpd.real
  294. # Let's look at the compilation command lines.
  295. perl -pi -e "s,^.SILENT:,," Makedefs.in
  296. # Fix locale code for Norwegian (bug #520379).
  297. mv locale/cups_no.po locale/cups_nb.po
  298. f=CREDITS.txt
  299. mv "$f" "$f"~
  300. iconv -f MACINTOSH -t UTF-8 "$f"~ > "$f"
  301. rm "$f"~
  302. # Rebuild configure script for --enable-avahi.
  303. aclocal -I config-scripts
  304. autoconf -I config-scripts
  305. %build
  306. export CFLAGS="$RPM_OPT_FLAGS -fstack-protector-all -DLDAP_DEPRECATED=1"
  307. # --enable-debug to avoid stripping binaries
  308. %configure --with-docdir=%{_datadir}/%{name}/www --enable-debug \
  309. --with-log-file-perm=0600 --enable-relro \
  310. --with-pdftops=pdftops \
  311. --with-dbusdir=%{_sysconfdir}/dbus-1 \
  312. --enable-avahi \
  313. --enable-threads \
  314. --enable-gnutls \
  315. --disable-slp \
  316. localedir=%{_datadir}/locale
  317. ##--enable-lspp \
  318. perl -pi -e "s,^DSO =.*,DSO=gcc -fpic," Makedefs
  319. # If we got this far, all prerequisite libraries must be here.
  320. make %{?_smp_mflags} OPTIM="$RPM_OPT_FLAGS -fpic"
  321. %install
  322. rm -rf $RPM_BUILD_ROOT
  323. make BUILDROOT=$RPM_BUILD_ROOT install
  324. # Serial backend needs to run as root (bug #212577).
  325. chmod 700 $RPM_BUILD_ROOT%{_libdir}/%{name}/backend/serial
  326. rm -rf $RPM_BUILD_ROOT%{initdir} \
  327. $RPM_BUILD_ROOT%{_sysconfdir}/init.d \
  328. $RPM_BUILD_ROOT%{_sysconfdir}/rc?.d
  329. mkdir -p $RPM_BUILD_ROOT%{initdir}
  330. install -m 755 $RPM_SOURCE_DIR/cups.init $RPM_BUILD_ROOT%{initdir}/cups
  331. find $RPM_BUILD_ROOT%{_datadir}/cups/model -name "*.ppd" |xargs gzip -n9f
  332. %if %use_alternatives
  333. pushd $RPM_BUILD_ROOT%{_bindir}
  334. for i in cancel lp lpq lpr lprm lpstat; do
  335. mv $i $i.cups
  336. done
  337. cd $RPM_BUILD_ROOT%{_sbindir}
  338. mv lpc lpc.cups
  339. cd $RPM_BUILD_ROOT%{_mandir}/man1
  340. for i in cancel lp lpq lpr lprm lpstat; do
  341. mv $i.1 $i-cups.1
  342. done
  343. cd $RPM_BUILD_ROOT%{_mandir}/man8
  344. mv lpc.8 lpc-cups.8
  345. popd
  346. %endif
  347. mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps $RPM_BUILD_ROOT%{_sysconfdir}/X11/sysconfig $RPM_BUILD_ROOT%{_sysconfdir}/X11/applnk/System $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily
  348. install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
  349. install -c -m 644 cups-lpd.real $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/cups-lpd
  350. install -c -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/cups
  351. install -c -m 755 %{SOURCE7} $RPM_BUILD_ROOT%{_libdir}/cups/backend/ncp
  352. install -c -m 755 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/cups
  353. install -c -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_libdir}/cups/filter/textonly
  354. install -c -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/cups/model/textonly.ppd
  355. #install -c -m 644 %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/cups/pdftops.conf
  356. # Ship a printers.conf file, and a client.conf file. That way, they get
  357. # their SELinux file contexts set correctly.
  358. touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/printers.conf
  359. touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/classes.conf
  360. touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/client.conf
  361. touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/subscriptions.conf
  362. # This is %%ghost'ed, but needs to be created in %%install anyway.
  363. touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/lpoptions
  364. # LSB 3.2 printer driver directory
  365. mkdir -p $RPM_BUILD_ROOT%{_datadir}/ppd
  366. # Handle https:// device URIs (bug #478677, STR #3122).
  367. ln -s ipp $RPM_BUILD_ROOT%{_libdir}/cups/backend/https
  368. # Remove unshipped files.
  369. rm -rf $RPM_BUILD_ROOT%{_mandir}/cat? $RPM_BUILD_ROOT%{_mandir}/*/cat?
  370. rm -f $RPM_BUILD_ROOT%{_datadir}/applications/cups.desktop
  371. rm -rf $RPM_BUILD_ROOT%{_datadir}/icons
  372. # Install the udev rules.
  373. %{__mkdir_p} %{buildroot}/lib/udev/rules.d
  374. install -m644 %{SOURCE3} \
  375. %{buildroot}/lib/udev/rules.d/70-cups-libusb.rules
  376. # Ship a PCL XL/PCL 6 filter file from ESP gs-7.07.1
  377. install -c -m 644 %{SOURCE206} $RPM_BUILD_ROOT%{_datadir}/cups/model
  378. install -c -m 644 %{SOURCE207} $RPM_BUILD_ROOT%{_datadir}/cups/model
  379. # Ship a dvitops
  380. install -c -m 755 %{SOURCE201} $RPM_BUILD_ROOT%{_libdir}/cups/filter
  381. install -c -m 644 %{SOURCE202} $RPM_BUILD_ROOT%{_sysconfdir}/cups
  382. install -c -m 644 %{SOURCE203} $RPM_BUILD_ROOT%{_sysconfdir}/cups
  383. # Ship a cjktexttops (import from mdv)
  384. install -c -m 755 %{SOURCE204} $RPM_BUILD_ROOT%{_libdir}/cups/filter/
  385. install -c -m 644 conf/mime.types $RPM_BUILD_ROOT%{_sysconfdir}/cups/mime.types
  386. install -c -m 644 conf/mime.convs $RPM_BUILD_ROOT%{_sysconfdir}/cups/mime.convs
  387. # create a symlink for 32bit drivers on x86_64.
  388. %ifarch x86_64
  389. mkdir -p %{buildroot}/usr/lib/cups/{backend,cgi-bin,daemon,driver,filter,monitor,notifier}
  390. %endif
  391. %triggerpostun -- cups < 1.4.8
  392. %ifarch x86_64
  393. echo "moving 32bit binaries to /usr/lib ..."
  394. if [ "$1" -gt 1 ]; then
  395. for f in `find /usr/lib64/cups/ -type f`; do
  396. file $f | grep ' ELF 32-bit ' >/dev/null 2>&1
  397. if [ "$?" = "0" ]; then
  398. DEST=`echo $f | sed -e 's/^\/usr\/lib64/\/usr\/lib/'`
  399. mv -f $f $DEST
  400. fi
  401. done
  402. fi
  403. %endif
  404. %pre
  405. %ifarch x86_64
  406. if [ -L /usr/lib/cups ]; then
  407. rm -f /usr/lib/cups
  408. fi
  409. %endif
  410. %post
  411. /sbin/chkconfig --del cupsd 2>/dev/null || true # Make sure old versions aren't there anymore
  412. /sbin/chkconfig --add cups || true
  413. # Remove old-style certs directory; new-style is /var/run
  414. # (see bug #194581 for why this is necessary).
  415. /bin/rm -rf /etc/cups/certs
  416. %if %use_alternatives
  417. /sbin/update-alternatives --install %{_bindir}/lpr print %{_bindir}/lpr.cups 40 \
  418. --slave %{_bindir}/lp print-lp %{_bindir}/lp.cups \
  419. --slave %{_bindir}/lpq print-lpq %{_bindir}/lpq.cups \
  420. --slave %{_bindir}/lprm print-lprm %{_bindir}/lprm.cups \
  421. --slave %{_bindir}/lpstat print-lpstat %{_bindir}/lpstat.cups \
  422. --slave %{_bindir}/cancel print-cancel %{_bindir}/cancel.cups \
  423. --slave %{_sbindir}/lpc print-lpc %{_sbindir}/lpc.cups \
  424. --slave %{_mandir}/man1/cancel.1.gz print-cancelman %{_mandir}/man1/cancel-cups.1.gz \
  425. --slave %{_mandir}/man1/lp.1.gz print-lpman %{_mandir}/man1/lp-cups.1.gz \
  426. --slave %{_mandir}/man8/lpc.8.gz print-lpcman %{_mandir}/man8/lpc-cups.8.gz \
  427. --slave %{_mandir}/man1/lpq.1.gz print-lpqman %{_mandir}/man1/lpq-cups.1.gz \
  428. --slave %{_mandir}/man1/lpr.1.gz print-lprman %{_mandir}/man1/lpr-cups.1.gz \
  429. --slave %{_mandir}/man1/lprm.1.gz print-lprmman %{_mandir}/man1/lprm-cups.1.gz \
  430. --slave %{_mandir}/man1/lpstat.1.gz print-lpstatman %{_mandir}/man1/lpstat-cups.1.gz
  431. %endif
  432. if [ $1 -eq 1 ]; then
  433. # First install. Build ppds.dat.
  434. /sbin/service cups reload >/dev/null 2>&1 || :
  435. fi
  436. exit 0
  437. %post libs -p /sbin/ldconfig
  438. %postun libs -p /sbin/ldconfig
  439. %post -n compat32-%{name}-libs -p /sbin/ldconfig
  440. %postun -n compat32-%{name}-libs -p /sbin/ldconfig
  441. %preun
  442. if [ "$1" = "0" ]; then
  443. /sbin/service cups stop > /dev/null 2>&1
  444. /sbin/chkconfig --del cups
  445. %if %use_alternatives
  446. /sbin/update-alternatives --remove print %{_bindir}/lpr.cups
  447. %endif
  448. fi
  449. exit 0
  450. %postun
  451. if [ "$1" -ge "1" ]; then
  452. /sbin/service cups condrestart > /dev/null 2>&1
  453. fi
  454. exit 0
  455. %triggerin -- samba-client
  456. ln -sf ../../../bin/smbspool %{_libdir}/cups/backend/smb || :
  457. exit 0
  458. %triggerun -- samba-client
  459. [ $2 = 0 ] || exit 0
  460. rm -f %{_libdir}/cups/backend/smb
  461. %clean
  462. rm -rf $RPM_BUILD_ROOT
  463. %files
  464. %defattr(-,root,root)
  465. %doc LICENSE.txt README.txt CREDITS.txt CHANGES.txt
  466. /lib/udev/rules.d/70-cups-libusb.rules
  467. %dir %attr(0755,root,lp) %{_sysconfdir}/cups
  468. %dir %attr(0755,root,lp) /var/run/cups
  469. %dir %attr(0511,lp,sys) /var/run/cups/certs
  470. %config(noreplace) %attr(0640,root,lp) %{_sysconfdir}/cups/cupsd.conf
  471. %attr(0640,root,lp) %{_sysconfdir}/cups/cupsd.conf.default
  472. %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/client.conf
  473. %config(noreplace) %attr(0600,root,lp) %{_sysconfdir}/cups/classes.conf
  474. %config(noreplace) %attr(0600,root,lp) %{_sysconfdir}/cups/printers.conf
  475. #%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/pdftops.conf
  476. %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/snmp.conf
  477. %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/subscriptions.conf
  478. %{_sysconfdir}/cups/interfaces
  479. %config(noreplace) %{_sysconfdir}/cups/mime.types
  480. %config(noreplace) %{_sysconfdir}/cups/mime.convs
  481. #%config(noreplace) %{_sysconfdir}/cups/pstoraster.convs
  482. %config(noreplace) %{_sysconfdir}/cups/dvitops.types
  483. %config(noreplace) %{_sysconfdir}/cups/dvitops.convs
  484. %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/lpoptions
  485. %dir %attr(0755,root,lp) %{_sysconfdir}/cups/ppd
  486. %dir %attr(0700,root,lp) %{_sysconfdir}/cups/ssl
  487. %config(noreplace) %{_sysconfdir}/pam.d/cups
  488. %config(noreplace) %{_sysconfdir}/logrotate.d/cups
  489. %config(noreplace) %{_sysconfdir}/xinetd.d/cups-lpd
  490. %dir %{_datadir}/%{name}/www
  491. %{_datadir}/%{name}/www/images
  492. %{_datadir}/%{name}/www/*.css
  493. %doc %{_datadir}/%{name}/www/index.html
  494. %doc %{_datadir}/%{name}/www/help
  495. %doc %{_datadir}/%{name}/www/robots.txt
  496. %doc %{_datadir}/%{name}/www/de/index.html
  497. %doc %{_datadir}/%{name}/www/es/index.html
  498. %doc %{_datadir}/%{name}/www/eu/index.html
  499. %doc %{_datadir}/%{name}/www/id/index.html
  500. %doc %{_datadir}/%{name}/www/it/index.html
  501. %doc %{_datadir}/%{name}/www/ja/index.html
  502. %doc %{_datadir}/%{name}/www/pl/index.html
  503. %doc %{_datadir}/%{name}/www/ru/index.html
  504. %config(noreplace) %{initdir}/cups
  505. %{_bindir}/cupstestppd
  506. %{_bindir}/cupstestdsc
  507. %{_bindir}/cancel*
  508. %{_bindir}/lp.cups
  509. %{_bindir}/lpoptions
  510. %attr(4755,root,root) %{_bindir}/lppasswd
  511. %{_bindir}/lpq.cups
  512. %{_bindir}/lpr.cups
  513. %{_bindir}/lprm.cups
  514. %{_bindir}/lpstat.cups
  515. %{_bindir}/ppd*
  516. %dir %{_libdir}/cups
  517. %{_libdir}/cups/backend
  518. %{_libdir}/cups/cgi-bin
  519. %dir %{_libdir}/cups/daemon
  520. %{_libdir}/cups/daemon/cups-polld
  521. %{_libdir}/cups/daemon/cups-deviced
  522. %{_libdir}/cups/daemon/cups-driverd
  523. %{_libdir}/cups/daemon/cups-lpd
  524. %{_libdir}/cups/notifier
  525. %{_libdir}/cups/filter
  526. %{_libdir}/cups/monitor
  527. %{_libdir}/cups/driver
  528. %ifarch x86_64
  529. %dir %{_prefix}/lib/cups
  530. %dir %{_prefix}/lib/cups/*
  531. %endif
  532. %{_mandir}/man1/cancel*
  533. %{_mandir}/man1/cupstest*
  534. %{_mandir}/man1/lp*
  535. %{_mandir}/man1/ppd*
  536. %{_mandir}/man[578]/*
  537. %{_sbindir}/*
  538. %dir %{_datadir}/cups
  539. %dir %{_datadir}/cups/banners
  540. %config(noreplace) %{_datadir}/cups/banners/*
  541. %{_datadir}/cups/charsets
  542. %{_datadir}/cups/charmaps
  543. %{_datadir}/cups/data
  544. %{_datadir}/cups/fonts
  545. %{_datadir}/cups/model
  546. %{_datadir}/cups/templates
  547. %{_datadir}/locale/*/*
  548. %{_datadir}/ppd
  549. %dir %attr(1770,root,lp) /var/spool/cups/tmp
  550. %dir %attr(0710,root,lp) /var/spool/cups
  551. %dir %attr(0755,lp,sys) /var/log/cups
  552. %{_datadir}/pixmaps/cupsprinter.png
  553. %{_sysconfdir}/cron.daily/cups
  554. %config(noreplace) %{_sysconfdir}/dbus-1/system.d/cups.conf
  555. %{_datadir}/cups/drv
  556. %{_datadir}/cups/examples
  557. %dir %{_datadir}/cups/mime
  558. %{_datadir}/cups/mime/mime.types
  559. %{_datadir}/cups/mime/mime.convs
  560. %dir %{_datadir}/cups/ppdc
  561. %{_datadir}/cups/ppdc/*.defs
  562. %{_datadir}/cups/ppdc/*.h
  563. %files libs
  564. %defattr(-,root,root)
  565. %doc LICENSE.txt
  566. %{_libdir}/*.so.*
  567. %files devel
  568. %defattr(-,root,root)
  569. %{_bindir}/cups-config
  570. %{_libdir}/*.so
  571. %{_includedir}/cups
  572. %{_mandir}/man1/cups-config.1*
  573. %if %{build_compat32}
  574. %files -n compat32-%{name}-devel
  575. %defattr(-,root,root)
  576. %{_libdir}/*.so
  577. %files -n compat32-%{name}-libs
  578. %doc LICENSE.txt
  579. %defattr(-,root,root)
  580. %{_libdir}/*.so.*
  581. %endif
  582. %changelog
  583. * Sat Sep 10 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-2
  584. - added Patch103 to detect printers with 32bit drivers.
  585. * Thu Sep 08 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-1
  586. - new upstream release (against CVE-2011-2896).
  587. - added str3914.patch (against CVE-2011-3170).
  588. - updated patches.
  589. * Sun May 29 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.6-2
  590. - added Patch101.
  591. * Tue Mar 22 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.6-1
  592. - new upstream release.
  593. - dropped old patches.
  594. - shipped some patches from fedora development.
  595. * Sun Jul 4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-6
  596. - add --disable-slp option in configure
  597. * Sun Jul 4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-5
  598. - add Patch340 for fix CVE-2009-2820
  599. - add Patch350 for fix CVE-2009-3553
  600. - patch340,350 are from rhel5
  601. * Sun Jul 4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-4
  602. - fix changelog typo
  603. - add Patch310 for fix CVE-2010-0540 (texttop)
  604. - add Patch320 for fix CVE-2010-0542 (web IF CSRF)
  605. - add Patch330 for fix CVE-2010-1748 (web IF uninit memory read)
  606. * Sun Mar 7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-3
  607. - setuid 0 to lppasswd binary
  608. * Sat Mar 6 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-2
  609. - add Patch300 for fix CVE-2010-0393 (lppasswd)
  610. * Fri Jul 10 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.11-1
  611. - new upstream release
  612. * Sun Jun 28 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.3.10-2
  613. - Build requires krb5-devel.
  614. - The devel sub-package requires krb5-devel.
  615. * Thu Jun 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.10-1
  616. - new upstream release
  617. - remove LC_ALL from cjktexttops
  618. * Sat Apr 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.9-4
  619. - rebuild with openldap-2.4.11
  620. * Mon Mar 23 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.9-3
  621. - add /usr/lib/cups for 32bit binary drivers on x86_64.
  622. * Sat Jan 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3.9-2
  623. - rebuild with gnutls-2.6.3
  624. * Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.9-1
  625. - new upstream release
  626. - renumber fedora patches
  627. - remove hal patch, hal backend module is now provided by hal-cups-utils
  628. * Mon Apr 21 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.3.7-2
  629. - remove libacl from dependency.
  630. * Fri Apr 18 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.3.7-1
  631. - new upstream release.
  632. - ship some patches from Fedora development.
  633. * Sun Aug 26 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.23-0vl13
  634. - add Patch300 and Patch310 for CVE-2007-0104 and CVE-2007-3387 respectively
  635. (same fixes for 1.1.23-0vl7.1 for Vine-4.1)
  636. * Sat May 26 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-0vl12
  637. - enabled Patch20: cups-gcc4.patch
  638. * Mon May 21 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.23-0vl11
  639. - always do %%configure on all archs (due to autoconf upgrade)
  640. * Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl10
  641. - rebuild with new openssl
  642. * Thu May 03 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-0vl9
  643. - added compat32 subpackage for x86_64 arch support.
  644. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl8
  645. - rebuild with dbus-1.0
  646. * Fri Oct 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl7
  647. - add Patch50, Source20 to support hal backend.
  648. * Thu Jun 29 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl6
  649. - add cjktexttops to use mpage for text-ps filter
  650. (Source18, Patch210)
  651. - mark mime.convs and mime.types as config file
  652. * Sat Mar 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl5
  653. - add Patch43 for dbus support
  654. - add Patch200 to support UTF-8 ppd files
  655. * Wed Feb 15 2006 Shu KONNO <owa@bg.wakwak.com> 1.1.23-0vl4
  656. - fixed cups-link.patch of missing "-L../cups"
  657. - added %%configure for x86_64 architecture support
  658. * Sat Jan 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl3
  659. - import some FC patches
  660. - fix several security bugs
  661. - CVS-2005-3625,CVS-2005-3626,CVS-2005-3627
  662. - CAN-2005-2097
  663. - CAN-2004-0888
  664. - CAN-2005-0064
  665. - apply upstream patches
  666. * Sun Mar 27 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl2
  667. - added dvitops, dvitops.convs and dvitops.types
  668. * Tue Jan 04 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl1
  669. - new upstream version(cups-1.1.23)
  670. - removed unused patches
  671. * Fri Dec 31 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl0.1rc1
  672. - added cups-1.1.23rc1-scheduler_client.patch
  673. -- special thanks to kmuto@debian.org
  674. * Mon Dec 20 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl0.0rc1
  675. - new upstream version (cups-1.1.23rc1)
  676. * Wed Nov 03 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl1
  677. - new upstream version (cups-1.1.22)
  678. -- updated cups-resource-ja-1.1.22
  679. * Sun Oct 17 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl0.0rc2
  680. - new upstream version (cups-1.1.22rc2)
  681. * Wed Oct 06 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl0.0rc1
  682. - new upstream version (cups-1.1.22rc1)
  683. * Thu Sep 16 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl1
  684. - new upstream version (cups-1.1.21)
  685. * Thu Aug 26 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.1rc2
  686. - added some txt files in docdir
  687. * Wed Aug 25 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.0rc2
  688. - new upstream version (cups-1.1.21rc2)
  689. - updated to cups-1.1.21rc2-makefile.patch(patch11)
  690. * Sun May 30 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.0rc1
  691. - new upstream version (cups-1.1.21rc1)
  692. - updated cups-resource-ja-1.1.21.tar.bz2
  693. - updated ppdsdat.patch
  694. - dropped system-auth.patch
  695. * Fri Apr 23 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl6
  696. - updated pstorater to v1.6
  697. * Sun Apr 18 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl5
  698. - removed README.vine
  699. * Thu Apr 15 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.1.20-0vl4
  700. - rebuild
  701. * Wed Dec 10 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl3
  702. - fixed DefaultCharset in cupsd.conf
  703. * Mon Dec 08 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl2
  704. - added PCL XL/PCL 6 PPD and filter from ESP gs-7.07.1
  705. - updated pstoraster
  706. * Sun Dec 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl1
  707. - new upstream version (cups-1.1.20)
  708. -- fixed resource-ja
  709. -- changed DefaultCharset in cupsd.conf
  710. -- removed patch100
  711. - raised update-alternatives's priority to 50
  712. * Sat Nov 15 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl6
  713. - added Patch11 (cups-1.1.19-makefile.patch)
  714. -- fixed makefile
  715. - added resource-ja (imported from cups-1.2.x)
  716. - added Patch100(cups-1.1.19-lang-adhoc.patch)
  717. -- fixed "DefaultCharset EUC-JP" in cupsd.conf
  718. -- Don't fallback to C locale in setlocale()
  719. * Fri Nov 14 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl5
  720. - merged to 1.1.20rc6 patch
  721. - dropped patches
  722. --cups-idefense-v2.patch, cups-1.1.17-sanity.patch
  723. - deleted needless dependence in Obsoletes
  724. * Thu Nov 13 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl4
  725. - fixed init script for logrotation
  726. * Sun Oct 26 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl3
  727. - fixed coding system in spec file
  728. - updated README.vine
  729. * Mon Jul 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl2
  730. - added cups-1.1.17-sanity.patch
  731. - added Japanese descriptions
  732. * Sat Jun 06 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl1
  733. - fixed spec file
  734. * Fri Jun 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl0.1
  735. - new upstream vrsion
  736. - remade spec file
  737. * Sun May 18 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0.rc5vl1
  738. -- disable D-BUS.
  739. - new upstream version
  740. - added some fixes. from cups-1.1.19-0.rc5.2
  741. -- disable D-BUS.
  742. -- Fix option parsing in lpq (bug #90823).
  743. -- No longer need error, sigchld patches.
  744. -- Ship cupstestppd.
  745. -- Mark banners as config files (bug #89069).
  746. * Fri Apr 18 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl2
  747. - imported some patches from rawhide (cups-1.1.18-2)
  748. -- added cups-idefense-v2.patch
  749. -- added cups-1.1.17-pdftops.patch
  750. -- added cups-1.1.17-error.patch
  751. -- added cups-1.1.17-rcp.patch
  752. -- added cups-1.1.17-ppdsdat.patch
  753. -- added cups-1.1.17-sigchld.patch
  754. - Fix translation in the init script
  755. - Build ppds.dat on first install.
  756. - Use pkg-config information to find SSL libraries
  757. - Make 'service cups reload' update the configuration first
  758. - added README.vine
  759. * Sun Jan 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl1
  760. - fixed alternative path
  761. * Fri Dec 27 2002 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl0
  762. - New upstream version
  763. - dropped patch4 (merged cups-1.1.18)
  764. - dropped epoch tag
  765. * Thu Dec 26 2002 Satoshi MACHINO <machino@vinelinux.org> 1.1.17-3vl0
  766. - build on Vine Linux
  767. * Tue Dec 10 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-3
  768. - Fix cupsd startup hang (bug #79346).
  769. * Mon Dec 9 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-2
  770. - Fix parallel backend behaviour when cancelling jobs.
  771. * Mon Dec 9 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-1
  772. - 1.1.17.
  773. - No longer need libdir patch.
  774. - Fix logrotate script (bug #76791).
  775. * Wed Nov 20 2002 Tim Waugh <twaugh@redhat.com>
  776. - Build requires XFree86-devel (bug #78362).
  777. * Wed Nov 20 2002 Tim Waugh <twaugh@redhat.com>
  778. - 1.1.16.
  779. - Updated system-auth patch.
  780. - Add ncp backend script.
  781. * Wed Nov 13 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-15
  782. - Set alternatives priority to 40.
  783. * Mon Nov 11 2002 Nalin Dahyabhai <nalin@redhat.com> 1.1.15-14
  784. - Buildrequire pam-devel.
  785. - Patch default PAM config file to remove directory names from module paths,
  786. allowing the configuration files to work equally well on multilib systems.
  787. - Patch default PAM config file to use system-auth, require the file at build-
  788. time because that's what data/Makefile checks for.
  789. * Fri Nov 8 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-13
  790. - Use logrotate for log rotation (bug #76791).
  791. - No longer need cups.desktop, since redhat-config-printer handles it.
  792. * Thu Oct 17 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-12
  793. - Revert to libdir for CUPS_SERVERBIN.
  794. * Thu Oct 17 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-11
  795. - Use %%configure for multilib correctness.
  796. - Use libexec instead of lib for CUPS_SERVERBIN.
  797. - Ship translated man pages.
  798. - Remove unshipped files.
  799. - Fix file list permissions (bug #59021, bug #74738).
  800. - Fix messy initscript output (bug #65857).
  801. - Add 'reload' to initscript (bug #76114).
  802. * Fri Aug 30 2002 Bernhard Rosenkraenzer <bero@redhat.de> 1.1.15-10
  803. - Add generic postscript PPD file (#73061)
  804. * Mon Aug 19 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-9
  805. - Fix prefix in pstoraster (bug #69573).
  806. * Mon Aug 19 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-8
  807. - Disable cups-lpd by default (bug #71712).
  808. - No need for fread patch now that glibc is fixed.
  809. * Thu Aug 15 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-7
  810. - Really add cups-lpd xinetd file (bug #63919).
  811. - Ship pstoraster (bug #69573).
  812. - Prevent fread from trying to read from beyond EOF (fixes a segfault
  813. with new glibc).
  814. * Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> 1.1.15-6
  815. - rebuilt with gcc-3.2 (we hope)
  816. * Mon Aug 5 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-5
  817. - Add cups-lpd xinetd file (#63919)
  818. * Tue Jul 23 2002 Florian La Roche <Florian.LaRoche@redhat.de> 1.1.15-4
  819. - add a "exit 0" to postun script
  820. * Tue Jul 2 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-3
  821. - Add a symlink /usr/share/cups/doc -> /usr/share/doc/cups-devel-1.1.15
  822. because some applications expect to find the cups docs in
  823. /usr/share/cups/doc
  824. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  825. - automated rebuild
  826. * Fri Jun 21 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-1
  827. - 1.1.15-1
  828. - Fix up smb printing trigger (samba-client, not samba-clients)
  829. - Start cupsd earlier, apparently it needs to be running before samba
  830. starts up for smb printing to work.
  831. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  832. - automated rebuild
  833. * Tue May 7 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-17
  834. - Rebuild in current environment
  835. - [-16 never existed because of build system breakage]
  836. * Wed Apr 17 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-15
  837. - Fix bug #63387
  838. * Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14
  839. - Fix dangling symlink created by samba-clients trigger
  840. * Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13
  841. - Add desktop file and icon for CUPS configuration
  842. * Wed Apr 3 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12
  843. - Support SMB printing (#62407)
  844. - Add HTML redirections to doc files to work around users mistaking
  845. /usr/share/doc/cups-1.1.14 for the web frontend (#62405)
  846. * Tue Apr 2 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11
  847. - fix subsys in initscript (#59206)
  848. - don't strip binaries
  849. * Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10
  850. - Make initscript use killproc instead of killall
  851. * Fri Mar 8 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9
  852. - use alternatives --initscript support
  853. * Mon Mar 4 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8
  854. - use the right path for the lpc man page, duh
  855. * Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7
  856. - lpc man page is alternative too
  857. - run ldconfig in -libs %post/%postun, not main
  858. - remove alternatives in %preun
  859. * Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6
  860. - don't source /etc/sysconfig/network in cups.init, we don't use any
  861. values from it
  862. * Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4
  863. - Fix bugs #60220 and #60352
  864. * Thu Feb 21 2002 Tim Powers <timp@redhat.com>
  865. - rebuild against correct version of openssl (0.9.6b)
  866. * Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2
  867. - Add all man pages to alternatives (#59943)
  868. - Update to real 1.1.14
  869. * Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1
  870. - Update to almost-1.1.14
  871. * Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5
  872. - Move cups-config to cups-devel subpackage
  873. - Make alternatives usage a %%define to simplify builds for earlier
  874. releases
  875. - Explicitly provide things we're supplying through alternatives
  876. to shut up kdeutils dependencies
  877. * Tue Feb 5 2002 Tim Powers <timp@redhat.com>
  878. - shut the alternatives stuff up for good
  879. * Fri Feb 1 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3
  880. - Fix alternatives stuff
  881. - Don't display error messages in %%post
  882. * Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2
  883. - alternatives stuff
  884. * Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1
  885. - 1.1.13
  886. - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018)
  887. - Rename init scripts so we can safely "killall cupsd" from there
  888. * Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1
  889. - Initial (conflicting, since alternatives isn't there yet) packaging for
  890. Red Hat Linux
  891. * Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com>
  892. - 1.1.12
  893. * Mon Nov 5 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3
  894. - Compress PPD files
  895. - Fix build with gcc 3.1
  896. - Fix init script
  897. * Tue Sep 4 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2
  898. - Fix URL
  899. - Generate printcap
  900. - s/Copyright/License/g
  901. * Tue Sep 4 2001 Than Ngo <than@redhat.com> 1.1.10-1
  902. - update to 1.1.10-1 for ExtraBinge 7.2
  903. * Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com>
  904. - update to 1.1.8
  905. - changed cupsd.conf to generate /etc/printcap
  906. * Tue May 15 2001 Than Ngo <than@redhat.com>
  907. - update to 1.1.7, bugfixes
  908. * Thu Dec 14 2000 Than Ngo <than@redhat.com>
  909. - fixed package dependency with lpr and LPRng
  910. * Wed Oct 25 2000 Than Ngo <than@redhat.com>
  911. - remove man/cat
  912. * Tue Oct 24 2000 Than Ngo <than@redhat.com>
  913. - don't start cupsd service in level 0, fixed
  914. * Thu Oct 19 2000 Than Ngo <than@redhat.com>
  915. - update to 1.1.4
  916. - fix CUPS_DOCROOT (Bug #18717)
  917. * Fri Aug 11 2000 Than Ngo <than@redhat.de>
  918. - update to 1.1.2 (Bugfix release)
  919. * Fri Aug 4 2000 Than Ngo <than@redhat.de>
  920. - fix, cupsd read config file under /etc/cups (Bug #15432)
  921. - add missing cups filters
  922. * Wed Aug 2 2000 Tim Powers <timp@redhat.com>
  923. - rebuilt against libpng-1.0.8
  924. * Tue Aug 01 2000 Than Ngo <than@redhat.de>
  925. - fix permission, add missing ldconfig in %post and %postun (Bug #14963)
  926. * Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  927. - 1.1.1 (this has some major bugfixes)
  928. - Fix a typo in initscript (it's $?, not ?$)
  929. - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!)
  930. - Create the spool dir
  931. * Fri Jul 28 2000 Than Ngo <than@redhat.de>
  932. - fix unclean code for building against gcc-2.96
  933. - add missing restart function in startup script
  934. * Fri Jul 28 2000 Tim Powers <timp@redhat.com>
  935. - fixed initscript so that conrestart doesn't return 1 if the test fails
  936. * Mon Jul 24 2000 Prospector <prospector@redhat.com>
  937. - rebuilt
  938. * Wed Jul 19 2000 Than Ngo <than@redhat.de>
  939. - using service to fire them up
  940. - fix Prereq section
  941. * Mon Jul 17 2000 Tim Powers <timp@redhat.com>
  942. - added defattr to the devel package
  943. * Sun Jul 16 2000 Than Ngo <than@redhat.de>
  944. - add cups config files
  945. * Sat Jul 15 2000 Than Ngo <than@redhat.de>
  946. - update to 1.1 release
  947. - move back to /etc/rc.d/init.d
  948. - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d
  949. - split cups
  950. * Wed Jul 12 2000 Than Ngo <than@redhat.de>
  951. - rebuilt
  952. * Thu Jul 06 2000 Tim Powers <timp@redhat.com>
  953. - fixed broken PreReq to now require /etc/init.d
  954. * Tue Jun 27 2000 Tim Powers <timp@redhat.com>
  955. - PreReq initscripts >= 5.20
  956. * Mon Jun 26 2000 Tim Powers <timp@redhat.com>
  957. - started changelog
  958. - fixed init.d script location
  959. - changed script in init.d quite a bit and made more like the rest of our
  960. startup scripts