[packages/efingerd] - working source URL, fixed build

qboosh qboosh at pld-linux.org
Fri May 22 21:35:12 CEST 2026


commit 938ece0443cb789c0e3d5ce740fef83dc61692c4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Fri May 22 21:35:17 2026 +0200

    - working source URL, fixed build

 efingerd-DESTDIR.patch |  6 ++----
 efingerd.spec          | 15 ++++++++++-----
 2 files changed, 12 insertions(+), 9 deletions(-)
---
diff --git a/efingerd.spec b/efingerd.spec
index 008518a..1f03f58 100644
--- a/efingerd.spec
+++ b/efingerd.spec
@@ -5,7 +5,9 @@ Version:	1.6.7
 Release:	1
 License:	GPL
 Group:		Networking/Daemons
-Source0:	http://melkor.dnp.fmph.uniba.sk/~garabik/efingerd/%{name}_%{version}.tar.gz
+# connection refused
+#Source0:	http://melkor.dnp.fmph.uniba.sk/~garabik/efingerd/%{name}_%{version}.tar.gz
+Source0:	http://deb.debian.org/debian/pool/main/e/efingerd/%{name}_%{version}.orig.tar.gz
 # Source0-md5:	0257429419591607508fac1a18dfd6cd
 Source1:	%{name}.inetd
 Patch0:		%{name}-DESTDIR.patch
@@ -43,7 +45,7 @@ wynik zewnętrznych programów.
 %{__make} \
 	CC="%{__cc}" \
 	CFLAGS="%{rpmcflags} %{rpmcppflags}" \
-	LDFLAGS="%{rpmldflags} -lident"
+	LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -68,8 +70,11 @@ fi
 %files
 %defattr(644,root,root,755)
 %doc README CHANGES examples-{unusual,win95,standard}
-%attr(755,root,root) %{_sbindir}/*
+%attr(755,root,root) %{_sbindir}/efingerd
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/fingerd
 %dir %{_sysconfdir}/efingerd
-%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/efingerd/*
-%{_mandir}/man8/*
+%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/efingerd/list
+%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/efingerd/log
+%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/efingerd/luser
+%attr(755,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/efingerd/nouser
+%{_mandir}/man8/efingerd.8*
diff --git a/efingerd-DESTDIR.patch b/efingerd-DESTDIR.patch
index ec6bc18..b4df169 100644
--- a/efingerd-DESTDIR.patch
+++ b/efingerd-DESTDIR.patch
@@ -17,7 +17,7 @@ diff -ur efingerd-1.6/Makefile efingerd-1.6.new/Makefile
  
  #uncomment the following line if you do have libident.so
 -#LDFLAGS = -lident
-+LDFLAGS = -lident
++LIBS = -lident
  
  
  all: efingerd
@@ -27,7 +27,7 @@ diff -ur efingerd-1.6/Makefile efingerd-1.6.new/Makefile
  #modify path to libident.a if necessary
 -	$(CC) $(CFLAGS) $(LDFLAGS) efingerd.o child.o /usr/lib/libident.a -o efingerd
 -	strip efingerd
-+	$(CC) $(CFLAGS) $(LDFLAGS) efingerd.o child.o -o efingerd
++	$(CC) $(CFLAGS) $(LDFLAGS) efingerd.o child.o -o efingerd $(LIBS)
  
  efingerd.o: efingerd.c
  	$(CC) $(CFLAGS) -c efingerd.c
@@ -44,5 +44,3 @@ diff -ur efingerd-1.6/Makefile efingerd-1.6.new/Makefile
 -	gzip -9 efingerd.8 -c >$(MANDIR)/efingerd.8.gz
 +	mkdir -p $(MANDIR)
 +	cp efingerd.8 $(MANDIR)/efingerd.8
-Only in efingerd-1.6.new/: Makefile.orig
-Only in efingerd-1.6.new/: Makefile.rej
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/efingerd.git/commitdiff/938ece0443cb789c0e3d5ce740fef83dc61692c4



More information about the pld-cvs-commit mailing list