traclightningのリポジトリ
Revision | 70337cf4fb1d17794e247b163c58b6878d5f2db5 (tree) |
---|---|
Time | 2015-05-03 11:41:21 |
Author | ![]() |
Commiter | Jun Omae |
Moved bin/*-service.bat to install directory to reduce taintedness of 'bin' directory
@@ -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 | -) |
@@ -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 | -) |
@@ -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 | +) |
@@ -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 | +) |
@@ -9,11 +9,11 @@ | ||
9 | 9 | ) |
10 | 10 | set BUILDVER=%1 |
11 | 11 | |
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 | |
13 | 13 | move trac.iss.tmp trac.iss |
14 | 14 | echo Changed version in trac.iss |
15 | 15 | |
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 | |
17 | 17 | move install\replace\trac.ini.in.tmp install\replace\trac.ini.in |
18 | 18 | echo Changed version in install\replace\trac.ini.in |
19 | 19 |
@@ -33,8 +33,8 @@ | ||
33 | 33 | Name: {app}\CollabNetSVN |
34 | 34 | |
35 | 35 | [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\ | |
38 | 38 | Source: install\trac.ini.default; DestDir: {app}\install\ |
39 | 39 | Source: install\trac.ini.agile; DestDir: {app}\install\ |
40 | 40 | Source: install\authzpolicy.conf.default; DestDir: {app}\install\ |
@@ -43,6 +43,8 @@ | ||
43 | 43 | Source: install\modpath.exe; DestDir: {app}\install\ |
44 | 44 | Source: install\post-install.bat; DestDir: {app}\install\ |
45 | 45 | 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\ | |
46 | 48 | Source: install\sed.exe; DestDir: {app}\install\ |
47 | 49 | Source: install\setup-httpdconf.bat; DestDir: {app}\install\ |
48 | 50 | Source: install\sitecustomize.py; DestDir: {app}\install |
@@ -90,8 +92,8 @@ | ||
90 | 92 | |
91 | 93 | [Icons] |
92 | 94 | 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 | |
95 | 97 | Name: {group}\コマンドプロンプト; Filename: cmd; Parameters: "/e:on /k ""{app}\bin\setenv.bat"""; WorkingDir: {app}\bin; IconFilename: {app}\trac.ico; Tasks: ; IconIndex: 0 |
96 | 98 | Name: {group}\SQLiteデータベースブラウザ; Filename: {app}\bin\SQLite Database Browser.exe; WorkingDir: {app}\projects\trac; IconFilename: {app}\bin\SQLite Database Browser.exe; IconIndex: 0; Tasks: |
97 | 99 | 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 @@ | ||
105 | 107 | Name: {app}\install; Type: filesandordirs |
106 | 108 | Name: {app}\start.bat; Type: files |
107 | 109 | Name: {app}\continuum; Type: filesandordirs |
108 | -Name: {app}\egg; Type: filesandordirs | |
109 | 110 | Name: {app}\.egg-cache; Type: filesandordirs |
110 | 111 | Name: {app}\CollabNetSVN\httpd\logs; Type: filesandordirs |
111 | 112 | Name: {app}\CollabNetSVN\httpd\cgi-bin\trac.wsgi; Type: filesandordirs |
112 | 113 | Name: {app}\CollabNetSVN\httpd\htdocs\trac_common; Type: filesandordirs |
113 | 114 | Name: {app}\CollabNetSVN\httpd\htdocs\trac; Type: filesandordirs |
114 | 115 | Name: {app}\CollabNetSVN\httpd\modules; Type: filesandordirs |
115 | -Name: {app}\python\Lib\site-packages; Type: filesandordirs | |
116 | 116 | Name: {app}\jenkins\jenkins.bat; Type: files |
117 | 117 | Name: {app}\jenkins\jenkins.xml; Type: files |
118 | 118 | Name: {app}\jenkins\jenkins.war.*; Type: files |