/[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.8 - (show annotations) (download)
Tue Feb 9 20:41:52 2016 UTC (8 years, 9 months ago) by stephdl
Branch: MAIN
CVS Tags: LPRng-3_8_35-5_el7_sme
Changes since 1.7: +2 -2 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, procps
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 * Tue Feb 6 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 3.8.35-5
128 - Roll new rpm for sme10
129
130 * Thu Nov 13 2003 Patrick Powell <papowell@astart.com> 3.8.23-1
131 - updated everything to fit the new sysconfdir standards
132 - the startup script is copied to sysconfdir/lpd/lpd.init as part of the
133 - normal install now
134
135 * Tue Aug 21 2001 Patrick Powell <papowell@astart.com> 3.7.5-1
136 - new release for 3.7.5
137 - Note the aclocal, autoconf, etc. stuff added to make the various
138 - versions of gettext and libtool compatible with the RedHat version.
139
140 * Fri Aug 10 2001 Crutcher Dunnavant <crutcher@redhat.com> 3.7.4-28
141 - disabled gdbm support, changed CFLAGS; #41652
142
143 * Thu Aug 9 2001 Crutcher Dunnavant <crutcher@redhat.com> 3.7.4-27
144 - ownz /usr/libexec/filters; #51158
145 - make checkpc nonblocking on its tests; #37995
146
147 * Thu Aug 2 2001 Crutcher Dunnavant <crutcher@redhat.com> 3.7.4-26
148 - added gdbm-devel dep; #44885
149
150 * Fri Jun 29 2001 Bernhard Rosenkraenzer <bero@redhat.com>
151 - Fix build on s390
152
153 * Sun Jun 24 2001 Elliot Lee <sopwith@redhat.com>
154 - Bump release + rebuild.
155
156 * Thu Jun 07 2001 Crutcher Dunnavant <crutcher@redhat.com>
157 - setgroups droping patch
158
159 * Thu Mar 29 2001 Crutcher Dunnavant <crutcher@redhat.com>
160 - told checkpc to only Check_file() job files. (keeping it from zapping the master-filter)
161
162 * Fri Mar 9 2001 Crutcher Dunnavant <crutcher@redhat.com>
163 - applied elliot's patch (which i got idependently from the lprng list as well)
164 - that fixes a thinko that killed LPRng on 64 arches.
165
166 * Fri Mar 9 2001 Crutcher Dunnavant <crutcher@redhat.com>
167 - fixed the URLs for the LPRng project
168
169 * Thu Mar 8 2001 Crutcher Dunnavant <crutcher@redhat.com>
170 - reverted the shutdown call in Local_job to make device filters work.
171 - all your base are belong to us
172
173 * Wed Mar 07 2001 Philipp Knirsch <pknirsch@redhat.de>
174 - Removed the shutdown patch for common/linksupport:Link_close() as ii
175 generated a deadlock between lpr and lpd for none existing printers.
176
177 * Sun Feb 25 2001 Crutcher Dunnavant <crutcher@redhat.com>
178 - hacked out the shutdown(sock, 1) calls that killed stupid network printers.
179
180 * Wed Feb 15 2001 Crutcher Dunnavant <crutcher@redhat.com>
181 - tweak to ldp.init's display messages
182
183 * Fri Feb 9 2001 Crutcher Dunnavant <crutcher@redhat.com>
184 - man page tweak
185
186 * Thu Feb 8 2001 Crutcher Dunnavant <crutcher@redhat.com>
187 - (yet) further tweaks to lpd.init's display format.
188
189 * Tue Feb 6 2001 Crutcher Dunnavant <crutcher@redhat.com>
190 - further tweaks to lpd.init's display format.
191
192 * Tue Feb 6 2001 Crutcher Dunnavant <crutcher@redhat.com>
193 - cleaned up lpd.init to do translations correctly, and stop screwing up
194 - result values.
195
196 * Thu Feb 1 2001 Crutcher Dunnavant <crutcher@redhat.com>
197 - added lpd init back (ick!)
198
199 * Wed Jan 24 2001 Crutcher Dunnavant <crutcher@redhat.com>
200 - removed req for printconf (It should go the other way)
201
202 * Thu Jan 18 2001 Crutcher Dunnavant <crutcher@redhat.com>
203 - fixed file list
204
205 * Thu Jan 18 2001 Crutcher Dunnavant <crutcher@redhat.com>
206 - removed lpd.init, set requirement of printconf
207
208 * Thu Jan 11 2001 Crutcher Dunnavant <crutcher@redhat.com>
209 - upgraded to LPRng-3.7.4
210
211 * Tue Dec 12 2000 Crutcher Dunnavant <crutcher@redhat.com>
212 - rebuild for kerb
213
214 * Mon Oct 23 2000 Crutcher Dunnavant <crutcher@redhat.com>
215 - Upgraded to LPRng-3.6.26
216 - Removed syslog patch, as .24 fixes the problem
217
218 * Mon Sep 25 2000 Crutcher Dunnavant <crutcher@redhat.com>
219 - Patched use_syslog to avoid a format string exploit.
220 - Resolves bug #17756
221
222 * Mon Sep 18 2000 Crutcher Dunnavant <crutcher@redhat.com>
223 - Upgraded to LPRng-3.6.24
224
225 * Mon Sep 11 2000 Crutcher Dunnavant <crutcher@redhat.com>
226 - Added gettext to the BuildPreReq list
227
228 * Mon Sep 11 2000 Crutcher Dunnavant <crutcher@redhat.com>
229 - Fixed lpd.init to use /etc/rc.d/init.d/, instead of /etc/init.d
230
231 * Mon Sep 11 2000 Crutcher Dunnavant <crutcher@redhat.com>
232 - changed the prereq: /etc/init.d to: /etc/rc.d/init.d
233 - we are not changing that over (yet?)
234
235 * Mon Aug 14 2000 Crutcher Dunnavant <crutcher@redhat.com>
236 - removed the sticky bit from lpc
237
238 * Mon Aug 14 2000 Crutcher Dunnavant <crutcher@redhat.com>
239 - removed the sticky bit from the client programs (LPRng doesn't need them)
240
241 * Sat Aug 05 2000 Bill Nottingham <notting@redhat.com>
242 - condrestart fixes
243
244 * Fri Aug 4 2000 Bill Nottingham <notting@redhat.com>
245 - triggerpostun on lpr
246
247 * Sun Jul 30 2000 Bernhard Rosenkraenzer <bero@redhat.com>
248 - 3.6.22 (some fixes)
249
250 * Tue Jul 25 2000 Bill Nottingham <notting@redhat.com>
251 - fix prereq
252
253 * Sat Jul 22 2000 Nalin Dahyabhai <nalin@redhat.com>
254 - fix bogus checkpc error messages when the lockfile doesn't exist because
255 init scripts clear /var/run (#14472)
256
257 * Tue Jul 18 2000 Nalin Dahyabhai <nalin@redhat.com>
258 - fix chkconfig comments in the init script
259
260 * Mon Jul 17 2000 Nalin Dahyabhai <nalin@redhat.com>
261 - move the init script to /etc/rc.d/init.d
262 - fix perms on setuid binaries
263
264 * Fri Jul 14 2000 Nalin Dahyabhai <nalin@redhat.com>
265 - patch checkpc to not complain when filter is executable and in the
266 spool directory
267 - remove --disable-force_localhost from configure invocation for better
268 compatibility with BSD LPR and rhs-printfilters
269 - change group back to lp, which is what printtool expects
270
271 * Thu Jul 13 2000 Nalin Dahyabhai <nalin@redhat.com>
272 - change default group to 'daemon' to match 6.2
273 - enable NLS support
274 - remove Prefix: tag
275 - break init script out into a separate file
276 - fix up broken printcaps in post-install
277 - run checkpc -f at start-time
278
279 * Wed Jul 12 2000 Prospector <bugzilla@redhat.com>
280 - automatic rebuild
281
282 * Tue Jul 11 2000 Bernhard Rosenkraenzer <bero@redhat.com>
283 - 3.6.21
284 - get rid of the notypedef patch - gcc has been fixed at last.
285
286 * Mon Jun 26 2000 Preston Brown <pbrown@redhat.com>
287 - sample config files removed from /etc.
288 - initscript moved to /etc/init.d
289
290 * Wed Jun 21 2000 Bernhard Rosenkraenzer <bero@redhat.com>
291 - 3.6.18
292
293 * Sat Jun 17 2000 Bernhard Rosenkraenzer <bero@redhat.com>
294 - 3.6.16
295 - adapt Kerberos and fixmake patches
296 - get rid of CFLAGS="-O"; gcc has been fixed
297 - fix build with glibc 2.2
298
299 * Mon Jun 05 2000 Preston Brown <pbrown@redhat.com>
300 - ifdef 0 is illegal, changed to if 0.
301 - work around compiler typdef bug.
302
303 * Thu Jun 01 2000 Preston Brown <pbrown@redhat.com>
304 - start, stop, and restart are functions not switch statements now.
305 reduces overhead.
306 - patch to allow autoconf to choose which user/group to run as
307
308 * Wed May 31 2000 Preston Brown <pbrown@redhat.com>
309 - remove init.d symbolic links.
310 - remove txt/ps/info versions of the HOWTO from the pkg
311 - use new fhs paths
312
313 * Thu May 25 2000 Nalin Dahyabhai <nalin@redhat.com>
314 - change free() to krb5_free_data_contents() when patching for Kerberos 5
315 - detect libcrypto or libk5crypto when looking for Kerberos 5
316
317 * Tue May 16 2000 Nalin Dahyabhai <nalin@redhat.com>
318 - enable Kerberos support
319 - remove extra defattr in files list
320 - add --disable-force_localhost to configure invocation
321 - remove "-o root" at install-time
322
323 * Tue May 16 2000 Matt Wilson <msw@redhat.com>
324 - add Prereq of /sbin/chkconfig
325 - fix broken conflicting declaration on alpha
326
327 * Tue Apr 18 2000 Bernhard Rosenkraenzer <bero@redhat.com>
328 - initial Red Hat packaging, fix up the spec file
329
330 * Mon Sep 13 1999 Patrick Powell <papowell@astart.com>
331 - resolved problems with symbolic links to /etc/init.d
332 files - used the chkconfig facility
333
334 * Sat Sep 4 1999 Patrick Powell <papowell@astart.com>
335 - did ugly things to put the script in the spec file
336
337 * Sat Aug 28 1999 Giulio Orsero <giulioo@tiscalinet.it>
338 - 3.6.8
339
340 * Fri Aug 27 1999 Giulio Orsero <giulioo@tiscalinet.it>
341 - 3.6.7 First RPM build.

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