ovdb_init.o: ovdb_init.c
$(CC) $(CFLAGS) $(BDB_CPPFLAGS) -c $<
---- inn-2.5.3/innfeed/Makefile.orig 2013-06-13 17:45:04.430435070 +0200
-+++ inn-2.5.3/innfeed/Makefile 2013-06-13 17:52:19.910425989 +0200
-@@ -52,7 +52,7 @@
+--- inn-2.6.3/innfeed/Makefile.orig 2019-02-07 16:02:22.000000000 +0100
++++ inn-2.6.3/innfeed/Makefile 2020-11-07 18:35:27.924853080 +0100
+@@ -49,7 +49,7 @@
## Compilation rules.
+INNFEEDLIBS = -Wl,-no-as-needed $(LIBSTORAGE) $(LIBHIST) $(LIBINN) $(STORAGE_LIBS) $(LIBS)
config_y.c config_y.h: configfile.y
- $(YACC) -d $?
+ $(YACC) -d configfile.y
--- inn-2.6.0/storage/buffindexed/ovmethod.mk.orig 2016-01-27 17:55:05.177170246 +0100
+++ inn-2.6.0/storage/buffindexed/ovmethod.mk 2016-01-27 18:38:18.517061418 +0100
@@ -5,4 +5,4 @@
-diff -Nur old/samples/cycbuff.conf new/samples/cycbuff.conf
---- old/samples/cycbuff.conf 2004-01-07 22:47:19.000000000 +0000
-+++ new/samples/cycbuff.conf 2004-08-06 12:33:41.000000000 +0000
-@@ -10,9 +10,9 @@
- # "cycbuff" (literally) : symbolic buffer name : path to buffer file :
- # length of symbolic buffer in kilobytes in decimal (1KB = 1024 bytes)
+--- inn-2.6.3/samples/cycbuff.conf.orig 2019-02-07 16:02:22.000000000 +0100
++++ inn-2.6.3/samples/cycbuff.conf 2020-11-07 18:34:28.741795625 +0100
+@@ -28,9 +28,9 @@
+ ##
+ ## If you're trying to stay under 2 GB, keep your sizes below 2097152.
-cycbuff:ONE:/export/cycbuffs/one:512000
-cycbuff:TWO:/export/cycbuffs/two:512000
+cycbuff:TWO:/var/spool/news/cycbuffs/two:512000
+cycbuff:THREE:/var/spool/news/cycbuffs/three:512000
- # 2. Meta-cyclic buffers
- # Format:
+ ## 2. Meta-cyclic buffers
+ ## Format:
--- inn-2.5.3/samples/inn.conf.in.orig 2013-06-13 15:49:58.887245670 +0200
+++ inn-2.5.3/samples/inn.conf.in 2013-06-13 16:20:45.710540510 +0200
@@ -17,11 +17,11 @@
verifygroups: false
wanttrash: false
wipcheck: 5
-@@ -71,6 +71,7 @@
+@@ -72,6 +72,7 @@
nfswriter: false
- overcachesize: 64
+ overcachesize: 128
#ovgrouppat:
+# note: must not be changed to false if using tradspool
storeonxref: true
useoverchan: false
- wireformat: false
+ wireformat: true
@@ -78,7 +79,7 @@
# Reading
articlemmap: true
clienttimeout: 1800
initialtimeout: 10
-@@ -109,8 +110,8 @@
- addnntppostingdate: true
- addnntppostinghost: true
+@@ -111,8 +112,8 @@
+ addinjectionpostingaccount: false
+ addinjectionpostinghost: true
checkincludedtext: false
-#complaints:
-#fromhost:
---- inn-2.5.3/Makefile.global.in.orig 2013-06-11 18:02:09.360682066 +0200
-+++ inn-2.5.3/Makefile.global.in 2013-06-11 18:04:16.297346087 +0200
-@@ -305,7 +305,7 @@
+--- inn-2.6.3/Makefile.global.in.orig 2020-11-07 17:33:18.128984967 +0100
++++ inn-2.6.3/Makefile.global.in 2020-11-07 18:30:28.819400995 +0100
+@@ -337,7 +337,7 @@
BACKUP_OPTION = -B .OLD
+LI_SPRI = $(LIBTOOLINST) $(INSTALL) -m 4550 $(BACKUP_OPTION)
LI_XPRI = $(LIBTOOLINST) $(INSTALL) $(OWNER) -m 0550 $(BACKUP_OPTION)
LI_XPUB = $(LIBTOOLINST) $(INSTALL) $(OWNER) -m 0555 $(BACKUP_OPTION)
-
+ LI_LPUB = $(LIBTOOLINST) $(INSTALL) $(OWNER) -m 0555
--- /dev/null
+--- inn-2.6.3/innd/python.c.orig 2019-02-07 16:02:22.000000000 +0100
++++ inn-2.6.3/innd/python.c 2020-11-07 18:39:55.705362751 +0100
+@@ -60,7 +60,7 @@
+ #include "innd.h"
+
+ bool PythonFilterActive;
+-char *filterPath; /* This gets set in art.c. */
++extern const char *filterPath; /* This gets set in art.c. */
+ PyObject *PYFilterObject = NULL;
+ PyObject *PYFilterModule = NULL;
+
---- inn-2.5.3/lib/newsuser.c.orig 2012-06-15 20:25:36.000000000 +0200
-+++ inn-2.5.3/lib/newsuser.c 2013-06-13 15:36:33.750595785 +0200
-@@ -93,6 +93,8 @@
- if (getegid() != gid || getgid() != gid) {
- die ("must be run as %s group", innconf->runasgroup);
+--- inn-2.6.3/lib/newsuser.c.orig 2019-02-07 16:02:22.000000000 +0100
++++ inn-2.6.3/lib/newsuser.c 2020-11-07 18:31:54.357153294 +0100
+@@ -100,6 +100,8 @@
+ die ("must be run as %s group",
+ innconf != NULL ? innconf->runasgroup : RUNASGROUP);
}
+ const char *runasuser = innconf != NULL ? innconf->runasuser : RUNASUSER;
+ initgroups(runasuser, gid);
Summary(tr.UTF-8): INN, InterNet Haber Sistemi (haber sunucu)
Name: inn
Version: 2.6.3
-Release: 4
+Release: 5
License: distributable
Group: Networking/Daemons
Source0: ftp://ftp.isc.org/isc/inn/%{name}-%{version}.tar.gz
Source10: %{name}.tmpfiles
Patch0: %{name}-PLD.patch
Patch1: %{name}-install.patch
+Patch2: %{name}-no-common.patch
Patch3: %{name}-setgid.patch
Patch4: %{name}-config.patch
Patch5: %{name}-asneeded.patch
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1