Files
haikuports/dev-vcs/fossil/fossil-2.27.recipe
Zakero 64bf62924a fossil-2.27 update (#12990)
Removed "tag" and changed the SOURCE_URI.

Due to fossil-scm.org's robot defenses, using the previous URI
format caused a "unique" tarball to be downloaded which resulted
in an ever-changing SHA256 checksum.

Using the updated URI, the downloaded tarball has the same SHA256
checksum.

Note: This version fossil fixes a long running DOS attack which
      could consume excessive CPU cycles. (This attack was not
	  seen in the wild.)
2025-10-03 02:39:57 -03:00

62 lines
1.5 KiB
Bash

SUMMARY="A tool for distributed software configuration management"
DESCRIPTION="Fossil is a simple, high-reliability, distributed version \
control system like Git and Mercurial, but Fossil also supports distributed \
bug tracking, distributed wiki, distributed forums, and a distributed blog \
mechanism all in a single integrated package.
Additionally, Fossil also has a built-in and easy-to-use web interface that \
simplifies project tracking and promotes situational awareness."
HOMEPAGE="https://www.fossil-scm.org/"
COPYRIGHT="2007 D. Richard Hipp"
LICENSE="BSD (2-clause)"
REVISION="1"
SOURCE_URI="https://fossil-scm.org/home/tarball/?name=version-2.27/fossil-src-$portVersion.tar.gz"
CHECKSUM_SHA256="0405a96ba4d286b46fb5c3217d6c13391a2c637da90c51a927ee0c31c58f9064"
SOURCE_DIR="fossil-src-$portVersion"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
fossil$secondaryArchSuffix = $portVersion
cmd:fossil = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libssl$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libssl$secondaryArchSuffix >= 3
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:make
"
TEST_REQUIRES="
cmd:tclsh
"
BUILD()
{
# not an autotools configure
./configure --prefix=$prefix
make $jobArgs
}
INSTALL()
{
make install
install -d $manDir/man1
install -t $manDir/man1 -m 444 fossil.1
}
TEST()
{
make test
}