Skip to content

Commit

Permalink
Ports: Add auth_type verification to all package.sh files
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoles authored and linusg committed Apr 16, 2021
1 parent 6c618eb commit a206ab2
Show file tree
Hide file tree
Showing 68 changed files with 135 additions and 65 deletions.
5 changes: 3 additions & 2 deletions Ports/SDL2/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,9 @@ port=SDL2
version=serenity-git
workdir=SDL-main-serenity
useconfigure=true
files="https://github.com/SerenityOS/SDL/archive/main-serenity.tar.gz SDL2-git.tar.gz"
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMake/CMakeToolchain.txt -DPULSEAUDIO=OFF -DJACK=OFF"
files="https://github.com/SerenityOS/SDL/archive/main-serenity.tar.gz SDL2-git.tar.gz 18ce496be8644b0eb7fc4cad0d8dd5ff"
auth_type=md5
configopts="DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMake/CMakeToolchain.txt -DPULSEAUDIO=OFF -DJACK=OFF"

configure() {
run cmake $configopts
Expand Down
3 changes: 2 additions & 1 deletion Ports/SDL2_gfx/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

port=SDL2_gfx
version=1.0.4
files="https://downloads.sourceforge.net/project/sdl2gfx/SDL2_gfx-${version}.tar.gz SDL2_gfx-${version}.tar.gz"
files="https://downloads.sourceforge.net/project/sdl2gfx/SDL2_gfx-${version}.tar.gz SDL2_gfx-${version}.tar.gz 15f9866c6464ca298f28f62fe5b36d9f"
auth_type=md5
depends="SDL2"
useconfigure=true
configopts="--with-sdl-prefix=${SERENITY_BUILD_DIR}/Root/usr/local"
Expand Down
3 changes: 2 additions & 1 deletion Ports/SDL2_image/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ port=SDL2_image
useconfigure=true
version=2.0.5
depends="SDL2 libpng libjpeg"
files="https://www.libsdl.org/projects/SDL_image/release/SDL2_image-${version}.tar.gz SDL_image-${version}.tar.gz"
files="https://www.libsdl.org/projects/SDL_image/release/SDL2_image-${version}.tar.gz SDL_image-${version}.tar.gz f26f3a153360a8f09ed5220ef7b07aea"
auth_type=md5

configure() {
run ./configure \
Expand Down
3 changes: 2 additions & 1 deletion Ports/SDL2_mixer/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
port=SDL2_mixer
version=2.0.4
useconfigure=true
files="https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${version}.tar.gz SDL2_mixer-${version}.tar.gz"
files="https://www.libsdl.org/projects/SDL_mixer/release/SDL2_mixer-${version}.tar.gz SDL2_mixer-${version}.tar.gz a36e8410cac46b00a4d01752b32c3eb1"
auth_type=md5
depends="SDL2 libvorbis"

configure() {
Expand Down
3 changes: 2 additions & 1 deletion Ports/SDL2_ttf/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
port=SDL2_ttf
version=2.0.15
useconfigure=true
files="https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${version}.tar.gz SDL2_ttf-${version}.tar.gz"
files="https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-${version}.tar.gz SDL2_ttf-${version}.tar.gz 04fe06ff7623d7bdcb704e82f5f88391"
auth_type=md5
depends="SDL2 freetype"

configure() {
Expand Down
3 changes: 2 additions & 1 deletion Ports/SDLPoP/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ version=git
depends="SDL2 SDL2_image"
workdir=SDLPoP-master
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMake/CMakeToolchain.txt"
files="https://github.com/NagyD/SDLPoP/archive/refs/heads/master.zip PoP.zip"
files="https://github.com/NagyD/SDLPoP/archive/refs/heads/master.zip PoP.zip c75184eb2a7e8c9ed008ffae371ec178"
auth_type=md5
install_location="Root/opt/PrinceOfPersia"

configure() {
Expand Down
3 changes: 2 additions & 1 deletion Ports/Super-Mario/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ version=git
depends="SDL2 SDL2_mixer SDL2_image"
workdir=Super-Mario-Clone-Cpp-master
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMake/CMakeToolchain.txt"
files="https://github.com/Bennyhwanggggg/Super-Mario-Clone-Cpp/archive/refs/heads/master.zip master.zip"
files="https://github.com/Bennyhwanggggg/Super-Mario-Clone-Cpp/archive/refs/heads/master.zip master.zip 11f622721d1ba504acf75c024aa0dbe3"
auth_type=md5
install_location="Root/opt/Super_Mario"

configure() {
Expand Down
3 changes: 2 additions & 1 deletion Ports/bzip2/package.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=bzip2
version=1.0.8
files="https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz bzip2-${version}.tar.gz"
files="https://sourceware.org/pub/bzip2/bzip2-${version}.tar.gz bzip2-${version}.tar.gz 67e051268d0c475ea773822f7500d0e5"
auth_type=md5
makeopts="bzip2 CC=${CC}"
installopts="PREFIX=${SERENITY_BUILD_DIR}/Root/usr/local"
3 changes: 2 additions & 1 deletion Ports/c-ray/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ port=c-ray
version=git
workdir=c-ray-master
useconfigure=true
files="https://github.com/vkoskiv/c-ray/archive/master.tar.gz c-ray-git.tar.gz"
files="https://github.com/vkoskiv/c-ray/archive/master.tar.gz c-ray-git.tar.gz 939b40cdb642b78a2b300b5b2981e337"
auth_type=md5
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMake/CMakeToolchain.txt"
depends="SDL2"

Expand Down
1 change: 1 addition & 0 deletions Ports/carl/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ port=carl
version=1.5
workdir=cryanc-"${version}"
files="https://github.com/classilla/cryanc/archive/refs/tags/${version}.tar.gz cryanc-${version}.tar.gz f2cae13addf4ed7cb7af3d06069cf082"
auth_type=md4

build() {
run $CC -O3 carl.c -o carl
Expand Down
3 changes: 2 additions & 1 deletion Ports/chester/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ version=git
depends="SDL2"
workdir=chester-public
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMake/CMakeToolchain.txt"
files="https://github.com/veikkos/chester/archive/public.tar.gz chester.tar.gz"
files="https://github.com/veikkos/chester/archive/public.tar.gz chester.tar.gz f09d797209e7bfd9b1460d2540525186"
auth_type=md5

configure() {
run cmake $configopts
Expand Down
3 changes: 2 additions & 1 deletion Ports/cmake/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
port=cmake
version=3.19.4
useconfigure=false
files="https://github.com/Kitware/CMake/releases/download/v$version/cmake-$version.tar.gz cmake-$version.tar.gz"
files="https://github.com/Kitware/CMake/releases/download/v$version/cmake-$version.tar.gz cmake-$version.tar.gz 2a71f16c61bac5402004066d193fc14e"
auth_type=md5
depends="bash gcc make sed"

port_path=$(realpath $(dirname ${BASH_SOURCE[0]}))
Expand Down
3 changes: 2 additions & 1 deletion Ports/cmatrix/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ version=git
depends="ncurses"
workdir=cmatrix-master
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMake/CMakeToolchain.txt"
files="https://github.com/abishekvashok/cmatrix/archive/refs/heads/master.zip cmatrix.zip"
files="https://github.com/abishekvashok/cmatrix/archive/refs/heads/master.zip cmatrix.zip 2541321b89149b375d5732402e52d654"
auth_type=md5

configure() {
run cmake $configopts
Expand Down
3 changes: 2 additions & 1 deletion Ports/doom/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
port=doom
workdir=SerenityDOOM-master
version=serenity-git
files="https://github.com/SerenityOS/SerenityDOOM/archive/master.tar.gz doom-git.tar.gz"
files="https://github.com/SerenityOS/SerenityDOOM/archive/master.tar.gz doom-git.tar.gz 481406ef30e04ad55d39aa94baab73bd"
auth_type=md5
makeopts="-C doomgeneric/"
installopts="-C doomgeneric/"
6 changes: 5 additions & 1 deletion Ports/ed/package.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=ed
version=1.15
files="https://ftpmirror.gnu.org/gnu/ed/ed-${version}.tar.lz ed-${version}.tar.lz"
files="https://ftpmirror.gnu.org/gnu/ed/ed-${version}.tar.lz ed-${version}.tar.lz
https://ftpmirror.gnu.org/gnu/ed/ed-${version}.tar.lz.sig ed-${version}.tar.lz.sig
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
auth_type="sig"
auth_opts="--keyring ./gnu-keyring.gpg cflow-${version}.tar.bz2.sig"
useconfigure=true
depends=pcre2

Expand Down
1 change: 1 addition & 0 deletions Ports/emu2/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
port=emu2
version=ff276eb0a755a3e784f73da00b5db6c1b25c1f83
files="https://github.com/dmsc/emu2/archive/${version}.zip emu2-${version}.zip 2640a713d6c7ed98d020e0b7dccbc404"
auth_type=md5

build() {
export CC="${SERENITY_ROOT}/Toolchain/Local/${SERENITY_ARCH}/bin/${SERENITY_ARCH}-pc-serenity-gcc"
Expand Down
1 change: 1 addition & 0 deletions Ports/figlet/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
port=figlet
version=2.2.5
files="http:https://ftp.figlet.org/pub/figlet/program/unix/figlet-${version}.tar.gz figlet-${version}.tar.gz d88cb33a14f1469fff975d021ae2858e"
auth_type=md5
makeopts="CC=${CC} LD=${CC}"
3 changes: 2 additions & 1 deletion Ports/freetype/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
port=freetype
version=2.10.4
useconfigure=true
files="https://download.savannah.gnu.org/releases/freetype/freetype-${version}.tar.gz freetype-${version}.tar.gz"
files="https://download.savannah.gnu.org/releases/freetype/freetype-${version}.tar.gz freetype-${version}.tar.gz 4934a8b61b636920bcce58e7c7f3e1a2"
auth_type=md5
configopts="--with-brotli=no --with-bzip2=no --with-zlib=no --with-harfbuzz=no --with-png=no"
3 changes: 2 additions & 1 deletion Ports/frotz/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
port=frotz
version=git
workdir=frotz-master
files="https://gitlab.com/DavidGriffith/frotz/-/archive/master/frotz-master.zip frotz-master.zip"
files="https://gitlab.com/DavidGriffith/frotz/-/archive/master/frotz-master.zip frotz-master.zip eeaad3d51354491b07c7f30384c0cede"
auth_type=md5
depends="ncurses"

build() {
Expand Down
3 changes: 2 additions & 1 deletion Ports/genemu/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ port="genemu"
version=git
workdir="${port}-master"
useconfigure=true
files="https://github.com/rasky/genemu/archive/master.tar.gz ${version}.tar.gz"
files="https://github.com/rasky/genemu/archive/master.tar.gz ${version}.tar.gz a7b9f896c1fd99da03767068493ec89f"
auth_type=md5
configopts="-DCMAKE_TOOLCHAIN_FILE=${SERENITY_ROOT}/Toolchain/CMake/CMakeToolchain.txt"
depends="SDL2"

Expand Down
3 changes: 2 additions & 1 deletion Ports/git/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
port=git
version=2.31.1
useconfigure="true"
files="https://mirrors.edge.kernel.org/pub/software/scm/git/git-${version}.tar.xz git-${version}.tar.xz"
files="https://mirrors.edge.kernel.org/pub/software/scm/git/git-${version}.tar.xz git-${version}.tar.xz 51bd18a1af964dd3b1c7b0220889ebb6"
auth_type=md5
configopts="--target=${SERENITY_ARCH}-pc-serenity CFLAGS=-DNO_IPV6"
depends="zlib"

Expand Down
3 changes: 2 additions & 1 deletion Ports/gnupg/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ configopts="--with-libgpg-error-prefix=${SERENITY_BUILD_DIR}/Root/usr/local \
--with-ntbtls-prefix=${SERENITY_BUILD_DIR}/Root/usr/local \
--with-npth-prefix=${SERENITY_BUILD_DIR}/Root/usr/local \
--disable-dirmngr"
files="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2 gnupg-${version}.tar.bz2"
files="https://gnupg.org/ftp/gcrypt/gnupg/gnupg-${version}.tar.bz2 gnupg-${version}.tar.bz2 84c1ef39e8621cfb70f31463a5d1d8edeab44332bc1e0e1af9b78b6f9ed05bb4"
auth_type=sha256
depends="libiconv libgpg-error libgcrypt libksba libassuan npth ntbtls"

pre_configure() {
Expand Down
3 changes: 2 additions & 1 deletion Ports/gnuplot/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ port=gnuplot
version=5.2.8
useconfigure=true
# Note: gnuplot's source code is hosted on SourceForge, but using the GitHub mirror makes downloading a versioned .tar.gz easier.
files="https://github.com/gnuplot/gnuplot/archive/${version}.tar.gz gnuplot-${version}.tar.gz"
files="https://github.com/gnuplot/gnuplot/archive/${version}.tar.gz gnuplot-${version}.tar.gz 292f983e273cd50cf02e0737043fae0e"
auth_type=md5
configopts="--prefix=${SERENITY_BUILD_DIR}/Root/usr/local --with-readline=builtin --without-latex"

pre_configure() {
Expand Down
3 changes: 2 additions & 1 deletion Ports/hatari/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ depends="SDL2 zlib"
commit=353379e1f8a847cc0e284541d2b40fd49d175d22
workdir="${port}-${commit}"
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMake/CMakeToolchain.txt"
files="https://github.com/hatari/hatari/archive/${commit}.tar.gz ${commit}.tar.gz"
files="https://github.com/hatari/hatari/archive/${commit}.tar.gz ${commit}.tar.gz 614d8c20a06deea6df464a5de32cc795"
auth_type=md5

configure() {
run cmake $configopts
Expand Down
3 changes: 2 additions & 1 deletion Ports/jot/package.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=jot
version=6.6
files="https://github.com/ibara/libpuffy/releases/download/libpuffy-1.0/jot-${version}.tar.gz jot-${version}.tar.gz"
files="https://github.com/ibara/libpuffy/releases/download/libpuffy-1.0/jot-${version}.tar.gz jot-${version}.tar.gz 6905e24f8b3c61dad19f1d6608de4ae0"
auth_type=md5
depends=libpuffy
3 changes: 2 additions & 1 deletion Ports/jq/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ port=jq
version=1.6
useconfigure=true
configopts="--with-oniguruma=builtin --disable-maintainer-mode"
files="https://github.com/stedolan/jq/releases/download/jq-${version}/jq-${version}.tar.gz jq-${version}.tar.gz"
files="https://github.com/stedolan/jq/releases/download/jq-${version}/jq-${version}.tar.gz jq-${version}.tar.gz 5de8c8e29aaa3fb9cc6b47bb27299f271354ebb72514e3accadc7d38b5bbaa72"
auth_type=sha256
makeopts="LDFLAGS=-all-static"

pre_configure() {
Expand Down
3 changes: 2 additions & 1 deletion Ports/klong/package.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=klong
version=20190926
files="http:https://t3x.org/klong/klong20190926.tgz klong20190926.tgz"
files="http:https://t3x.org/klong/klong20190926.tgz klong20190926.tgz d03ed117cc8b9fadc87c1dd68b7fe7ec"
auth_type=md5
useconfigure=false
workdir=klong
3 changes: 2 additions & 1 deletion Ports/libassuan/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ port=libassuan
version=2.5.5
useconfigure=true
#configopts="--with-libgpg-error-prefix=${SERENITY_BUILD_DIR}/Root/usr/local"
files="https://gnupg.org/ftp/gcrypt/libassuan/libassuan-${version}.tar.bz2 libassuan-${version}.tar.bz2"
files="https://gnupg.org/ftp/gcrypt/libassuan/libassuan-${version}.tar.bz2 libassuan-${version}.tar.bz2 7194453152bb67e3d45da698762b5d6f"
auth_type=md5

pre_configure() {
export gcry_cv_gcc_has_f_visibility=no
Expand Down
3 changes: 2 additions & 1 deletion Ports/libffi/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
port=libffi
version=3.3
useconfigure=true
files="ftp:https://sourceware.org/pub/libffi/libffi-${version}.tar.gz libffi-${version}.tar.gz"
files="ftp:https://sourceware.org/pub/libffi/libffi-${version}.tar.gz libffi-${version}.tar.gz 6313289e32f1d38a9df4770b014a2ca7"
auth_type=md5
3 changes: 2 additions & 1 deletion Ports/libgcrypt/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ port=libgcrypt
version=1.9.2
useconfigure=true
configopts="--with-libgpg-error-prefix=${SERENITY_BUILD_DIR}/Root/usr/local"
files="https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${version}.tar.bz2 libgcrypt-${version}.tar.bz2"
files="https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-${version}.tar.bz2 libgcrypt-${version}.tar.bz2 00121b05e1ff4cc85a4a6503e0a7d9fb"
auth_type=md5

pre_configure() {
export gcry_cv_gcc_has_f_visibility=no
Expand Down
3 changes: 2 additions & 1 deletion Ports/libgpg-error/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ port=libgpg-error
version=1.42
useconfigure=true
configopts="--disable-tests --disable-threads"
files="https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-${version}.tar.bz2 libgpg-error-${version}.tar.bz2"
files="https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-${version}.tar.bz2 libgpg-error-${version}.tar.bz2 133fed221ba8f63f5842858a1ff67cb3"
auth_type=md5

pre_configure() {
export gcry_cv_gcc_has_f_visibility=no
Expand Down
3 changes: 2 additions & 1 deletion Ports/libicu/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ version=69_1
useconfigure=true
workdir=icu/source
configopts=--with-cross-build=$(pwd)/${workdir}/../host-build
files="https://github.com/unicode-org/icu/releases/download/release-${version//_/-}/icu4c-${version}-src.tgz icu4c-${version}-src.tgz"
files="https://github.com/unicode-org/icu/releases/download/release-${version//_/-}/icu4c-${version}-src.tgz icu4c-${version}-src.tgz 9403db682507369d0f60a25ea67014c4"
auth_type=md5

configure() {
host_env
Expand Down
3 changes: 2 additions & 1 deletion Ports/libksba/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
port=libksba
version=1.5.1
useconfigure=true
files="https://gnupg.org/ftp/gcrypt/libksba/libksba-${version}.tar.bz2 libksba-${version}.tar.bz2"
files="https://gnupg.org/ftp/gcrypt/libksba/libksba-${version}.tar.bz2 libksba-${version}.tar.bz2 96e207b7adc637a3dbc29bac90312200"
auth_type=md5

pre_configure() {
export ksba_cv_gcc_has_f_visibility=no
Expand Down
3 changes: 2 additions & 1 deletion Ports/libogg/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
port=libogg
version=1.3.4
useconfigure=true
files="https://github.com/xiph/ogg/releases/download/v${version}/libogg-${version}.tar.gz libogg-${version}.tar.gz"
files="https://github.com/xiph/ogg/releases/download/v${version}/libogg-${version}.tar.gz libogg-${version}.tar.gz b9a66c80bdf45363605e4aa75fa951a8"
auth_type=md5

install() {
run make DESTDIR=$DESTDIR $installopts install
Expand Down
3 changes: 2 additions & 1 deletion Ports/libpng/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
port=libpng
version=1.6.37
useconfigure=true
files="https://download.sourceforge.net/libpng/libpng-${version}.tar.gz libpng-${version}.tar.gz"
files="https://download.sourceforge.net/libpng/libpng-${version}.tar.gz libpng-${version}.tar.gz 6c7519f6c75939efa0ed3053197abd54"
auth_type=md5
depends="zlib"

install() {
Expand Down
3 changes: 2 additions & 1 deletion Ports/libpuffy/package.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=libpuffy
version=1.0
files="https://github.com/ibara/libpuffy/releases/download/libpuffy-${version}/libpuffy-${version}.tar.gz libpuffy-${version}.tar.gz"
files="https://github.com/ibara/libpuffy/releases/download/libpuffy-${version}/libpuffy-${version}.tar.gz libpuffy-${version}.tar.gz b22b6f24a3d4f3ac67f43b9efd3a9dc1"
auth_type=md5
3 changes: 2 additions & 1 deletion Ports/libvorbis/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
port=libvorbis
version=1.3.7
useconfigure=true
files="https://github.com/xiph/vorbis/releases/download/v${version}/libvorbis-${version}.tar.gz libvorbis-${version}.tar.gz"
files="https://github.com/xiph/vorbis/releases/download/v${version}/libvorbis-${version}.tar.gz libvorbis-${version}.tar.gz 9b8034da6edc1a17d18b9bc4542015c7"
auth_type=md5
depends=libogg

install() {
Expand Down
3 changes: 2 additions & 1 deletion Ports/libzip/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ version=1.7.3
depends="zlib"
workdir=libzip-${version}
configopts="-DCMAKE_TOOLCHAIN_FILE=$SERENITY_ROOT/Toolchain/CMake/CMakeToolchain.txt"
files="https://libzip.org/download/libzip-${version}.tar.gz libzip-${version}.tar.gz"
files="https://libzip.org/download/libzip-${version}.tar.gz libzip-${version}.tar.gz 76f8fea9b88f6ead7f15ed7712eb5aef"
auth_type=md5

configure() {
run cmake $configopts
Expand Down
1 change: 1 addition & 0 deletions Ports/links/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ port=links
version=2.22
useconfigure=true
files="http:https://links.twibright.com/download/links-${version}.tar.bz2 links-${version}.tar.bz2 55f745dea500aac52cede98bab8d96e2"
auth_type=md5
1 change: 1 addition & 0 deletions Ports/lua/package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,6 @@
port=lua
version=5.3.5
files="http:https://www.lua.org/ftp/lua-${version}.tar.gz lua-${version}.tar.gz 4f4b4f323fd3514a68e0ab3da8ce3455"
auth_type=md5
makeopts="-j$(nproc) serenity"
installopts="INSTALL_TOP=${SERENITY_BUILD_DIR}/Root/usr/local"
3 changes: 2 additions & 1 deletion Ports/mrsh/package.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=mrsh
version=d9763a32e7da572677d1681bb1fc67f117d641f3
files="https://codeload.github.com/emersion/mrsh/legacy.tar.gz/${version} emersion-mrsh-d9763a3.tar.gz"
files="https://codeload.github.com/emersion/mrsh/legacy.tar.gz/${version} emersion-mrsh-d9763a3.tar.gz 80d268ebf0fca32293605b6e91bc64d0"
auth_type=md5
useconfigure=true
makeopts=
workdir=emersion-mrsh-d9763a3
Expand Down
3 changes: 2 additions & 1 deletion Ports/nasm/package.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=nasm
version=2.15.05
files="https://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.gz nasm-${version}.tar.gz"
files="https://www.nasm.us/pub/nasm/releasebuilds/${version}/nasm-${version}.tar.gz nasm-${version}.tar.gz 58886d8a4084d7c09adb0f425266051b"
auth_type=md5
useconfigure=true
makeopts=
Loading

0 comments on commit a206ab2

Please sign in to comment.