1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

A JSON REST based Bugzilla API

WWW: https://wiki.mozilla.org/Bugzilla:REST_API
This commit is contained in:
Philip M. Gollucci 2011-10-28 23:40:23 +00:00
parent 7ff982c63e
commit 8927acaabf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=284571
5 changed files with 82 additions and 0 deletions

View File

@ -138,6 +138,7 @@
SUBDIR += bullet
SUBDIR += bunny
SUBDIR += byaccj
SUBDIR += bzapi
SUBDIR += bzr-builder
SUBDIR += bzr-colo
SUBDIR += bzr-explorer

43
devel/bzapi/Makefile Normal file
View File

@ -0,0 +1,43 @@
# New ports collection makefile for: bzapi
# Date created: October 27, 2011
# Whom: Philip M. Gollucci <pgollucci@p6m7g8.com>
#
# $FreeBSD$
#
PORTNAME= bzapi
DISTVERSION= 165:82e75bdd00be
CATEGORIES= devel
MASTER_SITES= LOCAL/pgollucci
MAINTAINER= pgollucci@FreeBSD.org
COMMENT= Bugzilla REST API
BUILD_DEPENDS= p5-Catalyst-Runtime>=5.80011:${PORTSDIR}/www/p5-Catalyst-Runtime \
p5-Catalyst-Plugin-ConfigLoader>=0:${PORTSDIR}/www/p5-Catalyst-Plugin-ConfigLoader \
p5-Catalyst-Plugin-Static-Simple>=0:${PORTSDIR}/www/p5-Catalyst-Plugin-Static-Simple \
p5-Catalyst-Action-RenderView>=0:${PORTSDIR}/www/p5-Catalyst-Action-RenderView \
p5-BZ-Client>=0:${PORTSDIR}/devel/p5-BZ-Client \
p5-Moose>=0:${PORTSDIR}/devel/p5-Moose \
p5-Catalyst-Action-REST>=0:${PORTSDIR}/www/p5-Catalyst-Action-REST \
p5-Catalyst-Plugin-Log-Handler>=0.08:${PORTSDIR}/www/p5-Catalyst-Plugin-Log-Handler \
p5-parent>=0:${PORTSDIR}/devel/p5-parent \
p5-Config-General>=0:${PORTSDIR}/devel/p5-Config-General \
p5-Catalyst-Devel>=0:${PORTSDIR}/www/p5-Catalyst-Devel \
p5-Module-Install>=0:${PORTSDIR}/devel/p5-Module-Install \
p5-Text-CSV_XS>=0:${PORTSDIR}/textproc/p5-Text-CSV_XS \
p5-Slurp>=0:${PORTSDIR}/devel/p5-Slurp \
p5-XML-Simple>=0:${PORTSDIR}/textproc/p5-XML-Simple \
p5-Data-Walk>=0:${PORTSDIR}/devel/p5-Data-Walk \
bugzilla>=3.6:${PORTSDIR}/devel/bugzilla
RUN_DEPENDS:= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/script/*.pl ${PREFIX}/bin
@(cd ${WRKSRC}/extension/BzAPI; ${COPYTREE_SHARE} . ${PREFIX}/www/bugzilla/extensions/BzAPI)
@(cd ${WRKSRC}/lib/Bugzilla; ${COPYTREE_SHARE} . ${SITE_PERL}/Bugzilla)
.include <bsd.port.mk>

2
devel/bzapi/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (bzapi-16582e75bdd00be.tar.gz) = 383b1f5977de94a47d97ff220c9505acd739e0a434e702e14aecc91d7bf6efc5
SIZE (bzapi-16582e75bdd00be.tar.gz) = 813651

3
devel/bzapi/pkg-descr Normal file
View File

@ -0,0 +1,3 @@
A JSON REST based Bugzilla API
WWW: https://wiki.mozilla.org/Bugzilla:REST_API

33
devel/bzapi/pkg-plist Normal file
View File

@ -0,0 +1,33 @@
bin/bugzilla_api_cgi.pl
bin/bugzilla_api_create.pl
bin/bugzilla_api_fastcgi.pl
bin/bugzilla_api_server.pl
bin/bugzilla_api_test.pl
%%SITE_PERL%%/Bugzilla/API.pm
%%SITE_PERL%%/Bugzilla/API/Model/Utils.pm
%%SITE_PERL%%/Bugzilla/API/Model/Count.pm
%%SITE_PERL%%/Bugzilla/API/Model/Attachment.pm
%%SITE_PERL%%/Bugzilla/API/Model/User.pm
%%SITE_PERL%%/Bugzilla/API/Model/Configuration.pm
%%SITE_PERL%%/Bugzilla/API/Model/Bug.pm
%%SITE_PERL%%/Bugzilla/API/Controller/Attachment.pm
%%SITE_PERL%%/Bugzilla/API/Controller/REST.pm
%%SITE_PERL%%/Bugzilla/API/Controller/Configuration.pm
%%SITE_PERL%%/Bugzilla/API/Controller/Root.pm
%%SITE_PERL%%/Bugzilla/API/Controller/User.pm
%%SITE_PERL%%/Bugzilla/API/Controller/Bug.pm
%%SITE_PERL%%/Bugzilla/API/Controller/Count.pm
%%SITE_PERL%%/Bugzilla/API/Controller/Utils.pm
%%SITE_PERL%%/Bugzilla/API/Request.pm
www/bugzilla/extensions/BzAPI/Extension.pm
www/bugzilla/extensions/BzAPI/template/en/default/config.json.tmpl
www/bugzilla/extensions/BzAPI/Config.pm
@dirrm www/bugzilla/extensions/BzAPI/template/en/default
@dirrm www/bugzilla/extensions/BzAPI/template/en
@dirrm www/bugzilla/extensions/BzAPI/template
@dirrm www/bugzilla/extensions/BzAPI
@dirrm www/bugzilla/extensions
@dirrm %%SITE_PERL%%/Bugzilla/API/Model
@dirrm %%SITE_PERL%%/Bugzilla/API/Controller
@dirrm %%SITE_PERL%%/Bugzilla/API
@dirrm %%SITE_PERL%%/Bugzilla