cups-vl.spec 36 KB

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