]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Adding release.php
authorJean-Marc Pigeon (Delson) <jmp@safe.ca>
Mon, 25 Aug 2025 18:38:58 +0000 (14:38 -0400)
committerJean-Marc Pigeon (Delson) <jmp@safe.ca>
Mon, 25 Aug 2025 18:38:58 +0000 (14:38 -0400)
Makefile
conf/mailleur-httpd.conf [deleted file]
mailleur.spec.in
www/footer.php [new file with mode: 0644]
www/mailleur.html [moved from www/mailleur.php with 77% similarity]
www/release.php [new file with mode: 0644]

index 6a922da57251907f6fa3e93f9f5761861dbe907e..8a1e6af099158319e647eb829ecb7f395001bd48 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -232,9 +232,6 @@ install     :
                conf/relayed.conf                       \
                conf/blacklister.conf                   \
                $(DESTDIR)/$(ETCDIR)/$(APPN)
-          @ cp -a                                      \
-               conf/$(APPN)-httpd.conf                 \
-               $(DESTDIR)/$(ETCDIR)/httpd/conf.d/$(APPN).conf
           @ cp -a                                      \
                conf/dovecot                            \
                $(DESTDIR)/$(ETCDIR)/$(APPN)/
diff --git a/conf/mailleur-httpd.conf b/conf/mailleur-httpd.conf
deleted file mode 100644 (file)
index e69de29..0000000
index 531442b0ad46e2f86bc9109965a9c172955d65ee..355c02e7669170cabeccf22d04c1e88e1ead62d4 100644 (file)
@@ -46,7 +46,6 @@ search about email exchange within time and transaction context.
 %attr(0754,root,root) %{_datadir}/%{name}/linux/osukiss/sender
 %attr(0754,root,root) %{_datadir}/%{name}/linux/osukiss/sorter
 %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/cron.d/%{name}.cron
-%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/httpd/conf.d/%{name}.conf
 %attr(0644,%{name},mail) %config(noreplace) %{_sysconfdir}/pki/%{name}/*
 %attr(0644,%{name},mail) %config(noreplace) %{_sysconfdir}/sysconfig/%{name}
 #configuration directory
@@ -126,8 +125,8 @@ if [ ! "$(getent passwd %{name})" ]; then
 %post
 OS=`%{_libdir}/%{name}/shell/getsysos.sh`
 ln -nsf                                                        \
-       ./%{name}.php                                   \
-       %{_var}/www/%{name}/index.php                   \
+       ./%{name}.html                                  \
+       %{_var}/www/%{name}/index.html                  \
 
 if [ "$1" = 1 ]; then
   (
diff --git a/www/footer.php b/www/footer.php
new file mode 100644 (file)
index 0000000..62f3a6a
--- /dev/null
@@ -0,0 +1,5 @@
+//This a php code to add page footer
+<?php
+include        "release.php" 
+echo ("Version: ")
+?>
similarity index 77%
rename from www/mailleur.php
rename to www/mailleur.html
index 5baff7958b8f004472b14d4be8edb8976b753a93..c827f78fbbb342291859af85555f24c7cc490cc5 100644 (file)
@@ -7,10 +7,17 @@
 </HEAD>
 
 <BODY="white">
-</BODY>
 
 <CENTER><STRONG><FONT SIZE=+2 color=red>
 Mailleur
 </FONT></STRONG></CENTER>
 
+<?php
+//Adding a footer to the main page
+include "footer.php";
+?>
+
+</BODY>
+
+
 </HTML>
diff --git a/www/release.php b/www/release.php
new file mode 100644 (file)
index 0000000..323e574
--- /dev/null
@@ -0,0 +1,3 @@
+\_version="0.15"
+\_release="9"
+\_branch="dvl"