Add new port www/osticket:

osTicket is a widely-used open source support ticket system.

https://github.com/osTicket/osTicket

Reviewed by:	osa (mentor)
Approved by:	osa (mentor)
Differential Revision:	https://reviews.freebsd.org/D27640
This commit is contained in:
Juraj Lutter 2020-12-18 19:49:54 +00:00
parent 1ba30adf43
commit 96ec9546b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=558404
6 changed files with 2062 additions and 0 deletions

View File

@ -481,6 +481,7 @@
SUBDIR += opera-linuxplugins
SUBDIR += orangehrm
SUBDIR += osrm-backend
SUBDIR += osticket
SUBDIR += ot-recorder
SUBDIR += otrs
SUBDIR += otter-browser

50
www/osticket/Makefile Normal file
View File

@ -0,0 +1,50 @@
# Created by: Juraj Lutter <otis@FreeBSD.org>
# $FreeBSD$
PORTNAME= osticket
DISTVERSIONPREFIX= v
DISTVERSION= 1.15.1
CATEGORIES= www
MASTER_SITES= https://github.com/osTicket/osTicket/releases/download/v${DISTVERSION}/
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
DISTNAME= osTicket-v${DISTVERSION}
MAINTAINER= otis@FreeBSD.org
COMMENT= Widely-used open source support ticket system
LICENSE= GPLv2
RUN_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apcu.so:devel/pecl-APCu@${PHP_FLAVOR}
USES= php:web zip
USE_PHP= gd gettext imap json mbstring mysqli xml
NO_ARCH= yes
NO_BUILD= yes
SUB_FILES= pkg-message
SUB_LIST= DOCSDIR=${DOCSDIR} \
WWWGRP=${WWWGRP} \
WWWOWN=${WWWOWN}
WRKSRC= ${WRKDIR}/upload
PLIST_SUB= WWWGRP=${WWWGRP} \
WWWOWN=${WWWOWN}
OPTIONS_DEFINE= DOCS
_OSTDOCS= ISSUE_TEMPLATE.md LICENSE.txt README.md SECURITY.md \
UPGRADING.txt WHATSNEW.md
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}/
${MV} ${STAGEDIR}${WWWDIR}/include/ost-sampleconfig.php \
${STAGEDIR}${WWWDIR}/include/ost-config.php.sample
post-install:
${RM} ${_OSTDOCS:S,^,${STAGEDIR}${WWWDIR}/,}
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${_OSTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>

3
www/osticket/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1607551247
SHA256 (osTicket-v1.15.1.zip) = 19df11519c7b266532bd11507b00a2c397ae9cd94af5da418c2a0752a30273dc
SIZE (osTicket-v1.15.1.zip) = 51861905

View File

@ -0,0 +1,31 @@
[
{ type: install,
message: <<EOM
If you selected to build the docs, see also files in directory
%%DOCSDIR%%
You may also want to set up a cronjob for processing incoming
e-mail messages.
For detailed information on installation and configuration, see:
https://docs.osticket.com/en/latest/Getting%20Started/Installation.html
BEWARE: After osTicket setup, do not forget to remove write permissions
from %%WWWDIR%%/include/ost-config.php
EOM
},
{ type: upgrade,
message: <<EOM
See https://github.com/osTicket/osTicket/releases for full changelog and
release information.
For detailed information on installation and configuration, see:
https://docs.osticket.com/en/latest/Getting%20Started/Installation.html
See also files in %%DOCSDIR%%
BEWARE: After upgrade, the first access to the osTicket instance may
trigger the upgrade wizard.
EOM
}
]

7
www/osticket/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
osTicket is a widely-used open source support ticket system. It seamlessly
integrates inquiries created via email, phone and web-based forms into a simple
easy-to-use multi-user web interface. Manage, organize and archive all your
support requests and responses in one place while providing your customers with
accountability and responsiveness they deserve.
WWW: https://osticket.com/

1970
www/osticket/pkg-plist Normal file

File diff suppressed because it is too large Load Diff