SPECS: rsh.spec - added some Th workarounds: (netkit-rsh-auth.c.patch) - ad...

blekot blekot at pld-linux.org
Wed May 28 22:34:46 CEST 2008


Author: blekot                       Date: Wed May 28 20:34:46 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added some Th workarounds: (netkit-rsh-auth.c.patch)
- added s/ARG_MAX/_POSIX_ARG_MAX/g
- builds on Th (TODO removed)

---- Files affected:
SPECS:
   rsh.spec (1.47 -> 1.48) 

---- Diffs:

================================================================
Index: SPECS/rsh.spec
diff -u SPECS/rsh.spec:1.47 SPECS/rsh.spec:1.48
--- SPECS/rsh.spec:1.47	Wed May 28 22:06:50 2008
+++ SPECS/rsh.spec	Wed May 28 22:34:40 2008
@@ -1,7 +1,5 @@
 # $Revision$, $Date$
-# TODO
-# fix:
-rexecd.c:226: error: 'ARG_MAX' undeclared (first use in this function)
+
 Summary:	rsh client and rcp command
 Summary(pl.UTF-8):	Klient rsh i polecenie rcp
 Name:		rsh
@@ -28,8 +26,10 @@
 Patch6:		netkit-%{name}-prompt.patch
 Patch7:		netkit-%{name}-rlogin=rsh.patch
 Patch8:		netkit-%{name}-nokrb.patch
+Patch9:		netkit-%{name}-auth.c.patch
 BuildRequires:	pam-devel
 BuildRequires:	rpmbuild(macros) >= 1.268
+BuildRequires:	sed >= 4.0
 Requires:	pam >= 0.99.7.1
 Obsoletes:	heimdal-rsh
 Obsoletes:	krb5-rsh
@@ -137,6 +137,9 @@
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
+
+%{__sed} -i 's/ARG_MAX/_POSIX_ARG_MAX/g' ./rshd/rshd.c ./rexecd/rexecd.c
 
 # No, I don't know what this is doing in the tarball.
 rm -f rexec/rexec
@@ -247,6 +250,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.48  2008-05-28 20:34:40  blekot
+- added some Th workarounds: (netkit-rsh-auth.c.patch)
+- added s/ARG_MAX/_POSIX_ARG_MAX/g
+- builds on Th (TODO removed)
+
 Revision 1.47  2008-05-28 20:06:50  glen
 - th build fails
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/rsh.spec?r1=1.47&r2=1.48&f=u



More information about the pld-cvs-commit mailing list