Sophie

Sophie

distrib > Mageia > 9 > x86_64 > by-pkgid > 8e8af7b70bdd1b6537e2f54c7f12a745 > files > 4

nullidentd-1.0-16.mga9.src.rpm

%define	release 16

Summary:	Minimal identd server implementing the auth protocol (RFC 1413)
Name:		nullidentd
Version:	1.0
Release:	%mkrel %{release}
License:	GPLv2+
Group:		System/Servers
Source0:	http://www.tildeslash.org/nullidentd/%{name}-%{version}.tar.bz2
Source1:	%{name}.xinetd.bz2
Patch0:		%{name}-makefile.patch.bz2
Patch1:		nullidentd-1.0-gcc4-fixes.patch.bz2
URL:		http://www.tildeslash.org/nullidentd.html
Provides:	identd
Requires(pre,postun):	rpm-helper

%description
nullidentd is intended to be a bare minimum identd server.

The program implements the auth protocol from RFC 1413.  This protocol is
used to identify active TCP connections.  It depends on the trustworthiness
of the server and as such is completely useless as a method of
identification.  Unfortunately some applications still require that an identd
server is available to query about incoming connections.  nullidentd
implements the absolute minimum server to allow these applications to
function.  It returns a fake response for any request.

%prep
%setup -q
%patch0 -p0
%patch1 -p1 -b .gcc4

%build
%make_build CFLAGS="$RPM_OPT_FLAGS"

%install
install -d $RPM_BUILD_ROOT{%{_sysconfdir}/xinetd.d,%{_sbindir}}
%makeinstall
install -m755 %{name} $RPM_BUILD_ROOT%{_sbindir}
bzcat %{SOURCE1} > $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/%{name}
install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/%{name}

%pre
%_pre_useradd %{name} %{_localstatedir}/lib/%{name} /bin/true

%post
%_post_service xinetd

%preun
if [ -f /var/run/xinetd.pid ]; then
	echo "Restarting xinetd service"
	service xinetd restart
fi

%postun
%_postun_userdel %{name}

%files
%doc README CHANGELOG
%config(noreplace) %{_sysconfdir}/xinetd.d/%{name}
%{_sbindir}/%{name}
%{_localstatedir}/lib/%{name}





%changelog
* Tue Mar 15 2022 umeabot <umeabot> 1.0-16.mga9
+ Revision: 1792202
- Mageia 9 Mass Rebuild

* Thu Feb 13 2020 umeabot <umeabot> 1.0-15.mga8
+ Revision: 1515622
- Mageia 8 Mass Rebuild

* Sun Sep 23 2018 umeabot <umeabot> 1.0-14.mga7
+ Revision: 1299812
- Mageia 7 Mass Rebuild

* Sat Feb 06 2016 umeabot <umeabot> 1.0-13.mga6
+ Revision: 940782
- Mageia 6 Mass Rebuild

* Wed Oct 15 2014 umeabot <umeabot> 1.0-12.mga5
+ Revision: 741264
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 1.0-11.mga5
+ Revision: 682951
- Mageia 5 Mass Rebuild

* Fri Oct 18 2013 umeabot <umeabot> 1.0-10.mga4
+ Revision: 508404
- Mageia 4 Mass Rebuild

* Sat Jan 12 2013 umeabot <umeabot> 1.0-9.mga3
+ Revision: 361078
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Apr 21 2011 cjw <cjw> 1.0-8.mga1
+ Revision: 89604
- imported package nullidentd


* Fri Sep 04 2009 Thierry Vignaud <tvignaud@mandriva.com> 1.0-7mdv2010.0
+ Revision: 430188
- rebuild

* Mon Jun 02 2008 Pixel <pixel@mandriva.com> 1.0-6mdv2009.0
+ Revision: 214231
- adapt to %%_localstatedir now being /var instead of /var/lib (#22312)

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

* Mon Dec 17 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.0-6mdv2008.1
+ Revision: 130757
- kill re-definition of %%buildroot on Pixel's request
- import nullidentd


* Fri Dec 23 2005 Per Øyvind Karlsen <pkarlsen@mandriva.com> 1.0-6mdk
- get rid of compile warnings (P1)
- fix no-prereq-on rpm-helper
- fix summary-ended-with-dot
- %%mkrel
- convert changelog to utf-8

* Tue Nov 02 2004 Christiaan Welvaart <cjw@daneel.dyndns.org> 1.0-5mdk
- fix BuildRoot

* Wed Nov 26 2003 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.0-4mdk
- updated url

* Wed Jul 02 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 1.0-3mdk
- fix problem with xinetd being disabled after removal of rpm (fixes #4079)

* Tue Feb 25 2003 Per Øyvind Karlsen <peroyvind@sintrax.net> 1.0-2mdk
- Corrected url

* Thu Nov 21 2002 Per Øyvind Karlsen <peroyvind@sintrax.net> 1.0-1mdk
- Initial release
- xinetd conf file from je_
- Fixed makefile