diff options
author | pgollucci <pgollucci@FreeBSD.org> | 2011-10-29 07:40:23 +0800 |
---|---|---|
committer | pgollucci <pgollucci@FreeBSD.org> | 2011-10-29 07:40:23 +0800 |
commit | a5f44bb099b4190b66456a3c9c50e270911aecf7 (patch) | |
tree | 75a65e6167de49faf918657ade11eb0d64392450 /devel | |
parent | 90ce753691a14850bdeb8d695f715c80a77ee590 (diff) | |
download | freebsd-ports-gnome-a5f44bb099b4190b66456a3c9c50e270911aecf7.tar.gz freebsd-ports-gnome-a5f44bb099b4190b66456a3c9c50e270911aecf7.tar.zst freebsd-ports-gnome-a5f44bb099b4190b66456a3c9c50e270911aecf7.zip |
A JSON REST based Bugzilla API
WWW: https://wiki.mozilla.org/Bugzilla:REST_API
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/bzapi/Makefile | 43 | ||||
-rw-r--r-- | devel/bzapi/distinfo | 2 | ||||
-rw-r--r-- | devel/bzapi/pkg-descr | 3 | ||||
-rw-r--r-- | devel/bzapi/pkg-plist | 33 |
5 files changed, 82 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 0cd70ab7316d..ccc99711676b 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -138,6 +138,7 @@ SUBDIR += bullet SUBDIR += bunny SUBDIR += byaccj + SUBDIR += bzapi SUBDIR += bzr-builder SUBDIR += bzr-colo SUBDIR += bzr-explorer diff --git a/devel/bzapi/Makefile b/devel/bzapi/Makefile new file mode 100644 index 000000000000..4c72232e7d60 --- /dev/null +++ b/devel/bzapi/Makefile @@ -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> diff --git a/devel/bzapi/distinfo b/devel/bzapi/distinfo new file mode 100644 index 000000000000..68c25bd471c6 --- /dev/null +++ b/devel/bzapi/distinfo @@ -0,0 +1,2 @@ +SHA256 (bzapi-16582e75bdd00be.tar.gz) = 383b1f5977de94a47d97ff220c9505acd739e0a434e702e14aecc91d7bf6efc5 +SIZE (bzapi-16582e75bdd00be.tar.gz) = 813651 diff --git a/devel/bzapi/pkg-descr b/devel/bzapi/pkg-descr new file mode 100644 index 000000000000..062fba76d108 --- /dev/null +++ b/devel/bzapi/pkg-descr @@ -0,0 +1,3 @@ +A JSON REST based Bugzilla API + +WWW: https://wiki.mozilla.org/Bugzilla:REST_API diff --git a/devel/bzapi/pkg-plist b/devel/bzapi/pkg-plist new file mode 100644 index 000000000000..fd36fbe919a8 --- /dev/null +++ b/devel/bzapi/pkg-plist @@ -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 |