Ondrej Dvoracek 9093ee
Summary: A RFC 1413 ident protocol daemon
cvsdist b5c4a4
Name: authd
Martin Stransky 79fec5
Version: 1.4.3
Ondrej Dvoracek 9093ee
Release: 10
Ondrej Dvoracek 9093ee
License: GPLv2
cvsdist b5c4a4
Group: System Environment/Daemons
cvsdist b5c4a4
Obsoletes: pidentd
cvsdist c91b4a
Provides: pidentd = 3.2
havill d3a659
Requires(post): openssl
cvsdist c91b4a
Source0: %{name}-%{version}.tar.gz
Martin Stransky cd7a17
Patch0: authd-1.4.3-gcc4.patch
Martin Stransky a2f157
Patch1: authd-1.4.3-disable.patch
Martin Stransky 423ffa
Patch2: authd-1.4.3-ipv6-mapping.patch
Martin Stransky 90776f
Patch3: authd-1.4.3-locale.patch
Ondrej Dvoracek 9093ee
Patch4: authd-1.4.3-longopt-identifier.patch
cvsdist b5c4a4
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
Martin Stransky a00bda
BuildRequires: openssl-devel gettext
Martin Stransky 423ffa
Prereq: xinetd
cvsdist b5c4a4
cvsdist b5c4a4
%description
cvsdist b5c4a4
authd is a small and fast RFC 1413 ident protocol daemon
cvsdist b5c4a4
with both xinetd server and interactive modes that
cvsdist b5c4a4
supports IPv6 and IPv4 as well as the more popular features
cvsdist b5c4a4
of pidentd.
cvsdist b5c4a4
cvsdist b5c4a4
%prep
cvsdist b5c4a4
%setup -q
Martin Stransky cd7a17
%patch0 -p1
Martin Stransky a2f157
%patch1 -p1
Martin Stransky 423ffa
%patch2 -p1 -b .ipv6map
Martin Stransky 90776f
%patch3 -p1 -b .locale
Ondrej Dvoracek 9093ee
%patch4 -p1
cvsdist 2fd256
sed -i -e "s|/etc|%{_sysconfdir}|" config.h
cvsdist b5c4a4
cvsdist b5c4a4
%build
cvsdist b5c4a4
make prefix=%{_prefix}
cvsdist b5c4a4
cvsdist b5c4a4
%install
cvsdist b5c4a4
rm -rf $RPM_BUILD_ROOT
cvsdist b5c4a4
%makeinstall
cvsdist b5c4a4
cvsdist 2fd256
install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d
cvsdist 2fd256
cvsdist 2fd256
install -m 644 xinetd.conf.auth ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/auth
cvsdist 2fd256
sed -i -e 's|/usr/local|/usr|' ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/auth
cvsdist 2fd256
cvsdist 2fd256
touch ${RPM_BUILD_ROOT}%{_sysconfdir}/ident.key
cvsdist 2fd256
cvsdist b5c4a4
%find_lang %{name}
cvsdist b5c4a4
cvsdist b5c4a4
%clean
cvsdist b5c4a4
rm -rf $RPM_BUILD_ROOT
cvsdist b5c4a4
cvsdist 2fd256
%post
havill 148088
/usr/sbin/adduser -s /sbin/nologin -u 98 -r ident 2>/dev/null || true
cvsdist fb52d2
/usr/bin/openssl rand -base64 -out %{_sysconfdir}/ident.key 32
cvsdist 2fd256
echo CHANGE THE LINE ABOVE TO A PASSPHRASE >> %{_sysconfdir}/ident.key
cvsdist 2fd256
/bin/chown ident:ident %{_sysconfdir}/ident.key
cvsdist 2fd256
chmod o-rw %{_sysconfdir}/ident.key
cvsdist b5c4a4
Martin Stransky af40a8
%postun
Martin Stransky af40a8
service xinetd reload
Martin Stransky af40a8
cvsdist b5c4a4
%files -f authd.lang
havill 17dc45
%defattr(640,root,root,-)
havill 735c3c
%verify(not md5 size mtime user group) %config %{_sysconfdir}/ident.key
cvsdist b5c4a4
%defattr(-,root,root,-)
cvsdist fb52d2
%doc COPYING README.html rfc1413.txt
cvsdist b5c4a4
%config(noreplace) %{_sysconfdir}/xinetd.d/auth
cvsdist b5c4a4
%{_sbindir}/in.authd
cvsdist b5c4a4
cvsdist b5c4a4
%changelog
Ondrej Dvoracek 9093ee
* Wed Sep 19 2007 Ondrej Dvoracek <odvorace@redhat.com> - 1.4.3-10
Ondrej Dvoracek 9093ee
- corrected illegal identifier in longopt enumeration (#245436)
Ondrej Dvoracek 9093ee
- corrected summary and license
Ondrej Dvoracek 9093ee
Martin Stransky 90776f
* Mon Jul 24 2006 Martin Stransky <stransky@redhat.com> - 1.4.3-9
Martin Stransky 90776f
- added locale patch (#199721)
Martin Stransky 90776f
Jesse Keating 1e2a05
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.4.3-8.1
Jesse Keating 1e2a05
- rebuild
Jesse Keating 1e2a05
Martin Stransky a00bda
* Sun May 28 2006 Martin Stransky <stransky@redhat.com> - 1.4.3-8
Martin Stransky a00bda
- added gettext dependency (#193350)
Martin Stransky a00bda
Jesse Keating 3aa816
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.4.3-7.1
Jesse Keating 3aa816
- bump again for double-long bug on ppc(64)
Jesse Keating 3aa816
Martin Stransky 68a583
* Tue Feb 07 2006 Martin Stransky <stransky@redhat.com> - 1.4.3-7
Martin Stransky 68a583
- re-tag
Martin Stransky 68a583
Jesse Keating e7d703
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.4.3-6.devel.2
Jesse Keating e7d703
- rebuilt for new gcc4.1 snapshot and glibc changes
Jesse Keating e7d703
Jesse Keating e7d6dd
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
Jesse Keating e7d6dd
- rebuilt
Jesse Keating e7d6dd
Martin Stransky 624c1b
* Tue Nov 8  2005 Martin Stransky <stransky@redhat.com>
Martin Stransky 624c1b
- rebuilt
Martin Stransky 624c1b
Martin Stransky 423ffa
* Thu Jun 24 2005 Martin Stransky <stransky@redhat.com> - 1.4.3-5.devel
Martin Stransky 423ffa
- add xinetd to Prereq
Martin Stransky 423ffa
- fix for #150502 (authd doesn't map IPv6 to IPv4 from xinetd)
Martin Stransky 423ffa
Martin Stransky 23d6d7
* Fri Apr  8 2005 Martin Stransky <stransky@redhat.com> - 1.4.3-4.devel
Martin Stransky 23d6d7
- clear last update
Martin Stransky 23d6d7
Martin Stransky ece625
* Fri Apr  8 2005 Martin Stransky <stransky@redhat.com> - 1.4.3-3.devel
Martin Stransky ece625
- delete user "ident" after uninstalation
Martin Stransky ece625
Martin Stransky ece625
* Thu Apr  7 2005 Martin Stransky <stransky@redhat.com> - 1.4.3-2.devel
Martin Stransky a2f157
- in.authd disabled by default (#151905)
Martin Stransky a2f157
Martin Stransky 79fec5
* Mon Mar  7 2005 Martin Stransky <stransky@redhat.com> - 1.4.3-1.devel
Martin Stransky 79fec5
- update to 1.4.3
Martin Stransky cd7a17
- gcc4.0 patch
Martin Stransky af40a8
- add post-uninstall reconfiguration (#150460)
Martin Stransky af40a8
havill 59afba
* Mon Feb 14 2005 Adrian Havill <havill@redhat.com>
havill 59afba
- rebuilt
havill 59afba
havill ab548e
* Fri Oct 15 2004 Adrian Havill <havill@redhat.com> - 1.4.2-8
havill 735c3c
- tweak setting of uid/gid for key file so systems with no prior
havill 735c3c
  ident user/group don't generate a warning (#135837)
havill 735c3c
havill 148088
* Thu Oct 14 2004 Adrian Havill <havill@redhat.com> - 1.4.2-4
havill d3a659
- slightly better error checking for insane cases
havill d3a659
- tweak of the openssl requires dependency loop (#131291)
havill d3a659
- as ident.key is created in %%post, tweak so verify passes (#131530)
havill 148088
- make the uid/gid for ident conform to the past (#135752)
havill d3a659
cvsdist 5e1b4e
* Wed Jul 28 2004 Adrian Havill <havill@redhat.com> - 1.4.1-1
cvsdist 5e1b4e
- only scan for ESTABLISHED connections
cvsdist 5e1b4e
- extra debug output for crypto
cvsdist 5e1b4e
cvsdist 5e1b4e
* Mon Jul 26 2004 Adrian Havill <havill@redhat.com> - 1.4.0-1
cvsdist 5e1b4e
- revise makefile; don't over-optimize as gcc can produce bad code
cvsdist 5e1b4e
- ptr cleanup when multiquery and missing /proc/net/tcp*
cvsdist 5e1b4e
- improve create_opt (error handling, debugging, identifiers)
cvsdist 5e1b4e
- add --prefix option for matching IPv4 to IPv6
cvsdist 5e1b4e
cvsdist e1b898
* Tue Jul 13 2004 Adrian Havill <havill@redhat.com> - 1.3.4-1
cvsdist e1b898
- retry reading proc with pauses to reduce false negatives
cvsdist e1b898
- match IPv4 addresses against IPv6 compatibility addresses
cvsdist e1b898
cvsdist a76365
* Mon Jul 12 2004 Adrian Havill <havill@redhat.com> - 1.3.3-1
cvsdist a76365
- use gnu *_unlocked stream funcs for faster I/O
cvsdist a76365
cvsdist 45a22d
* Sat Jul 10 2004 Adrian Havill <havill@redhat.com> - 1.3.2-1
cvsdist 45a22d
- enforce rfc restriction limiting port search to the connected
cvsdist 45a22d
  local/foreign pair
cvsdist 45a22d
cvsdist a76365
* Fri Jul 08 2004 Adrian Havill <havill@redhat.com> - 1.3.1-1
cvsdist 773c9c
- increase default connections-per-sec/max-instances for HP
cvsdist 773c9c
- more doc cleanup
cvsdist 773c9c
- remove unnecessary rootdir check for -N/--ident
cvsdist 773c9c
cvsdist fb52d2
* Fri Jul 02 2004 Adrian Havill <havill@redhat.com> - 1.3.0-1
cvsdist fb52d2
- add unknown-error only -e option
cvsdist fb52d2
- edit readme, add rfc to docdir
cvsdist fb52d2
- code cleanup; remove static buffers, orthagonalize id names
cvsdist fb52d2
- ipv6 hybrid addr zero run correction
cvsdist fb52d2
- extra eight bits added to random key
cvsdist fb52d2
cvsdist fd4277
* Wed Jun 30 2004 Adrian Havill <havill@redhat.com> - 1.2.8-1
cvsdist fd4277
- zero out invalid port(s)
cvsdist fd4277
cvsdist c91b4a
* Tue Jun 29 2004 Adrian Havill <havill@redhat.com> - 1.2.7-1
cvsdist c91b4a
- added Provides to satisfy HP pkg rpm dep (#121447, #111640)
cvsdist c91b4a
- more code cleanup; minimize --resolve dns lookups
cvsdist c91b4a
cvsdist 2fd256
* Mon Jun 28 2004 Adrian Havill <havill@redhat.com> - 1.2.6-1
cvsdist 2fd256
- incorporated suggestions from Thomas Zehetbauer (#124914)
cvsdist 2fd256
cvsdist c4b890
* Sat Jun 26 2004 Adrian Havill <havill@redhat.com> - 1.2.5-1
cvsdist c4b890
- clean up src
cvsdist c4b890
cvsdist c4b890
* Thu Jun 24 2004 Adrian Havill <havill@redhat.com> - 1.2.4-1
cvsdist c4b890
- code vet and minor changes re alan@'s comments
cvsdist c4b890
- default operating mode to alias all usernames as 'nobody'
cvsdist c4b890
  to prevent noobies from getting their mail addr harvested
cvsdist c4b890
- clean up README documentation
cvsdist c4b890
cvsdist e1b898
* Wed Jun 23 2004 Adrian Havill <havill@redhat.com> - 1.2.3-1
cvsdist b5c4a4
- mark xinetd conf file as a noreplace config file
cvsdist b5c4a4
- more robust error checking for proper rfc1413 tokens
cvsdist b5c4a4
cvsdist e1b898
* Tue Jun 22 2004 Adrian Havill <havill@redhat.com> - 1.2.1-1
cvsdist b5c4a4
- add Requires and BuildRequires
cvsdist b5c4a4
cvsdist e1b898
* Mon Jun 21 2004 Adrian Havill <havill@redhat.com> - 1.2.0-1
cvsdist b5c4a4
- A few tweaks in the cmdline options for orthagonality
cvsdist b5c4a4
- minor bug fix regarding reading from stdin in some multiquery cmdline cases
cvsdist b5c4a4
- add --resolve
cvsdist b5c4a4
cvsdist e1b898
* Sun Jun 20 2004 Adrian Havill <havill@redhat.com> - 1.1.0-1
cvsdist e1b898
- add extra options for --help, --usage
cvsdist e1b898
cvsdist b5c4a4
* Sat Jun 19 2004 Adrian Havill <havill@redhat.com> - 1.0.0-2
cvsdist b5c4a4
- Obsolete pidentd -- authd and pidentd can't/shouldn't coexist on FC/RHEL
cvsdist b5c4a4
- license tweak to allow openssl under any condition
cvsdist b5c4a4
- no spec url needed; package is not worthy enough.
cvsdist b5c4a4
cvsdist b5c4a4
* Fri Jun 18 2004 Jens Petersen <petersen@redhat.com> - 1.0.0-1
cvsdist b5c4a4
- Initial packaging