cvsdist b5c4a4
Summary: a RFC 1413 ident protocol daemon
cvsdist b5c4a4
Name: authd
cvsdist 5e1b4e
Version: 1.4.1
cvsdist 773c9c
Release: 1.fc3
cvsdist b5c4a4
License: GPL
cvsdist b5c4a4
Group: System Environment/Daemons
cvsdist b5c4a4
Obsoletes: pidentd
cvsdist c91b4a
Provides: pidentd = 3.2
cvsdist b5c4a4
Requires: openssl
cvsdist c91b4a
Source0: %{name}-%{version}.tar.gz
cvsdist b5c4a4
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
cvsdist b5c4a4
BuildRequires: openssl-devel
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
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
cvsdist 2fd256
/usr/sbin/adduser -s /sbin/nologin -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
cvsdist b5c4a4
%files -f authd.lang
cvsdist b5c4a4
%defattr(-,root,root,-)
cvsdist fb52d2
%doc COPYING README.html rfc1413.txt
cvsdist b5c4a4
%config(noreplace) %{_sysconfdir}/xinetd.d/auth
cvsdist 2fd256
%config %{_sysconfdir}/ident.key
cvsdist b5c4a4
%{_sbindir}/in.authd
cvsdist b5c4a4
cvsdist b5c4a4
%changelog
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