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