diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS deleted file mode 100644 index 5d9e43f4e72..00000000000 --- a/.github/CODEOWNERS +++ /dev/null @@ -1,106 +0,0 @@ -# Please note that the content of this file is strictly advisory. -# No locks listed here are valid. The only strict review requirements -# are granted by core. These are documented in head/LOCKS and enforced -# by svnadmin/conf/approvers. -# -# The source tree is a community effort. However, some folks go to the -# trouble of looking after particular areas of the tree. In return for -# their active caretaking of the code it is polite to coordinate changes -# with them. This is a list of people who have expressed an interest in -# part of the code or listed their active caretaking role so that other -# committers can easily find somebody who is familiar with it. The notes -# should specify if there is a 3rd party source tree involved or other -# things that should be kept in mind. -# -# However, this is not a 'big stick', it is an offer to help and a source -# of guidance. It does not override the communal nature of the tree. -# It is not a registry of 'turf' or private property. -# -# *** -# This list is prone to becoming stale quickly. The best way to find the recent -# maintainer of a sub-system is to check recent logs for that directory or -# sub-system. -# *** -# -# *** -# Maintainers are encouraged to visit: -# https://reviews.freebsd.org/herald -# -# and configure Phabricator notifications for parts of the tree which they -# maintain. Notifications can automatically be sent when someone proposes a -# revision or makes a commit to the specified subtree. -# *** - -/bin/sh @jillest -/contrib/atf @ngie-eign -/contrib/capsicum-test @ngie-eign -/contrib/googletest @ngie-eign -/sbin/ipf @cschuber -/contrib/libcxxrt @DimitryAndric @emaste -/contrib/llvm-project @DimitryAndric -/contrib/llvm-project/libunwind @DimitryAndric @emaste @bsdjhb -/contrib/llvm-project/lldb @DimitryAndric @emaste -/contrib/llvm-project/openmp @DimitryAndric @emaste -/contrib/netbsd-tests @ngie-eign -/contrib/netbsd-tests/crypto/opencrypto/ @jmgurney -/contrib/netbsd-tests/kernel/kqueue/ @jmgurney -/contrib/openpam/lib/libpam/ @dag-erling -/contrib/pjdfstest @ngie-eign @asomers -/crypto/openssh @dag-erling -/crypto/openssl/ @juikim -/etc/mail @gshapiro -/etc/sendmail @gshapiro -/lib/libc/sys/kevent.c @jmgurney -/lib/libefivar/ @bsdimp -/lib/libfetch @dag-erling -/lib/libfigpar @dag-erling -/lib/libpam/ @dag-erling -/lib/libvmmapi @bsdjhb @grehan-freebsd -/libexec/nuageinit/ @bapt -/libexec/rc/rc.d/rctl/ @trasz -/sbin/mount_fusefs @asomers -/secure/usr.bin/openssl/ @juikim -/share/mk @bsdimp @bapt @bdrewery @emaste -/stand @bsdimp -/stand/lua @kevans91 -/sys/amd64/pci @bsdimp @bsdjhb -/sys/amd64/vmm/ @bsdjhb @grehan-freebsd -/sys/arm/allwinner @evadot -/sys/arm64/arm64 @zxombie -/sys/arm64/include @zxombie -/sys/arm64/rockchip @evadot -/sys/compat/linprocfs/ @dag-erling -/sys/compat/linuxkpi @hselasky -/sys/netpfil/ipfilter @cschuber -/sys/crypto/openssl/ @juikim -/sys/dev/drm2 @bsdimp -/sys/dev/iscsi/ @trasz -/sys/dev/pci @bsdimp @bsdjhb -/sys/dev/sound/usb @hselasky -/sys/dev/usb @hselasky -/sys/fs/autofs/ @trasz -/sys/fs/fuse/ @asomers -/sys/fs/procfs/ @dag-erling -/sys/fs/pseudofs/ @dag-erling -/sys/kern/vfs_aio.c @asomers -/sys/netinet/ip_carp.c @glebius -/sys/netpfil/pf @glebius -/sys/opencrypto/ @jmgurney -/sys/x86/pci @bsdimp @bsdjhb -/tests @ngie-eign -/tests/sys/aio/ @asomers -/tests/sys/fs/fusefs/ @asomers -/tests/sys/kqueue/ @jmgurney -/tests/sys/opencrypto/ @jmgurney -/tools/build @bsdimp -/tools/regression/iscsi/ @trasz -/tools/regression/sockets/kqueue/ @jmgurney -/tools/tools/nanobsd @bsdimp -/usr.bin/fetch @dag-erling -/usr.bin/rctl/ @trasz -/usr.bin/top @grimreaper -/usr.sbin/autofs/ @trasz -/usr.sbin/bhyve @bsdjhb @grehan-freebsd -/usr.sbin/bhyvectl @bsdjhb @grehan-freebsd -/usr.sbin/bhyveload @bsdjhb @grehan-freebsd -/usr.sbin/lpr @gbergling diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md new file mode 100644 index 00000000000..191e5b06fe2 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -0,0 +1,55 @@ +--- +name: Bug report +about: Create a report to help us improve OPNsense +title: '' +labels: '' +assignees: '' +--- +**Important notices** + +Before you add a new report, we ask you kindly to acknowledge the following: + +- [ ] I have read the contributing guide lines at https://github.com/opnsense/src/blob/master/CONTRIBUTING.md +- [ ] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/src/issues?q=is%3Aissue + +**Describe the bug** + +A clear and concise description of what the bug is, including last known working version (if any). + +*Tip*: to validate your setup was working with the previous version, use opnsense-revert (https://docs.opnsense.org/manual/opnsense_tools.html#opnsense-revert) + +**To Reproduce** + +Steps to reproduce the behavior: +1. Go to '...' +2. Click on '....' +3. Scroll down to '....' +4. See error + +**Expected behavior** + +A clear and concise description of what you expected to happen. + +**Describe alternatives you considered** + +A clear and concise description of any alternative solutions or workaround you considered. + +**Screenshots** + +If applicable, add screenshots to help explain your problem. + +**Relevant log files** + +If applicable, information from log files supporting your claim. + +**Additional context** + +Add any other context about the problem here. + +**Environment** + +Software version used and hardware type if relevant, e.g.: + +OPNsense 23.7.8 (amd64) +Intel® Xeon™ E3-1225V5 3.3Ghz Quad Core +Network Intel® I210-AT diff --git a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md b/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md deleted file mode 100755 index c3d4020f03e..00000000000 --- a/.github/PULL_REQUEST_TEMPLATE/pull_request_template.md +++ /dev/null @@ -1,16 +0,0 @@ -Please include this information, either here or in your commit messages for the -pull request, as appropriate (or delete the line if there's nothing relevant. - -PR: -Reported by: -Reviewed by: -Tested by: -Approved by: -Obtained from: -Fixes: -MFC after: -Relnotes: -Security: -Sponsored by: -Pull Request: /pull/###> -Differential Revision: diff --git a/.github/workflows/cross-bootstrap-tools.yml b/.github/workflows/cross-bootstrap-tools.yml deleted file mode 100644 index 8a714788cce..00000000000 --- a/.github/workflows/cross-bootstrap-tools.yml +++ /dev/null @@ -1,66 +0,0 @@ -name: Cross-build Kernel - -on: - push: - branches: [ main, 'stable/13' ] - pull_request: - branches: [ main ] - -permissions: - contents: read - -jobs: - build: - name: ${{ matrix.target_arch }} ${{ matrix.os }} (${{ matrix.compiler }}) - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - target_arch: [ amd64, aarch64 ] - os: [ ubuntu-20.04, ubuntu-22.04, macos-latest ] - include: - # TODO: both Ubuntu and macOS have bmake packages, we should try them instead of bootstrapping our own copy. - - os: ubuntu-20.04 - compiler: clang-12 - cross-bindir: /usr/lib/llvm-12/bin - pkgs: bmake libarchive-dev clang-12 lld-12 - - os: ubuntu-22.04 - compiler: clang-14 - cross-bindir: /usr/lib/llvm-14/bin - pkgs: bmake libarchive-dev clang-14 lld-14 - - os: macos-latest - compiler: clang-13 - cross-bindir: /opt/homebrew/opt/llvm@13/bin - pkgs: bmake libarchive llvm@13 - - target_arch: amd64 - target: amd64 - - target_arch: aarch64 - target: arm64 - steps: - - uses: actions/checkout@v4 - - name: install packages (Ubuntu) - if: runner.os == 'Linux' - run: | - sudo apt-get update --quiet || true - sudo apt-get -yq --no-install-suggests --no-install-recommends install ${{ matrix.pkgs }} - - name: install packages (macOS) - if: runner.os == 'macOS' - run: | - brew update --quiet || true - brew install ${{ matrix.pkgs }} || true - - name: create environment - run: | - echo "GITHUB_WORKSPACE = $GITHUB_WORKSPACE" - if [ -n "${{ matrix.cross-bindir }}" ]; then - echo "EXTRA_BUILD_ARGS=--cross-bindir=${{ matrix.cross-bindir }}" >> $GITHUB_ENV - fi - mkdir -p ../build - echo "MAKEOBJDIRPREFIX=${PWD%/*}/build" >> $GITHUB_ENV - # heh, works on Linux/BSD/macOS ... - echo "NPROC=`getconf _NPROCESSORS_ONLN 2>/dev/null || getconf NPROCESSORS_ONLN 2>/dev/null || echo 1`" >> $GITHUB_ENV - - name: bootstrap bmake - run: ./tools/build/make.py --debug $EXTRA_BUILD_ARGS TARGET=${{ matrix.target }} TARGET_ARCH=${{ matrix.target_arch }} -n - - name: make kernel-toolchain - run: ./tools/build/make.py --debug $EXTRA_BUILD_ARGS TARGET=${{ matrix.target }} TARGET_ARCH=${{ matrix.target_arch }} kernel-toolchain -s -j$NPROC -DWITH_DISK_IMAGE_TOOLS_BOOTSTRAP - - name: make buildkernel - run: ./tools/build/make.py --debug $EXTRA_BUILD_ARGS TARGET=${{ matrix.target }} TARGET_ARCH=${{ matrix.target_arch }} KERNCONF=GENERIC NO_MODULES=yes buildkernel -s -j$NPROC $EXTRA_MAKE_ARGS