Skip to content

Commit

Permalink
Fix NetBSD
Browse files Browse the repository at this point in the history
  • Loading branch information
michalszmidt committed Sep 5, 2023
1 parent 73abac4 commit 7897bd1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .cirrus.yml
Expand Up @@ -7,6 +7,7 @@ task:

container:
image: fedora:rawhide
cpu: 4

prepare_script:
- dnf check-update -q && dnf up -q -y
Expand Down Expand Up @@ -67,6 +68,7 @@ task:

container:
image: alpine:latest
cpu: 4

prepare_script:
- apk -U upgrade
Expand Down Expand Up @@ -127,6 +129,7 @@ task:

freebsd_instance:
image_family: freebsd-13-2
cpu: 4

prepare_script:
- mkdir -p /usr/local/etc/pkg/repos
Expand Down Expand Up @@ -160,6 +163,7 @@ task:

macos_instance:
image: ghcr.io/cirruslabs/macos-ventura-base:latest
cpu: 4

prepare_script:
- NONINTERACTIVE=1 brew install pkg-config make curl rust coreutils openssl@3
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/release_netbsd_amd64.yml
Expand Up @@ -18,7 +18,11 @@ jobs:
usesh: false
mem: 8192
prepare: |
/usr/sbin/pkg_add curl rust pkgconf openssl coreutils p5-Digest-SHA
export PKG_PATH="http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/$(uname -r)/All"
/usr/sbin/pkg_add -v pkgin
pkgin update
pkgin -y upgrade
pkgin -y install curl rust pkgconf openssl coreutils p5-Digest-SHA3
run: |
ls -lah
rustc --version
Expand Down
6 changes: 2 additions & 4 deletions LICENSE
Expand Up @@ -2,10 +2,8 @@ Copyright (c) 2023 Michał Szmidt. All Rights Reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

1. Redistribution of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistribution in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

YOU ACKNOWLEDGE THAT THIS SOFTWARE IS NOT DESIGNED, LICENSED OR INTENDED FOR USE IN THE DESIGN, CONSTRUCTION, OPERATION OR MAINTENANCE OF ANY MILITARY FACILITY.

0 comments on commit 7897bd1

Please sign in to comment.