import gitlist-0.3
GitList allows you to browse repositories using your favorite browser, viewing files under different revisions, commit history and diffs. GitList is free and open source software, written in PHP, on top of Silex and the Twig template engine. feedback/ok ajacoutot@
This commit is contained in:
parent
94e6d86e3a
commit
1eed7e15fe
46
www/gitlist/Makefile
Normal file
46
www/gitlist/Makefile
Normal file
@ -0,0 +1,46 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/11/07 07:53:02 jasper Exp $
|
||||
|
||||
COMMENT= elegant and modern git repository browser
|
||||
|
||||
DISTNAME= gitlist-0.3
|
||||
CATEGORIES= www
|
||||
|
||||
HOMEPAGE= http://gitlist.org/
|
||||
|
||||
MAINTAINER= Jasper Lievisse Adriaanse <jasper@openbsd.org>
|
||||
|
||||
# BSD
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM =Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MASTER_SITES= https://s3.amazonaws.com/gitlist/
|
||||
|
||||
MODULES= lang/php
|
||||
|
||||
NO_BUILD= Yes
|
||||
NO_REGRESS= Yes
|
||||
PKG_ARCH= *
|
||||
|
||||
PREFIX= /var/www
|
||||
INSTDIR= ${PREFIX}/gitlist/
|
||||
TINSTDIR= ${TRUEPREFIX}/gitlist/
|
||||
SUBST_VARS= INSTDIR TINSTDIR
|
||||
WRKDIST= ${WRKDIR}/${DISTNAME}/
|
||||
|
||||
do-extract:
|
||||
mkdir -p ${WRKDIST}
|
||||
${GZIP_CMD} -dc ${FULLDISTDIR}/${DISTFILES} | ${TAR} xf - -C ${WRKDIST}
|
||||
|
||||
pre-configure:
|
||||
${SUBST_CMD} ${WRKSRC}/config.ini
|
||||
|
||||
do-install:
|
||||
rm ${WRKSRC}/config.ini.*
|
||||
cp -Rp ${WRKDIST} ${INSTDIR}
|
||||
${SUBST_CMD} -c ${FILESDIR}/gitlist.conf \
|
||||
${INSTDIR}/gitlist.conf.dist
|
||||
chown -R ${SHAREOWN}:${SHAREGRP} ${INSTDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
2
www/gitlist/distinfo
Normal file
2
www/gitlist/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (gitlist-0.3.tar.gz) = 5NYhXdXU8PkBJzodQZ4r4bQGBv9D8FIWghp61jcOvlk=
|
||||
SIZE (gitlist-0.3.tar.gz) = 727365
|
5
www/gitlist/files/gitlist.conf
Normal file
5
www/gitlist/files/gitlist.conf
Normal file
@ -0,0 +1,5 @@
|
||||
<Directory ${TINSTDIR}>
|
||||
<IfModule mod_php5.c>
|
||||
php_value date.timezone UTC
|
||||
</IfModule>
|
||||
</Directory>
|
17
www/gitlist/patches/patch-config_ini
Normal file
17
www/gitlist/patches/patch-config_ini
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-config_ini,v 1.1.1.1 2012/11/07 07:53:06 jasper Exp $
|
||||
--- config.ini.orig Tue Oct 30 10:07:54 2012
|
||||
+++ config.ini Tue Oct 30 10:08:05 2012
|
||||
@@ -1,5 +1,5 @@
|
||||
[git]
|
||||
-client = '/usr/bin/git' ; Your git executable path
|
||||
+client = '${LOCALBASE}/bin/git' ; Your git executable path
|
||||
repositories = '/var/www/projects/' ; Path to your repositories
|
||||
|
||||
; You can hide repositories from GitList, just copy this for each repository you want to hide
|
||||
@@ -11,4 +11,4 @@ debug = true
|
||||
; If you need to specify custom filetypes for certain extensions, do this here
|
||||
[filetypes]
|
||||
; extension = type
|
||||
-; dist = xml
|
||||
\ No newline at end of file
|
||||
+; dist = xml
|
4
www/gitlist/pkg/DESCR
Normal file
4
www/gitlist/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
GitList allows you to browse repositories using your favorite browser,
|
||||
viewing files under different revisions, commit history and diffs.
|
||||
GitList is free and open source software, written in PHP, on top of
|
||||
Silex and the Twig template engine.
|
1411
www/gitlist/pkg/PLIST
Normal file
1411
www/gitlist/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
32
www/gitlist/pkg/README
Normal file
32
www/gitlist/pkg/README
Normal file
@ -0,0 +1,32 @@
|
||||
$OpenBSD: README,v 1.1.1.1 2012/11/07 07:53:02 jasper Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
+-----------------------------------------------------------------------
|
||||
|
||||
The GitList repository viewer has been installed into
|
||||
${INSTDIR}
|
||||
|
||||
PHP settings
|
||||
============
|
||||
Some specific PHP settings are required for GitList. With Apache, you can
|
||||
automatically configure them as follows. As root:
|
||||
ln -s ../modules.sample/gitlist.conf ${PREFIX}/conf/modules
|
||||
/etc/rc.d/httpd restart
|
||||
|
||||
With other web servers, review
|
||||
${PREFIX}/conf/modules.sample/zurmo.conf
|
||||
to use them as a a template to adjust various PHP settings in
|
||||
${SYSCONFDIR}/php-${MODPHP_VERSION}.ini.
|
||||
|
||||
Webserver settings
|
||||
==================
|
||||
You should point this to the DocumentRoot of your web-server:
|
||||
# ln -s ../gitlist /var/www/htdocs/gitlist
|
||||
(make sure you use a relative symlink since Apache is chrooted)
|
||||
|
||||
and proceed to complete the installation by reading:
|
||||
https://github.com/klaussilveira/gitlist/blob/master/INSTALL.md
|
||||
|
||||
You can ensure you have a working installation by accessing:
|
||||
http://<localhost>/gitlist/
|
4
www/gitlist/pkg/UNMESSAGE
Normal file
4
www/gitlist/pkg/UNMESSAGE
Normal file
@ -0,0 +1,4 @@
|
||||
To completely deinstall GitList you need to perform the following steps
|
||||
as root:
|
||||
rm -f /var/www/conf/modules/gitlist.conf
|
||||
rm -rf ${PREFIX}/gitlist
|
Loading…
x
Reference in New Issue
Block a user