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

Contents of /rpms/LPRng/sme10/LPRng.spec

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


Revision 1.9 - (show annotations) (download)
Tue Feb 9 20:45:35 2016 UTC (8 years, 9 months ago) by stephdl
Branch: MAIN
Changes since 1.8: +2 -1 lines
* Tue Feb 6 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 3.8.35-5
- Roll new rpm for sme10

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

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