Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add cadaver recipe #3266

Merged
merged 10 commits into from Nov 24, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
65 changes: 65 additions & 0 deletions net-misc/cadaver/cadaver-0.23.3.recipe
@@ -0,0 +1,65 @@
SUMMARY="A command line WebDAV client"
DESCRIPTION="It supports file upload, download, on-screen display, namespace \
operations (move/copy), collection creation and deletion, and locking \
operations."
HOMEPAGE="http://www.webdav.org/cadaver/"
COPYRIGHT="1998-2008 Joe Orton
2002-2003 GRASE Lab, UCSC"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="http://www.webdav.org/cadaver/cadaver-$portVersion.tar.gz"
CHECKSUM_SHA256="fd4ce68a3230ba459a92bcb747fc6afa91e46d803c1d5ffe964b661793c13fca"
PATCHES="cadaver-$portVersion.patchset"

ARCHITECTURES="x86_gcc2 x86 x86_64"

PROVIDES="
cadaver = $portVersion
cmd:cadaver
"
REQUIRES="
haiku
lib:libintl
lib:libncurses
lib:libneon
lib:libreadline
lib:libssl
lib:libxml2
lib:libz
"

pjht marked this conversation as resolved.
Show resolved Hide resolved
BUILD_REQUIRES="
pjht marked this conversation as resolved.
Show resolved Hide resolved
haiku_devel
devel:libintl
devel:libncurses
devel:libneon
devel:libreadline
devel:libssl
devel:libxml2
devel:libz
"
BUILD_PREREQUIRES="
pjht marked this conversation as resolved.
Show resolved Hide resolved
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:bison
cmd:gcc
cmd:libtoolize
cmd:make
cmd:neon_config
cmd:pkg_config
"

defineDebugInfoPackage cadaver \
"$binDir"/cadaver

BUILD()
{
runConfigure ./configure
make $jobArgs
}

INSTALL()
{
make install
pjht marked this conversation as resolved.
Show resolved Hide resolved
}
76 changes: 76 additions & 0 deletions net-misc/cadaver/patches/cadaver-0.23.3.patchset
@@ -0,0 +1,76 @@
From 020a6b304799e9560f5678dcbc04bb7cbe6037f5 Mon Sep 17 00:00:00 2001
From: fbrosson <fbrosson@localhost>
Date: Sat, 24 Nov 2018 21:03:08 +0000
Subject: Also accept neon 0.30. Thanks @kenmays & @Begasus


diff --git a/configure.ac b/configure.ac
index 93cdb01..a26f60e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -33,7 +33,7 @@ AC_ARG_ENABLE(netrc,
AC_HELP_STRING([--disable-netrc], [enable .netrc support]),,
enable_netrc=yes)

-NE_REQUIRE_VERSIONS([0], [27 28 29])
+NE_REQUIRE_VERSIONS([0], [27 28 29 30])

dnl Don't enable zlib or ACL support in neon
NEON_WITHOUT_ZLIB
--
2.19.1


From 73180ea67376142a133189527f0eede8e9e30b8a Mon Sep 17 00:00:00 2001
From: fbrosson <fbrosson@localhost>
Date: Sat, 24 Nov 2018 21:20:10 +0000
Subject: Also accept neon 0.30. Patching configure to workaround other issues.


diff --git a/configure b/configure
index 1679f3e..1eb77cd 100755
--- a/configure
+++ b/configure
@@ -9595,7 +9595,7 @@ fi
$as_echo "$ne_cv_lib_neon" >&6; }
if test "$ne_cv_lib_neon" = "yes"; then
ne_cv_lib_neonver=no
- for v in 27 28 29; do
+ for v in 27 28 29 30; do
case $ne_libver in
0.$v.*) ne_cv_lib_neonver=yes ;;
esac
@@ -10242,8 +10242,8 @@ _ACEOF
fi

else
- { $as_echo "$as_me:$LINENO: incompatible neon library version $ne_libver: wanted 0.27 28 29" >&5
-$as_echo "$as_me: incompatible neon library version $ne_libver: wanted 0.27 28 29" >&6;}
+ { $as_echo "$as_me:$LINENO: incompatible neon library version $ne_libver: wanted 0.27 28 29 30" >&5
+$as_echo "$as_me: incompatible neon library version $ne_libver: wanted 0.27 28 29 30" >&6;}
neon_got_library=no
fi

@@ -10328,7 +10328,7 @@ fi
$as_echo "$ne_cv_lib_neon" >&6; }
if test "$ne_cv_lib_neon" = "yes"; then
ne_cv_lib_neonver=no
- for v in 27 28 29; do
+ for v in 27 28 29 30; do
case $ne_libver in
0.$v.*) ne_cv_lib_neonver=yes ;;
esac
@@ -10975,8 +10975,8 @@ _ACEOF
fi

else
- { $as_echo "$as_me:$LINENO: incompatible neon library version $ne_libver: wanted 0.27 28 29" >&5
-$as_echo "$as_me: incompatible neon library version $ne_libver: wanted 0.27 28 29" >&6;}
+ { $as_echo "$as_me:$LINENO: incompatible neon library version $ne_libver: wanted 0.27 28 29 30" >&5
+$as_echo "$as_me: incompatible neon library version $ne_libver: wanted 0.27 28 29 30" >&6;}
neon_got_library=no
fi

--
2.19.1