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

Annotation of /rpms/LPRng/sme10/LPRng.spec

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


Revision 1.10 - (hide annotations) (download)
Wed Feb 10 07:45:09 2016 UTC (8 years, 8 months ago) by vip-ire
Branch: MAIN
CVS Tags: LPRng-3_8_35-6_el7_sme, HEAD
Changes since 1.9: +6 -2 lines
* Wed Feb 10 2016 Daniel Berteaud <daniel@firewall-services.com> 3.8.35-6.sme
- Cleanup Requires [SME: 9209]

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

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