]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Improving spec file
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Wed, 27 Aug 2025 13:14:33 +0000 (09:14 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Wed, 27 Aug 2025 13:14:33 +0000 (09:14 -0400)
mailleur.spec.in
www/home.php
www/mailleur.php
www/scrfun.php

index 3cc6c5444cb19950719c077ba3598bebc75e5c4d..142e959e3d40856528b09375d33f9aa97a10dd24 100644 (file)
@@ -165,6 +165,7 @@ Summary             :       mailleur using postgresql as Data-base
 #-----------------------------------------------------------------------------
 
 Requires       :       %{name}                 =  %{version}-%{release}
+Requires       :       php-pgsql
 Requires       :       postgresql-server
 Requires       :       postgresql-contrib
 Requires       :       dovecot-postgresql
@@ -237,6 +238,7 @@ Summary             :       mailleur using mysql/mariadb as Data-base
 
 Requires       :       %{name}                 =  %{version}-%{release}
 Requires       :       mariadb
+Requires       :       php-mysqlnd
 Requires       :       dovecot-mysql
 
 Obsoletes      :       %{name}-postgresql      <= %{version}-%{release}
index f69bd3e4e0b5de6fe6afc26641452f360e4f5e96..5c86a9edb015fd8aa91f605a3b739a6c24ccdaea 100644 (file)
@@ -8,7 +8,7 @@ function body()
 //
 include "scrfun.php";
 
-$footer=footer("_home_");
+$footer=footer("home");
 $login=login();
 
 $STR  = <<<EOT
index d8517dcad6b3936fb9faa2d2b8fed5b2e0393888..9bd35661c8e4f6ad95dfe564d0de04d11370a7dd 100644 (file)
@@ -5,7 +5,7 @@ function body($action,$logname,$pass)
 
 {
 include "scrfun.php";
-$footer=footer("_mailleur_");
+$footer=footer("mailleur");
 
 $STR  = <<<EOT
 <!DOCTYPE html>
index 4c432c0077dab4631998704f9d86b453b3ce9510..047890ddc3ef09aedaf37f119b4d2b9bd4bde752 100644 (file)
@@ -21,10 +21,10 @@ $today=date("D M d H:i:s Y");
 
 $STR  = <<<EOT
 
-<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
 <hr width="100%" size="8" color="black" noshade>
+<TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0>
 <TD width="30%" align="left"  valign="top" class="smalltxt10">
-$pageref, Version: $m_release
+Version: $m_release, ($pageref)
 </TD>
 <TD width="40%" align="center" valign="top" class="smalltxt10">
 $copyright
@@ -32,8 +32,8 @@ $copyright
 <TD width="30%" align="right"  valign="top" class="smalltxt10">
 $today
 </TD>
-<hr width="100%" size="8" color="black" noshade>
 </TABLE>
+<hr width="100%" size="8" color="black" noshade>
 
 EOT;