cups-vl.spec 48 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454
  1. %bcond_with systemd
  2. %define _libexecdir %{_libdir}
  3. %define build_compat32 %{?_with_compat32:1}%{!?_with_compat32:0}
  4. %define initdir %{_sysconfdir}/rc.d/init.d
  5. %define use_alternatives 1
  6. %define _unpackaged_files_terminate_build 1
  7. Summary: Common Unix Printing System
  8. Name: cups
  9. Version: 2.3.3
  10. Release: 1%{?_dist_release}%{?with_systemd:.systemd}
  11. Group: servers
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Packager: daisuke, tomop
  15. License: GPL
  16. Url: https://github.com/OpenPrinting/cups
  17. Source: https://github.com/OpenPrinting/cups/archive/v%{version}.tar.gz#/cups-%{version}.tar.gz
  18. # Our initscript
  19. Source1: cups.init
  20. # Pixmap for desktop file
  21. Source2: cupsprinter.png
  22. # udev rules for libusb devices
  23. Source3: cups-libusb.rules
  24. # LSPP-required ps->pdf filter
  25. Source4: pstopdf
  26. # xinetd config file for cups-lpd service
  27. Source5: cups-lpd
  28. # Logrotate configuration
  29. Source6: cups.logrotate
  30. # Backend for NCP protocol
  31. Source7: ncp.backend
  32. # Cron-based tmpwatch for /var/spool/cups/tmp
  33. Source8: cups.cron
  34. # Filter and PPD for textonly printing
  35. Source9: textonly.filter
  36. Source10: textonly.ppd
  37. Source11: macros.cups
  38. Source101: http://www.openprinting.org/download/printing/dnssd
  39. Source102: pstoraster
  40. Source103: pstoraster.convs
  41. Source104: postscript.ppd.gz
  42. Source105: pdftops.conf
  43. Source201: dvitops
  44. Source202: dvitops.convs
  45. Source203: dvitops.types
  46. Source204: cjktexttops
  47. Source206: pxlmono.ppd.gz
  48. Source207: pxlcolor.ppd.gz
  49. Source208: cups.conf
  50. # PAM enablement, very old patch, not even git can track when or why
  51. # the patch was added.
  52. Patch1: cups-system-auth.patch
  53. # cups-config from devel package conflicted on multilib arches,
  54. # fixed hack with pkg-config calling for gnutls' libdir variable
  55. Patch2: cups-multilib.patch
  56. # if someone makes a change to banner files, then there will <banner>.rpmnew
  57. # with next update of cups-filters - this patch makes sure the banner file
  58. # changed by user is used and .rpmnew or .rpmsave is ignored
  59. # Note: This could be rewrite with use a kind of #define and send to upstream
  60. Patch3: cups-banners.patch
  61. # don't export ssl libs to cups-config - can't find the reason.
  62. Patch4: cups-no-export-ssllibs.patch
  63. # enables old uri usb:/dev/usb/lp0 - leave it here for users of old printers
  64. Patch5: cups-direct-usb.patch
  65. # fix for redhat dbus spooler - adding new dbus functions to backend/ipp.c
  66. # -> initialize dbus connection and sending dbus broadcast about job queued
  67. # on remote queue with QueueChanged type for PRINTER_CHANGED, JOB_STATE_CHANGED
  68. # and PRINTER_STATE_CHANGED events
  69. Patch6: cups-eggcups.patch
  70. # when system workload is high, timeout for cups-driverd can be reached -
  71. # increase the timeout
  72. Patch7: cups-driverd-timeout.patch
  73. # cupsd implement its own logrotate, but when MaxLogSize 0 is used, logrotated
  74. # takes care of it
  75. Patch8: cups-logrotate.patch
  76. # usb backend didn't get any notification about out-of-paper because of kernel
  77. Patch9: cups-usb-paperout.patch
  78. # uri compatibility with old Fedoras
  79. Patch10: cups-uri-compat.patch
  80. # fixing snmp oid for hp printer - upstream doesn't want to support too much
  81. # snmp backend, because it's deprecated
  82. Patch11: cups-hp-deviceid-oid.patch
  83. # same as HP OID
  84. Patch12: cups-ricoh-deviceid-oid.patch
  85. # change to notify type, because when it fails to start, it gives a error
  86. # message + renaming org.cups.cupsd names, because we have cups units in
  87. # in older Fedoras
  88. Patch13: cups-systemd-socket.patch
  89. # use IP_FREEBIND, because cupsd cannot bind to not yet existing IP address
  90. # by default
  91. Patch14: cups-freebind.patch
  92. # add support of multifile
  93. Patch15: cups-ipp-multifile.patch
  94. # prolongs web ui timeout
  95. Patch16: cups-web-devices-timeout.patch
  96. # needs to be set to Yes to avoid race conditions
  97. Patch17: cups-synconclose.patch
  98. # ypbind must be started before cups if NIS configured
  99. Patch18: cups-ypbind.patch
  100. # failover backend for implementing failover functionality
  101. # TODO: move it to the cups-filters upstream
  102. Patch19: cups-failover-backend.patch
  103. # reported upstream
  104. # adds logs when job fails due bad conversion
  105. Patch20: cups-filter-debug.patch
  106. # add device id for dymo printer
  107. Patch21: cups-dymo-deviceid.patch
  108. # 1822154 - cups.service doesn't execute automatically on request
  109. # https://github.com/apple/cups/issues/5708
  110. Patch22: cups-autostart-when-enabled.patch
  111. # selinux and audit enablement for CUPS - needs work and CUPS upstream wants
  112. # to have these features implemented their way in the future
  113. Patch100: cups-lspp.patch
  114. # vine
  115. Patch1000: cups-2.3.3-serverbin-compat.patch
  116. BuildRoot: %{_tmppath}/%{name}-root
  117. Requires: %{name}-libs = %{version}-%{release}
  118. Requires: %{name}-client = %{version}-%{release}
  119. Requires: tmpwatch
  120. Requires: ghostscript >= 8.71-4
  121. BuildRequires: aspell-devel
  122. BuildRequires: avahi-devel >= 0.6.20
  123. BuildRequires: dbus-devel >= 0.90
  124. BuildRequires: e2fsprogs-devel
  125. BuildRequires: gnutls-devel
  126. BuildRequires: krb5-devel
  127. BuildRequires: libacl-devel
  128. BuildRequires: libjpeg-devel
  129. BuildRequires: libpng-devel
  130. BuildRequires: libtiff-devel
  131. BuildRequires: libusb1-devel
  132. BuildRequires: openldap-devel
  133. BuildRequires: pam-devel
  134. BuildRequires: pkgconfig
  135. BuildRequires: poppler-utils
  136. BuildRequires: python-cups
  137. Requires: avahi >= 0.6.20
  138. Requires: avahi-tools
  139. Requires: dbus >= 0.90
  140. Requires: poppler-utils
  141. Requires: cups-filters
  142. %if %{with systemd}
  143. BuildRequires: systemd-devel
  144. %{?systemd_requires}
  145. %else
  146. Requires(pre): chkconfig initscripts perl
  147. %endif
  148. %description
  149. CUPS printing system provides a portable printing layer for
  150. UNIX® operating systems. It has been developed by Apple Inc.
  151. to promote a standard printing solution for all UNIX vendors and users.
  152. CUPS provides the System V and Berkeley command-line interfaces.
  153. %description -l ja
  154.  CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を提供
  155. します。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューショ
  156. ンを提供するためにApple Inc.により開発されました。
  157.  CUPSはSystem VやBerkeleyコマンドラインのインターフェースを提供します。
  158. %package devel
  159. Summary: Common Unix Printing System - development environment
  160. Group: programming
  161. Requires: %{name}-libs = %{version}-%{release}
  162. Requires: e2fsprogs-devel
  163. Requires: gnutls-devel
  164. Requires: krb5-devel
  165. Requires: zlib-devel
  166. License: LGPL
  167. %description devel
  168. CUPS printing system provides a portable printing layer for
  169. UNIX. operating systems. This is the development package for creating
  170. additional printer drivers, and other CUPS services.
  171. %description devel -l ja
  172.  CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を提供
  173. します。
  174.  このパッケージはプリンタドライバを追加したり他のCUPSサービスを開発す
  175. るためのパッケージです。
  176. %package libs
  177. Summary: Common Unix Printing System - libraries
  178. Group: system
  179. License: LGPL
  180. %description libs
  181. CUPS printing system provides a portable printing layer for
  182. UNIX® operating systems. It has been developed by Apple Inc.
  183. to promote a standard printing solution for all UNIX vendors and users.
  184. CUPS provides the System V and Berkeley command-line interfaces.
  185. The cups-libs package provides libraries used by applications to use CUPS
  186. natively, without needing the lp/lpr commands.
  187. %description libs -l ja
  188.  CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を提供
  189. します。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューショ
  190. ンを提供するためにApple Inc.により開発されました。
  191.  CUPSはSystem VやBerkeleyコマンドラインのインターフェースを提供します。
  192.  cups-libsパッケージはlp/lprコマンドを必要としないCUPSネイティブなアプ
  193. リケーションから使われるライブラリ類です。
  194. %package client
  195. Summary: CUPS printing system - client programs
  196. Group: publishing
  197. License: GPLv2
  198. Requires: %{name}-libs%{?_isa} = %{version}-%{release}
  199. %if %{use_alternatives}
  200. Provides: /usr/bin/lpq /usr/bin/lpr /usr/bin/lp /usr/bin/cancel /usr/bin/lprm /usr/bin/lpstat
  201. Requires(pre): alternatives
  202. Requires(preun): alternatives
  203. %endif
  204. Provides: lpd lpr LPRng
  205. %description client
  206. CUPS printing system provides a portable printing layer for
  207. UNIX® operating systems. This package contains command-line client
  208. programs.
  209. %description client -l ja
  210.  CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を
  211. 提供します。
  212.  このパッケージはコマンドラインクライアントプログラムを含んでいま
  213. す。
  214. %package lpd
  215. Summary: CUPS printing system - lpd emulation
  216. Group: servers
  217. Requires: %{name}%{?_isa} = %{version}-%{release}
  218. Requires: %{name}-libs%{?_isa} = %{version}-%{release}
  219. Provides: lpd
  220. %if %{with systemd}
  221. %{?systemd_requires}
  222. %else
  223. Requires: xinetd
  224. %endif
  225. %description lpd
  226. CUPS printing system provides a portable printing layer for
  227. UNIX® operating systems. This is the package that provides standard
  228. lpd emulation.
  229. %description lpd -l ja
  230.  CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を
  231. 提供します。
  232.  このパッケージは標準的なlpdエミュレーションを提供します。
  233. %package -n compat32-%{name}-libs
  234. Summary: Common Unix Printing System - libraries
  235. Group: system
  236. %description -n compat32-%{name}-libs
  237. CUPS printing system provides a portable printing layer for
  238. UNIX® operating systems. It has been developed by Apple Inc.
  239. to promote a standard printing solution for all UNIX vendors and users.
  240. CUPS provides the System V and Berkeley command-line interfaces.
  241. The cups-libs package provides libraries used by applications to use CUPS
  242. natively, without needing the lp/lpr commands.
  243. %description -n compat32-%{name}-libs -l ja
  244.  CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を提供
  245. します。CUPSは全てのUNIXベンダーやユーザのために標準的な印刷ソリューショ
  246. ンを提供するためにApple Inc.により開発されました。
  247.  CUPSはSystem VやBerkeleyコマンドラインのインターフェースを提供します。
  248.  cups-libsパッケージはlp/lprコマンドを必要としないCUPSネイティブなアプリ
  249. ケーションから使われるライブラリ類です。
  250. %package -n compat32-%{name}-devel
  251. Summary: Common Unix Printing System - development environment
  252. Group: programming
  253. Requires: compat32-%{name}-libs = %{version}-%{release}
  254. Requires: %{name}-devel = %{version}-%{release}
  255. Requires: compat32-e2fsprogs-devel
  256. Requires: compat32-gnutls-devel
  257. Requires: compat32-krb5-devel
  258. Requires: compat32-zlib-devel
  259. %description -n compat32-%{name}-devel
  260. CUPS printing system provides a portable printing layer for
  261. UNIX. operating systems. This is the development package for creating
  262. additional printer drivers, and other CUPS services.
  263. %description -n compat32-%{name}-devel -l ja
  264.  CUPS printing systemはUNIX操作環境においてポータブルな印刷環境を提供
  265. します。
  266.  このパッケージはプリンタドライバを追加したり他のCUPSサービスを開発す
  267. るためのパッケージです。
  268. %debug_package
  269. %prep
  270. %setup -q -n %{name}-%{version}
  271. # Use the system pam configuration.
  272. %patch1 -p1 -b .system-auth
  273. # Prevent multilib conflict in cups-config script.
  274. %patch2 -p1 -b .multilib
  275. # Ignore rpm save/new files in the banners directory.
  276. %patch3 -p1 -b .banners
  277. # Don't export SSLLIBS to cups-config.
  278. %patch4 -p1 -b .no-export-ssllibs
  279. # Allow file-based usb device URIs.
  280. %patch5 -p1 -b .direct-usb
  281. # Increase driverd timeout to 70s to accommodate foomatic (bug #744715).
  282. %patch7 -p1 -b .driverd-timeout
  283. # Re-open the log if it has been logrotated under us.
  284. %patch8 -p1 -b .logrotate
  285. # Support for errno==ENOSPACE-based USB paper-out reporting.
  286. %patch9 -p1 -b .usb-paperout
  287. # Allow the usb backend to understand old-style URI formats.
  288. %patch10 -p1 -b .uri-compat
  289. # Add an SNMP query for HP's device ID OID (STR #3552).
  290. %patch11 -p1 -b .hp-deviceid-oid
  291. # Add an SNMP query for Ricoh's device ID OID (STR #3552).
  292. %patch12 -p1 -b .ricoh-deviceid-oid
  293. # Make cups.service Type=notify (bug #1088918).
  294. %patch13 -p1 -b .systemd-socket
  295. # Use IP_FREEBIND socket option when binding listening sockets (bug #970809).
  296. %patch14 -p1 -b .freebind
  297. # Fixes for jobs with multiple files and multiple formats.
  298. %patch15 -p1 -b .ipp-multifile
  299. # Increase web interface get-devices timeout to 10s (bug #996664).
  300. %patch16 -p1 -b .web-devices-timeout
  301. # Set the default for SyncOnClose to Yes.
  302. %patch17 -p1 -b .synconclose
  303. # CUPS may fail to start if NIS groups are used (bug #1494558)
  304. %patch18 -p1 -b .ypbind
  305. # Add failover backend (bug #1689209)
  306. %patch19 -p1 -b .failover
  307. %if %{?lspp}0
  308. # LSPP support.
  309. %patch100 -p1 -b .lspp
  310. %endif
  311. # Log extra debugging information if no filters are available.
  312. %patch20 -p1 -b .filter-debug
  313. # Added IEEE 1284 Device ID for a Dymo device (bug #747866).
  314. %patch21 -p1 -b .dymo-deviceid
  315. # 1822154 - cups.service doesn't execute automatically on request
  316. %patch22 -p1 -b .autostart-when-enabled
  317. # removed dbus patch - seems breaking things
  318. # Fix implementation of com.redhat.PrinterSpooler D-Bus object.
  319. #%%patch6 -p1 -b .eggcups
  320. %patch1000 -p1 -b .serverbin-compat
  321. # make to use cjktexttops instead texttops.
  322. perl -pi -e 's/texttops$/cjktexttops/' conf/mime.convs.in
  323. # if cupsd is set to log into /var/log/cups, then 'MaxLogSize 0' needs to be
  324. # in cupsd.conf to disable cupsd logrotate functionality and use logrotated
  325. sed -i -e '1iMaxLogSize 0' conf/cupsd.conf.in
  326. %if %{with systemd}
  327. # Add comment text mentioning syslog is systemd journal (bug #1358589)
  328. sed -i -e 's,\"syslog\",\"syslog\" \(syslog means systemd journal by default\),' conf/cups-files.conf.in
  329. %endif
  330. perl -pi -e 's,^#(DefaultCharset\s)utf-8,$1notused,' conf/cupsd.conf.in
  331. perl -pi -e 's,^#(Printcap\s+/etc/printcap),$1,' conf/cupsd.conf.in
  332. perl -pi -e 's,exec_prefix/lib/cups,exec_prefix/%{_lib}/cups,' config-scripts/cups-directories.m4
  333. autoconf
  334. cp %{SOURCE5} cups-lpd.real
  335. perl -pi -e "s,\@LIBDIR\@,%{_libdir},g" cups-lpd.real
  336. # Add group wheel to SystemGroups (bug #1405669)
  337. sed -i -e 's,^SystemGroup .*$, SystemGroup sys root wheel,' conf/cups-files.conf.in
  338. # Let's look at the compilation command lines.
  339. perl -pi -e "s,^.SILENT:,," Makedefs.in
  340. f=CREDITS.md
  341. mv "$f" "$f"~
  342. iconv -f MACINTOSH -t UTF-8 "$f"~ > "$f"
  343. rm "$f"~
  344. # Rebuild configure script for --enable-avahi.
  345. aclocal -I config-scripts
  346. autoconf -I config-scripts
  347. %build
  348. export DSOFLAGS="$DSOFLAGS -L../cgi-bin -L../filter -L../ppdc -L../scheduler -Wl,-z,relro -Wl,-z,now -Wl,-z,relro,-z,now -fPIE -pie"
  349. export CFLAGS="$RPM_OPT_FLAGS -fstack-protector-all -DLDAP_DEPRECATED=1"
  350. # --enable-debug to avoid stripping binaries
  351. %configure --with-docdir=%{_datadir}/%{name}/www --enable-debug \
  352. --with-exe-file-perm=0755 \
  353. --with-log-file-perm=0600 \
  354. --enable-relro \
  355. --with-pdftops=pdftops \
  356. --with-dbusdir=%{_sysconfdir}/dbus-1 \
  357. --with-php=/usr/bin/php-cgi \
  358. --enable-avahi \
  359. --enable-threads \
  360. --enable-gnutls \
  361. --enable-webif \
  362. --disable-slp \
  363. %if %{with systemd}
  364. --with-rundir=/run/cups \
  365. %endif
  366. localedir=%{_datadir}/locale
  367. # If we got this far, all prerequisite libraries must be here.
  368. make %{?_smp_mflags}
  369. %install
  370. rm -rf $RPM_BUILD_ROOT
  371. make BUILDROOT=$RPM_BUILD_ROOT install
  372. rm -rf $RPM_BUILD_ROOT%{initdir} \
  373. $RPM_BUILD_ROOT%{_sysconfdir}/init.d \
  374. $RPM_BUILD_ROOT%{_sysconfdir}/rc?.d
  375. %if %{with systemd}
  376. mkdir -p %{buildroot}%{_unitdir}
  377. mv %{buildroot}%{_unitdir}/org.cups.cupsd.path %{buildroot}%{_unitdir}/cups.path
  378. mv %{buildroot}%{_unitdir}/org.cups.cupsd.service %{buildroot}%{_unitdir}/cups.service
  379. mv %{buildroot}%{_unitdir}/org.cups.cupsd.socket %{buildroot}%{_unitdir}/cups.socket
  380. mv %{buildroot}%{_unitdir}/org.cups.cups-lpd.socket %{buildroot}%{_unitdir}/cups-lpd.socket
  381. mv %{buildroot}%{_unitdir}/org.cups.cups-lpd@.service %{buildroot}%{_unitdir}/cups-lpd@.service
  382. /bin/sed -i -e "s,org.cups.cupsd,cups,g" %{buildroot}%{_unitdir}/cups.service
  383. %else
  384. mkdir -p $RPM_BUILD_ROOT%{initdir}
  385. install -m 755 $RPM_SOURCE_DIR/cups.init $RPM_BUILD_ROOT%{initdir}/cups
  386. %endif
  387. find $RPM_BUILD_ROOT%{_datadir}/cups/model -name "*.ppd" |xargs gzip -n9f
  388. %if %{use_alternatives}
  389. pushd $RPM_BUILD_ROOT%{_bindir}
  390. for i in cancel lp lpq lpr lprm lpstat; do
  391. mv $i $i.cups
  392. done
  393. cd $RPM_BUILD_ROOT%{_sbindir}
  394. mv lpc lpc.cups
  395. cd $RPM_BUILD_ROOT%{_mandir}/man1
  396. for i in cancel lp lpq lpr lprm lpstat; do
  397. mv $i.1 $i-cups.1
  398. done
  399. cd $RPM_BUILD_ROOT%{_mandir}/man8
  400. mv lpc.8 lpc-cups.8
  401. popd
  402. %endif
  403. 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
  404. install -c -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_datadir}/pixmaps
  405. %if !%{with systemd}
  406. install -c -m 644 cups-lpd.real $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/cups-lpd
  407. %endif
  408. install -c -m 644 %{SOURCE6} $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/cups
  409. install -c -m 755 %{SOURCE7} $RPM_BUILD_ROOT%{_libdir}/cups/backend/ncp
  410. install -c -m 755 %{SOURCE8} $RPM_BUILD_ROOT%{_sysconfdir}/cron.daily/cups
  411. install -c -m 755 %{SOURCE9} $RPM_BUILD_ROOT%{_libdir}/cups/filter/textonly
  412. install -c -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_datadir}/cups/model/textonly.ppd
  413. #install -c -m 644 %{SOURCE105} $RPM_BUILD_ROOT%{_sysconfdir}/cups/pdftops.conf
  414. # Ship an rpm macro for where to put driver executables.
  415. mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
  416. install -m 0644 %{SOURCE11} $RPM_BUILD_ROOT%{_sysconfdir}/rpm/
  417. # Ship a printers.conf file, and a client.conf file. That way, they get
  418. # their SELinux file contexts set correctly.
  419. touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/printers.conf
  420. touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/classes.conf
  421. touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/client.conf
  422. touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/subscriptions.conf
  423. # This is %%ghost'ed, but needs to be created in %%install anyway.
  424. touch $RPM_BUILD_ROOT%{_sysconfdir}/cups/lpoptions
  425. # Tell portreserve which port we want it to protect.
  426. # mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/portreserve
  427. # echo ipp > $RPM_BUILD_ROOT%{_sysconfdir}/portreserve/%{name}
  428. # LSB 3.2 printer driver directory
  429. mkdir -p $RPM_BUILD_ROOT%{_datadir}/ppd
  430. # Remove unshipped files.
  431. rm -rf $RPM_BUILD_ROOT%{_mandir}/cat? $RPM_BUILD_ROOT%{_mandir}/*/cat?
  432. rm -f $RPM_BUILD_ROOT%{_datadir}/applications/cups.desktop
  433. rm -rf $RPM_BUILD_ROOT%{_datadir}/icons
  434. # Install the udev rules.
  435. %{__mkdir_p} %{buildroot}/lib/udev/rules.d
  436. install -m644 %{SOURCE3} \
  437. %{buildroot}/lib/udev/rules.d/70-cups-libusb.rules
  438. # there are pdf-banners shipped with cups-filters (#919489)
  439. rm -rf $RPM_BUILD_ROOT%{_datadir}/cups/banners
  440. rm -f $RPM_BUILD_ROOT%{_datadir}/cups/data/testprint
  441. %if %{with systemd}
  442. # install /etc/tmpfiles.d/cups.conf (bug #656566)
  443. mkdir -p ${RPM_BUILD_ROOT}%{_tmpfilesdir}
  444. cat > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/cups.conf <<EOF
  445. # See tmpfiles.d(5) for details
  446. d /run/cups 0755 root lp -
  447. d /run/cups/certs 0511 lp sys -
  448. d /var/spool/cups/tmp - - - 30d
  449. EOF
  450. # /usr/lib/tmpfiles.d/cups-lp.conf (bug #812641)
  451. cat > ${RPM_BUILD_ROOT}%{_tmpfilesdir}/cups-lp.conf <<EOF
  452. # Legacy parallel port character device nodes, to trigger the
  453. # auto-loading of the kernel module on access.
  454. #
  455. # See tmpfiles.d(5) for details
  456. c /dev/lp0 0660 root lp - 6:0
  457. c /dev/lp1 0660 root lp - 6:1
  458. c /dev/lp2 0660 root lp - 6:2
  459. c /dev/lp3 0660 root lp - 6:3
  460. EOF
  461. %endif
  462. # Ship a PCL XL/PCL 6 filter file from ESP gs-7.07.1
  463. install -c -m 644 %{SOURCE206} $RPM_BUILD_ROOT%{_datadir}/cups/model
  464. install -c -m 644 %{SOURCE207} $RPM_BUILD_ROOT%{_datadir}/cups/model
  465. # Ship a dvitops
  466. install -c -m 755 %{SOURCE201} $RPM_BUILD_ROOT%{_libdir}/cups/filter
  467. install -c -m 644 %{SOURCE202} $RPM_BUILD_ROOT%{_sysconfdir}/cups
  468. install -c -m 644 %{SOURCE203} $RPM_BUILD_ROOT%{_sysconfdir}/cups
  469. # Ship a cjktexttops (import from mdv)
  470. install -c -m 755 %{SOURCE204} $RPM_BUILD_ROOT%{_libdir}/cups/filter/
  471. # disable imagetoraster.
  472. perl -pi -e 's/^(image.+imagetoraster)/#$1/g' %{buildroot}/usr/share/cups/mime/mime.convs
  473. #install -c -m 644 conf/mime.types $RPM_BUILD_ROOT%{_sysconfdir}/cups/mime.types
  474. #install -c -m 644 conf/mime.convs $RPM_BUILD_ROOT%{_sysconfdir}/cups/mime.convs
  475. # create directories for 32bit drivers on x86_64.
  476. %ifarch x86_64
  477. mkdir -p %{buildroot}/usr/lib/cups/{backend,cgi-bin,daemon,driver,filter,monitor,notifier}
  478. %endif
  479. %clean
  480. rm -rf $RPM_BUILD_ROOT
  481. %triggerpostun -- cups < 1.4.8
  482. %ifarch x86_64
  483. echo "moving 32bit binaries to /usr/lib ..."
  484. if [ "$1" -gt 1 ]; then
  485. for f in `find /usr/lib64/cups/ -type f`; do
  486. file $f | grep ' ELF 32-bit ' >/dev/null 2>&1
  487. if [ "$?" = "0" ]; then
  488. DEST=`echo $f | sed -e 's/^\/usr\/lib64/\/usr\/lib/'`
  489. mv -f $f $DEST
  490. fi
  491. done
  492. fi
  493. %endif
  494. %pre
  495. %ifarch x86_64
  496. if [ -L /usr/lib/cups ]; then
  497. rm -f /usr/lib/cups
  498. fi
  499. %endif
  500. %post
  501. %if %{with systemd}
  502. %systemd_post %{name}.path %{name}.socket %{name}.service
  503. # Previous migration script unnecessarily put PageLogFormat into cups-files.conf
  504. # (see bug #1148995)
  505. FILE=%{_sysconfdir}/cups/cups-files.conf
  506. for keyword in PageLogFormat; do
  507. /bin/sed -i -e "s,^$keyword,#$keyword,i" "$FILE" || :
  508. done
  509. # Because of moving logs to journal, we need to create placeholder files
  510. # at /var/log/cups for users, whose are going to install CUPS on new OS
  511. # machine with info message
  512. confignames=( "ErrorLog" "AccessLog" "PageLog" )
  513. lognames=( "error_log" "access_log" "page_log" )
  514. 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\""
  515. for ((i=0;i<${#confignames[@]};i++));
  516. do
  517. found=`/bin/grep -i "${confignames[i]} syslog" /etc/cups/cups-files.conf`
  518. if [ ! -z "$found" ]
  519. then
  520. if [ ! -f %{_localstatedir}/log/cups/${lognames[i]} ]
  521. then
  522. %{_bindir}/touch %{_localstatedir}/log/cups/${lognames[i]} || :
  523. fi
  524. perms=`%{_bindir}/ls -lah %{_localstatedir}/log/cups/${lognames[i]} | /bin/grep -v -e "\-rw-------" -e "root lp"`
  525. if [ ! -z "$perms" ]
  526. then
  527. # we need to set correct permissions and ownership because of possible
  528. # security issues
  529. # we need to have it here, because previous CUPS releases had the bug.
  530. # Checking permissions and ownership here fixes it.
  531. %{_bindir}/chown root:lp %{_localstatedir}/log/cups/${lognames[i]} || :
  532. %{_bindir}/chmod 600 %{_localstatedir}/log/cups/${lognames[i]} || :
  533. fi
  534. lastmessage=`%{_bindir}/tail -n 1 %{_localstatedir}/log/cups/${lognames[i]} | /bin/grep "$message"`
  535. if [ -z "$lastmessage" ]
  536. then
  537. %{_bindir}/echo $message >> %{_localstatedir}/log/cups/${lognames[i]} || :
  538. fi
  539. fi
  540. done
  541. %else
  542. /sbin/chkconfig --del cupsd 2>/dev/null || true # Make sure old versions aren't there anymore
  543. /sbin/chkconfig --add cups || true
  544. %endif
  545. # Remove old-style certs directory; new-style is /var/run
  546. # (see bug #194581 for why this is necessary).
  547. /bin/rm -rf /etc/cups/certs
  548. rm -f %{_localstatedir}/cache/cups/*.ipp %{_localstatedir}/cache/cups/*.cache
  549. %if !%{with systemd}
  550. if [ $1 -eq 1 ]; then
  551. # First install. Build ppds.dat.
  552. /sbin/service cups reload >/dev/null 2>&1 || :
  553. fi
  554. exit 0
  555. %endif
  556. %post libs -p /sbin/ldconfig
  557. %postun libs -p /sbin/ldconfig
  558. %post client
  559. %if %{use_alternatives}
  560. /sbin/update-alternatives --install %{_bindir}/lpr print %{_bindir}/lpr.cups 40 \
  561. --slave %{_bindir}/lp print-lp %{_bindir}/lp.cups \
  562. --slave %{_bindir}/lpq print-lpq %{_bindir}/lpq.cups \
  563. --slave %{_bindir}/lprm print-lprm %{_bindir}/lprm.cups \
  564. --slave %{_bindir}/lpstat print-lpstat %{_bindir}/lpstat.cups \
  565. --slave %{_bindir}/cancel print-cancel %{_bindir}/cancel.cups \
  566. --slave %{_sbindir}/lpc print-lpc %{_sbindir}/lpc.cups \
  567. --slave %{_mandir}/man1/cancel.1.gz print-cancelman %{_mandir}/man1/cancel-cups.1.gz \
  568. --slave %{_mandir}/man1/lp.1.gz print-lpman %{_mandir}/man1/lp-cups.1.gz \
  569. --slave %{_mandir}/man8/lpc.8.gz print-lpcman %{_mandir}/man8/lpc-cups.8.gz \
  570. --slave %{_mandir}/man1/lpq.1.gz print-lpqman %{_mandir}/man1/lpq-cups.1.gz \
  571. --slave %{_mandir}/man1/lpr.1.gz print-lprman %{_mandir}/man1/lpr-cups.1.gz \
  572. --slave %{_mandir}/man1/lprm.1.gz print-lprmman %{_mandir}/man1/lprm-cups.1.gz \
  573. --slave %{_mandir}/man1/lpstat.1.gz print-lpstatman %{_mandir}/man1/lpstat-cups.1.gz
  574. %endif
  575. %if %{with systemd}
  576. %post lpd
  577. %systemd_post cups-lpd.socket
  578. exit 0
  579. %endif
  580. %post -n compat32-%{name}-libs -p /sbin/ldconfig
  581. %postun -n compat32-%{name}-libs -p /sbin/ldconfig
  582. %preun
  583. %if %{with systemd}
  584. %systemd_preun %{name}.path %{name}.socket %{name}.service
  585. %else
  586. if [ "$1" = "0" -o -x /bin/systemctl ]; then
  587. /sbin/service cups stop > /dev/null 2>&1
  588. /sbin/chkconfig --del cups
  589. fi
  590. exit 0
  591. %endif
  592. %preun client
  593. %if %{use_alternatives}
  594. if [ $1 -eq 0 ] ; then
  595. /usr/sbin/alternatives --remove print %{_bindir}/lpr.cups
  596. fi
  597. %endif
  598. exit 0
  599. %if %{with systemd}
  600. %preun lpd
  601. %systemd_preun cups-lpd.socket
  602. exit 0
  603. %endif
  604. %if %{with systemd}
  605. %postun
  606. %systemd_postun_with_restart %{name}.path %{name}.socket %{name}.service
  607. %endif
  608. if [ "$1" -ge "1" ]; then
  609. /sbin/service cups condrestart > /dev/null 2>&1
  610. fi
  611. exit 0
  612. %if %{with systemd}
  613. %postun lpd
  614. %systemd_postun_with_restart cups-lpd.socket
  615. exit 0
  616. %endif
  617. %triggerin -- samba-client
  618. ln -sf ../../../bin/smbspool %{_libdir}/cups/backend/smb || :
  619. exit 0
  620. %triggerun -- samba-client
  621. [ $2 = 0 ] || exit 0
  622. rm -f %{_libdir}/cups/backend/smb
  623. %files
  624. %defattr(-,root,root)
  625. %license LICENSE.txt
  626. %doc README.md CREDITS.md CHANGES.md
  627. %attr(0660,root,lp) %dev(char,6,0) /lib/udev/devices/lp0
  628. %attr(0660,root,lp) %dev(char,6,1) /lib/udev/devices/lp1
  629. %attr(0660,root,lp) %dev(char,6,2) /lib/udev/devices/lp2
  630. %attr(0660,root,lp) %dev(char,6,3) /lib/udev/devices/lp3
  631. /lib/udev/rules.d/70-cups-libusb.rules
  632. %dir %attr(0755,root,lp) %{_sysconfdir}/cups
  633. %config(noreplace) %attr(0640,root,lp) %{_sysconfdir}/cups/cupsd.conf
  634. %attr(0640,root,lp) %{_sysconfdir}/cups/cupsd.conf.default
  635. %config(noreplace) %attr(0600,root,lp) %{_sysconfdir}/cups/classes.conf
  636. %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/client.conf
  637. %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/cups-files.conf
  638. %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/cups-files.conf.default
  639. #%config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/pdftops.conf
  640. %config(noreplace) %attr(0600,root,lp) %{_sysconfdir}/cups/printers.conf
  641. %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/snmp.conf
  642. %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/snmp.conf.default
  643. %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/subscriptions.conf
  644. #config(noreplace) %{_sysconfdir}/cups/mime.types
  645. #config(noreplace) %{_sysconfdir}/cups/mime.convs
  646. #%config(noreplace) %{_sysconfdir}/cups/pstoraster.convs
  647. %config(noreplace) %{_sysconfdir}/cups/dvitops.types
  648. %config(noreplace) %{_sysconfdir}/cups/dvitops.convs
  649. %config(noreplace) %attr(0644,root,lp) %{_sysconfdir}/cups/lpoptions
  650. %dir %attr(0755,root,lp) %{_sysconfdir}/cups/ppd
  651. %dir %attr(0700,root,lp) %{_sysconfdir}/cups/ssl
  652. %config(noreplace) %{_sysconfdir}/pam.d/cups
  653. %config(noreplace) %{_sysconfdir}/logrotate.d/cups
  654. %if %{with systemd}
  655. %{_unitdir}/%{name}.service
  656. %{_unitdir}/%{name}.socket
  657. %{_unitdir}/%{name}.path
  658. %config(noreplace) %{_tmpfilesdir}/cups*.conf
  659. %else
  660. %config(noreplace) %{_sysconfdir}/xinetd.d/cups-lpd
  661. %dir %attr(0755,root,lp) /var/run/cups
  662. %dir %attr(0511,lp,sys) /var/run/cups/certs
  663. %config(noreplace) %{initdir}/cups
  664. %endif
  665. %{_bindir}/cupstestppd
  666. #{_bindir}/cupstestdsc
  667. %{_bindir}/ippfind
  668. %{_bindir}/ipptool
  669. %{_bindir}/ppd*
  670. %dir %{_libdir}/cups
  671. %{_libdir}/cups/backend
  672. %{_libdir}/cups/cgi-bin
  673. %dir %{_libdir}/cups/daemon
  674. %{_libdir}/cups/daemon/cups-exec
  675. %{_libdir}/cups/daemon/cups-deviced
  676. %{_libdir}/cups/daemon/cups-driverd
  677. %{_libdir}/cups/notifier
  678. %{_libdir}/cups/filter
  679. %{_libdir}/cups/monitor
  680. %{_libdir}/cups/driver
  681. %ifarch x86_64
  682. %dir %{_prefix}/lib/cups
  683. %dir %{_prefix}/lib/cups/*
  684. %endif
  685. %{_mandir}/man1/cups.1*
  686. %{_mandir}/man1/cupstest*
  687. %{_mandir}/man1/ipp*
  688. %{_mandir}/man1/ppd*
  689. %{_mandir}/man[578]/*
  690. %{_sbindir}/*
  691. %exclude %{_sbindir}/lpc.cups
  692. %{_datadir}/cups
  693. %{_datadir}/locale/*/*
  694. %{_datadir}/ppd
  695. %dir %attr(1770,root,lp) /var/spool/cups/tmp
  696. %dir %attr(0710,root,lp) /var/spool/cups
  697. %dir %attr(0755,lp,sys) /var/log/cups
  698. %{_datadir}/pixmaps/cupsprinter.png
  699. %{_sysconfdir}/cron.daily/cups
  700. %config(noreplace) %{_sysconfdir}/dbus-1/system.d/cups.conf
  701. %dir %{_libdir}/cups/command
  702. %{_libdir}/cups/command/ippevepcl
  703. %{_libdir}/cups/command/ippeveps
  704. %{_mandir}/man7/ippevepcl.7.gz
  705. %files libs
  706. %defattr(-,root,root)
  707. %doc LICENSE.txt
  708. %{_libdir}/*.so.*
  709. %files devel
  710. %defattr(-,root,root)
  711. %{_bindir}/cups-config
  712. %{_libdir}/*.so
  713. %{_includedir}/cups
  714. %{_mandir}/man1/cups-config.1*
  715. %{_sysconfdir}/rpm/macros.cups
  716. %files client
  717. %{_sbindir}/lpc.cups
  718. %{_bindir}/cancel*
  719. %{_bindir}/lp*
  720. %{_mandir}/man1/lp*.1.gz
  721. %{_mandir}/man1/cancel-cups.1.gz
  722. %{_mandir}/man8/lpc-cups.8.gz
  723. %{_bindir}/ippeveprinter
  724. %{_mandir}/man1/ippeveprinter.1.gz
  725. %files lpd
  726. %defattr(-,root,root)
  727. %if %{with systemd}
  728. %{_unitdir}/cups-lpd.socket
  729. %{_unitdir}/cups-lpd@.service
  730. %endif
  731. %{_libdir}/cups/daemon/cups-lpd
  732. %{_mandir}/man8/cups-lpd.8.gz
  733. %if %{build_compat32}
  734. %files -n compat32-%{name}-devel
  735. %defattr(-,root,root)
  736. %{_libdir}/*.so
  737. %files -n compat32-%{name}-libs
  738. %doc LICENSE.txt
  739. %defattr(-,root,root)
  740. %{_libdir}/*.so.*
  741. %endif
  742. %changelog
  743. * Sun Nov 08 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.3-2
  744. - shifted to OpenPrinting version.
  745. * Fri May 22 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.3.3-1
  746. - new upstream release.
  747. - added systemd support (disabled as default).
  748. - splitted the main package into 3 subpackages: cups, cups-client, cups-lpd.
  749. * Wed May 08 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.11-1
  750. - new upstream release.
  751. * Thu Jan 24 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.10-1
  752. - new upstream release.
  753. - dropped Patch10-11, 14, 17, 19-20, 27-28, 33-34 and 38.
  754. * Wed Jan 03 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.2.6-1
  755. - new upstream release.
  756. - replaced all patches from rawhide.
  757. - updated Patch102.
  758. * Wed Jun 29 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.4-2
  759. - rebuilt with new toolchain.
  760. * Thu Jun 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.4-1
  761. - new upstream release.
  762. * Sat May 14 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-3
  763. - changed R:openssl-devel in cups-devel to R:gnutls-devel.
  764. - added R:e2fsprogs-devel to cups-devel.
  765. * Tue May 10 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-2
  766. - rebuilt with gnutls.
  767. * Sat Feb 6 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.3-1
  768. - new upstream release.
  769. * Thu Dec 3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.2-1
  770. - new upstream release.
  771. * Wed Dec 2 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.1-1
  772. - new upstream release.
  773. * Sun Oct 4 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.0-1
  774. - new upstream release.
  775. * Tue Jun 9 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.3-1
  776. - new upstream release.
  777. * Tue Feb 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.2-1
  778. - new upstream release.
  779. * Sun Oct 5 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.0-1
  780. - new upstream release.
  781. * Sun Jun 8 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.3-1
  782. - new upstream release.
  783. - removed Patch100 (fixed in upstream).
  784. * Tue Feb 11 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.1-1
  785. - new upstream release.
  786. * Sat Jan 04 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.7.0-1
  787. - new upstream release.
  788. * Tue Apr 17 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-6
  789. - modified initscript and added Patch104 to deal with wrong drivers.
  790. * Sun Feb 12 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-5
  791. - fixed %%changelog.
  792. * Sun Feb 12 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-4
  793. - removed /etc/cups/mime.{convs,types}.
  794. * Fri Feb 10 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-3
  795. - replaced some patches.
  796. - fixed to print splitted images (BTS:1217).
  797. * Sat Sep 10 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-2
  798. - added Patch103 to detect printers with 32bit drivers.
  799. * Thu Sep 08 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.8-1
  800. - new upstream release (against CVE-2011-2896).
  801. - added str3914.patch (against CVE-2011-3170).
  802. - updated patches.
  803. * Sun May 29 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.6-2
  804. - added Patch101.
  805. * Tue Mar 22 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.4.6-1
  806. - new upstream release.
  807. - dropped old patches.
  808. - shipped some patches from fedora development.
  809. * Sun Jul 4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-6
  810. - add --disable-slp option in configure
  811. * Sun Jul 4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-5
  812. - add Patch340 for fix CVE-2009-2820
  813. - add Patch350 for fix CVE-2009-3553
  814. - patch340,350 are from rhel5
  815. * Sun Jul 4 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-4
  816. - fix changelog typo
  817. - add Patch310 for fix CVE-2010-0540 (texttop)
  818. - add Patch320 for fix CVE-2010-0542 (web IF CSRF)
  819. - add Patch330 for fix CVE-2010-1748 (web IF uninit memory read)
  820. * Sun Mar 7 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-3
  821. - setuid 0 to lppasswd binary
  822. * Sat Mar 6 2010 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 1.3.11-2
  823. - add Patch300 for fix CVE-2010-0393 (lppasswd)
  824. * Fri Jul 10 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.11-1
  825. - new upstream release
  826. * Sun Jun 28 2009 NAKAMURA Kenta <kenta@vinelinux.org> 1.3.10-2
  827. - Build requires krb5-devel.
  828. - The devel sub-package requires krb5-devel.
  829. * Thu Jun 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.10-1
  830. - new upstream release
  831. - remove LC_ALL from cjktexttops
  832. * Sat Apr 04 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.9-4
  833. - rebuild with openldap-2.4.11
  834. * Mon Mar 23 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.3.9-3
  835. - add /usr/lib/cups for 32bit binary drivers on x86_64.
  836. * Sat Jan 17 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 1.3.9-2
  837. - rebuild with gnutls-2.6.3
  838. * Wed Oct 29 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.3.9-1
  839. - new upstream release
  840. - renumber fedora patches
  841. - remove hal patch, hal backend module is now provided by hal-cups-utils
  842. * Mon Apr 21 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.3.7-2
  843. - remove libacl from dependency.
  844. * Fri Apr 18 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.3.7-1
  845. - new upstream release.
  846. - ship some patches from Fedora development.
  847. * Sun Aug 26 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.23-0vl13
  848. - add Patch300 and Patch310 for CVE-2007-0104 and CVE-2007-3387 respectively
  849. (same fixes for 1.1.23-0vl7.1 for Vine-4.1)
  850. * Sat May 26 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-0vl12
  851. - enabled Patch20: cups-gcc4.patch
  852. * Mon May 21 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.1.23-0vl11
  853. - always do %%configure on all archs (due to autoconf upgrade)
  854. * Thu May 17 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl10
  855. - rebuild with new openssl
  856. * Thu May 03 2007 NAKAMURA Kenta <kenta@vinelinux.org> 1.1.23-0vl9
  857. - added compat32 subpackage for x86_64 arch support.
  858. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl8
  859. - rebuild with dbus-1.0
  860. * Fri Oct 27 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl7
  861. - add Patch50, Source20 to support hal backend.
  862. * Thu Jun 29 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl6
  863. - add cjktexttops to use mpage for text-ps filter
  864. (Source18, Patch210)
  865. - mark mime.convs and mime.types as config file
  866. * Sat Mar 11 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl5
  867. - add Patch43 for dbus support
  868. - add Patch200 to support UTF-8 ppd files
  869. * Wed Feb 15 2006 Shu KONNO <owa@bg.wakwak.com> 1.1.23-0vl4
  870. - fixed cups-link.patch of missing "-L../cups"
  871. - added %%configure for x86_64 architecture support
  872. * Sat Jan 28 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 1.1.23-0vl3
  873. - import some FC patches
  874. - fix several security bugs
  875. - CVS-2005-3625,CVS-2005-3626,CVS-2005-3627
  876. - CAN-2005-2097
  877. - CAN-2004-0888
  878. - CAN-2005-0064
  879. - apply upstream patches
  880. * Sun Mar 27 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl2
  881. - added dvitops, dvitops.convs and dvitops.types
  882. * Tue Jan 04 2005 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl1
  883. - new upstream version(cups-1.1.23)
  884. - removed unused patches
  885. * Fri Dec 31 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl0.1rc1
  886. - added cups-1.1.23rc1-scheduler_client.patch
  887. -- special thanks to kmuto@debian.org
  888. * Mon Dec 20 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.23-0vl0.0rc1
  889. - new upstream version (cups-1.1.23rc1)
  890. * Wed Nov 03 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl1
  891. - new upstream version (cups-1.1.22)
  892. -- updated cups-resource-ja-1.1.22
  893. * Sun Oct 17 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl0.0rc2
  894. - new upstream version (cups-1.1.22rc2)
  895. * Wed Oct 06 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.22-0vl0.0rc1
  896. - new upstream version (cups-1.1.22rc1)
  897. * Thu Sep 16 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl1
  898. - new upstream version (cups-1.1.21)
  899. * Thu Aug 26 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.1rc2
  900. - added some txt files in docdir
  901. * Wed Aug 25 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.0rc2
  902. - new upstream version (cups-1.1.21rc2)
  903. - updated to cups-1.1.21rc2-makefile.patch(patch11)
  904. * Sun May 30 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.21-0vl0.0rc1
  905. - new upstream version (cups-1.1.21rc1)
  906. - updated cups-resource-ja-1.1.21.tar.bz2
  907. - updated ppdsdat.patch
  908. - dropped system-auth.patch
  909. * Fri Apr 23 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl6
  910. - updated pstorater to v1.6
  911. * Sun Apr 18 2004 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl5
  912. - removed README.vine
  913. * Thu Apr 15 2004 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 1.1.20-0vl4
  914. - rebuild
  915. * Wed Dec 10 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl3
  916. - fixed DefaultCharset in cupsd.conf
  917. * Mon Dec 08 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl2
  918. - added PCL XL/PCL 6 PPD and filter from ESP gs-7.07.1
  919. - updated pstoraster
  920. * Sun Dec 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.20-0vl1
  921. - new upstream version (cups-1.1.20)
  922. -- fixed resource-ja
  923. -- changed DefaultCharset in cupsd.conf
  924. -- removed patch100
  925. - raised update-alternatives's priority to 50
  926. * Sat Nov 15 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl6
  927. - added Patch11 (cups-1.1.19-makefile.patch)
  928. -- fixed makefile
  929. - added resource-ja (imported from cups-1.2.x)
  930. - added Patch100(cups-1.1.19-lang-adhoc.patch)
  931. -- fixed "DefaultCharset EUC-JP" in cupsd.conf
  932. -- Don't fallback to C locale in setlocale()
  933. * Fri Nov 14 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl5
  934. - merged to 1.1.20rc6 patch
  935. - dropped patches
  936. --cups-idefense-v2.patch, cups-1.1.17-sanity.patch
  937. - deleted needless dependence in Obsoletes
  938. * Thu Nov 13 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl4
  939. - fixed init script for logrotation
  940. * Sun Oct 26 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl3
  941. - fixed coding system in spec file
  942. - updated README.vine
  943. * Mon Jul 07 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl2
  944. - added cups-1.1.17-sanity.patch
  945. - added Japanese descriptions
  946. * Fri Jun 06 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl1
  947. - fixed spec file
  948. * Thu Jun 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0vl0.1
  949. - new upstream vrsion
  950. - remade spec file
  951. * Sun May 18 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.19-0.rc5vl1
  952. -- disable D-BUS.
  953. - new upstream version
  954. - added some fixes. from cups-1.1.19-0.rc5.2
  955. -- disable D-BUS.
  956. -- Fix option parsing in lpq (bug #90823).
  957. -- No longer need error, sigchld patches.
  958. -- Ship cupstestppd.
  959. -- Mark banners as config files (bug #89069).
  960. * Fri Apr 18 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl2
  961. - imported some patches from rawhide (cups-1.1.18-2)
  962. -- added cups-idefense-v2.patch
  963. -- added cups-1.1.17-pdftops.patch
  964. -- added cups-1.1.17-error.patch
  965. -- added cups-1.1.17-rcp.patch
  966. -- added cups-1.1.17-ppdsdat.patch
  967. -- added cups-1.1.17-sigchld.patch
  968. - Fix translation in the init script
  969. - Build ppds.dat on first install.
  970. - Use pkg-config information to find SSL libraries
  971. - Make 'service cups reload' update the configuration first
  972. - added README.vine
  973. * Sun Jan 05 2003 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl1
  974. - fixed alternative path
  975. * Fri Dec 27 2002 Satoshi MACHINO <machino@vinelinux.org> 1.1.18-0vl0
  976. - New upstream version
  977. - dropped patch4 (merged cups-1.1.18)
  978. - dropped epoch tag
  979. * Thu Dec 26 2002 Satoshi MACHINO <machino@vinelinux.org> 1.1.17-3vl0
  980. - build on Vine Linux
  981. * Tue Dec 10 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-3
  982. - Fix cupsd startup hang (bug #79346).
  983. * Mon Dec 9 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-2
  984. - Fix parallel backend behaviour when cancelling jobs.
  985. * Mon Dec 9 2002 Tim Waugh <twaugh@redhat.com> 1.1.17-1
  986. - 1.1.17.
  987. - No longer need libdir patch.
  988. - Fix logrotate script (bug #76791).
  989. * Wed Nov 20 2002 Tim Waugh <twaugh@redhat.com>
  990. - Build requires XFree86-devel (bug #78362).
  991. * Wed Nov 20 2002 Tim Waugh <twaugh@redhat.com>
  992. - 1.1.16.
  993. - Updated system-auth patch.
  994. - Add ncp backend script.
  995. * Wed Nov 13 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-15
  996. - Set alternatives priority to 40.
  997. * Mon Nov 11 2002 Nalin Dahyabhai <nalin@redhat.com> 1.1.15-14
  998. - Buildrequire pam-devel.
  999. - Patch default PAM config file to remove directory names from module paths,
  1000. allowing the configuration files to work equally well on multilib systems.
  1001. - Patch default PAM config file to use system-auth, require the file at build-
  1002. time because that's what data/Makefile checks for.
  1003. * Fri Nov 8 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-13
  1004. - Use logrotate for log rotation (bug #76791).
  1005. - No longer need cups.desktop, since redhat-config-printer handles it.
  1006. * Thu Oct 17 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-12
  1007. - Revert to libdir for CUPS_SERVERBIN.
  1008. * Thu Oct 17 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-11
  1009. - Use %%configure for multilib correctness.
  1010. - Use libexec instead of lib for CUPS_SERVERBIN.
  1011. - Ship translated man pages.
  1012. - Remove unshipped files.
  1013. - Fix file list permissions (bug #59021, bug #74738).
  1014. - Fix messy initscript output (bug #65857).
  1015. - Add 'reload' to initscript (bug #76114).
  1016. * Fri Aug 30 2002 Bernhard Rosenkraenzer <bero@redhat.de> 1.1.15-10
  1017. - Add generic postscript PPD file (#73061)
  1018. * Mon Aug 19 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-9
  1019. - Fix prefix in pstoraster (bug #69573).
  1020. * Mon Aug 19 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-8
  1021. - Disable cups-lpd by default (bug #71712).
  1022. - No need for fread patch now that glibc is fixed.
  1023. * Thu Aug 15 2002 Tim Waugh <twaugh@redhat.com> 1.1.15-7
  1024. - Really add cups-lpd xinetd file (bug #63919).
  1025. - Ship pstoraster (bug #69573).
  1026. - Prevent fread from trying to read from beyond EOF (fixes a segfault
  1027. with new glibc).
  1028. * Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> 1.1.15-6
  1029. - rebuilt with gcc-3.2 (we hope)
  1030. * Mon Aug 5 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-5
  1031. - Add cups-lpd xinetd file (#63919)
  1032. * Tue Jul 23 2002 Florian La Roche <Florian.LaRoche@redhat.de> 1.1.15-4
  1033. - add a "exit 0" to postun script
  1034. * Tue Jul 2 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-3
  1035. - Add a symlink /usr/share/cups/doc -> /usr/share/doc/cups-devel-1.1.15
  1036. because some applications expect to find the cups docs in
  1037. /usr/share/cups/doc
  1038. * Fri Jun 21 2002 Tim Powers <timp@redhat.com>
  1039. - automated rebuild
  1040. * Fri Jun 21 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.15-1
  1041. - 1.1.15-1
  1042. - Fix up smb printing trigger (samba-client, not samba-clients)
  1043. - Start cupsd earlier, apparently it needs to be running before samba
  1044. starts up for smb printing to work.
  1045. * Thu May 23 2002 Tim Powers <timp@redhat.com>
  1046. - automated rebuild
  1047. * Tue May 7 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-17
  1048. - Rebuild in current environment
  1049. - [-16 never existed because of build system breakage]
  1050. * Wed Apr 17 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-15
  1051. - Fix bug #63387
  1052. * Mon Apr 15 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-14
  1053. - Fix dangling symlink created by samba-clients trigger
  1054. * Wed Apr 10 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-13
  1055. - Add desktop file and icon for CUPS configuration
  1056. * Wed Apr 3 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-12
  1057. - Support SMB printing (#62407)
  1058. - Add HTML redirections to doc files to work around users mistaking
  1059. /usr/share/doc/cups-1.1.14 for the web frontend (#62405)
  1060. * Tue Apr 2 2002 Bill Nottingham <notting@redhat.com> 1.1.14-11
  1061. - fix subsys in initscript (#59206)
  1062. - don't strip binaries
  1063. * Mon Mar 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-10
  1064. - Make initscript use killproc instead of killall
  1065. * Fri Mar 8 2002 Bill Nottingham <notting@redhat.com> 1.1.14-9
  1066. - use alternatives --initscript support
  1067. * Mon Mar 4 2002 Bill Nottingham <notting@redhat.com> 1.1.14-8
  1068. - use the right path for the lpc man page, duh
  1069. * Thu Feb 28 2002 Bill Nottingham <notting@redhat.com> 1.1.14-7
  1070. - lpc man page is alternative too
  1071. - run ldconfig in -libs %post/%postun, not main
  1072. - remove alternatives in %preun
  1073. * Wed Feb 27 2002 Bill Nottingham <notting@redhat.com> 1.1.14-6
  1074. - don't source /etc/sysconfig/network in cups.init, we don't use any
  1075. values from it
  1076. * Tue Feb 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-4
  1077. - Fix bugs #60220 and #60352
  1078. * Thu Feb 21 2002 Tim Powers <timp@redhat.com>
  1079. - rebuild against correct version of openssl (0.9.6b)
  1080. * Wed Feb 20 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-2
  1081. - Add all man pages to alternatives (#59943)
  1082. - Update to real 1.1.14
  1083. * Tue Feb 12 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.14-1
  1084. - Update to almost-1.1.14
  1085. * Mon Feb 11 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-5
  1086. - Move cups-config to cups-devel subpackage
  1087. - Make alternatives usage a %%define to simplify builds for earlier
  1088. releases
  1089. - Explicitly provide things we're supplying through alternatives
  1090. to shut up kdeutils dependencies
  1091. * Tue Feb 5 2002 Tim Powers <timp@redhat.com>
  1092. - shut the alternatives stuff up for good
  1093. * Fri Feb 1 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-3
  1094. - Fix alternatives stuff
  1095. - Don't display error messages in %%post
  1096. * Wed Jan 30 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-2
  1097. - alternatives stuff
  1098. * Tue Jan 29 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.13-1
  1099. - 1.1.13
  1100. - Add patch for koi8-{r,u} and iso8859-8 encodings (#59018)
  1101. - Rename init scripts so we can safely "killall cupsd" from there
  1102. * Sat Jan 26 2002 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.12-1
  1103. - Initial (conflicting, since alternatives isn't there yet) packaging for
  1104. Red Hat Linux
  1105. * Sat Jan 19 2002 Bernhard Rosenkraenzer <bero@redhat.com>
  1106. - 1.1.12
  1107. * Mon Nov 5 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-3
  1108. - Compress PPD files
  1109. - Fix build with gcc 3.1
  1110. - Fix init script
  1111. * Tue Sep 4 2001 Bernhard Rosenkraenzer <bero@redhat.com> 1.1.10-2
  1112. - Fix URL
  1113. - Generate printcap
  1114. - s/Copyright/License/g
  1115. * Tue Sep 4 2001 Than Ngo <than@redhat.com> 1.1.10-1
  1116. - update to 1.1.10-1 for ExtraBinge 7.2
  1117. * Tue May 29 2001 Michael Stefaniuc <mstefani@redhat.com>
  1118. - update to 1.1.8
  1119. - changed cupsd.conf to generate /etc/printcap
  1120. * Tue May 15 2001 Than Ngo <than@redhat.com>
  1121. - update to 1.1.7, bugfixes
  1122. * Thu Dec 14 2000 Than Ngo <than@redhat.com>
  1123. - fixed package dependency with lpr and LPRng
  1124. * Wed Oct 25 2000 Than Ngo <than@redhat.com>
  1125. - remove man/cat
  1126. * Tue Oct 24 2000 Than Ngo <than@redhat.com>
  1127. - don't start cupsd service in level 0, fixed
  1128. * Thu Oct 19 2000 Than Ngo <than@redhat.com>
  1129. - update to 1.1.4
  1130. - fix CUPS_DOCROOT (Bug #18717)
  1131. * Fri Aug 11 2000 Than Ngo <than@redhat.de>
  1132. - update to 1.1.2 (Bugfix release)
  1133. * Fri Aug 4 2000 Than Ngo <than@redhat.de>
  1134. - fix, cupsd read config file under /etc/cups (Bug #15432)
  1135. - add missing cups filters
  1136. * Wed Aug 2 2000 Tim Powers <timp@redhat.com>
  1137. - rebuilt against libpng-1.0.8
  1138. * Tue Aug 01 2000 Than Ngo <than@redhat.de>
  1139. - fix permission, add missing ldconfig in %post and %postun (Bug #14963)
  1140. * Sat Jul 29 2000 Bernhard Rosenkraenzer <bero@redhat.com>
  1141. - 1.1.1 (this has some major bugfixes)
  1142. - Fix a typo in initscript (it's $?, not ?$)
  1143. - Fix /usr/etc vs. /etc trouble, don't insist on /usr/var (YUCK!)
  1144. - Create the spool dir
  1145. * Fri Jul 28 2000 Than Ngo <than@redhat.de>
  1146. - fix unclean code for building against gcc-2.96
  1147. - add missing restart function in startup script
  1148. * Fri Jul 28 2000 Tim Powers <timp@redhat.com>
  1149. - fixed initscript so that conrestart doesn't return 1 if the test fails
  1150. * Mon Jul 24 2000 Prospector <prospector@redhat.com>
  1151. - rebuilt
  1152. * Wed Jul 19 2000 Than Ngo <than@redhat.de>
  1153. - using service to fire them up
  1154. - fix Prereq section
  1155. * Mon Jul 17 2000 Tim Powers <timp@redhat.com>
  1156. - added defattr to the devel package
  1157. * Sun Jul 16 2000 Than Ngo <than@redhat.de>
  1158. - add cups config files
  1159. * Sat Jul 15 2000 Than Ngo <than@redhat.de>
  1160. - update to 1.1 release
  1161. - move back to /etc/rc.d/init.d
  1162. - fix cupsd.init to work with /etc/init.d and /etc/rc.d/init.d
  1163. - split cups
  1164. * Wed Jul 12 2000 Than Ngo <than@redhat.de>
  1165. - rebuilt
  1166. * Thu Jul 06 2000 Tim Powers <timp@redhat.com>
  1167. - fixed broken PreReq to now require /etc/init.d
  1168. * Tue Jun 27 2000 Tim Powers <timp@redhat.com>
  1169. - PreReq initscripts >= 5.20
  1170. * Mon Jun 26 2000 Tim Powers <timp@redhat.com>
  1171. - started changelog
  1172. - fixed init.d script location
  1173. - changed script in init.d quite a bit and made more like the rest of our
  1174. startup scripts