]> git.pld-linux.org Git - packages/authd.git/commitdiff
- pl, some cleanups and todos; note: non-unique project name
authorJakub Bogusz <qboosh@pld-linux.org>
Sun, 17 Oct 2004 14:26:00 +0000 (14:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    authd.spec -> 1.2

authd.spec

index fa6e85851f4d3b0d4201990d20c37268ad94cecc..7cad22689c6cc4c49622da580c95207dd9bffd83 100644 (file)
@@ -1,39 +1,45 @@
-Summary:       a RFC 1413 ident protocol daemon
+Summary:       A RFC 1413 ident protocol daemon
+Summary(pl):   Demon protoko³u ident (RFC 1413)
 Name:          authd
 Version:       1.4.1
-Release:       1.fc3
+Release:       1.4
 License:       GPL
-Group:         System Environment/Daemons
-######         Unknown group!
-Obsoletes:     pidentd
-Provides:      pidentd = 3.2
-Requires:      openssl
+Group:         Networking/Daemons
 Source0:       %{name}-%{version}.tar.gz
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 BuildRequires: openssl-devel
+BuildRequires: sed >= 4.0
+Provides:      pidentd = 3.2
+Obsoletes:     pidentd
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 authd is a small and fast RFC 1413 ident protocol daemon with both
 xinetd server and interactive modes that supports IPv6 and IPv4 as
 well as the more popular features of pidentd.
 
+%description -l pl
+authd to ma³y i szybki protoko³u demon protoko³u ident (RFC 1413) z
+trybami xinetd i interaktywnym obs³uguj±cy IPv6 i IPv4, a tak¿e
+bardziej popularne mo¿liwo¶ci pidentd.
+
 %prep
 %setup -q
 sed -i -e "s|/etc|%{_sysconfdir}|" config.h
 
 %build
-%{__make} prefix=%{_prefix}
+# TODO: optflags
+%{__make} \
+       prefix=%{_prefix}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 %makeinstall
 
-install -d ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d
-
-install -m 644 xinetd.conf.auth ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/auth
-sed -i -e 's|/usr/local|/usr|' ${RPM_BUILD_ROOT}%{_sysconfdir}/xinetd.d/auth
+# TODO: use rc-inetd
+#install -m 644 xinetd.conf.auth $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/auth
+#sed -i -e 's|/usr/local|/usr|' $RPM_BUILD_ROOT%{_sysconfdir}/xinetd.d/auth
 
-touch ${RPM_BUILD_ROOT}%{_sysconfdir}/ident.key
+touch $RPM_BUILD_ROOT%{_sysconfdir}/ident.key
 
 %find_lang %{name}
 
@@ -41,7 +47,8 @@ touch ${RPM_BUILD_ROOT}%{_sysconfdir}/ident.key
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/sbin/adduser -s /sbin/nologin -r ident 2>/dev/null || true
+# TODO: standard useradd sequence
+#/usr/sbin/adduser -s /sbin/nologin -r ident 2>/dev/null || true
 /usr/bin/openssl rand -base64 -out %{_sysconfdir}/ident.key 32
 echo CHANGE THE LINE ABOVE TO A PASSPHRASE >> %{_sysconfdir}/ident.key
 /bin/chown ident:ident %{_sysconfdir}/ident.key
@@ -50,6 +57,6 @@ chmod o-rw %{_sysconfdir}/ident.key
 %files -f authd.lang
 %defattr(644,root,root,755)
 %doc COPYING README.html rfc1413.txt
-%config(noreplace) %{_sysconfdir}/xinetd.d/auth
+#%config(noreplace) %{_sysconfdir}/xinetd.d/auth
 %config %{_sysconfdir}/ident.key
 %attr(755,root,root) %{_sbindir}/in.authd
This page took 0.078654 seconds and 4 git commands to generate.