[lfs-fr] r5244 - in trunk/blfs: . server/databases traduc/commits

myou72 at orange.fr myou72 at orange.fr
Sam 7 Déc 13:25:31 PST 2013


Author: myou72
Date: 2013-12-07 22:25:31 +0100 (Sat, 07 Dec 2013)
New Revision: 5244

Added:
   trunk/blfs/traduc/commits/r12352.txt
Modified:
   trunk/blfs/general.ent
   trunk/blfs/server/databases/postgresql.xml
Log:
[BLFS-EN] r12352.txt

Modified: trunk/blfs/general.ent
===================================================================
--- trunk/blfs/general.ent	2013-12-07 21:24:09 UTC (rev 5243)
+++ trunk/blfs/general.ent	2013-12-07 21:25:31 UTC (rev 5244)
@@ -528,7 +528,7 @@
 <!ENTITY db-version                   "6.0.20">
 <!ENTITY mariadb-version              "10.0.6">
 <!ENTITY mysql-version                "5.6.14">
-<!ENTITY postgresql-version           "9.3.1">
+<!ENTITY postgresql-version           "9.3.2">
 <!ENTITY sqlite-version               "3.8.1">
 
 <!-- Chapter 23 -->

Modified: trunk/blfs/server/databases/postgresql.xml
===================================================================
--- trunk/blfs/server/databases/postgresql.xml	2013-12-07 21:24:09 UTC (rev 5243)
+++ trunk/blfs/server/databases/postgresql.xml	2013-12-07 21:25:31 UTC (rev 5244)
@@ -5,10 +5,10 @@
   %general-entities;
   <!ENTITY postgresql-download-http " ">
   <!ENTITY postgresql-download-ftp  "ftp://ftp5.us.postgresql.org/pub/PostgreSQL/source/v&postgresql-version;/postgresql-&postgresql-version;.tar.bz2">
-  <!ENTITY postgresql-md5sum        "c003d871f712d4d3895956b028a96e74">
+  <!ENTITY postgresql-md5sum        "8c905155e3e9f9367b4299a9acb41d2a">
   <!ENTITY postgresql-size          "17 Mo">
-  <!ENTITY postgresql-buildsize     "169 Mo (additional 170 Mo to run the testsuite)">
-  <!ENTITY postgresql-time          "1.2 SBU (additional 0.2 SBU to run the testsuite)">
+  <!ENTITY postgresql-buildsize     "168 Mo (additional 170 Mo to run the testsuite)">
+  <!ENTITY postgresql-time          "1.4 SBU (additional 0.2 SBU to run the testsuite)">
 ]>
 <sect1 id="postgresql" xreflabel="PostgreSQL-&postgresql-version;">
   <?dbhtml filename="postgresql.html"?>
@@ -73,13 +73,10 @@
     <para>Installez <application>PostgreSQL</application> avec les commandes
     suivantes : </para>
 <screen>
-<userinput>sed -e "s at DEFAULT_PGSOCKET_DIR  \"/tmp\"@DEFAULT_PGSOCKET_DIR  \"/run/postgresql\"@" \
-    -i src/include/pg_config_manual.h &&
-sed -i -e 's at psql\\"@& -h /tmp@' src/test/regress/pg_regress{,_main}.c &&
-sed -i -e 's at gres\\"@& -k /tmp@' src/test/regress/pg_regress.c &&
-./configure --prefix=/usr          \
-            --enable-thread-safety \
-            --docdir=/usr/share/doc/postgresql-&postgresql-version; &&
+<userinput>sed -e "s at DEFAULT_PGSOCKET_DIR  "/tmp"@DEFAULT_PGSOCKET_DIR  "/run/postgresql"@"     -i src/include/pg_config_manual.h &&
+sed -i -e 's at psql\"@& -h /tmp@' src/test/regress/pg_regress{,_main}.c &&
+sed -i -e 's at gres\"@& -k /tmp@' src/test/regress/pg_regress.c &&
+./configure --prefix=/usr                      --enable-thread-safety             --docdir=/usr/share/doc/postgresql-&postgresql-version; &&
 make</userinput>
 </screen>
     <para>Pour tester les résultats, lancez : <command>make check</command>.</para>
@@ -121,29 +118,23 @@
 <userinput>install -v -dm700 /srv/pgsql/data &&
 install -v -dm755 /run/postgresql &&
 groupadd -g 41 postgres &&
-useradd -c "PostgreSQL Server" -g postgres -d /srv/pgsql/data \
-        -u 41 postgres &&
+useradd -c "PostgreSQL Server" -g postgres -d /srv/pgsql/data         -u 41 postgres &&
 chown -Rv postgres:postgres /srv/pgsql /run/postgresql &&
 su - postgres -c '/usr/bin/initdb -D /srv/pgsql/data'</userinput>
 </screen>
     <para>En tant qu'utilisateur <systemitem class="username">root</systemitem>, 
     démarrez le serveur de base de données avec la commande suivante :</para>
 <screen role="root">
