-
-
Notifications
You must be signed in to change notification settings - Fork 129
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
Devuan/Debianb packaging etc #185
Comments
Yes, RainLoop development is slow. That is why i forked it. Because every 1-2 weeks i release a new version with improvements, bugfixes but also new bugs. And thanks to everyone here it does improve and almost is up to date with latest RFC's. So for now you're on your own as i don't have distro channels yet. |
Could you test the v2.13.0 .deb i created? |
Hi there, I tested the 2.13.0 .deb Minor issue:
Blocker issues:
To which point I upgraded using my own dirty package. I am sure it is a trivial issue, maybe related to the 0.0.0 path or else. Question:
BTW, thanks for the issues solved in a timely fashion! |
@yeupou thanks for testing!
Shouldn't be there. It was in my testcode of
Changed that.
Odd, i've added error_log() entry with full path.
The only required dependencies are:
Optional dependencies are:
Regarding security php-sodium would be the best choice, then php-openssl, then php-xxtea. I have no clue how to do that within a debian package. |
Regarding the dependencies, I think you could use Recommends vs Suggests at least to put php-sodium in Recommends (along with any package that provides features, if you do not want to put them directly as depends, which can be a legitimate packaging choice too) and the other two as in Suggests. Regarding the privileges issue, not sure how it should work. So it would try to mkdir(APP_DATA_FOLDER_PATH.delete_if_you_see_it_after_install) Considering that APP_DATA_FOLDER_PATH is set by the /usr/share/snappymail/include.php it should work out of the box Note however that in my own /usr/local/share/snappymail/include.php I have:
So it means mkdir("/var/lib/snappymail/delete_if_you_see_it_after_install") There is already a is_dir test on APP_DATA_FOLDER_PATH. Maybe, if there is no trailing slash, it should be forcefully added. Or you can simply change line 53-54 to
(since the extra the trailing slash would be harmless in /var/lib/snappymail//delete_if_you_see_it_after_install) |
You are right! It was missing the slash. |
Made some changes to the |
No problem with 2.13.2. Great! Next step would be creating a repository, some folder with a Packages file containing
as written by:
along with a snappymail-keyring package with relevant keys in /etc/apt/trusted.gpg.d/snappymail.gpg (and possibly, for conveniency, a /etc/apt/sources.list.d/snappymail.list), for instance generated by something like: (using gpg -u XXX option) |
No issue noticed with 2.13.3. |
I had installed snappymail manually with apache2 configuration in /etc/apache2-webmail/. |
Does this work for you? |
To test the repository, I would require the GPG key
(well I could run it with --allow-unauthenticated) |
I tested with apt -o Acquire::AllowInsecureRepositories=true update but it fails. In Packages, you have a full path like /home/.../snappymail/build/dist/releases/webmail/2.13.4/snappymail_2.13.4-1_all.deb that may be the problem. |
It's at several places:
I've fixed that. You can try again. |
for the key, I did:
so that is solved (however it could be nicer to have the keyring included in a dedicated package, for easy removal/update) However, I still have a problem What do you recommend as source.list entry? I have |
@yeupou i only had a |
It worked! |
I just want to signal that |
Where to find /etc/apache2/sites-available/snappymail.conf in debian package? Seem not be installed ... and NOT included in package :-( |
I installed the package and then how am I supposed to know where the www root is so that I can properly add and configure a nginx virtual host? Please mention it somewhere. |
Just to get you started, this is my snappymail.conf in apache:
|
I don't see anywhere a readme for installation from repository for debian. and because probably lots of people are searching for this, and find multiple scattered information, i summarize here the way to use the repo Firstly we install the repo key Snappymail is now installed on /usr/share/snappymail, so we use this folder for the apache/nginx or else vhost settings, or we link it to our vhost home folder. |
Hello,
I am using rainloop since years and am a bit annoyed by the fact is seem under-maintained (security issues posted with no reply).
I would switch to snappymail but it would be more practical if it was submitted to Devuan (through Debian).
Regards,
The text was updated successfully, but these errors were encountered: