-
Notifications
You must be signed in to change notification settings - Fork 219
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
Use packages instead of ports ? #272
Comments
We tried years ago, but pre-built packages don't have required compile options. e.g. LDAP support, MySQL support, etc. |
the same say |
Mixing ports and packages is not good idea. |
I have considered OpenBSD but there is a lot more running on that machine and who has the time to patch Linux boxes as often as needed. I m sure most admins would deploy iRedMail in a jail that will be used for that purpose alone. |
Hi @bozhinov Would you like to give it a try? Update |
Hi, I have it all setup for trying out the packages and the sequence is done and tested. |
I have added you to my private repo. |
Hi @bozhinov could you fork the iRedMail repo directly instead of copying repo and make it private? So that we can easily create pull request after finished. |
Hi, |
Hello there, |
Hi @xbeaudouin That's wonderful. Flavors should be enough. We need few packages with MySQL, PostgreSQL, OpenLDAP support. For example, postfix, Dovecot, Amavisd. If you can help make it happen, we can work together. :) |
Well dovecot has already flavors. I am trying to understand |
By the way why should you need openssl from ports? Since on FreeBSD 14.2 we already have openssl v3.0.15:
|
Hi @xbeaudouin, Do you mean we should remove |
Hi @xbeaudouin, According to functions/packages_freebsd.sh, these ports requires flavors:
|
Currently the installation involves compiling Perl / Python / PHP / Rust / Go / LLVM, you can imagine how much time we waste. |
Hi, About ports with flavors, I will try to push some of them. Issue will be "dual" flavors which is not supported by the port infrastructure |
If dual flavors is impossible, then we still have to install all packages from ports tree, to avoid mixing binary packages and ports. I see Dovecot has LDAP flavor on by default, and you can choose additional MySQL or PGSQL flavor. Is it possible that we have LDAP flavor on by default too for other ports? |
Or, besides standard
|
the '-' is used to sperate the flavors... I will discuss with other maintainer for that... |
I think we can mix both packages and compiled with port ones. There is no problems about that. |
I think "dual" (or even more) favors is the key. I prefer waiting for you discussion with other maintainers. :) OpenBSD has multi flavors support and it works well, no need to use ports tree at all for normal users. |
I think we can make some "special flavors" eg -mysqlldap -pgsqlldap for such ports. |
I will wait for your update. Thank you very much. Special flavor might be a trick or temporary solution, for example, |
Not sure what happened here but I m not compiling this from ports ever again. Turned out MariaDb is not possible as a backend on FreeBSD P.S. Tested using the latest packages and not the quarterly ones |
Got it working 100% with PGSQL via packages |
Great news. 👍 |
Done! @xbeaudouin adding support back for MariaDb does not seem like a lot of work |
How about I merge it in a new git branch then we continue in that branch instead of master? |
Can't push with those new lines all messed up. thanks to the windows desktop client |
Hi @bozhinov Could you please grant me write privilege in your repo? I made some changes locally and waiting for push to your repo. |
sent invite |
Why do you prefer quarterly instead of latest packages? |
I used latest for dev test and I use latest in production |
Only Latest packages offer packages like |
Improved with MariaDB backend support in PR #280 |
Hi,
postfix-mysql this package forces the removal of MariaDb
tested already
won’t work
Momchil
|
Well this is mostly because -mysql packages on the ports
If the poudriere that make this set mysql:10.6m then all packages are set to mariadb... |
I imagine a port would break these guyses' business model Also what happens when MySQL reaches v10 in another 5 to 10 years ? |
Thanks for helping. I found this conflict moment ago during testing, yesterday it's kind of rush and didn't notice the conflict message reported by |
Hi @xbeaudouin All packages with Possible solutions:
Currently, 1) is the easiest solution and it's what we can do, but I personally think no. 3 is the best solution, but i cannot make it happen myself. |
Switched to MySQL in PR moment ago.
@xbeaudouin Need your help:
We're very close to success. |
@xbeaudouin @bozhinov |
Sorry, I was not aware there was something pending on me. What is it ? |
|
Definitely. Let me know once ready for testing I m not sure we are getting 6 more packages just cause of iredmail. |
The incomplete part is the missed package flavors (sope, dovecot). |
So we need:
Is that all we need? |
Exactly. :) @xbeaudouin |
For dovecot, I don't think we need a ldapmysql flavor since:
And the flavor -mysql add just MYSQL to
|
Hi @xbeaudouin Thanks for helping.
You made my day: 660ebb9 About |
Well I have to add every flavors otherwise we can have an issue for sope. Waiting for maintainer feedback ! |
Hi @xbeaudouin In case you didn't notice yet, there's a reply left in review: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284900 |
REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER:
Hello,
I have not used ports in ages. I did not used to mind it but
If all is going to be installed anyway - wouldn't it be much better to use packages ?
The text was updated successfully, but these errors were encountered: