]> git.pld-linux.org Git - packages/rt.git/blobdiff - rt-layout.patch
- up to 4.2.10; fixes CVE-014-9472, CVE-2015-1165, CVE-2015-1464
[packages/rt.git] / rt-layout.patch
index 57ac88a4924db3f62d5323435230d85bde9c35ea..7ec53c476efce6b478d2dd13e26a86a31908e1fa 100644 (file)
@@ -1,21 +1,25 @@
 --- config.layout~     2004-03-28 06:04:08.000000000 +0200
 +++ config.layout      2004-10-14 17:37:13.000000000 +0200
-@@ -59,6 +59,31 @@
+@@ -59,6 +59,37 @@
    customlibdir:               ${customdir}/lib
  </Layout>
  
-+<Layout FHS>
++<Layout PLDFHS>
 +  prefix:             /usr/local
 +  exec_prefix:                ${prefix}
 +  bindir:             ${prefix}/bin
 +  sbindir:            ${prefix}/sbin
-+  sysconfdir:         /etc+
++  sysconfdir:         /etc/rt
 +  datadir:            ${prefix}/share
 +# FIXME: missing support for lib64
 +  libdir:             ${prefix}/lib
 +  mandir:             ${datadir}/man
 +# FIXME: no such directory in FHS; shouldn't go to somewhere in "${datadir}/rt/"?
-+  htmldir:            ${datadir}/html
++  plugindir:          ${datadir}/plugins
++  htmldir:            ${datadir}/rt/html
++  lexdir:             ${datadir}/rt/po
++  staticdir:          ${datadir}/rt/static
++  fontdir:            ${datadir}/fonts/TTF
 +  manualdir:          ${datadir}/doc
 +  localstatedir:      /var
 +  logfiledir:         ${localstatedir}/log
 +  masonstatedir:      ${localstatedir}/cache/mason_data
 +  sessionstatedir:    ${localstatedir}/cache/session_data
 +  customdir:          ${prefix}/local
-+  custometcdir:               ${customdir}/etc
++  custometcdir:       ${customdir}/etc
 +  customhtmldir:      ${customdir}/html
-+  customlexdir:               ${customdir}/po
-+  customlibdir:               ${customdir}/lib
++  customlexdir:       ${customdir}/po
++  customstaticdir:    ${customdir}/static
++  customlibdir:       ${customdir}/lib
++  customplugindir:    ${customdir}/plugins
 +</Layout>
 +
  <Layout FreeBSD>
    prefix:             /usr/local
    exec_prefix:                ${prefix}
---- m4/rt_layout.m4.bak        2004-10-14 17:55:37.000000000 +0200
-+++ m4/rt_layout.m4    2004-10-14 18:18:41.000000000 +0200
-@@ -21,14 +21,15 @@
-               pldconf=./config.pld
-               $PERL  -0777 -p -e "\$layout = '$2';"  -e '
-               s/.*<Layout\s+$layout>//gims; 
--              s/\<\/Layout\>.*//s; 
--              s/^#.*$//m;
-+              s/<\/Layout>.*//s; 
-+              s/^#.*$//gm;
-               s/^\s+//gim;
-               s/\s+$/\n/gim;
-               s/\+$/\/rt3/gim;
-               # m4 will not let us just use $1, we need @S|@1
--              s/^\s*((?:bin|sbin|libexec|data|sysconf|sharedstate|localstate|lib|include|oldinclude|info|man)dir)\s*:\s*(.*)$/@S|@1=@S|@2/gim;
--              s/^\s*(.*?)\s*:\s*(.*)$/\(test "x\@S|@@S|@1" = "xNONE" || test "x\@S|@@S|@1" = "x") && @S|@1=@S|@2/gim;
-+#             s/^((?:bin|sbin|libexec|data|sysconf|sharedstate|localstate|lib|include|oldinclude|info|man)dir)\s*:\s*(.*)$/@S|@1=@S|@2/gim;
-+              # uh, should be [:=], but m4 apparently substitutes something...
-+              s/^(.*?)\s*(?::|=)\s*(.*)$/\(test "x\@S|@@S|@1" = "xNONE" || test "x\@S|@@S|@1" = "x") && @S|@1=@S|@2/gim;
-                ' < $1 > $pldconf
-               if test -s $pldconf; then
This page took 0.08564 seconds and 4 git commands to generate.