/[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.10 - (show annotations) (download)
Mon Nov 8 03:51:36 2010 UTC (14 years ago) by slords
Branch: MAIN
CVS Tags: cpu-1_4_3-12_el5_sme
Changes since 1.9: +9 -3 lines
* Sun Nov 7 2010 Shad L. Lords <slords@mail.com> 1.4.3-12.sme
- Retrieve supplimential groups if not specified [SME: 6347]
- Fix memory leak introduced in revision 9 [SME: 6342]

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

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