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

Collapse All | Expand All

(-)/usr/local/poudriere/ports/default/devel/git/Makefile (-1 / +5 lines)
Lines 21-27 Link Here
21
USERS=		git_daemon
21
USERS=		git_daemon
22
GROUPS=		git_daemon
22
GROUPS=		git_daemon
23
23
24
SUB_FILES=	pkg-message
24
SUB_FILES=	pkg-message gitweb.conf
25
25
26
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
27
USES=		autoreconf gmake shebangfix ssl tar:xz
27
USES=		autoreconf gmake shebangfix ssl tar:xz
Lines 215-218 Link Here
215
post-install-P4-on:
215
post-install-P4-on:
216
	${INSTALL_SCRIPT} ${WRKSRC}/git-p4.py ${STAGEDIR}${PREFIX}/bin/
216
	${INSTALL_SCRIPT} ${WRKSRC}/git-p4.py ${STAGEDIR}${PREFIX}/bin/
217
217
218
post-install-GITWEB-on:
219
	@${MKDIR} ${STAGEDIR}${ETCDIR}
220
	@${CP} ${WRKDIR}/gitweb.conf ${STAGEDIR}${ETCDIR}
221
218
.include <bsd.port.mk>
222
.include <bsd.port.mk>
(-)/usr/local/poudriere/ports/default/devel/git/files/gitweb.conf.in (+1 lines)
Line 0 Link Here
1
our $projectroot="%%PREFIX%%/git/pub";
(-)/usr/local/poudriere/ports/default/devel/git/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 ************************************
(-)/usr/local/poudriere/ports/default/devel/git/pkg-plist (+2 lines)
Lines 1191-1196 Link Here
1191
%%HTMLDOCS%%%%DOCSDIR%%/user-manual.txt
1191
%%HTMLDOCS%%%%DOCSDIR%%/user-manual.txt
1192
share/emacs/site-lisp/git/git-blame.el
1192
share/emacs/site-lisp/git/git-blame.el
1193
share/emacs/site-lisp/git/git.el
1193
share/emacs/site-lisp/git/git.el
1194
%%GITWEB%%@sample %%ETCDIR%%/gitweb.conf
1194
%%GITWEB%%%%EXAMPLESDIR%%/gitweb/gitweb.cgi
1195
%%GITWEB%%%%EXAMPLESDIR%%/gitweb/gitweb.cgi
1195
%%GITWEB%%%%EXAMPLESDIR%%/gitweb/static/git-favicon.png
1196
%%GITWEB%%%%EXAMPLESDIR%%/gitweb/static/git-favicon.png
1196
%%GITWEB%%%%EXAMPLESDIR%%/gitweb/static/git-logo.png
1197
%%GITWEB%%%%EXAMPLESDIR%%/gitweb/static/git-logo.png
Lines 1457-1459 Link Here
1457
%%NLS%%share/locale/vi/LC_MESSAGES/git.mo
1458
%%NLS%%share/locale/vi/LC_MESSAGES/git.mo
1458
%%NLS%%share/locale/zh_CN/LC_MESSAGES/git.mo
1459
%%NLS%%share/locale/zh_CN/LC_MESSAGES/git.mo
1459
@dir share/git-core/templates/branches
1460
@dir share/git-core/templates/branches
1461
@dir %%ETCDIR%%

Return to bug 218229