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