File: webapp-policy

package info (click to toggle)
haci 0.98c-2.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 2,240 kB
  • sloc: perl: 23,790; javascript: 1,817; sh: 225; makefile: 8
file content (142 lines) | stat: -rw-r--r-- 5,504 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
Description: Upstream changes introduced in version 0.97c-1
 This patch has been created by dpkg-source during the package build.
 Here's the last changelog entry, hopefully it gives details on why
 those changes were made:
 .
 haci (0.97c-1) unstable; urgency=low
 .
   * Initial release (Closes: #491352)
 .
 The person named in the Author field signed this changelog entry.
Author: TANIGUCHI Takaki <takaki@debian.org>
Bug-Debian: http://bugs.debian.org/491352

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

Index: haci/html/index.html
===================================================================
--- haci.orig/html/index.html	2017-07-11 21:34:53.538210458 +0900
+++ haci/html/index.html	2017-07-11 21:34:53.522210681 +0900
@@ -1,6 +1,6 @@
 <HTML>
 	<HEAD>
-		<meta http-equiv="refresh" content="0; URL=/cgi-bin/HaCi.cgi">
+		<meta http-equiv="refresh" content="0; URL=/haci/HaCi.cgi">
 	</HEAD>
 	<BODY>
 	</BODY>
Index: haci/etc/internal.conf
===================================================================
--- haci.orig/etc/internal.conf	2017-07-11 21:34:53.538210458 +0900
+++ haci/etc/internal.conf	2017-07-11 21:38:35.335124234 +0900
@@ -9,7 +9,7 @@
 	<path>
 		workdir			= $workdir
 		templateIncludePath	= $workdir/Template
-		spoolPath		= $workdir/spool
+		spoolPath		= /var/cache/haci/Template
 		templateCompilePath	= ${spoolPath}
 		authModules		= $workdir/modules/HaCi/Authentication
 		plugins			= $workdir/modules/HaCi/Plugins
@@ -31,9 +31,9 @@
 		titleShort		= HaCi
 		titleLong		= HaCi - IP Address Administration
 		version			= 0.98c
-		jsSrcDir		= /
-		jsSrc			= /HaCi.js
-		imagePathRel		= /Images
+		jsSrcDir		= /haci/
+		jsSrc			= /haci/HaCi.js
+		imagePathRel		= /haci/Images
 		logo			= ${imagePathRel}/logo.png
 		style			= bright
 		maxSubnetSize		= 8	
@@ -57,13 +57,13 @@
 		<layouts>
 			ID	= bright
 			name	= bright
-			file	= /HaCi.css
+			file	= /haci/HaCi.css
 			descr	= Bright Layout
 		</layouts>
 		<layouts>
 			ID	= black
 			name	= black
-			file	= /HaCi_black.css
+			file	= /haci/HaCi_black.css
 			descr	= Black Layout
 		</layouts>
 	</gui>
Index: haci/Template/HaCiShowAbout.tmpl
===================================================================
--- haci.orig/Template/HaCiShowAbout.tmpl	2017-07-11 21:34:53.538210458 +0900
+++ haci/Template/HaCiShowAbout.tmpl	2017-07-11 21:34:53.522210681 +0900
@@ -1,7 +1,7 @@
 <div id=loginTop>
-	<span><img id='loginLogo' src='/Images/HaCi_Logo2.png'></span>
+	<span><img id='loginLogo' src='[% imagepathrel %]/HaCi_Logo2.png'></span>
 	<br>
-	<span><img id='loginLogoString' src='/Images/HaCi_Logo_String.png'></span>
+	<span><img id='loginLogoString' src='[% imagepathrel %]/HaCi_Logo_String.png'></span>
 </div>
 <span id="aboutVersion">Version: <b>[% version %]</b></span>
 <br><br>
Index: haci/Template/HaCiMenu.tmpl
===================================================================
--- haci.orig/Template/HaCiMenu.tmpl	2017-07-11 21:34:53.538210458 +0900
+++ haci/Template/HaCiMenu.tmpl	2017-07-11 21:34:53.522210681 +0900
@@ -1,4 +1,4 @@
-<img id='logo' src='/Images/HaCi_Logo2.png'>
+<img id='logo' src='[% imagepathrel %]/HaCi_Logo2.png'>
 
 <form name='menu' action='[% thisScript %]' method='post'>
 [% FOREACH submenu IN menu %]
@@ -8,7 +8,7 @@
 		</div>
 		<div id='menuBoxBody'>
 		[% FOREACH entry IN submenu.entries %]
-			<img id='menuBoxPic' src="[% entry.img %]" />
+			<img id='menuBoxPic' src="/haci/[% entry.img %]" />
 			[% UNLESS entry.disabled %]
 				<div id='menuBoxLink'><a id='menuBoxLinkA' href="[% entry.link %]">[% entry.title %]</a></div>
 			[% ELSE %]
Index: haci/Template/HaCiLogin.tmpl
===================================================================
--- haci.orig/Template/HaCiLogin.tmpl	2017-07-11 21:34:53.538210458 +0900
+++ haci/Template/HaCiLogin.tmpl	2017-07-11 21:34:53.522210681 +0900
@@ -1,9 +1,9 @@
 <div id='root'>
 <div id=loginRoot>
 	<div id=loginTop>
-		<span><img id='loginLogo' src='/Images/HaCi_Logo2.png'></span>
+		<span><img id='loginLogo' src='[% imagepathrel %]/HaCi_Logo2.png'></span>
 		<br>
-		<span><img id='loginLogoString' src='/Images/HaCi_Logo_String.png'></span>
+		<span><img id='loginLogoString' src='[% imagepathrel %]/HaCi_Logo_String.png'></span>
 	</div>
 
 	<form name='loginForm' action='[% thisScript %]' method='post' [% IF buttonFocus %]onkeyup  = "submitOnEnter(event,'[% buttonFocus %]')"[% END %]>
Index: haci/Template/HaCiShowSubnets.tmpl
===================================================================
--- haci.orig/Template/HaCiShowSubnets.tmpl	2017-07-11 21:34:53.538210458 +0900
+++ haci/Template/HaCiShowSubnets.tmpl	2017-07-11 21:39:16.126556852 +0900
@@ -42,7 +42,7 @@
 										<a href="[% thisScript %]?func=addNet&networkDec=[% subnet.dec %]&rootID=[% rootID %]&fillNet=1&netID=0">
 											<img 
 												id		= 'boxButtonImage' 
-												src   = "/Images/addNet.png" 
+												src   = "{% imagepathrel %}/addNet.png"
 											/>
 										</a>
 									</td>