/[smeserver]/rpms/cpu/sme8/cpu.spec
ViewVC logotype

Contents of /rpms/cpu/sme8/cpu.spec

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


Revision 1.9 - (show annotations) (download)
Sun Nov 7 23:22:25 2010 UTC (14 years ago) by slords
Branch: MAIN
CVS Tags: cpu-1_4_3-11_el5_sme
Changes since 1.8: +5 -2 lines
* Sun Nov 7 2010 Shad L. Lords <slords@mail.com> 1.4.3-11.sme
- Treat null attribs in extra file like empty string [SME: 6342]

1 # $Id: cpu.spec,v 1.8 2010/11/06 06:06:39 slords Exp $
2
3 Summary: Pluggable utility to administer authentication data
4 Name: cpu
5 Version: 1.4.3
6 Release: 11%{?dist}
7 License: GPL
8 Group: System Environment/Base
9 Source: cpu-1.4.3.tar.bz2
10 Patch0: cpu-1.4.3-doc_install.patch
11 Patch1: cpu-1.4.3-rhel5.patch
12 Patch2: cpu-1.4.3-md5crypt.patch
13 Patch3: cpu-1.4.3-read.patch
14 Patch4: cpu-1.4.3-fix-cn.patch
15 Patch5: cpu-1.4.3-empty-attr.patch
16 Patch6: cpu-1.4.3-mod-delete.patch
17 Prefix: %{_prefix}
18 BuildRoot: /var/tmp/%{name}-%{version}-%{release}-root
19 BuildRequires: openldap-devel
20
21 %description
22 CPU is a utility consisting of a set of plugins that allow an administrator to
23 administer a wide range of different authentication backends. Current plugins
24 include support for LDAP and a partially completed flat file plugin.
25
26 %prep
27 %setup -q
28 %patch0 -p1
29 %patch1 -p1
30 %patch2 -p1
31 %patch3 -p1
32 %patch4 -p1
33 %patch5 -p1
34 %patch6 -p1
35
36 %build
37 CFLAGS="%{?cflags:%{cflags}}%{!?cflags:$RPM_OPT_FLAGS}"
38 CXXFLAGS="%{?cxxflags:%{cxxflags}}%{!?cflags:$RPM_OPT_FLAGS}"
39 export CFLAGS CXXFLAGS
40
41 %configure %{?acflags}
42 %{__make} %{?mflags}
43
44 %install
45 %{__make} install DESTDIR=$RPM_BUILD_ROOT %{?mflags_install}
46 rm $RPM_BUILD_ROOT/usr/share/cpu.conf.doc
47 rm $RPM_BUILD_ROOT/usr/share/test.ldif
48
49 %clean
50 test "x$RPM_BUILD_ROOT" != "x/" && rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(-, root, root)
54 %doc README INSTALL COPYING TODO AUTHORS NEWS ChangeLog doc
55 %config %attr(0600, root,root) /etc/cpu.conf
56 %{_libdir}/*
57 /usr/sbin/cpu
58 %doc /usr/share/man/man5/*
59 %doc /usr/share/man/man8/*
60
61 %changelog
62 * Sun Nov 7 2010 Shad L. Lords <slords@mail.com> 1.4.3-11.sme
63 - Treat null attribs in extra file like empty string [SME: 6342]
64
65 * Sat Nov 6 2010 Shad L. Lords <slords@mail.com> 1.4.3-10.sme
66 - Object might not exist yet which isn't an error [SME: 6342]
67
68 * Fri Nov 5 2010 Shad L. Lords <slords@mail.com> 1.4.3-9.sme
69 - Check for attribute before deleting (for extra attrs) [SME: 6342]
70
71 * Fri Nov 5 2010 Shad L. Lords <slords@mail.com> 1.4.3-8.sme
72 - If empty value is passed in assume that means delete [SME: 6342]
73
74 * Fri Nov 5 2010 Shad L. Lords <slords@mail.com> 1.4.3-7.sme
75 - Ignore attributes that have empty attr [SME: 6341]
76
77 * Fri Nov 5 2010 Shad L. Lords <slords@mail.com> 1.4.3-6.sme
78 - Use gecos for cn if available, also modify cn if possible [SME: 6338]
79
80 * Fri Aug 03 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.3-5.sme
81 - Read LDIF files until eof, rather than use stat size. Allows
82 read from, e.g. /dev/stdin.
83
84 * Fri Aug 03 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.3-4.sme
85 - Add md5crypt support (from sourceforge).
86
87 * Tue Jul 24 2007 Charlie Brady <charlie_brady@mitel.com> 1.4.3-3.sme
88 - Portability fixes to allow building on RHEL5/CentOS5.
89
90 * Wed Sep 27 2006 Charlie Brady <charlie_brady@mitel.com> 1.4.3-2.sme
91 - Update file list, and remove world read from cpu.conf.
92
93 * Tue Sep 26 2006 Charlie Brady <charlieb@e-smith.com>
94 - Initial
95

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