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