rpms/libident/EL-5 libident.spec, NONE, 1.1 xinetd.identtest, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Andreas Thienemann (ixs) fedora-extras-commits at redhat.com
Sat Nov 24 17:50:47 UTC 2007


Author: ixs

Update of /cvs/pkgs/rpms/libident/EL-5
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9344

Modified Files:
	.cvsignore sources 
Added Files:
	libident.spec xinetd.identtest 
Log Message:
* Sat Nov 24 2007 Andreas Thienemann <andreas at bawue.net> - 0.32-1
- Updated to 0.32, making manual .so compile unecessary



--- NEW FILE libident.spec ---
Name:           libident
Version:        0.32
Release:        1%{?dist}
Summary:        New LibIdent C library
Group:          System Environment/Libraries
License:        Public Domain
URL:            http://www.remlab.net/libident/
Source0:        http://www.remlab.net/files/libident/libident-%{version}.tar.bz2
Source1:        xinetd.identtest
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires:  /usr/bin/iconv


%description
LibIdent is a small C library for interfacing with RFC 1413 
Identification protocol servers, which are used for identifying users. 
LibIdent supports both IPv4 and IPv6 addresses transparently.

It is meant to be used by daemons to try to authenticate users using the 
Ident protocol. For this to work, users need to have an Ident server 
running on the system from which they are connected.


%package        tools
Summary:        A small daemon that can be used to test Ident servers
Group:          System Environment/Daemons
Requires:       %{name} = %{version}-%{release}

%description    tools
in.identtestd is a small daemon (to be started from inetd) that does an 
ident lookup on you if you telnet into it. Can be used to verify that 
your Ident server is working correctly.


%package        devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}

%description    devel
LibIdent is a small C library for interfacing with RFC 1413 
Identification protocol servers, which are used for identifying users. 
LibIdent supports both IPv4 and IPv6 addresses transparently.

It is meant to be used by daemons to try to authenticate users using the 
Ident protocol. For this to work, users need to have an Ident server 
running on the system from which they are connected.

The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.


%prep
%setup -q
for f in ident.3 README ChangeLog AUTHORS NEWS COPYING; do
	iconv -f ISO-8859-1 -t UTF-8 $f -o $f.new && mv $f.new $f
done


%build
CFLAGS="-fPIC %{optflags}" %configure \
    --disable-static \
    --enable-testers

make %{?_smp_mflags}


%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}
find %{buildroot} -name '*.la' -exec rm -f {} ';'
install -D -m 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/xinetd.d/identtestd


%clean
rm -rf %{buildroot}


%post -p /sbin/ldconfig


%postun -p /sbin/ldconfig


%post tools
/sbin/service xinetd reload > /dev/null 2>&1 || :


%postun tools
if [ $1 = 0 ]; then
    /sbin/service xinetd reload > /dev/null 2>&1 || :
fi


%files
%defattr(-,root,root,-)
%doc COPYING README AUTHORS ChangeLog NEWS
%{_libdir}/*.so.*

%files devel
%defattr(-,root,root,-)
%{_includedir}/*
%{_libdir}/*.so
%{_mandir}/man3/ident.3*


%files tools
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/xinetd.d/identtestd
%{_sbindir}/in.identtestd
%{_mandir}/man8/in.identtestd.8*


%changelog
* Sat Nov 24 2007 Andreas Thienemann <andreas at bawue.net> - 0.32-1
- Updated to 0.32, making manual .so compile unecessary

* Thu Apr 26 2007 Andreas Thienemann <andreas at bawue.net> - 0.30-4
- Included dependency for -tools subpackage

* Tue Apr 03 2007 Andreas Thienemann <andreas at bawue.net> - 0.30-3
- Build the tools against said shared library as well

* Mon Apr 02 2007 Andreas Thienemann <andreas at bawue.net> - 0.30-2
- Added shared object instead of static lib

* Sat Mar 31 2007 Andreas Thienemann <andreas at bawue.net> - 0.30-1
- Initial FE package


--- NEW FILE xinetd.identtest ---
# default: off
# in.identtestd is a small daemon (to be started from inetd) that does an 
# ident lookup on you if you telnet into it. It can be used to verify that
# your Ident server is working correctly.
service identd-test
{
        disable         = yes
		port            = 9999
        socket_type     = stream
        wait            = no
        user            = ident
        instances       = UNLIMITED
        server          = /usr/sbin/in.identtestd
}


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/libident/EL-5/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 Nov 2007 03:44:31 -0000	1.1
+++ .cvsignore	24 Nov 2007 17:50:14 -0000	1.2
@@ -0,0 +1 @@
+libident-0.32.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/libident/EL-5/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 Nov 2007 03:44:31 -0000	1.1
+++ sources	24 Nov 2007 17:50:14 -0000	1.2
@@ -0,0 +1 @@
+f567aaf43eb1fa60d15b87e09a7fca5d  libident-0.32.tar.bz2




More information about the fedora-extras-commits mailing list