-<userinput>su - postgres -c '/usr/bin/postmaster -D /srv/pgsql/data > \
-    /srv/pgsql/data/logfile 2>&1 &'</userinput>
+<userinput>su - postgres -c '/usr/bin/postmaster -D /srv/pgsql/data >     /srv/pgsql/data/logfile 2>&1 &'</userinput>
 </screen>
     <para>Toujours en tant qu'utilisateur <systemitem class="username">root</systemitem>, 
     créez une base de données et vérifiez l'installation :</para>
 <screen role="root">
 <userinput>su - postgres -c '/usr/bin/createdb test' &&
-echo "create table t1 ( name varchar(20), state_province varchar(20) );" \
-    | (su - postgres -c '/usr/bin/psql test ') &&
-echo "insert into t1 values ('Billy', 'NewYork');" \
-    | (su - postgres -c '/usr/bin/psql test ') &&
-echo "insert into t1 values ('Evanidus', 'Quebec');" \
-    | (su - postgres -c '/usr/bin/psql test ') &&
-echo "insert into t1 values ('Jesse', 'Ontario');" \
-    | (su - postgres -c '/usr/bin/psql test ') &&
+echo "create table t1 ( name varchar(20), state_province varchar(20) );"     | (su - postgres -c '/usr/bin/psql test ') &&
+echo "insert into t1 values ('Billy', 'NewYork');"     | (su - postgres -c '/usr/bin/psql test ') &&
+echo "insert into t1 values ('Evanidus', 'Quebec');"     | (su - postgres -c '/usr/bin/psql test ') &&
+echo "insert into t1 values ('Jesse', 'Ontario');"     | (su - postgres -c '/usr/bin/psql test ') &&
 echo "select * from t1;" | (su - postgres -c '/usr/bin/psql test')</userinput>
 </screen>
   </sect2>

Added: trunk/blfs/traduc/commits/r12352.txt
===================================================================
--- trunk/blfs/traduc/commits/r12352.txt	                        (rev 0)
+++ trunk/blfs/traduc/commits/r12352.txt	2013-12-07 21:25:31 UTC (rev 5244)
@@ -0,0 +1,51 @@
+Révision 12352
+
+fichiers modifiés :
+   introduction/welcome/changelog.xml
+   general.ent
+   server/databases/postgresql.xml
+
+Log :
+update to postgresql-9.3.2
+
+Le robot a traité 41 % du commit anglais
+Index: introduction/welcome/changelog.xml
+===================================================================
+--- introduction/welcome/changelog.xml	(révision 12351)
++++ introduction/welcome/changelog.xml	(révision 12352)
+@@ -47,6 +47,10 @@
+       <para>December 7th, 2013</para>
+       <itemizedlist>
+         <listitem>
++          <para>[igor] - Update to postgresql-9.3.2. Fixes
++          <ulink url="&blfs-ticket-root;4420">#4420</ulink>.</para>
++        </listitem>
++        <listitem>
+           <para>[igor] - Update to opus-1.1. Fixes
+           <ulink url="&blfs-ticket-root;4419">#4419</ulink>.</para>
+         </listitem>
+
+Index: server/databases/postgresql.xml
+===================================================================
+--- server/databases/postgresql.xml	(révision 12351)
++++ server/databases/postgresql.xml	(révision 12352)
+@@ -87,8 +87,7 @@
+     <para>Install <application>PostgreSQL</application> with the
+     following commands: </para>
+ 
+-<screen><userinput>sed -e "s at DEFAULT_PGSOCKET_DIR  \"/tmp\"@DEFAULT_PGSOCKET_DIR  \"/run/postgresql\"@" \
+--i src/include/pg_config_manual.h &&
++<screen><userinput>sed -i '/DEFAULT_PGSOCKET_DIR/s@/tmp@/run/postgresql@' src/include/pg_config_manual.h &&
+ sed -i -e 's at psql\\"@& -h /tmp@' src/test/regress/pg_regress{,_main}.c &&
+ sed -i -e 's at gres\\"@& -k /tmp@' src/test/regress/pg_regress.c &&
+ ./configure --prefix=/usr          \
+@@ -165,7 +164,7 @@
+     <title>Command Explanations</title>
+ 
+     <para>
+-<command>sed -e ...</command>: These seds change server socket location
++      <command>sed -i ...</command>: These seds change server socket location
+       from <filename class="directory">/tmp</filename> to
+       <filename class="directory">/run/postgresql</filename> and fix up the
+       regression tests to use <filename class="directory">/tmp</filename> so
+




More information about the lfs-traducfr mailing list