rpms/xinetd/devel xinetd-2.3.11-PIE.patch, NONE, 1.1 xinetd.spec, 1.55, 1.56
Tom Callaway (spot)
fedora-extras-commits at redhat.com
Thu May 29 19:01:20 UTC 2008
Author: spot
Update of /cvs/pkgs/rpms/xinetd/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26251/devel
Modified Files:
xinetd.spec
Added Files:
xinetd-2.3.11-PIE.patch
Log Message:
fix sparc fPIE issues
xinetd-2.3.11-PIE.patch:
--- NEW FILE xinetd-2.3.11-PIE.patch ---
--- xinetd/Makefile.in.pie 2003-06-07 09:47:24.000000000 -0700
+++ xinetd/Makefile.in 2003-10-28 10:59:55.000000000 -0800
@@ -119,7 +119,7 @@
$(CC) $(CFLAGS) $(DEBUG) $(SRCDIR)/itox.c -o $@ $(LDFLAGS) $(LIBS)
xinetd: $(OBJS)
- $(CC) $(CFLAGS) $(DEBUG) -o $@ $(OBJS) $(LDFLAGS) $(LIBS) || rm -f $@
+ $(CC) $(CFLAGS) $(DEBUG) -o $@ -PIE $(OBJS) $(LDFLAGS) $(LIBS) || rm -f $@
clean:
rm -f $(OBJS) $(NAME) core itox
--- Makefile.in.pie 2003-10-28 10:54:39.000000000 -0800
+++ Makefile.in 2003-10-28 10:54:39.000000000 -0800
@@ -14,7 +14,7 @@
LIBS = -lsio -lstr -lmisc -lxlog -lportable -lpset @LIBS@
-CFLAGS += @CFLAGS@
+CFLAGS += @CFLAGS@ -fPIE
DCFLAGS = -Wall -Wredundant-decls -W -Wfloat-equal -Wundef -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Wmissing-format-attribute -Wshadow -Wpointer-arith -g
Index: xinetd.spec
===================================================================
RCS file: /cvs/pkgs/rpms/xinetd/devel/xinetd.spec,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- xinetd.spec 31 Jan 2008 15:08:37 -0000 1.55
+++ xinetd.spec 29 May 2008 19:00:33 -0000 1.56
@@ -1,7 +1,7 @@
Summary: A secure replacement for inetd.
Name: xinetd
Version: 2.3.14
-Release: 18%{?dist}
+Release: 19%{?dist}
License: xinetd
Group: System Environment/Daemons
Epoch: 2
@@ -16,6 +16,7 @@
Patch4: xinetd-2.3.14-bind-ipv6.patch
Patch5: xinetd-2.3.14-ssize_t.patch
Patch6: xinetd-2.3.14-man-section.patch
+Patch7: xinetd-2.3.11-PIE.patch
BuildRequires: autoconf, automake
BuildRequires: libselinux-devel >= 1.30
@@ -38,7 +39,13 @@
%prep
%setup -q
+# SPARC/SPARC64 needs -fPIE/-PIE
+# This really should be detected by configure.
+%ifnarch sparcv9 sparc64
+%patch7 -p0 -b .PIE
+%else
%patch0 -p0 -b .pie
+%endif
%patch1 -p1 -b .tcp_rpc
%patch2 -p1 -b .lspp
%patch3 -p1 -b .confcntx
@@ -104,6 +111,9 @@
%{_mandir}/*/*
%changelog
+* Thu May 29 2008 Tom "spot" Callaway <tcallawa at redhat.com> - 2:2.3.14-19
+- fix sparc fPIE issues
+
* Thu Jan 31 2008 Jan Safranek <jsafranek at redhat.com> - 2:2.3.14-18
- fixed LABEL flag (#430929)
More information about the fedora-extras-commits
mailing list