FreeBSD Bugzilla – Attachment 240238 Details for
Bug 269631
[NEW PORT] sysutils/appjail: Simple and easy-to-use tool for creating portable jails
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
appjail-2.2.0.patch
0001-sysutils-appjail-New-port-Simple-and-easy-to-use-too.patch (text/plain), 7.92 KB, created by
Jesús Daniel Colmenares Oviedo
on 2023-02-18 15:16:50 UTC
(
hide
)
Description:
appjail-2.2.0.patch
Filename:
MIME Type:
Creator:
Jesús Daniel Colmenares Oviedo
Created:
2023-02-18 15:16:50 UTC
Size:
7.92 KB
patch
obsolete
>From 1d924212b716287978bba7cc6ab043117aabd356 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Jes=C3=BAs=20Daniel=20Colmenares=20Oviedo?= > <DtxdF@disroot.org> >Date: Sat, 18 Feb 2023 11:12:05 -0400 >Subject: [PATCH] sysutils/appjail: New port: Simple and easy-to-use tool for > creating portable jails > >AppJail is an open source framework entirely written in sh(1) and >C to create isolated, portable and easy to deploy environments using >FreeBSD jails that behaves like an application. > >WWW: https://github.com/DtxdF/AppJail >--- > sysutils/appjail/Makefile | 26 ++++++ > sysutils/appjail/distinfo | 3 + > sysutils/appjail/files/pkg-message.in | 28 ++++++ > sysutils/appjail/pkg-descr | 3 + > sysutils/appjail/pkg-plist | 124 ++++++++++++++++++++++++++ > 5 files changed, 184 insertions(+) > create mode 100644 sysutils/appjail/Makefile > create mode 100644 sysutils/appjail/distinfo > create mode 100644 sysutils/appjail/files/pkg-message.in > create mode 100644 sysutils/appjail/pkg-descr > create mode 100644 sysutils/appjail/pkg-plist > >diff --git a/sysutils/appjail/Makefile b/sysutils/appjail/Makefile >new file mode 100644 >index 0000000000..ea18a81857 >--- /dev/null >+++ b/sysutils/appjail/Makefile >@@ -0,0 +1,26 @@ >+PORTNAME= AppJail >+DISTVERSIONPREFIX= v >+DISTVERSION= 2.2.0 >+CATEGORIES= sysutils >+ >+MAINTAINER= DtxdF@disroot.org >+COMMENT= Simple and easy-to-use tool for creating portable jails >+WWW= https://github.com/DtxdF/AppJail >+ >+LICENSE= BSD3CLAUSE >+LICENSE_FILE= ${WRKSRC}/LICENSE >+ >+USE_GITHUB= yes >+GH_ACCOUNT= DtxdF >+ >+NO_BUILD= yes >+ >+SUB_FILES= pkg-message >+ >+OPTIONS_DEFINE= DEBOOTSTRAP GIT >+OPTIONS_DEFAULT= GIT >+DEBOOTSTRAP_DESC= Support for Debian and Ubuntu jails >+DEBOOTSTRAP_RUN_DEPENDS= debootstrap>0:sysutils/debootstrap >+GIT_RUN_DEPENDS= git>0:devel/git >+ >+.include <bsd.port.mk> >diff --git a/sysutils/appjail/distinfo b/sysutils/appjail/distinfo >new file mode 100644 >index 0000000000..b2f1129081 >--- /dev/null >+++ b/sysutils/appjail/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1676732776 >+SHA256 (DtxdF-AppJail-v2.2.0_GH0.tar.gz) = f79e238b8d514134f13c5d11cbd191e2da5b55d8d8c67c1318a7dfca373c632f >+SIZE (DtxdF-AppJail-v2.2.0_GH0.tar.gz) = 165856 >diff --git a/sysutils/appjail/files/pkg-message.in b/sysutils/appjail/files/pkg-message.in >new file mode 100644 >index 0000000000..60e562b82e >--- /dev/null >+++ b/sysutils/appjail/files/pkg-message.in >@@ -0,0 +1,28 @@ >+[ >+{ type: install >+ message: <<EOM >+AppJail was installed and there are some notes: >+ >+1. If you want to change the default values, create %%PREFIX%%/etc/appjail/appjail.conf. >+ Read %%PREFIX%%/share/appjail/files/default.conf if you want to know what the default values are. >+ >+2. AppJail obtains by default the external interface using the default IPv4 or IPv6 routes, >+ so if it could not obtain it, an error will be displayed. It is recommended to set it >+ manually in the configuration file using the EXT_IF variable. When ON_IF is not defined, >+ EXT_IF value is used, but normally these variables should have the same values. >+ >+3. If you want to start jails at startup, enable the rc script: >+ >+ sysrc appjail_enable="YES" >+ >+4. If you want to apply NAT for networks at startup, enable the rc script: >+ >+ sysrc appjail_natnet_enable="YES" >+ >+5. If you use ZFS, enable it using the ENABLE_ZFS variable in the configuration file. Refer >+ to the documentation or the default configuration file for further settings. >+ >+6. Refer to the documentation to configure the firewall/packet filter. >+EOM >+} >+] >diff --git a/sysutils/appjail/pkg-descr b/sysutils/appjail/pkg-descr >new file mode 100644 >index 0000000000..7050513e9e >--- /dev/null >+++ b/sysutils/appjail/pkg-descr >@@ -0,0 +1,3 @@ >+AppJail is an open source framework entirely written in sh(1) and >+C to create isolated, portable and easy to deploy environments using >+FreeBSD jails that behaves like an application. >diff --git a/sysutils/appjail/pkg-plist b/sysutils/appjail/pkg-plist >new file mode 100644 >index 0000000000..53b3d75d69 >--- /dev/null >+++ b/sysutils/appjail/pkg-plist >@@ -0,0 +1,124 @@ >+@dir appjail >+bin/appjail >+bin/appjail-dns >+etc/rc.d/appjail >+etc/rc.d/appjail-natnet >+share/appjail/cmd/cmd >+share/appjail/cmd/config >+share/appjail/cmd/cpuset >+share/appjail/cmd/disable >+share/appjail/cmd/enable >+share/appjail/cmd/enabled >+share/appjail/cmd/expose >+share/appjail/cmd/fetch >+share/appjail/cmd/fstab >+share/appjail/cmd/help >+share/appjail/cmd/jail >+share/appjail/cmd/limits >+share/appjail/cmd/login >+share/appjail/cmd/logs >+share/appjail/cmd/makejail >+share/appjail/cmd/nat >+share/appjail/cmd/network >+share/appjail/cmd/pkg >+share/appjail/cmd/quick >+share/appjail/cmd/restart >+share/appjail/cmd/rstop >+share/appjail/cmd/run >+share/appjail/cmd/service >+share/appjail/cmd/start >+share/appjail/cmd/startup >+share/appjail/cmd/stop >+share/appjail/cmd/sysrc >+share/appjail/cmd/update >+share/appjail/cmd/upgrade >+share/appjail/cmd/usage >+share/appjail/cmd/version >+share/appjail/cmd/zfs >+share/appjail/files/config.conf >+share/appjail/files/default.conf >+share/appjail/files/default_template.conf >+share/appjail/files/exclude-thinjail.files >+share/appjail/files/include-thinjail.files >+share/appjail/files/rctl-actions >+share/appjail/files/rctl-resources >+share/appjail/files/rctl-subjects >+share/appjail/lib/atexit >+share/appjail/lib/cache >+share/appjail/lib/check_func >+share/appjail/lib/colors >+share/appjail/lib/copy >+share/appjail/lib/files >+share/appjail/lib/jail >+share/appjail/lib/jail_types >+share/appjail/lib/kern_modules >+share/appjail/lib/keys >+share/appjail/lib/load >+share/appjail/lib/log >+share/appjail/lib/mksum >+share/appjail/lib/mount >+share/appjail/lib/network >+share/appjail/lib/random >+share/appjail/lib/replace >+share/appjail/lib/strlen >+share/appjail/lib/sysexits >+share/appjail/lib/tempfile >+share/appjail/lib/version >+share/appjail/lib/whitespaces >+share/appjail/lib/zfs >+share/appjail/makejail/cmd/all/ADD >+share/appjail/makejail/cmd/all/ARG >+share/appjail/makejail/cmd/all/CLEAR >+share/appjail/makejail/cmd/all/CMD >+share/appjail/makejail/cmd/all/COPY >+share/appjail/makejail/cmd/all/ENTRYPOINT >+share/appjail/makejail/cmd/all/ENV >+share/appjail/makejail/cmd/all/MOUNT >+share/appjail/makejail/cmd/all/PKG >+share/appjail/makejail/cmd/all/RAW >+share/appjail/makejail/cmd/all/REPLACE >+share/appjail/makejail/cmd/all/RUN >+share/appjail/makejail/cmd/all/SERVICE >+share/appjail/makejail/cmd/all/SET >+share/appjail/makejail/cmd/all/SYSRC >+share/appjail/makejail/cmd/all/UMOUNT >+share/appjail/makejail/cmd/all/USER >+share/appjail/makejail/cmd/all/VAR >+share/appjail/makejail/cmd/all/WORKDIR >+share/appjail/makejail/cmd/build/LOGIN >+share/appjail/makejail/cmd/build/OPTION >+share/appjail/makejail/cmd/build/RESTART >+share/appjail/makejail/cmd/build/START >+share/appjail/makejail/cmd/build/STOP >+share/appjail/makejail/write/all/ADD >+share/appjail/makejail/write/all/ARG >+share/appjail/makejail/write/all/CMD >+share/appjail/makejail/write/all/COPY >+share/appjail/makejail/write/all/MOUNT >+share/appjail/makejail/write/all/PKG >+share/appjail/makejail/write/all/RAW >+share/appjail/makejail/write/all/REPLACE >+share/appjail/makejail/write/all/RUN >+share/appjail/makejail/write/all/SERVICE >+share/appjail/makejail/write/all/SET >+share/appjail/makejail/write/all/SYSRC >+share/appjail/makejail/write/all/UMOUNT >+share/appjail/makejail/write/all/VAR >+share/appjail/makejail/write/all/WORKDIR >+share/appjail/makejail/write/build/LOGIN >+share/appjail/makejail/write/build/OPTION >+share/appjail/makejail/write/build/RESTART >+share/appjail/makejail/write/build/START >+share/appjail/makejail/write/build/STOP >+share/appjail/scripts/ascii2oct.sh >+share/appjail/scripts/dns.sh >+share/appjail/scripts/get_depends.sh >+share/appjail/scripts/run_init.sh >+share/appjail/scripts/run_jail.sh >+share/appjail/util/getservbyname/getservbyname >+share/appjail/util/ipcheck/ipcheck >+share/appjail/util/network/network >+share/examples/appjail/templates/bridge.conf >+share/examples/appjail/templates/linux.conf >+share/examples/appjail/templates/vnet.conf >+share/examples/appjail/templates/xorg.conf >-- >2.38.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 269631
:
240219
|
240238
|
240370
|
240582
|
240700
|
240707
|
240709