View | Details | Raw Unified | Return to bug 218229 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +5 lines)
Lines 22-28 Link Here
22
USERS=		git_daemon
22
USERS=		git_daemon
23
GROUPS=		git_daemon
23
GROUPS=		git_daemon
24
24
25
SUB_FILES=	pkg-message
25
SUB_FILES=	pkg-message gitweb.conf
26
26
27
GNU_CONFIGURE=	yes
27
GNU_CONFIGURE=	yes
28
USES=		autoreconf gmake iconv shebangfix ssl tar:xz
28
USES=		autoreconf gmake iconv shebangfix ssl tar:xz
Lines 232-235 Link Here
232
post-install-P4-on:
232
post-install-P4-on:
233
	${INSTALL_SCRIPT} ${WRKSRC}/git-p4.py ${STAGEDIR}${PREFIX}/bin/
233
	${INSTALL_SCRIPT} ${WRKSRC}/git-p4.py ${STAGEDIR}${PREFIX}/bin/
234
234
235
post-install-GITWEB-on:
236
	${MKDIR} ${STAGEDIR}${ETCDIR}
237
	${INSTALL_DATA} ${WRKDIR}/gitweb.conf ${STAGEDIR}${ETCDIR}/gitweb.conf.sample
238
235
.include <bsd.port.mk>
239
.include <bsd.port.mk>
(-)files/gitweb.conf.in (+1 lines)
Line 0 Link Here
1
our $projectroot="%%PREFIX%%/git/pub";
(-)files/pkg-message.in (-6 / +7 lines)
Lines 7-18 Link Here
7
make gitweb work as a public repository on the web.
7
make gitweb work as a public repository on the web.
8
8
9
All you have to do to make gitweb work is:
9
All you have to do to make gitweb work is:
10
1) Copy the files %%EXAMPLESDIR%%/gitweb/* to a directory on
10
1) Please be sure you're able to execute CGI scripts in
11
   your web server (e.g. Apache2) in which you are able to execute
11
   %%EXAMPLESDIR%%/gitweb.
12
   CGI-scripts.
12
2) Copy %%ETCDIR%%/gitweb.conf.sample to
13
2) In gitweb.cgi, adjust the variable $projectroot to point to
13
   %%ETCDIR%%/gitweb.conf and edit it!
14
   your git repository (that is where you have your *.git project
14
3) Set the GITWEB_CONFIG variable in your webserver's config to
15
   directories).
15
   %%ETCDIR%%/gitweb.conf. This variable is passed to gitweb.cgi.
16
4) Restart server.
16
*************************** GITWEB *************************************
17
*************************** GITWEB *************************************
17
18
18
*************************** CONTRIB ************************************
19
*************************** CONTRIB ************************************
(-)pkg-plist (+2 lines)
Lines 1228-1233 Link Here
1228
%%HTMLDOCS%%%%DOCSDIR%%/user-manual.txt
1228
%%HTMLDOCS%%%%DOCSDIR%%/user-manual.txt
1229
share/emacs/site-lisp/git/git-blame.el
1229
share/emacs/site-lisp/git/git-blame.el
1230
share/emacs/site-lisp/git/git.el
1230
share/emacs/site-lisp/git/git.el
1231
%%GITWEB%%@sample %%ETCDIR%%/gitweb.conf.sample
1231
%%GITWEB%%%%EXAMPLESDIR%%/gitweb/gitweb.cgi
1232
%%GITWEB%%%%EXAMPLESDIR%%/gitweb/gitweb.cgi
1232
%%GITWEB%%%%EXAMPLESDIR%%/gitweb/static/git-favicon.png
1233
%%GITWEB%%%%EXAMPLESDIR%%/gitweb/static/git-favicon.png
1233
%%GITWEB%%%%EXAMPLESDIR%%/gitweb/static/git-logo.png
1234
%%GITWEB%%%%EXAMPLESDIR%%/gitweb/static/git-logo.png
Lines 1496-1498 Link Here
1496
%%NLS%%share/locale/vi/LC_MESSAGES/git.mo
1497
%%NLS%%share/locale/vi/LC_MESSAGES/git.mo
1497
%%NLS%%share/locale/zh_CN/LC_MESSAGES/git.mo
1498
%%NLS%%share/locale/zh_CN/LC_MESSAGES/git.mo
1498
@dir share/git-core/templates/branches
1499
@dir share/git-core/templates/branches
1500
@dir %%ETCDIR%%

Return to bug 218229