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