# $Id: e-smith-oidentd.spec,v 1.2 2020/11/11 22:26:43 jpp Exp $ Summary: e-smith server and gateway - ident daemon %define name e-smith-oidentd Name: %{name} %define version 2.6.0 %define release 3 Version: %{version} Release: %{release}%{?dist} License: GPL Group: Networking/Daemons Source: %{name}-%{version}.tar.xz Patch0: e-smith-oidentd-2.6.0-bz11095-systemd.patch 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 * Thu Dec 03 2020 Jean-Philipe Pialasse 2.6.0-3.sme - execute systemd-reload before service adjust in events [SME: 11228] * Wed Nov 11 2020 Jean-Philipe Pialasse 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 2.6.0-1.sme - Initial release to sme10 * Wed Feb 13 2013 Shad L. Lords 2.4.0-1.sme - Roll new stream for sme9 * Sat Mar 12 2011 Jonathan Martens 2.2.0-2.sme - Remove init.d script [SME: 6535] * Tue Oct 7 2008 Shad L. Lords 2.2.0-1.sme - Roll new stream to separate sme7/sme8 trees [SME: 4633] * Sun Apr 29 2007 Shad L. Lords - Clean up spec so package can be built by koji/plague * Thu Dec 07 2006 Shad L. Lords - Update to new release naming. No functional changes. - Make Packager generic * Thu Apr 6 2006 Gavin Weight 1.2.0-02 - Change default status from enabled to disabled. [SME: 85] * Wed Mar 15 2006 Charlie Brady 1.2.0-01 - Roll stable stream version. [SME: 1016] * Wed Nov 30 2005 Gordon Rowell 1.1.0-10 - Add COPYING file * Tue Mar 29 2005 Charlie Brady - [1.1.0-09] - Use TCPPort fragment rather than explicit masq template fragment to create hole in firewall. * Tue Jan 25 2005 Charlie Brady - [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 - [1.1.0-07] - Clean BuildRequires. [charlieb MN00043055] * Thu Oct 30 2003 Tony Clayton - [1.1.0-06] - Fix new_record() method call in migrate fragment [tonyc 9546] * Wed Oct 29 2003 Tony Clayton - [1.1.0-05] - Fix typo in migrate fragment [tonyc 9546] * Mon Sep 22 2003 Charlie Brady - [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 - [1.1.0-03] - Add missing /var/log/oidentd directory. [charlieb 9546] * Mon Sep 22 2003 Charlie Brady - [1.1.0-02] - Run oidentd under supervise. Use default template fragments to init db entry. [charlieb 9546] * Mon Jul 21 2003 Charlie Brady - [1.1.0-01] - Changing version to development stream number - 1.1.0 * Fri Oct 11 2002 Charlie Brady - [1.0.0-01] - Rolling stable version number to 1.0.0 * Thu Aug 29 2002 Charlie Brady - [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 - Initial [charlieb 4435] %prep %setup %patch0 -p1 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)