mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
64 lines
1.3 KiB
Bash
64 lines
1.3 KiB
Bash
SUMMARY="A secure replacement for inetd"
|
|
DESCRIPTION="powerful replacement for inetd"
|
|
HOMEPAGE="https://github.com/xinetd-org/xinetd"
|
|
COPYRIGHT="1992 Panagiotis Tsirigotis
|
|
1998-2001 Rob Braun
|
|
2001 Steve Grubb
|
|
2017 SUSE LINUX GmbH and other parties"
|
|
LICENSE="Xinetd"
|
|
REVISION="1"
|
|
SOURCE_URI="https://github.com/openSUSE/xinetd/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="cbb6d078a8e4d0297cbfc146d5acd0b598de7d30dd0f76301a52ca923b42129a"
|
|
SOURCE_DIR="xinetd-$portVersion"
|
|
PATCHES="xinetd-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="?all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="?x86"
|
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
settings/xinetd.conf keep-old
|
|
settings/xinetd.d directory keep-old
|
|
"
|
|
|
|
PROVIDES="
|
|
xinetd$secondaryArchSuffix = $portVersion
|
|
cmd:itox$secondaryArchSuffix = $portVersion
|
|
cmd:xconv.pl$secondaryArchSuffix = $portVersion
|
|
cmd:xinetd$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoreconf
|
|
cmd:awk
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:perl
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
PATCH()
|
|
{
|
|
# workaround while (SIGBUS == SIGSEGV) on HAIKU
|
|
sed -i 's/case SIGBUS:/\n/' src/signals.c
|
|
}
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -vfi
|
|
runConfigure ./configure --without-loadavg
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|