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

Contents of /rpms/cpu/sme10/cpu.spec

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


Revision 1.1 - (show annotations) (download)
Thu Feb 4 12:17:43 2016 UTC (8 years, 9 months ago) by vip-ire
Branch: MAIN
CVS Tags: cpu-1_4_3-14_el7_sme, HEAD
sme10 branch

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

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