]> SAFE projects GIT repository - jmp/mailleur/commitdiff
Improving spec file
authorJean-Marc Pigeon <jmp@safe.c>
Thu, 4 Sep 2025 13:23:06 +0000 (09:23 -0400)
committerJean-Marc Pigeon <jmp@safe.c>
Thu, 4 Sep 2025 13:23:06 +0000 (09:23 -0400)
mailleur.spec.in
www/cookies.php [deleted file]
www/popup.html [deleted file]
www/popup2.html [deleted file]

index 16e39167af175bc21bb7a385b8d1c1154016f316..a688c84ce6517a7310fd5af61e2b5af0a6fe7ae6 100644 (file)
@@ -75,13 +75,20 @@ search about email exchange within time and transaction context.
 %attr(0755,%{name},mail) %dir %{spooldir}/%{name}/queue
 %attr(0750,%{name},mail) %dir %{spooldir}/%{name}/mails
 %attr(0750,%{name},apache) %dir %{wwwdir}/%{name}/
-%attr(0750,%{name},apache) %{wwwdir}/%{name}/*.php
+%{wwwdir}/%{name}/index.php
+%attr(0750,%{name},apache) %{wwwdir}/%{name}/%{name}.php
+%attr(0750,%{name},apache) %{wwwdir}/%{name}/devsql.php
+%attr(0750,%{name},apache) %{wwwdir}/%{name}/gessql.php
+%attr(0750,%{name},apache) %{wwwdir}/%{name}/home.php
+%attr(0750,%{name},apache) %{wwwdir}/%{name}/login.php
+%attr(0750,%{name},apache) %{wwwdir}/%{name}/release.php
+%attr(0750,%{name},apache) %{wwwdir}/%{name}/scrfun.php
+%attr(0750,%{name},apache) %{wwwdir}/%{name}/subrou.php
+%attr(0750,%{name},apache) %{wwwdir}/%{name}/unienv.php
 %attr(0640,%{name},apache) %{wwwdir}/%{name}/reg-icons/*.gif
 %attr(0640,root,root) %{_datadir}/%{name}/sql/Makefile
 %attr(0644,root,root) %{_datadir}/%{name}/sql/datatest.def
 %attr(0644,root,root) %{_datadir}/%{name}/sql/*.sql
-%exclude %{wwwdir}/%{name}/unipos.php
-%exclude %{wwwdir}/%{name}/unimar.php
 %exclude %{_datadir}/%{name}/sql/%{name}.mysql
 %exclude %{_datadir}/%{name}/sql/%{name}.postg
 #-----------------------------------------------------------------------------
@@ -184,7 +191,6 @@ Obsoletes   :       %{name}-mysql           <= %{version}-%{release}
 %files                 postgresql
 %defattr(-,root,root,-)
 %attr(0755,%{name},mail) %{_libexecdir}/%{name}/bin-posql/*
-%attr(0750,%{name},apache) %{wwwdir}/%{name}/unipos.php
 
 #-----------------------------------------------------------------------------
 %post                  postgresql
@@ -256,7 +262,6 @@ Obsoletes   :       %{name}-postgresql      <= %{version}-%{release}
 %files                 mysql
 %defattr(-,root,root,-)
 %attr(0755,%{name},mail) %{_libexecdir}/%{name}/bin-mysql/*
-%attr(0750,%{name},apache) %{wwwdir}/%{name}/unimar.php
 
 #-----------------------------------------------------------------------------
 
diff --git a/www/cookies.php b/www/cookies.php
deleted file mode 100644 (file)
index 99f16f1..0000000
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<?php
-    setcookie("Auction_Item", "cheap Car",time()+2*24*60*60,"/");
-?>
-<html>
-<body>
-    <?php
-    if (isset($_COOKIE["Auction_Item"]))
-    {
-        echo "Auction Item is a  " . $_COOKIE["Auction_Item"];
-    }
-    else
-    {
-        echo "No items for auction.";
-    }
-    ?>
-    <p>
-        <strong>Note:</strong> 
-        You might have to reload the 
-        page to see the value of the cookie.
-    </p>
-
-</body>
-</html>
-
diff --git a/www/popup.html b/www/popup.html
deleted file mode 100644 (file)
index 45fa69e..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="UTF-8" name="viewport" content="width=device-width, initial-scale=1">
-</head>
-<body>
-
-<form action="login.php" method="post">
-<label for="username">Username:</label>
-<input type="text" id="username" name="username" required><br><br>
-<label for="password">Password:</label>
-<input type="password" id="password" name="password" required><br><br>
-<input type="submit" value="Login">
-</form>
-
-</body>
-</html>
diff --git a/www/popup2.html b/www/popup2.html
deleted file mode 100644 (file)
index 068c208..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<script>
-function check()
-
-{ 
-if (form1.userid.value=="jmp" && form1.pwd.value=="root") {
-  alert("JMPDBG1");
-  event.preventDefault();
-  //setcookies("username","Big_user",10);
-  alert("JMPDBG2");
-  //document.location.href = "mailleur.php";
-  return false;
-  }
-else {
-  alert("Incorrect Username or Password");
-  event.preventDefault();
-  return false;
-  } 
-} 
-
-</script>
-<title>Login</title></head>
-<body> 
-<form id="form1" method="post" action="mailleur.php" onsubmit="check()">
-    <label>User Name</label>
-    <input type="text" name="userid"><br>
-    <label>Password</label>:
-    <input type="Password" name="pwd"><br>
-    <input type="submit" value="Login">
-</form>
-</body> 
-</html>