FreeBSD Bugzilla – Attachment 192658 Details for
Bug 218229
devel/git: simplify GITWEB configuration
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
updated patch
git-2.17.0.diff (text/plain), 2.76 KB, created by
Zsolt Udvari
on 2018-04-19 16:02:55 UTC
(
hide
)
Description:
updated patch
Filename:
MIME Type:
Creator:
Zsolt Udvari
Created:
2018-04-19 16:02:55 UTC
Size:
2.76 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 467738) >+++ Makefile (working copy) >@@ -22,7 +22,7 @@ > USERS= git_daemon > GROUPS= git_daemon > >-SUB_FILES= pkg-message >+SUB_FILES= pkg-message gitweb.conf > > GNU_CONFIGURE= yes > USES= autoreconf gmake iconv shebangfix ssl tar:xz >@@ -232,4 +232,8 @@ > post-install-P4-on: > ${INSTALL_SCRIPT} ${WRKSRC}/git-p4.py ${STAGEDIR}${PREFIX}/bin/ > >+post-install-GITWEB-on: >+ ${MKDIR} ${STAGEDIR}${ETCDIR} >+ ${INSTALL_DATA} ${WRKDIR}/gitweb.conf ${STAGEDIR}${ETCDIR}/gitweb.conf.sample >+ > .include <bsd.port.mk> >Index: files/gitweb.conf.in >=================================================================== >--- files/gitweb.conf.in (nonexistent) >+++ files/gitweb.conf.in (working copy) >@@ -0,0 +1 @@ >+our $projectroot="%%PREFIX%%/git/pub"; > >Property changes on: files/gitweb.conf.in >___________________________________________________________________ >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/pkg-message.in >=================================================================== >--- files/pkg-message.in (revision 467738) >+++ files/pkg-message.in (working copy) >@@ -7,12 +7,13 @@ > make gitweb work as a public repository on the web. > > All you have to do to make gitweb work is: >-1) Copy the files %%EXAMPLESDIR%%/gitweb/* to a directory on >- your web server (e.g. Apache2) in which you are able to execute >- CGI-scripts. >-2) In gitweb.cgi, adjust the variable $projectroot to point to >- your git repository (that is where you have your *.git project >- directories). >+1) Please be sure you're able to execute CGI scripts in >+ %%EXAMPLESDIR%%/gitweb. >+2) Copy %%ETCDIR%%/gitweb.conf.sample to >+ %%ETCDIR%%/gitweb.conf and edit it! >+3) Set the GITWEB_CONFIG variable in your webserver's config to >+ %%ETCDIR%%/gitweb.conf. This variable is passed to gitweb.cgi. >+4) Restart server. > *************************** GITWEB ************************************* > > *************************** CONTRIB ************************************ >Index: pkg-plist >=================================================================== >--- pkg-plist (revision 467738) >+++ pkg-plist (working copy) >@@ -1228,6 +1228,7 @@ > %%HTMLDOCS%%%%DOCSDIR%%/user-manual.txt > share/emacs/site-lisp/git/git-blame.el > share/emacs/site-lisp/git/git.el >+%%GITWEB%%@sample %%ETCDIR%%/gitweb.conf.sample > %%GITWEB%%%%EXAMPLESDIR%%/gitweb/gitweb.cgi > %%GITWEB%%%%EXAMPLESDIR%%/gitweb/static/git-favicon.png > %%GITWEB%%%%EXAMPLESDIR%%/gitweb/static/git-logo.png >@@ -1496,3 +1497,4 @@ > %%NLS%%share/locale/vi/LC_MESSAGES/git.mo > %%NLS%%share/locale/zh_CN/LC_MESSAGES/git.mo > @dir share/git-core/templates/branches >+@dir %%ETCDIR%%
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 218229
:
181316
|
192658
|
192673