• R/O
  • SSH

traclightning: Commit

traclightningのリポジトリ


Commit MetaInfo

Revision70337cf4fb1d17794e247b163c58b6878d5f2db5 (tree)
Zeit2015-05-03 11:41:21
AutorJun Omae <jun66j5@gmai...>
CommiterJun Omae

Log Message

Moved bin/*-service.bat to install directory to reduce taintedness of 'bin' directory

Ändern Zusammenfassung

Diff

diff -r b821025cbd37 -r 70337cf4fb1d bin/install-service.bat
--- a/bin/install-service.bat Sat May 02 23:35:13 2015 +0900
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
1-call setenv.bat
2-
3-httpd.exe -n TracLightning -k install
4-if errorlevel 1 pause
5-
6-httpd.exe -n TracLightning -k start
7-if errorlevel 1 pause
8-
9-if exist %TRAC_LIGHT_HOME%\jenkins\jenkins.exe (
10- cd /d %TRAC_LIGHT_HOME%\jenkins
11- jenkins.exe install
12- if errorlevel 1 pause
13- jenkins.exe start
14- if errorlevel 1 pause
15-)
diff -r b821025cbd37 -r 70337cf4fb1d bin/uninstall-service.bat
--- a/bin/uninstall-service.bat Sat May 02 23:35:13 2015 +0900
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
1-call setenv.bat
2-
3-httpd.exe -n TracLightning -k stop
4-httpd.exe -n TracLightning -k uninstall
5-
6-if errorlevel 1 pause
7-
8-if exist %TRAC_LIGHT_HOME%\jenkins\jenkins.exe (
9- cd /d %TRAC_LIGHT_HOME%\jenkins
10- jenkins.exe stop
11- jenkins.exe uninstall
12- if errorlevel 1 pause
13-)
diff -r b821025cbd37 -r 70337cf4fb1d install/install-service.bat
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/install/install-service.bat Sun May 03 11:41:21 2015 +0900
@@ -0,0 +1,16 @@
1+setlocal
2+call bin\setenv.bat
3+
4+CollabNetSVN\httpd\bin\httpd.exe -n TracLightning -k install
5+if errorlevel 1 pause
6+
7+CollabNetSVN\httpd\bin\httpd.exe -n TracLightning -k start
8+if errorlevel 1 pause
9+
10+if exist %TRAC_LIGHT_HOME%\jenkins\jenkins.exe (
11+ cd /d %TRAC_LIGHT_HOME%\jenkins
12+ jenkins.exe install
13+ if errorlevel 1 pause
14+ jenkins.exe start
15+ if errorlevel 1 pause
16+)
diff -r b821025cbd37 -r 70337cf4fb1d install/uninstall-service.bat
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/install/uninstall-service.bat Sun May 03 11:41:21 2015 +0900
@@ -0,0 +1,14 @@
1+setlocal
2+call bin\setenv.bat
3+
4+CollabNetSVN\httpd\bin\httpd.exe -n TracLightning -k stop
5+CollabNetSVN\httpd\bin\httpd.exe -n TracLightning -k uninstall
6+
7+if errorlevel 1 pause
8+
9+if exist %TRAC_LIGHT_HOME%\jenkins\jenkins.exe (
10+ cd /d %TRAC_LIGHT_HOME%\jenkins
11+ jenkins.exe stop
12+ jenkins.exe uninstall
13+ if errorlevel 1 pause
14+)
diff -r b821025cbd37 -r 70337cf4fb1d set-version.cmd
--- a/set-version.cmd Sat May 02 23:35:13 2015 +0900
+++ b/set-version.cmd Sun May 03 11:41:21 2015 +0900
@@ -9,11 +9,11 @@
99 )
1010 set BUILDVER=%1
1111
12-bin\sed -e "s/^\(AppVerName=Trac Lightning \).*$/\1%BUILDVER%/" <trac.iss >trac.iss.tmp
12+install\sed.exe -e "s/^\(AppVerName=Trac Lightning \).*$/\1%BUILDVER%/" <trac.iss >trac.iss.tmp
1313 move trac.iss.tmp trac.iss
1414 echo Changed version in trac.iss
1515
16-bin\sed -e "s#^\(footer=Powered by<br />Trac Lightning<br />Version \).*$#\1%BUILDVER%#" <install\replace\trac.ini.in >install\replace\trac.ini.in.tmp
16+install\sed.exe -e "s#^\(footer=Powered by<br />Trac Lightning<br />Version \).*$#\1%BUILDVER%#" <install\replace\trac.ini.in >install\replace\trac.ini.in.tmp
1717 move install\replace\trac.ini.in.tmp install\replace\trac.ini.in
1818 echo Changed version in install\replace\trac.ini.in
1919
diff -r b821025cbd37 -r 70337cf4fb1d trac.iss
--- a/trac.iss Sat May 02 23:35:13 2015 +0900
+++ b/trac.iss Sun May 03 11:41:21 2015 +0900
@@ -33,8 +33,8 @@
3333 Name: {app}\CollabNetSVN
3434
3535 [Files]
36-Source: install\trac.htdigest; DestDir: {app}\install\; Flags: uninsneveruninstall onlyifdoesntexist
37-Source: install\svnauthz; DestDir: {app}\install\; Flags: uninsneveruninstall onlyifdoesntexist
36+Source: install\trac.htdigest; DestDir: {app}\install\
37+Source: install\svnauthz; DestDir: {app}\install\
3838 Source: install\trac.ini.default; DestDir: {app}\install\
3939 Source: install\trac.ini.agile; DestDir: {app}\install\
4040 Source: install\authzpolicy.conf.default; DestDir: {app}\install\
@@ -43,6 +43,8 @@
4343 Source: install\modpath.exe; DestDir: {app}\install\
4444 Source: install\post-install.bat; DestDir: {app}\install\
4545 Source: install\post-install-service.bat; DestDir: {app}\install\
46+Source: install\install-service.bat; DestDir: {app}\install\
47+Source: install\uninstall-service.bat; DestDir: {app}\install\
4648 Source: install\sed.exe; DestDir: {app}\install\
4749 Source: install\setup-httpdconf.bat; DestDir: {app}\install\
4850 Source: install\sitecustomize.py; DestDir: {app}\install
@@ -90,8 +92,8 @@
9092
9193 [Icons]
9294 Name: {group}\Jenkinsの起動; Filename: {app}\jenkins\jenkins.bat; WorkingDir: {app}\jenkins; Components: Jenkins; IconFilename: {app}\projects\hudson\.hudson\war\favicon.ico; IconIndex: 0
93-Name: {group}\サービスのインストール; Filename: {app}\bin\install-service.bat; WorkingDir: {app}\bin; IconFilename: {app}\CollabNetSVN\httpd\bin\Apache.exe; IconIndex: 0
94-Name: {group}\サービスのアンインストール; Filename: {app}\bin\uninstall-service.bat; WorkingDir: {app}\bin; IconIndex: 0; IconFilename: {app}\CollabNetSVN\httpd\bin\Apache.exe
95+Name: {group}\サービスのインストール; Filename: {app}\install\install-service.bat; WorkingDir: {app}; IconFilename: {app}\CollabNetSVN\httpd\bin\httpd.exe; IconIndex: 0
96+Name: {group}\サービスのアンインストール; Filename: {app}\install\uninstall-service.bat; WorkingDir: {app}; IconFilename: {app}\CollabNetSVN\httpd\bin\httpd.exe; IconIndex: 0
9597 Name: {group}\コマンドプロンプト; Filename: cmd; Parameters: "/e:on /k ""{app}\bin\setenv.bat"""; WorkingDir: {app}\bin; IconFilename: {app}\trac.ico; Tasks: ; IconIndex: 0
9698 Name: {group}\SQLiteデータベースブラウザ; Filename: {app}\bin\SQLite Database Browser.exe; WorkingDir: {app}\projects\trac; IconFilename: {app}\bin\SQLite Database Browser.exe; IconIndex: 0; Tasks:
9799 Name: {group}\コマンドプロンプトから実行; Filename: {app}\start.bat; WorkingDir: {app}; IconFilename: {app}\CollabNetSVN\httpd\bin\httpd.exe; IconIndex: 0; Tasks: ; Parameters: -e DEBUG
@@ -105,14 +107,12 @@
105107 Name: {app}\install; Type: filesandordirs
106108 Name: {app}\start.bat; Type: files
107109 Name: {app}\continuum; Type: filesandordirs
108-Name: {app}\egg; Type: filesandordirs
109110 Name: {app}\.egg-cache; Type: filesandordirs
110111 Name: {app}\CollabNetSVN\httpd\logs; Type: filesandordirs
111112 Name: {app}\CollabNetSVN\httpd\cgi-bin\trac.wsgi; Type: filesandordirs
112113 Name: {app}\CollabNetSVN\httpd\htdocs\trac_common; Type: filesandordirs
113114 Name: {app}\CollabNetSVN\httpd\htdocs\trac; Type: filesandordirs
114115 Name: {app}\CollabNetSVN\httpd\modules; Type: filesandordirs
115-Name: {app}\python\Lib\site-packages; Type: filesandordirs
116116 Name: {app}\jenkins\jenkins.bat; Type: files
117117 Name: {app}\jenkins\jenkins.xml; Type: files
118118 Name: {app}\jenkins\jenkins.war.*; Type: files
Show on old repository browser