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
Add cadaver recipe #3266
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please adjust the suggested changes
There is a trailing white-space, check the line endings for spaces |
I've implemented the changes. |
Seems you still have a trailing white space issue that travis-ci is complaining about. |
Fixed |
All good. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor style issues
Thanks @Begasus! You did the most difficult part of the mentoring! |
Did the changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, we have a small typo: {lib,devel}:libzlib
➡️ {lib,devel}:libz
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, I tried cadaver on a site served through https and got this warning: SSL is not enabled.
It seems we need to pass some configure option to enable ssl support, because right now this is what we have:
objdump -x /bin/cadaver |grep NEEDED
NEEDED libreadline.so.7
NEEDED libncurses.so.6
NEEDED libintl.so.8
NEEDED libnetwork.so
NEEDED libexpat.so.1
NEEDED libroot.so
Think I already mentioned openssl yesterday on IRC :) |
libzlib changed to libz |
@fbrosson for me it's been a good task, so for creating the recipe it's ok for me, the part failing with ssl could be dealt with later |
hmm ... did you check if config.log is looking for libcrypto also? ;) |
So are you going to mark my task complete? |
I can't see your task in my instances, so I guess @fbrosson needs to approve then :) |
I'm adding a "help-wanted" label in case someone has an idea on how to fix the ssl issue. |
Done :) |
@pjht - Add neon to your build requirements. Use --with-neon flag in configure. |
@kenmays I added neon and got this error: |
@kenmays I did |
1 similar comment
@kenmays I did |
seems cadaver is dead. There i said it. The joke was right in front of us. Anyways, there's likely a patch floating around that adds support for newer neon, check debian or others. Lets mark this task complete and leave this open until the neon/ssl issue is figured out. |
likely some hints here on how to fix this: |
@pjht - You'll need to patch the check neon version in your configure.ac file to allow it to use neon 0.30. |
It's likely a rabbit hole... you'll need to patch configure.ac to use neon 0.30, then you'll need to add autoreconf, then you'll find that it needs a newer neon.m4 file added, then ... it'll likely be several more iterations until you arrive at the final solution. I say mark it at broken on all architectures, get it merged, and open a new ticket to fix the neon issue, and it's likely to take a few more steps to resolve. |
We don't need to mark the recipe as broken because it is working. It's just that it will only be able to access http sites. In other words, if we merge this PR then I think it would be OK to keep it enabled. Anyway, there is no urgency, so we can keep the PR open for now and think about it for the next days. |
It's my understanding that if it is marked as working then it could end up in HaikuDepot? I'd like to prevent it from getting there until the SSL issue is fixed. Would marking it as untested have the same effect? |
Yep, marking it as untested will make the build bots skip it, so pre-built packages won't be available. I think this can be a nice scenario for now if we don't find a better fix. I have cadaver on Debian 9 (Stretch) and am able to access (read&write) https webdavs.
(The webdav site I used is not example.org but a private remote webdav I control.) I haven't investigated yet all possible paths (i.e. autoreconf, looking for a patch from a Linux distro such as Debian, Gentoo or ArchLinux) so we might be able to fix the ssl issue before the merge. |
It is possible it seems :) (from config.log)
|
Ok, got it build with the 0.30.2 version from neon, not sure how to test though :) (with a small patch in configure)
|
When neon is provided in the REQUIRES and REQUIRES_devel the --with-neon flag isn't required for configure (provided configure is patched) |
This is an update from the master repo. Will be merged instantly
This could be used as a pointer on how to patch configure :) |
Also use "make install" instead of "make install-strip" because there is no install-strip target.
This is my submission for the google code-in task