]> git.pld-linux.org Git - packages/inn.git/blob - inn-libdir.patch
- updated to 2.7.0 (new sonames, configuration changes)
[packages/inn.git] / inn-libdir.patch
1 --- inn-2.7.0/samples/innreport.conf.in.orig    2022-10-10 21:12:12.735364461 +0200
2 +++ inn-2.7.0/samples/innreport.conf.in 2022-10-10 21:13:59.404786583 +0200
3 @@ -5,7 +5,7 @@
4  ##  See the innreport.conf man page for more information.
5  
6  section default {
7 -    libpath            "@libdir@";
8 +    libpath            "@innlibdir@";
9      logpath            "@LOGDIR@";
10      unknown            true;        # want unknown entries.
11      html-unknown       true;        # want unknown entries in HTML reports.
12 --- inn-2.5.3/scripts/innshellvars.tcl.in.orig  2012-06-15 20:25:36.000000000 +0200
13 +++ inn-2.5.3/scripts/innshellvars.tcl.in       2013-06-14 20:10:44.008452064 +0200
14 @@ -23,7 +23,7 @@
15  
16  set inn_newsbin "${inn_pathbin}"
17  set inn_newsetc "${inn_pathetc}"
18 -set inn_newslib "@libdir@"
19 +set inn_newslib "@innlibdir@"
20  set inn_innddir "${inn_pathrun}"
21  set inn_locks "${inn_pathrun}"
22  set env(NEWSBIN) "$inn_newsbin"
23 --- inn-2.5.3/scripts/innshellvars.in.orig      2012-06-15 20:25:36.000000000 +0200
24 +++ inn-2.5.3/scripts/innshellvars.in   2013-06-14 20:30:54.805093495 +0200
25 @@ -20,7 +20,7 @@
26  
27  NEWSBIN=${PATHBIN}
28  NEWSETC=${PATHETC}
29 -NEWSLIB=@libdir@
30 +NEWSLIB=@innlibdir@
31  INNDDIR=${PATHRUN}
32  LOCKS=${PATHRUN}
33  export NEWSBIN NEWSETC NEWSLIB INNDDIR LOCKS
34 --- inn-2.5.3/scripts/innshellvars.pl.in.orig   2012-06-15 20:25:36.000000000 +0200
35 +++ inn-2.5.3/scripts/innshellvars.pl.in        2013-06-14 20:31:17.728426352 +0200
36 @@ -28,7 +28,7 @@
37  
38  $newsbin = $pathbin;
39  $newsetc = $pathetc;
40 -$newslib = "@libdir@";
41 +$newslib = "@innlibdir@";
42  $innddir = $pathrun;
43  $locks = $pathrun;
44  $ENV{'NEWSBIN'} = $newsbin;
45 --- inn-2.5.3/Makefile.global.in.orig   2013-06-14 15:36:10.805462084 +0200
46 +++ inn-2.5.3/Makefile.global.in        2013-06-14 21:05:53.935049745 +0200
47 @@ -225,6 +225,7 @@
48  docdir         = @docdir@
49  includedir     = @includedir@
50  libdir         = @libdir@
51 +datadir                = @datadir@
52  mandir         = @mandir@
53  sysconfdir     = @sysconfdir@
54  tmpdir         = @tmpdir@
55 @@ -237,6 +238,7 @@
56  PATHMAN                = $(mandir)
57  PATHINCLUDE    = $(includedir)
58  PATHLIB                = $(libdir)
59 +PATHINNLIB     = @innlibdir@
60  PATHLIBPERL    = @LIBPERLDIR@
61  PATHCONTROL    = @CONTROLDIR@
62  PATHFILTER     = @FILTERDIR@
63 --- inn-2.7.0/perl/INN/Config.pm.in.orig        2022-10-10 21:12:12.742031092 +0200
64 +++ inn-2.7.0/perl/INN/Config.pm.in     2022-10-10 21:19:48.819560307 +0200
65 @@ -31,7 +31,7 @@ my @DIRVAR = qw($prefix $exec_prefix $ne
66    $spooltemp $path);
67  our $newshome = $pathnews;
68  our $home = $pathnews;
69 -our $newslib = "@libdir@";
70 +our $newslib = "@innlibdir@";
71  our $newsbin = $pathbin;
72  our $controlprogs = $pathcontrol;
73  our $newslbin = "$pathnews/local";
74 --- inn-2.7.0/support/fixscript.in.orig 2022-07-10 15:00:35.000000000 +0200
75 +++ inn-2.7.0/support/fixscript.in      2022-10-10 21:51:37.475886895 +0200
76 @@ -23,6 +23,7 @@ PERLPATH='@PERL@'
77  prefix="@prefix@"
78  exec_prefix="@exec_prefix@"
79  libdir="@libdir@"
80 +innlibdir="@innlibdir@"
81  libperldir="@LIBPERLDIR@"
82  
83  # We can probably just assume sed is on the path, but since we have it, we may
84 @@ -58,7 +59,7 @@ interpreter=$(head -n 1 "$input")
85  case "$interpreter" in
86  */sh | *SH*)
87      path="@SHELL@"
88 -    lib=". $libdir/innshellvars"
89 +    lib=". $innlibdir/innshellvars"
90      ;;
91  */perl* | *PERL*)
92      path=$(echo "$interpreter" | sed 's%^#! *[^ ][^ ]*%'"$PERLPATH%")
93 --- inn-2.7.0/support/fixconfig.in.orig 2022-07-10 15:00:35.000000000 +0200
94 +++ inn-2.7.0/support/fixconfig.in      2022-10-10 21:52:24.828963695 +0200
95 @@ -15,6 +15,7 @@ exec_prefix=@exec_prefix@
96  bindir=@bindir@
97  libexecdir=@libexecdir@
98  libdir=@libdir@
99 +innlibdir=@innlibdir@
100  sbindir=@sbindir@
101  sysconfdir=@sysconfdir@
102  
103 @@ -57,6 +58,7 @@ $SED -e "s,@prefix[@],$prefix,g" \
104      -e "s,@bindir[@],$bindir,g" \
105      -e "s,@libexecdir[@],$libexecdir,g" \
106      -e "s,@libdir[@],$libdir,g" \
107 +    -e "s,@innlibdir[@],$innlibdir,g" \
108      -e "s,@sbindir[@],$sbindir,g" \
109      -e "s,@sysconfdir[@],$sysconfdir,g" \
110      -e "s,@CONTROLDIR[@],$CONTROLDIR,g" \
111 --- inn-2.5.3/m4/paths.m4.orig  2012-06-15 20:25:36.000000000 +0200
112 +++ inn-2.5.3/m4/paths.m4       2013-06-14 21:13:15.238373880 +0200
113 @@ -47,6 +47,9 @@
114  _INN_ARG_DIR([tmp], ['${prefix}/tmp'], [tmpdir],
115      [AS_HELP_STRING([--with-tmp-dir=PATH],
116          [Path for temporary files [PREFIX/tmp]])])
117 +_INN_ARG_DIR([innlib], ['${datadir}/news'], [innlibdir],
118 +    [AS_HELP_STRING([--with-innlib-dir=PATH],
119 +        [Path to inn library scripts [DATADIR/news]])])
120  
121  dnl Some additional paths used by inn/paths.h.
122  eval PATH_CONFIG="$sysconfdir"
123 --- inn-2.7.0/scripts/Makefile.orig     2022-10-10 21:53:03.162089360 +0200
124 +++ inn-2.7.0/scripts/Makefile  2022-10-10 21:53:27.915288594 +0200
125 @@ -25,7 +25,7 @@ install: all
126         done
127         for F in innreport-display.conf innreport_inn.pm \
128                  innshellvars innshellvars.pl innshellvars.tcl ; do \
129 -           $(CP_RPUB) $$F $D$(PATHLIB)/$$F ; \
130 +           $(CP_RPUB) $$F $D$(PATHINNLIB)/$$F ; \
131         done
132  
133  bootstrap:
This page took 0.066655 seconds and 3 git commands to generate.