-
Notifications
You must be signed in to change notification settings - Fork 142
ejabberd 16.12 #1352
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
ejabberd 16.12 #1352
Conversation
Current download URL now returns a 404. Updating URL and sha256sum. Adding missing autogen.sh step to the build.
Remove unused bottle hashes, directly fetch goldrush dependency, (temporarily) disable pam module. Successfully builds up to the point where https://github.com/processone/tls fails with a "`dereferencing pointer to incomplete type`" error in `p1_tls_drv.c`
Update ejabberd to 16.12. Version 16 is the first version I was able to build on Leopard/PPC, and 16.12 is the highest minor version of ejabberd 16. Also switch to using openssl3. Tested on Leopard/PPC. I would love help testing on Snow Leopard if you're able to, as the pam_appl.h workaround I needed to add is apparently not needed on SL, but I don't currently have a way to test that.
|
When attempting to link against openssl or openssl3, it fails for me on Tiger. You can skip cloning the git repos manually, but patching the e.g. One for me as a reminder: |
|
Ok, regarding cloning repos manually, the problem is that there's a bunch of deps which are listed in the Haven't make any progress on the OpenSSL build issue. |
Oh, interesting! Between version It would be interesting to see whether it would be possible to hack In a case like that, what approach do you all like to take in this project? My mind is going to, is there some way to provide different software versions based on OS version? I haven't seen a formula that does this, but I've only read a very small percentage of the tigerbrew formulas. Other ideas could be to try cross-compiling and releasing a bottle for Tiger users, or to somehow mark the package as incompatible with Tiger. Or of course, to keep hacking at it until I get something to work across all three :) I think the moral is, I really need to get Tiger and Snow Leopard onto some machines here so that I can test all of the target OS versions myself. There are a couple Mac Minis in the mail right now that should take care of that shortly.
Oh, thanks for that tip. I've been trying to use
I'll go ahead and add all three of these to the branch in this PR and do a test build tonight or this weekend. ( Thanks as always for all the help, @sevan . |
Haha, looks like we were typing at the same time. This is a great find - it's not a very big version change for |
In this case, I suspect the issues is not with Tiger itself, but it is being highlighted there since regardless of OS, we're trying to link to the
I did this for Freepascal which is not ready yet.
More machines running Tiger are always good :)
Yeah, I was sitting in the build directory, having spawned a shell when the build failed and generated the patches then, only to realise that the deps directory is not there at the start and the patching fails.
Oh, and all the security issues with imagemagick :D
Thank you for all your contributions so far @jcgraybill. It's cool to have a version of erlang to play with. |
|
As it currently stands, what does |
|
It looks like they did link |
Per discussion on mistydemeo#1352 , add build-time dependencies for `autoconf`, `automake`, and `rebar`. In addition, update the version of `lager` in `rebar.config` as a cleaner way to resolve the stale `goldrush` URL that breaks builds of `lager` 3.2.1. Tested successfully on Leopard/PPC (G4).
How weird, not for me. Thanks again for patches. |
|
That is weird. I'll definitely be standing by to look into anything you find. Also, coda: the build succeeded on Leopard/PPC with the Thanks! |
|
Build tested on OS X 10.5 i386 & 10.6 x86_64. I was wondering if maybe instead of fetching the deps during build, we could switch to using resources in the formula, that way |
|
Using a resource is an interesting idea. It looks like this is the code that handles resources? https://github.com/mistydemeo/tigerbrew/blob/master/Library/Homebrew/resource.rb I'm not familiar enough with the brew codebase (or experienced enough at reading Ruby) to immediately see a way to achieve "just unzip the zip file to the specified directory" with that, though, TBH. |
Likewise but from the link you provided, doesn't target sort of do that? |
|
Indeed! I got a little tripped up expecting Here's a PR with this change: #1355 Let me also go revise the Much nicer! |
Updating ejabberd to 16.12. Version 16 is the first version I was able to build on Leopard/PPC, and 16.12 is the highest minor version of ejabberd 16.
Also switch to using openssl3.
Build successfully tested on Leopard/PPC, and sure enough I can connect Adium clients to the server. I would love help testing on Snow Leopard if anyone is able to, as the pam_appl.h workaround I needed to add is apparently not needed on SL, but I don't currently have a way to test that.