/[smeserver]/rpms/LPRng/sme9/LPRng.spec
ViewVC logotype

Contents of /rpms/LPRng/sme9/LPRng.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Wed Feb 13 16:39:01 2013 UTC (11 years, 8 months ago) by slords
Branch: MAIN
CVS Tags: LPRng-3_8_35-2_el6_sme, HEAD
Changes since 1.1: +35 -106 lines
Upgrade version

1 Summary: The LPRng print spooler.
2 Name: LPRng
3 Version: 3.8.35
4 Release: 2%{?dist}
5 License: GPL and Artistic
6 Group: System Environment/Daemons
7 Source0: ftp://ftp.lprng.com/pub/LPRng/LPRng/%{name}-%{version}.tgz
8 Source1: lpd.init
9 Patch0: LPRng-3.8.35-el5_build_fix.patch
10 URL: http://www.lprng.com
11 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root
12 Obsoletes: lpr
13 Provides: lpr
14 Prereq: /sbin/chkconfig, /etc/rc.d/init.d, mktemp, fileutils, textutils, gawk
15 BuildPreReq: gettext
16
17 %description
18 LPRng is an enhanced, extended, and portable implementation of the
19 Berkeley LPR print spooler functionality. LPRng provides the same
20 interface and meeting RFC1179 requirements, but the implementation is
21 completely new and provides support for the following features:
22 lightweight (no databases needed) lpr, lpc, and lprm programs; dynamic
23 redirection of print queues; automatic job holding; highly verbose
24 diagnostics; multiple printers serving a single queue; client programs
25 do not need to run SUID root; greatly enhanced security checks; and a
26 greatly improved permission and authorization mechanism.
27
28 LPRng is compatible with other print spoolers and network printers
29 that use the LPR interface and meet RFC1179 requirements. LPRng
30 provides emulation packages for the SVR4 lp and lpstat programs,
31 eliminating the need for another print spooler package. These
32 emulation packages can be modified according to local requirements, in
33 order to support vintage printing systems.
34
35 For users who require secure and/or authenticated printing support,
36 LPRng supports Kerberos V, MIT Kerberos IV Print Support, and PGP
37 authentication. Additional authentication support is extremely simple
38 to add.
39
40 %prep
41
42 %setup -q
43
44 %patch0 -p1
45
46 # pick up configure.in changes
47
48 # set up gettext
49 #(
50 #cd po
51 #rm Makefile.in.in
52 #ln -s /usr/share/gettext/po/Makefile.in.in .
53 #)
54
55 #sh CREATE_CONFIGURE
56
57 %build
58 CFLAGS="$RPM_OPT_FLAGS" ; export CFLAGS
59 %configure --enable-nls \
60 --disable-werror \
61 --with-userid=lp \
62 --with-groupid=lp
63 make MAKEPACKAGE=YES
64
65 %install
66 rm -rf %{buildroot}
67
68 # Installation of locales is broken... Work around it!
69
70 make SUID_ROOT_PERMS=" 04755" DESTDIR=${RPM_BUILD_ROOT} MAKEPACKAGE=YES mandir=%{_mandir} install
71
72 # install init script
73 mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d
74 # install -m755 %{_sysconfdir}/lpd/lpd.init ${RPM_BUILD_ROOT}%{_sysconfdir}/rc.d/init.d/lpd
75
76 %clean
77 rm -rf %{buildroot}
78
79 %post
80 /sbin/chkconfig --add lpd
81
82 %preun
83 if [ "$1" = 0 ]; then
84 /sbin/service lpd stop
85 /sbin/chkconfig --del lpd
86 fi
87
88 %postun
89 if [ "$1" -ge "1" ]; then
90 /sbin/service lpd start >/dev/null 2>&1
91 fi
92
93 %files
94 %defattr(-,root,root)
95 %config %{_sysconfdir}/lpd/lpd.conf
96 %config %{_sysconfdir}/lpd/lpd.perms
97 %attr(644,root,root) %{_sysconfdir}/lpd/lpd.conf.sample
98 %attr(644,root,root) %{_sysconfdir}/lpd/lpd.perms.sample
99 %attr(644,root,root) %{_sysconfdir}/printcap.sample
100 %attr(755,root,root) %{_libdir}/*
101 %config %{_sysconfdir}/rc.d/init.d/lpd
102 %attr(755,root,root) %{_sysconfdir}/rc.d/init.d/lpd
103 %doc %{_datadir}/LPRng/*
104 %attr(755,lp,lp) %{_bindir}/lpq
105 %attr(755,lp,lp) %{_bindir}/lprm
106 %attr(755,lp,lp) %{_bindir}/lpr
107 %attr(755,lp,lp) %{_bindir}/lpstat
108 %{_bindir}/lp
109 %{_bindir}/cancel
110 %attr(755,lp,lp) %{_sbindir}/lpc
111 %attr(755,root,root) %{_sbindir}/lpd
112 %attr(755,root,root) %{_sbindir}/lprng_certs
113 %attr(755,root,root) %{_sbindir}/lprng_index_certs
114 %attr(755,root,root) %{_sbindir}/checkpc
115 %attr(755,root,root) /usr/libexec/filters/*
116 %dir /usr/libexec/filters
117 %{_mandir}/*/*
118 %attr(755,root,root) %{_prefix}/share/locale/*
119 %doc CHANGES CONTRIBUTORS COPYRIGHT INSTALL LICENSE
120 %doc README* VERSION Y2KCompliance
121 %doc DOCS
122
123 %exclude %{_sysconfdir}/printcap
124 %exclude %{_sysconfdir}/rc.d/init.d/lpd.sample
125
126 %changelog
127 * Thu Nov 13 2003 Patrick Powell <papowell@astart.com> 3.8.23-1
128 - updated everything to fit the new sysconfdir standards
129 - the startup script is copied to sysconfdir/lpd/lpd.init as part of the
130 - normal install now
131
132 * Tue Aug 21 2001 Patrick Powell <papowell@astart.com> 3.7.5-1
133 - new release for 3.7.5
134 - Note the aclocal, autoconf, etc. stuff added to make the various
135 - versions of gettext and libtool compatible with the RedHat version.
136
137 * Fri Aug 10 2001 Crutcher Dunnavant <crutcher@redhat.com> 3.7.4-28
138 - disabled gdbm support, changed CFLAGS; #41652
139
140 * Thu Aug 9 2001 Crutcher Dunnavant <crutcher@redhat.com> 3.7.4-27
141 - ownz /usr/libexec/filters; #51158
142 - make checkpc nonblocking on its tests; #37995
143
144 * Thu Aug 2 2001 Crutcher Dunnavant <crutcher@redhat.com> 3.7.4-26
145 - added gdbm-devel dep; #44885
146
147 * Fri Jun 29 2001 Bernhard Rosenkraenzer <bero@redhat.com>
148 - Fix build on s390
149
150 * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
151 - Bump release + rebuild.
152
153 * Thu Jun 07 2001 Crutcher Dunnavant <crutcher@redhat.com>
154 - setgroups droping patch
155
156 * Thu Mar 29 2001 Crutcher Dunnavant <crutcher@redhat.com>
157 - told checkpc to only Check_file() job files. (keeping it from zapping the master-filter)
158
159 * Fri Mar 9 2001 Crutcher Dunnavant <crutcher@redhat.com>
160 - applied elliot's patch (which i got idependently from the lprng list as well)
161 - that fixes a thinko that killed LPRng on 64 arches.
162
163 * Fri Mar 9 2001 Crutcher Dunnavant <crutcher@redhat.com>
164 - fixed the URLs for the LPRng project
165
166 * Thu Mar 8 2001 Crutcher Dunnavant <crutcher@redhat.com>
167 - reverted the shutdown call in Local_job to make device filters work.
168 - all your base are belong to us
169
170 * Wed Mar 07 2001 Philipp Knirsch <pknirsch@redhat.de>
171 - Removed the shutdown patch for common/linksupport:Link_close() as ii
172 generated a deadlock between lpr and lpd for none existing printers.
173
174 * Sun Feb 25 2001 Crutcher Dunnavant <crutcher@redhat.com>
175 - hacked out the shutdown(sock, 1) calls that killed stupid network printers.
176
177 * Wed Feb 15 2001 Crutcher Dunnavant <crutcher@redhat.com>
178 - tweak to ldp.init's display messages
179
180 * Fri Feb 9 2001 Crutcher Dunnavant <crutcher@redhat.com>
181 - man page tweak
182
183 * Thu Feb 8 2001 Crutcher Dunnavant <crutcher@redhat.com>
184 - (yet) further tweaks to lpd.init's display format.
185
186 * Tue Feb 6 2001 Crutcher Dunnavant <crutcher@redhat.com>
187 - further tweaks to lpd.init's display format.
188
189 * Tue Feb 6 2001 Crutcher Dunnavant <crutcher@redhat.com>
190 - cleaned up lpd.init to do translations correctly, and stop screwing up
191 - result values.
192
193 * Thu Feb 1 2001 Crutcher Dunnavant <crutcher@redhat.com>
194 - added lpd init back (ick!)
195
196 * Wed Jan 24 2001 Crutcher Dunnavant <crutcher@redhat.com>
197 - removed req for printconf (It should go the other way)
198
199 * Thu Jan 18 2001 Crutcher Dunnavant <crutcher@redhat.com>
200 - fixed file list
201
202 * Thu Jan 18 2001 Crutcher Dunnavant <crutcher@redhat.com>
203 - removed lpd.init, set requirement of printconf
204
205 * Thu Jan 11 2001 Crutcher Dunnavant <crutcher@redhat.com>
206 - upgraded to LPRng-3.7.4
207
208 * Tue Dec 12 2000 Crutcher Dunnavant <crutcher@redhat.com>
209 - rebuild for kerb
210
211 * Mon Oct 23 2000 Crutcher Dunnavant <crutcher@redhat.com>
212 - Upgraded to LPRng-3.6.26
213 - Removed syslog patch, as .24 fixes the problem
214
215 * Mon Sep 25 2000 Crutcher Dunnavant <crutcher@redhat.com>
216 - Patched use_syslog to avoid a format string exploit.
217 - Resolves bug #17756
218
219 * Mon Sep 18 2000 Crutcher Dunnavant <crutcher@redhat.com>
220 - Upgraded to LPRng-3.6.24
221
222 * Mon Sep 11 2000 Crutcher Dunnavant <crutcher@redhat.com>
223 - Added gettext to the BuildPreReq list
224
225 * Mon Sep 11 2000 Crutcher Dunnavant <crutcher@redhat.com>
226 - Fixed lpd.init to use /etc/rc.d/init.d/, instead of /etc/init.d
227
228 * Mon Sep 11 2000 Crutcher Dunnavant <crutcher@redhat.com>
229 - changed the prereq: /etc/init.d to: /etc/rc.d/init.d
230 - we are not changing that over (yet?)
231
232 * Mon Aug 14 2000 Crutcher Dunnavant <crutcher@redhat.com>
233 - removed the sticky bit from lpc
234
235 * Mon Aug 14 2000 Crutcher Dunnavant <crutcher@redhat.com>
236 - removed the sticky bit from the client programs (LPRng doesn't need them)
237
238 * Sat Aug 05 2000 Bill Nottingham <notting@redhat.com>
239 - condrestart fixes
240
241 * Fri Aug 4 2000 Bill Nottingham <notting@redhat.com>
242 - triggerpostun on lpr
243
244 * Sun Jul 30 2000 Bernhard Rosenkraenzer <bero@redhat.com>
245 - 3.6.22 (some fixes)
246
247 * Tue Jul 25 2000 Bill Nottingham <notting@redhat.com>
248 - fix prereq
249
250 * Sat Jul 22 2000 Nalin Dahyabhai <nalin@redhat.com>
251 - fix bogus checkpc error messages when the lockfile doesn't exist because
252 init scripts clear /var/run (#14472)
253
254 * Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com>
255 - fix chkconfig comments in the init script
256
257 * Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com>
258 - move the init script to /etc/rc.d/init.d
259 - fix perms on setuid binaries
260
261 * Fri Jul 14 2000 Nalin Dahyabhai <nalin@redhat.com>
262 - patch checkpc to not complain when filter is executable and in the
263 spool directory
264 - remove --disable-force_localhost from configure invocation for better
265 compatibility with BSD LPR and rhs-printfilters
266 - change group back to lp, which is what printtool expects
267
268 * Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com>
269 - change default group to 'daemon' to match 6.2
270 - enable NLS support
271 - remove Prefix: tag
272 - break init script out into a separate file
273 - fix up broken printcaps in post-install
274 - run checkpc -f at start-time
275
276 * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
277 - automatic rebuild
278
279 * Tue Jul 11 2000 Bernhard Rosenkraenzer <bero@redhat.com>
280 - 3.6.21
281 - get rid of the notypedef patch - gcc has been fixed at last.
282
283 * Mon Jun 26 2000 Preston Brown <pbrown@redhat.com>
284 - sample config files removed from /etc.
285 - initscript moved to /etc/init.d
286
287 * Wed Jun 21 2000 Bernhard Rosenkraenzer <bero@redhat.com>
288 - 3.6.18
289
290 * Sat Jun 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
291 - 3.6.16
292 - adapt Kerberos and fixmake patches
293 - get rid of CFLAGS="-O"; gcc has been fixed
294 - fix build with glibc 2.2
295
296 * Mon Jun 05 2000 Preston Brown <pbrown@redhat.com>
297 - ifdef 0 is illegal, changed to if 0.
298 - work around compiler typdef bug.
299
300 * Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
301 - start, stop, and restart are functions not switch statements now.
302 reduces overhead.
303 - patch to allow autoconf to choose which user/group to run as
304
305 * Wed May 31 2000 Preston Brown <pbrown@redhat.com>
306 - remove init.d symbolic links.
307 - remove txt/ps/info versions of the HOWTO from the pkg
308 - use new fhs paths
309
310 * Thu May 25 2000 Nalin Dahyabhai <nalin@redhat.com>
311 - change free() to krb5_free_data_contents() when patching for Kerberos 5
312 - detect libcrypto or libk5crypto when looking for Kerberos 5
313
314 * Tue May 16 2000 Nalin Dahyabhai <nalin@redhat.com>
315 - enable Kerberos support
316 - remove extra defattr in files list
317 - add --disable-force_localhost to configure invocation
318 - remove "-o root" at install-time
319
320 * Tue May 16 2000 Matt Wilson <msw@redhat.com>
321 - add Prereq of /sbin/chkconfig
322 - fix broken conflicting declaration on alpha
323
324 * Tue Apr 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
325 - initial Red Hat packaging, fix up the spec file
326
327 * Mon Sep 13 1999 Patrick Powell <papowell@astart.com>
328 - resolved problems with symbolic links to /etc/init.d
329 files - used the chkconfig facility
330
331 * Sat Sep 4 1999 Patrick Powell <papowell@astart.com>
332 - did ugly things to put the script in the spec file
333
334 * Sat Aug 28 1999 Giulio Orsero <giulioo@tiscalinet.it>
335 - 3.6.8
336
337 * Fri Aug 27 1999 Giulio Orsero <giulioo@tiscalinet.it>
338 - 3.6.7 First RPM build.

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed