packages: telnet-ssl/telnet-ssl.spec - fixed path to telnetlogin

baggins baggins at pld-linux.org
Thu Apr 22 15:39:46 CEST 2010


Author: baggins                      Date: Thu Apr 22 13:39:46 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- fixed path to telnetlogin

---- Files affected:
packages/telnet-ssl:
   telnet-ssl.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/telnet-ssl/telnet-ssl.spec
diff -u packages/telnet-ssl/telnet-ssl.spec:1.5 packages/telnet-ssl/telnet-ssl.spec:1.6
--- packages/telnet-ssl/telnet-ssl.spec:1.5	Mon Feb 12 23:09:17 2007
+++ packages/telnet-ssl/telnet-ssl.spec	Thu Apr 22 15:39:41 2010
@@ -1,7 +1,6 @@
 # $Revision$, $Date$
 # TODO:
 # - telnetd:
-#   - fix path to telnetlogin
 #   - fix (or maybe not?) path to SSL certs
 #   - provide inetd entry for both telnet and telnets ?
 Summary:	Client for the telnet remote login protocol with support for SSL
@@ -11,7 +10,7 @@
 Release:	0.1
 License:	GPL
 Group:		Networking
-# based on debian telnet-ssl package
+# based on debian (netkit-)telnet-ssl package
 Source0:	%{name}-%{version}.tar.gz
 # Source0-md5:	43a402139ed6b86434fdb83256feaad8
 Source1:	telnetd-ssl.inetd
@@ -102,9 +101,11 @@
 %patch0 -p1
 %patch1 -p1
 
+sed -i -e "s|/usr/lib/telnetlogin|%{_sbindir}/telnetlogin|" telnetd/Makefile
+
 %build
-CFLAGS="%{rpmcflags} -D_GNU_SOURCE -DLOGIN_WRAPPER=\"/usr/bin/telnetlogin\""
-CXXFLAGS="%{rpmcflags} -D_GNU_SOURCE -DLOGIN_WRAPPER=\"/usr/bin/telnetlogin\""
+CFLAGS="%{rpmcflags} -D_GNU_SOURCE"
+CXXFLAGS="%{rpmcflags} -D_GNU_SOURCE"
 export CFLAGS CXXFLAGS
 ./configure \
 	--prefix=%{_prefix} \
@@ -155,6 +156,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.6  2010/04/22 13:39:41  baggins
+- fixed path to telnetlogin
+
 Revision 1.5  2007/02/12 22:09:17  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/telnet-ssl/telnet-ssl.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list