From ea77cbb5c46754870b78980da49b3d010e1d1275 Mon Sep 17 00:00:00 2001 From: Steve Dickson Date: Tue, 8 Jan 2008 16:21:37 +0000 Subject: [PATCH] Changed Makefiles.in so binaries are not stripped. --- ypserv-2.19-debuginfo.patch | 96 +++++++++++++++++++++++++++++++++++++ ypserv.spec | 9 +++- 2 files changed, 104 insertions(+), 1 deletion(-) create mode 100644 ypserv-2.19-debuginfo.patch diff --git a/ypserv-2.19-debuginfo.patch b/ypserv-2.19-debuginfo.patch new file mode 100644 index 0000000..775203c --- /dev/null +++ b/ypserv-2.19-debuginfo.patch @@ -0,0 +1,96 @@ +diff -up ypserv-2.19/revnetgroup/Makefile.in.orig ypserv-2.19/revnetgroup/Makefile.in +--- ypserv-2.19/revnetgroup/Makefile.in.orig 2006-01-10 14:22:31.000000000 -0500 ++++ ypserv-2.19/revnetgroup/Makefile.in 2008-01-08 11:07:22.000000000 -0500 +@@ -98,7 +98,7 @@ EGREP = @EGREP@ + EXEEXT = @EXEEXT@ + INSTALL_DATA = @INSTALL_DATA@ + # +-INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s -m 555 ++INSTALL_PROGRAM = @INSTALL_PROGRAM@ -m 555 + INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + LDFLAGS = @LDFLAGS@ +diff -up ypserv-2.19/rpc.yppasswdd/Makefile.in.orig ypserv-2.19/rpc.yppasswdd/Makefile.in +--- ypserv-2.19/rpc.yppasswdd/Makefile.in.orig 2006-01-10 14:22:31.000000000 -0500 ++++ ypserv-2.19/rpc.yppasswdd/Makefile.in 2008-01-08 11:07:22.000000000 -0500 +@@ -103,7 +103,7 @@ EGREP = @EGREP@ + EXEEXT = @EXEEXT@ + INSTALL_DATA = @INSTALL_DATA@ + # +-INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s -m 555 ++INSTALL_PROGRAM = @INSTALL_PROGRAM@ -m 555 + INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + LDFLAGS = @LDFLAGS@ +diff -up ypserv-2.19/yppush/Makefile.in.orig ypserv-2.19/yppush/Makefile.in +--- ypserv-2.19/yppush/Makefile.in.orig 2006-01-10 14:22:32.000000000 -0500 ++++ ypserv-2.19/yppush/Makefile.in 2008-01-08 11:07:22.000000000 -0500 +@@ -96,7 +96,7 @@ EGREP = @EGREP@ + EXEEXT = @EXEEXT@ + INSTALL_DATA = @INSTALL_DATA@ + # +-INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s -m 555 ++INSTALL_PROGRAM = @INSTALL_PROGRAM@ -m 555 + INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + LDFLAGS = @LDFLAGS@ +diff -up ypserv-2.19/ypserv/Makefile.in.orig ypserv-2.19/ypserv/Makefile.in +--- ypserv-2.19/ypserv/Makefile.in.orig 2006-01-10 14:22:32.000000000 -0500 ++++ ypserv-2.19/ypserv/Makefile.in 2008-01-08 11:07:22.000000000 -0500 +@@ -98,7 +98,7 @@ EGREP = @EGREP@ + EXEEXT = @EXEEXT@ + INSTALL_DATA = @INSTALL_DATA@ + # +-INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s -m 555 ++INSTALL_PROGRAM = @INSTALL_PROGRAM@ -m 555 + INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + LDFLAGS = @LDFLAGS@ +diff -up ypserv-2.19/rpc.ypxfrd/Makefile.in.orig ypserv-2.19/rpc.ypxfrd/Makefile.in +--- ypserv-2.19/rpc.ypxfrd/Makefile.in.orig 2006-01-10 14:22:31.000000000 -0500 ++++ ypserv-2.19/rpc.ypxfrd/Makefile.in 2008-01-08 11:07:22.000000000 -0500 +@@ -98,7 +98,7 @@ EGREP = @EGREP@ + EXEEXT = @EXEEXT@ + INSTALL_DATA = @INSTALL_DATA@ + # +-INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s -m 555 ++INSTALL_PROGRAM = @INSTALL_PROGRAM@ -m 555 + INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + LDFLAGS = @LDFLAGS@ +diff -up ypserv-2.19/makedbm/Makefile.in.orig ypserv-2.19/makedbm/Makefile.in +--- ypserv-2.19/makedbm/Makefile.in.orig 2006-01-10 14:22:30.000000000 -0500 ++++ ypserv-2.19/makedbm/Makefile.in 2008-01-08 11:07:22.000000000 -0500 +@@ -96,7 +96,7 @@ EGREP = @EGREP@ + EXEEXT = @EXEEXT@ + INSTALL_DATA = @INSTALL_DATA@ + # +-INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s -m 555 ++INSTALL_PROGRAM = @INSTALL_PROGRAM@ -m 555 + INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + LDFLAGS = @LDFLAGS@ +diff -up ypserv-2.19/mknetid/Makefile.in.orig ypserv-2.19/mknetid/Makefile.in +--- ypserv-2.19/mknetid/Makefile.in.orig 2006-01-10 14:22:31.000000000 -0500 ++++ ypserv-2.19/mknetid/Makefile.in 2008-01-08 11:07:22.000000000 -0500 +@@ -97,7 +97,7 @@ EGREP = @EGREP@ + EXEEXT = @EXEEXT@ + INSTALL_DATA = @INSTALL_DATA@ + # +-INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s -m 555 ++INSTALL_PROGRAM = @INSTALL_PROGRAM@ -m 555 + INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + LDFLAGS = @LDFLAGS@ +diff -up ypserv-2.19/yphelper/Makefile.in.orig ypserv-2.19/yphelper/Makefile.in +--- ypserv-2.19/yphelper/Makefile.in.orig 2006-01-10 14:22:32.000000000 -0500 ++++ ypserv-2.19/yphelper/Makefile.in 2008-01-08 11:07:22.000000000 -0500 +@@ -95,7 +95,7 @@ EGREP = @EGREP@ + EXEEXT = @EXEEXT@ + INSTALL_DATA = @INSTALL_DATA@ + # +-INSTALL_PROGRAM = @INSTALL_PROGRAM@ -s -m 555 ++INSTALL_PROGRAM = @INSTALL_PROGRAM@ -m 555 + INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + LDFLAGS = @LDFLAGS@ diff --git a/ypserv.spec b/ypserv.spec index 441d511..08f5ce0 100644 --- a/ypserv.spec +++ b/ypserv.spec @@ -4,7 +4,7 @@ Summary: The NIS (Network Information Service) server. Url: http://www.linux-nis.org/nis/ypserv/index.html Name: ypserv Version: 2.19 -Release: 6%{?dist} +Release: 7%{?dist} License: GPL Group: System Environment/Daemons Source0: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypserv-%{version}.tar.bz2 @@ -23,6 +23,7 @@ Patch7: ypserv-2.13-ypxfr-zeroresp.patch Patch8: ypserv-2.19-inval-ports.patch Patch9: ypserv-2.13-nonedomain.patch Patch10: ypserv-2.19-quieter.patch +Patch11: ypserv-2.19-debuginfo.patch Obsoletes: yppasswd BuildRequires: gdbm-devel Buildroot: %{_tmppath}/%{name}-root @@ -53,6 +54,9 @@ machines. %patch6 -p1 -b .memleak %patch7 -p1 -b .respzero %patch8 -p1 -b .ports +%patch9 -p1 +%patch10 -p1 +%patch11 -p1 %build cp etc/README etc/README.etc @@ -138,6 +142,9 @@ exit 0 %{_includedir}/*/* %changelog +* Tue Jan 8 2008 Steve Dickson 2.19-7 +- Changed Makefiles.in so binaries are not stripped. + * Sat Sep 15 2007 Steve Dickson 2.19-6 - Fixed init scripts to return correct exit code on 'service status' (bz 248097)