[PATCH] efingerd - ścieżka do fortune

Michal Kochanowicz michal w michal.waw.pl
Sob, 3 Kwi 2004, 13:36:52 CEST


-- 
--= Michal Kochanowicz =--==--==BOFH==--==--= michal w michal.waw.pl =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!
-------------- następna część ---------
diff -urN efingerd-1.6.2.orig/examples-standard/nouser efingerd-1.6.2/examples-standard/nouser
--- efingerd-1.6.2.orig/examples-standard/nouser	2001-10-29 09:50:28.000000000 +0100
+++ efingerd-1.6.2/examples-standard/nouser	2004-04-03 13:33:53.102916072 +0200
@@ -22,7 +22,7 @@
 fi
 
 if [ "$3" = "fortune" ]; then
-  /usr/games/fortune
+  /usr/bin/fortune
   exit 0
 fi
 
diff -urN efingerd-1.6.2.orig/examples-unusual/nouser efingerd-1.6.2/examples-unusual/nouser
--- efingerd-1.6.2.orig/examples-unusual/nouser	2001-03-14 09:54:52.000000000 +0100
+++ efingerd-1.6.2/examples-unusual/nouser	2004-04-03 13:33:45.788028104 +0200
@@ -33,7 +33,7 @@
 fi
 
 if [ $3 = 'fortune' ]; then
-  /usr/games/fortune
+  /usr/bin/fortune
   exit 0
 fi
 
-------------- następna część ---------
Index: efingerd.spec
===================================================================
RCS file: /cvsroot/SPECS/efingerd.spec,v
retrieving revision 1.20
diff -u -r1.20 efingerd.spec
--- efingerd.spec	12 Aug 2003 15:08:19 -0000	1.20
+++ efingerd.spec	3 Apr 2004 11:35:46 -0000
@@ -1,15 +1,16 @@
-# $Revision: 1.20 $, $Date: 2003/08/12 15:08:19 $
+# $Revision: 3.20 $, $Date: 2003/08/12 15:08:19 $
 Summary:	Nice finger daemon
 Summary(pl):	Sympatyczny serwer finger
 Name:		efingerd
 Version:	1.6.2
-Release:	1
+Release:	2
 License:	GPL
 Group:		Networking/Daemons
 Source0:	http://melkor.dnp.fmph.uniba.sk/~garabik/efingerd/%{name}_%{version}.tar.gz
 # Source0-md5:	9ed962d02c7716c747fd29b4fabbd06b
 Source1:	%{name}.inetd
 Patch0:		%{name}-DESTDIR.patch
+Patch1:		%{name}-fortune_path.patch
 URL:		http://melkor.dnp.fmph.uniba.sk/~garabik/efingerd.html
 PreReq:		rc-inetd >= 0.8.1
 Requires:	inetdaemon
@@ -36,6 +37,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__make} \


Więcej informacji o liście dyskusyjnej pld-devel-pl