mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-27 05:10:36 +00:00
8c6db53415
arbitrary Haskell expressions. Importantly, mueval takes many precautions to defang and avoid "evil" code. It uses resource limits, whitelisted modules, special Show instances for IO, threads, processes, changes of directory, and so on to sandbox the Haskell code. It is, in short, intended to be a standalone version of Lambdabot's famous evaluation functionality. For examples and explanations, please see the README file. Mueval is POSIX-only. WWW: http://code.haskell.org/mubot/ PR: ports/142291 Submitted by: Jacula Modyun <jacula(at)gmail.com>
21 lines
875 B
Plaintext
21 lines
875 B
Plaintext
@comment $FreeBSD$
|
|
bin/mueval
|
|
bin/mueval-core
|
|
%%MUEVAL_LIBDIR_REL%%/ghc-6.10.4/HSmueval-%%MUEVAL_VERSION%%.o
|
|
%%MUEVAL_LIBDIR_REL%%/ghc-6.10.4/Mueval/ArgsParse.hi
|
|
%%MUEVAL_LIBDIR_REL%%/ghc-6.10.4/Mueval/Context.hi
|
|
%%MUEVAL_LIBDIR_REL%%/ghc-6.10.4/Mueval/Interpreter.hi
|
|
%%MUEVAL_LIBDIR_REL%%/ghc-6.10.4/Mueval/Parallel.hi
|
|
%%MUEVAL_LIBDIR_REL%%/ghc-6.10.4/Mueval/Resources.hi
|
|
%%MUEVAL_LIBDIR_REL%%/ghc-6.10.4/libHSmueval-%%MUEVAL_VERSION%%.a
|
|
%%MUEVAL_LIBDIR_REL%%/register.sh
|
|
%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
|
|
%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
|
|
@dirrm %%MUEVAL_LIBDIR_REL%%/ghc-6.10.4/Mueval
|
|
@dirrm %%MUEVAL_LIBDIR_REL%%/ghc-6.10.4
|
|
@dirrm %%MUEVAL_LIBDIR_REL%%
|
|
@exec /bin/sh %D/%%MUEVAL_LIBDIR_REL%%/register.sh
|
|
@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
|
|
@unexec %D/bin/ghc-pkg unregister mueval
|
|
@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
|