1 |
slords |
1.2 |
# $Id$ |
2 |
|
|
|
3 |
slords |
1.1 |
Summary: e-smith server and gateway - ident daemon |
4 |
|
|
%define name e-smith-oidentd |
5 |
|
|
Name: %{name} |
6 |
slords |
1.2 |
%define version 2.0.0 |
7 |
|
|
%define release 1 |
8 |
slords |
1.1 |
Version: %{version} |
9 |
|
|
Release: %{release}%{?dist} |
10 |
|
|
License: GPL |
11 |
|
|
Group: Networking/Daemons |
12 |
|
|
Source: %{name}-%{version}.tar.gz |
13 |
|
|
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot |
14 |
|
|
BuildArchitectures: noarch |
15 |
|
|
Requires: e-smith-base >= 4.0.12-48 |
16 |
|
|
Requires: e-smith-lib >= 1.15.1-19 |
17 |
|
|
Requires: iptables |
18 |
|
|
Requires: oidentd >= 2.0.6 |
19 |
|
|
BuildRequires: e-smith-devtools >= 1.13.1-03 |
20 |
|
|
AutoReqProv: no |
21 |
|
|
|
22 |
|
|
%description |
23 |
|
|
e-smith server and gateway software - ident daemon |
24 |
|
|
|
25 |
|
|
%changelog |
26 |
slords |
1.2 |
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.0.0-1.sme |
27 |
|
|
- Roll new stream to separate sme7/sme8 trees [SME: 4633] |
28 |
|
|
|
29 |
slords |
1.1 |
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com> |
30 |
|
|
- Clean up spec so package can be built by koji/plague |
31 |
|
|
|
32 |
|
|
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com> |
33 |
|
|
- Update to new release naming. No functional changes. |
34 |
|
|
- Make Packager generic |
35 |
|
|
|
36 |
|
|
* Thu Apr 6 2006 Gavin Weight <gweight@gmail.com> 1.2.0-02 |
37 |
|
|
- Change default status from enabled to disabled. [SME: 85] |
38 |
|
|
|
39 |
|
|
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01 |
40 |
|
|
- Roll stable stream version. [SME: 1016] |
41 |
|
|
|
42 |
|
|
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-10 |
43 |
|
|
- Add COPYING file |
44 |
|
|
|
45 |
|
|
* Tue Mar 29 2005 Charlie Brady <charlieb@e-smith.com> |
46 |
|
|
- [1.1.0-09] |
47 |
|
|
- Use TCPPort fragment rather than explicit masq template fragment to |
48 |
|
|
create hole in firewall. |
49 |
|
|
|
50 |
|
|
* Tue Jan 25 2005 Charlie Brady <charlieb@e-smith.com> |
51 |
|
|
- [1.1.0-08] |
52 |
|
|
- Use generic_template_expand action, in place of conf-oidentd. |
53 |
|
|
Update e-smith-lib and e-smith-devtools dependencies. [MN00064130] |
54 |
|
|
|
55 |
|
|
* Fri Sep 3 2004 Charlie Brady <charlieb@e-smith.com> |
56 |
|
|
- [1.1.0-07] |
57 |
|
|
- Clean BuildRequires. [charlieb MN00043055] |
58 |
|
|
|
59 |
|
|
* Thu Oct 30 2003 Tony Clayton <apc@e-smith.com> |
60 |
|
|
- [1.1.0-06] |
61 |
|
|
- Fix new_record() method call in migrate fragment [tonyc 9546] |
62 |
|
|
|
63 |
|
|
* Wed Oct 29 2003 Tony Clayton <apc@e-smith.com> |
64 |
|
|
- [1.1.0-05] |
65 |
|
|
- Fix typo in migrate fragment [tonyc 9546] |
66 |
|
|
|
67 |
|
|
* Mon Sep 22 2003 Charlie Brady <charlieb@e-smith.com> |
68 |
|
|
- [1.1.0-04] |
69 |
|
|
- Add requires for later version of oidentd. Add -m option to enable |
70 |
|
|
masqueraded support (may be required, but needs custom template for |
71 |
|
|
full support). [charlieb 9546] |
72 |
|
|
|
73 |
|
|
* Mon Sep 22 2003 Charlie Brady <charlieb@e-smith.com> |
74 |
|
|
- [1.1.0-03] |
75 |
|
|
- Add missing /var/log/oidentd directory. [charlieb 9546] |
76 |
|
|
|
77 |
|
|
* Mon Sep 22 2003 Charlie Brady <charlieb@e-smith.com> |
78 |
|
|
- [1.1.0-02] |
79 |
|
|
- Run oidentd under supervise. Use default template fragments to init db |
80 |
|
|
entry. [charlieb 9546] |
81 |
|
|
|
82 |
|
|
* Mon Jul 21 2003 Charlie Brady <charlieb@e-smith.com> |
83 |
|
|
- [1.1.0-01] |
84 |
|
|
- Changing version to development stream number - 1.1.0 |
85 |
|
|
|
86 |
|
|
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com> |
87 |
|
|
- [1.0.0-01] |
88 |
|
|
- Rolling stable version number to 1.0.0 |
89 |
|
|
|
90 |
|
|
* Thu Aug 29 2002 Charlie Brady <charlieb@e-smith.com> |
91 |
|
|
- [0.0.2-01] |
92 |
|
|
- Fix template issue - need "esmith::util", otherwise expand-template succeeds |
93 |
|
|
but action script fails. [charlieb 4435] |
94 |
|
|
|
95 |
|
|
* Wed Aug 28 2002 Charlie Brady <charlieb@e-smith.com> |
96 |
|
|
- Initial [charlieb 4435] |
97 |
|
|
|
98 |
|
|
%prep |
99 |
|
|
%setup |
100 |
|
|
|
101 |
|
|
%build |
102 |
|
|
perl createlinks |
103 |
|
|
mkdir -p root/etc/rc.d/rc7.d |
104 |
|
|
ln -s /etc/rc.d/init.d/e-smith-service root/etc/rc.d/rc7.d/S35oidentd |
105 |
|
|
touch root/var/service/oidentd/down |
106 |
|
|
mkdir -p root/service |
107 |
|
|
ln -s /var/service/oidentd root/service/oidentd |
108 |
|
|
mkdir -p root/var/log/oidentd |
109 |
|
|
|
110 |
|
|
%install |
111 |
|
|
rm -rf $RPM_BUILD_ROOT |
112 |
|
|
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) |
113 |
|
|
/sbin/e-smith/genfilelist \ |
114 |
|
|
--dir '/var/log/oidentd' 'attr(0750,smelog,smelog)' \ |
115 |
|
|
--file '/var/service/oidentd/run' 'attr(0755,root,root)' \ |
116 |
|
|
--file '/var/service/oidentd/log/run' 'attr(0755,root,root)' \ |
117 |
|
|
$RPM_BUILD_ROOT > e-smith-%{name}-%{version}-filelist |
118 |
|
|
echo "%doc COPYING" >> e-smith-%{name}-%{version}-filelist |
119 |
|
|
|
120 |
|
|
%pre |
121 |
|
|
/sbin/e-smith/create-system-user smelog 1002 \ |
122 |
|
|
'sme log user' /var/log/smelog /bin/false |
123 |
|
|
|
124 |
|
|
%clean |
125 |
|
|
rm -rf $RPM_BUILD_ROOT |
126 |
|
|
|
127 |
|
|
%files -f e-smith-%{name}-%{version}-filelist |
128 |
|
|
%defattr(-,root,root) |