smeserver-oidentd/e-smith-oidentd.spec

148 lines
4.6 KiB
RPMSpec
Raw Normal View History

# $Id: e-smith-oidentd.spec,v 1.3 2020/12/04 03:09:21 jpp Exp $
Summary: e-smith server and gateway - ident daemon
%define name e-smith-oidentd
Name: %{name}
%define version 2.6.0
%define release 4
Version: %{version}
Release: %{release}%{?dist}
License: GPL
Group: Networking/Daemons
Source: %{name}-%{version}.tar.xz
BuildRoot: /var/tmp/%{name}-%{version}-%{release}-buildroot
BuildArchitectures: noarch
Requires: e-smith-base >= 4.0.12-48
Requires: e-smith-lib >= 1.15.1-19
Requires: iptables
Requires: oidentd >= 2.0.6
BuildRequires: e-smith-devtools >= 1.13.1-03
AutoReqProv: no
%description
e-smith server and gateway software - ident daemon
%changelog
* Wed Jul 12 2023 cvs2git.sh aka Brian Read <brianr@koozali.org> 2.6.0-4.sme
- Roll up patches and move to git repo [SME: 12338]
* Wed Jul 12 2023 BogusDateBot
- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday,
by assuming the date is correct and changing the weekday.
* Thu Dec 03 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-3.sme
- execute systemd-reload before service adjust in events [SME: 11228]
* Wed Nov 11 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-2.sme
- adapt for systemd [SME: 11095]
- add event to avoid reboot on update [SME: 11135]
* Fri Feb 05 2016 stephane de Labrusse <stephdl@de-labrusse.fr> 2.6.0-1.sme
- Initial release to sme10
* Wed Feb 13 2013 Shad L. Lords <slords@mail.com> 2.4.0-1.sme
- Roll new stream for sme9
* Sat Mar 12 2011 Jonathan Martens <smeserver-contribs@snetram.nl> 2.2.0-2.sme
- Remove init.d script [SME: 6535]
* Tue Oct 7 2008 Shad L. Lords <slords@mail.com> 2.2.0-1.sme
- Roll new stream to separate sme7/sme8 trees [SME: 4633]
* Sun Apr 29 2007 Shad L. Lords <slords@mail.com>
- Clean up spec so package can be built by koji/plague
* Thu Dec 07 2006 Shad L. Lords <slords@mail.com>
- Update to new release naming. No functional changes.
- Make Packager generic
* Thu Apr 6 2006 Gavin Weight <gweight@gmail.com> 1.2.0-02
- Change default status from enabled to disabled. [SME: 85]
* Wed Mar 15 2006 Charlie Brady <charlie_brady@mitel.com> 1.2.0-01
- Roll stable stream version. [SME: 1016]
* Wed Nov 30 2005 Gordon Rowell <gordonr@gormand.com.au> 1.1.0-10
- Add COPYING file
* Tue Mar 29 2005 Charlie Brady <charlieb@e-smith.com>
- [1.1.0-09]
- Use TCPPort fragment rather than explicit masq template fragment to
create hole in firewall.
* Tue Jan 25 2005 Charlie Brady <charlieb@e-smith.com>
- [1.1.0-08]
- Use generic_template_expand action, in place of conf-oidentd.
Update e-smith-lib and e-smith-devtools dependencies. [MN00064130]
* Fri Sep 3 2004 Charlie Brady <charlieb@e-smith.com>
- [1.1.0-07]
- Clean BuildRequires. [charlieb MN00043055]
* Thu Oct 30 2003 Tony Clayton <apc@e-smith.com>
- [1.1.0-06]
- Fix new_record() method call in migrate fragment [tonyc 9546]
* Wed Oct 29 2003 Tony Clayton <apc@e-smith.com>
- [1.1.0-05]
- Fix typo in migrate fragment [tonyc 9546]
* Mon Sep 22 2003 Charlie Brady <charlieb@e-smith.com>
- [1.1.0-04]
- Add requires for later version of oidentd. Add -m option to enable
masqueraded support (may be required, but needs custom template for
full support). [charlieb 9546]
* Mon Sep 22 2003 Charlie Brady <charlieb@e-smith.com>
- [1.1.0-03]
- Add missing /var/log/oidentd directory. [charlieb 9546]
* Mon Sep 22 2003 Charlie Brady <charlieb@e-smith.com>
- [1.1.0-02]
- Run oidentd under supervise. Use default template fragments to init db
entry. [charlieb 9546]
* Mon Jul 21 2003 Charlie Brady <charlieb@e-smith.com>
- [1.1.0-01]
- Changing version to development stream number - 1.1.0
* Fri Oct 11 2002 Charlie Brady <charlieb@e-smith.com>
- [1.0.0-01]
- Rolling stable version number to 1.0.0
* Thu Aug 29 2002 Charlie Brady <charlieb@e-smith.com>
- [0.0.2-01]
- Fix template issue - need "esmith::util", otherwise expand-template succeeds
but action script fails. [charlieb 4435]
* Wed Aug 28 2002 Charlie Brady <charlieb@e-smith.com>
- Initial [charlieb 4435]
%prep
%setup
rm -rf root/var/service root/service root/etc/rc.d
%build
perl createlinks
%install
rm -rf $RPM_BUILD_ROOT
(cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT)
/sbin/e-smith/genfilelist \
--dir '/var/log/oidentd' 'attr(0750,smelog,smelog)' \
--file '/var/service/oidentd/run' 'attr(0755,root,root)' \
--file '/var/service/oidentd/log/run' 'attr(0755,root,root)' \
$RPM_BUILD_ROOT > e-smith-%{name}-%{version}-filelist
echo "%doc COPYING" >> e-smith-%{name}-%{version}-filelist
%pre
/sbin/e-smith/create-system-user smelog 1002 \
'sme log user' /var/log/smelog /bin/false
%clean
rm -rf $RPM_BUILD_ROOT
%files -f e-smith-%{name}-%{version}-filelist
%defattr(-,root,root)