import erl-chef_wm

The "wm" stands for webmachine. This OTP application contains the core
of the erchef REST API implemented on top of the Webmachine toolkit. The
URL routing that matches URLs with Erlang modules handling requests for
those URLs is defined in `priv/dispatch.conf`.

ok aja@
This commit is contained in:
jasper 2013-03-12 07:32:50 +00:00
parent 160074fb02
commit f08f2933fd
4 changed files with 125 additions and 0 deletions

View File

@ -0,0 +1,28 @@
# $OpenBSD: Makefile,v 1.1.1.1 2013/03/12 07:32:50 jasper Exp $
COMMENT= chef_wm the webmachine layer for the Chef server
VERSION= 0.0.1
DISTNAME= chef_wm-${VERSION}
HOMEPAGE= https://github.com/opscode/chef_wm
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= devel/erl-fast_log \
devel/erl-folsom \
devel/erl-mixer>=0.1.1p1 \
security/erl-bcrypt \
sysutils/erchef/erl-chef_authn \
sysutils/erchef/erl-chef_certgen \
sysutils/erchef/erl-chef_db \
sysutils/erchef/erl-chef_index \
www/erl-webmachine
do-install:
${INSTALL_DATA_DIR} ${ERL_LIBDIR}/{ebin,include,priv,src}
${INSTALL_DATA} ${WRKSRC}/ebin/*.{app,beam} ${ERL_LIBDIR}/ebin/
${INSTALL_DATA} ${WRKSRC}/include/*.hrl ${ERL_LIBDIR}/include/
${INSTALL_DATA} ${WRKSRC}/priv/* ${ERL_LIBDIR}/priv/
${INSTALL_DATA} ${WRKSRC}/src/*.erl ${ERL_LIBDIR}/src/
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (chef_wm-0.0.1.tar.gz) = vOlo6Esu1PC2yu8en2vDJ/QDh3O5tUT8WTQn7Qenaqo=
SIZE (chef_wm-0.0.1.tar.gz) = 75479

View File

@ -0,0 +1,4 @@
The "wm" stands for webmachine. This OTP application contains the core
of the erchef REST API implemented on top of the Webmachine toolkit. The
URL routing that matches URLs with Erlang modules handling requests for
those URLs is defined in `priv/dispatch.conf`.

View File

@ -0,0 +1,91 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2013/03/12 07:32:50 jasper Exp $
lib/erlang/lib/chef_wm-${VERSION}/
lib/erlang/lib/chef_wm-${VERSION}/ebin/
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_object_db.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_reindex.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_sked.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm.app
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_app.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_authenticate_user.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_authz.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_base.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_clients.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_cookbook_version.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_cookbooks.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_darklaunch.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_data.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_depsolver.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_environment_cookbooks.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_environment_recipes.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_environment_roles.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_environments.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_malformed.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_named_client.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_named_data.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_named_data_item.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_named_environment.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_named_node.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_named_principal.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_named_role.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_named_sandbox.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_named_user.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_nodes.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_object_identifiers.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_password.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_roles.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_routes.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_sandboxes.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_search.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_search_cache.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_search_index.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_status.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_sup.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_users.beam
lib/erlang/lib/chef_wm-${VERSION}/ebin/chef_wm_util.beam
lib/erlang/lib/chef_wm-${VERSION}/include/
lib/erlang/lib/chef_wm-${VERSION}/include/chef_wm.hrl
lib/erlang/lib/chef_wm-${VERSION}/priv/
lib/erlang/lib/chef_wm-${VERSION}/priv/dispatch.conf
lib/erlang/lib/chef_wm-${VERSION}/src/
lib/erlang/lib/chef_wm-${VERSION}/src/chef_object_db.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_reindex.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_sked.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_app.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_authenticate_user.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_authz.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_base.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_clients.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_cookbook_version.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_cookbooks.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_darklaunch.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_data.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_depsolver.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_environment_cookbooks.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_environment_recipes.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_environment_roles.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_environments.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_malformed.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_named_client.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_named_data.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_named_data_item.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_named_environment.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_named_node.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_named_principal.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_named_role.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_named_sandbox.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_named_user.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_nodes.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_object_identifiers.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_password.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_roles.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_routes.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_sandboxes.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_search.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_search_cache.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_search_index.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_status.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_sup.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_users.erl
lib/erlang/lib/chef_wm-${VERSION}/src/chef_wm_util.erl