cups-vl.spec 48 KB

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