public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/inn] epel10: auto-import changelog data from inn-2.3.5-10.src.rpm
@ 2026-08-26  8:05 cvsdist
  0 siblings, 0 replies; only message in thread
From: cvsdist @ 2026-08-26  8:05 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/inn
            Branch : epel10
            Commit : fea5665faad493c466ff09017ebd947ac3368cdd
            Author : cvsdist <cvsdist@fedoraproject.org>
            Date   : 2004-09-09T06:18:27+00:00
            Stats  : +12/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/inn/c/fea5665faad493c466ff09017ebd947ac3368cdd?branch=epel10

            Log:
            auto-import changelog data from inn-2.3.5-10.src.rpm
Mon May 17 2004 Thomas Woerner <twoerner@redhat.com> 2.3.5-10
- compiling server and suid programs PIE

---
diff --git a/inn.spec b/inn.spec
index 91e9e9d..51eb8cf 100644
--- a/inn.spec
+++ b/inn.spec
@@ -1,7 +1,7 @@
 Summary: The InterNetNews (INN) system, an Usenet news server.
 Name: inn
 Version: 2.3.5
-Release: 9
+Release: 10
 License: GPL
 Group: System Environment/Daemons
 Source0: ftp://ftp.isc.org/isc/inn/inn-%{version}.tar.gz
@@ -14,6 +14,7 @@ Source10: inn-faq.tar.gz
 Patch: inn-2.3.1-rh.patch
 Patch2: inn-2.3.3-strerror.patch
 Patch3: inn-headusage.patch
+Patch4: inn-2.3.5-pie.patch
 BuildRequires: db4-devel
 Prereq: /sbin/chkconfig, grep, textutils, sed, fileutils, sh-utils
 Requires: bash >= 2.0, inews
@@ -67,12 +68,18 @@ local news servers.
 %patch -p1 -b .rh
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1 -b .pie
 
 perl -pi -e 's/LOCK_READ/LLOCK_READ/' `find . -type f`
 perl -pi -e 's/LOCK_WRITE/LLOCK_WRITE/' `find . -type f`
 
 %build
-CFLAGS="$RPM_OPT_FLAGS" with_tmp_path=/var/lib/news/tmp ./configure \
+%ifarch s390 s390x
+export CFLAGS="$RPM_OPT_FLAGS -fPIC"
+%else
+export CFLAGS="$RPM_OPT_FLAGS -fpic"
+%endif
+with_tmp_path=/var/lib/news/tmp ./configure \
 	--prefix=/usr/lib/news \
 	--sysconfdir=/etc/news --mandir=%{_mandir} \
 	--with-log-dir=/var/log/news --with-spool-dir=/var/spool/news\
@@ -248,6 +255,9 @@ exit 0
 %{_mandir}/man1/inews*
 
 %changelog
+* Mon May 17 2004 Thomas Woerner <twoerner@redhat.com> 2.3.5-10
+- compiling server and suid programs PIE
+
 * Tue Apr  6 2004 Thomas Woerner <twoerner@redhat.com> 2.3.5-9
 - /etc/rc.d/init.d/innd is owned by root now (#119131)
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-08-26  8:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-26  8:05 [rpms/inn] epel10: auto-import changelog data from inn-2.3.5-10.src.rpm cvsdist

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox