]> git.pld-linux.org Git - packages/inn.git/blame - inn-PLD.patch
- S perl-GD for innreport
[packages/inn.git] / inn-PLD.patch
CommitLineData
6a4c3728
JB
1--- inn-2.5.3/doc/man/rnews.1.orig 2013-06-11 17:19:04.427402611 +0200
2+++ inn-2.5.3/doc/man/rnews.1 2013-06-11 17:41:12.624041596 +0200
3@@ -181,7 +181,7 @@
4 .PP
5 Otherwise, if the command is any other word, then \fBrnews\fR will try to
6 execute a program with that name, looking for it in the directory
7-\&\fIpathbin\fR/rnews.libexec. The rest of the batch will be fed to that
8+/usr/lib*/news/rnews . The rest of the batch will be fed to that
9 program's standard input, and the standard output from the program will be
10 treated as if it were the original input to \fBrnews\fR. \s-1INN\s0 comes with three
11 such standard batch processors:
12--- inn-2.5.3/include/inn/paths.h.in.orig 2013-06-11 17:42:12.677373675 +0200
13+++ inn-2.5.3/include/inn/paths.h.in 2013-06-11 17:49:38.687364380 +0200
14@@ -22,12 +22,12 @@
95b08739 15 /* Default prefix path is pathbin. */
6a4c3728
JB
16 #define INN_PATH_NNRPD "nnrpd"
17 #define INN_PATH_NNTPD "nnrpd"
18-#define INN_PATH_AUTHDIR "auth"
19+#define INN_PATH_AUTHDIR "@libdir@/news/auth"
20 #define INN_PATH_AUTHDIR_GENERIC "generic"
21 #define INN_PATH_AUTHDIR_NOPASS "resolv"
22 #define INN_PATH_AUTHDIR_PASSWD "passwd"
23 #define INN_PATH_CTLINND "ctlinnd"
24-#define INN_PATH_RNEWSPROGS "rnews.libexec"
25+#define INN_PATH_RNEWSPROGS "@libdir@/news/rnews"
d9177052 26
95b08739 27 /* Default prefix path is pathfilter. */
6a4c3728 28 #define INN_PATH_PERL_STARTUP_INND "startup_innd.pl"
45c9b47c
JB
29--- inn-2.4.0.orig/Makefile 2003-05-09 06:25:27.000000000 +0200
30+++ inn-2.4.0/Makefile 2003-06-29 12:57:10.000000000 +0200
45c9b47c
JB
31@@ -91,9 +91,9 @@
32 directories:
33 @chmod +x support/install-sh
34 for D in $(INSTDIRS) ; do \
35- support/install-sh $(OWNER) -m 0755 -d $(D)$$D ; \
36+ support/install-sh -m 0755 -d $(D)$$D ; \
37 done
38- support/install-sh $(OWNER) -m 0750 -d $(D)$(PATHRUN)
39+ support/install-sh -m 0750 -d $(D)$(PATHRUN)
88610303 40
45c9b47c
JB
41 update:
42 @chmod +x support/install-sh
6a4c3728
JB
43--- inn-2.5.3/Makefile.global.in.orig 2013-06-11 17:54:53.957357808 +0200
44+++ inn-2.5.3/Makefile.global.in 2013-06-11 17:57:11.437354942 +0200
45@@ -250,7 +250,7 @@
46 PATHAUTH = $(PATHBIN)/auth
47 PATHAUTHRESOLV = $(PATHAUTH)/resolv
48 PATHAUTHPASSWD = $(PATHAUTH)/passwd
49-PATHRNEWS = $(PATHBIN)/rnews.libexec
50+PATHRNEWS = @libdir@/news/rnews
51 PATHARCHIVE = $(PATHSPOOL)/archive
52 PATHARTICLES = $(PATHSPOOL)/articles
53 PATHINCOMING = $(PATHSPOOL)/incoming
54@@ -282,8 +282,8 @@
55 RNEWSMODE = @RNEWSMODE@
56 FILEMODE = @FILEMODE@
57
58-OWNER = -o $(RUNASUSER) -g $(RUNASGROUP)
59-ROWNER = -o $(RUNASUSER) -g $(RNEWSGROUP)
60+OWNER =
61+ROWNER =
95b08739 62
6a4c3728 63 INSTALL = $(top)/support/install-sh -c
45c9b47c 64
6a4c3728
JB
65--- inn-2.5.3/scripts/scanlogs.in.orig 2013-06-11 17:57:46.774020873 +0200
66+++ inn-2.5.3/scripts/scanlogs.in 2013-06-11 17:59:15.287352361 +0200
67@@ -10,7 +10,7 @@
68 ## norotate Do not rotate logfiles.
45c9b47c
JB
69
70 ## Directory where old log files are kept.
71-OLD=${MOST_LOGS}/OLD
9e30a8f4 72+OLD=/var/log/archive/news
6a4c3728
JB
73
74 ## Files defined in innshellvars. We repeat them for clarity.
75 ERRLOG=${MOST_LOGS}/errlog
76--- inn-2.5.3/scripts/inncheck.in.orig 2013-06-11 17:59:47.974018346 +0200
77+++ inn-2.5.3/scripts/inncheck.in 2013-06-11 18:00:16.837351078 +0200
78@@ -44,7 +44,7 @@
79 'passwd.nntp', "$INN::Config::pathetc/passwd.nntp",
80 'readers.conf', "$INN::Config::pathetc/readers.conf",
81 'rnews', "$INN::Config::rnews",
82- 'rnewsprogs', "$INN::Config::pathbin/rnews.libexec",
65b062ff 83+ 'rnewsprogs', "@libdir@/news/rnews",
6a4c3728
JB
84 'spooltemp', "$INN::Config::pathtmp",
85 'spool', "$INN::Config::patharticles",
86 'spoolnews', "$INN::Config::pathincoming",
87--- inn-2.5.3/frontends/Makefile.orig 2013-06-11 17:59:47.977351680 +0200
88+++ inn-2.5.3/frontends/Makefile 2013-06-11 18:01:39.537349354 +0200
89@@ -36,11 +36,11 @@
65b062ff
JB
90 for F in getlist innconfval sm ; do \
91 $(LI_XPUB) $$F $D$(PATHBIN)/$$F ; \
92 done
6a4c3728 93- $(CP_XPUB) bunbatch $D$(PATHBIN)/rnews.libexec/bunbatch
65b062ff
JB
94- $(CP_XPUB) c7unbatch $D$(PATHBIN)/rnews.libexec/c7unbatch
95- $(LI_XPUB) decode $D$(PATHBIN)/rnews.libexec/decode
96- $(LI_XPUB) encode $D$(PATHBIN)/rnews.libexec/encode
97- $(CP_XPUB) gunbatch $D$(PATHBIN)/rnews.libexec/gunbatch
6a4c3728 98+ $(CP_XPUB) bunbatch $D$(PATHRNEWS)/bunbatch
65b062ff
JB
99+ $(CP_XPUB) c7unbatch $D$(PATHRNEWS)/c7unbatch
100+ $(LI_XPUB) decode $D$(PATHRNEWS)/decode
101+ $(LI_XPUB) encode $D$(PATHRNEWS)/encode
102+ $(CP_XPUB) gunbatch $D$(PATHRNEWS)/gunbatch
103
6a4c3728
JB
104 bootstrap: $(MAN)
105
This page took 0.122152 seconds and 4 git commands to generate.