Summary: | Compile additional option --enable-password-save to openvpn binary | ||
---|---|---|---|
Product: | IPFire | Reporter: | Erik Kapfer <ummeegge> |
Component: | openvpn | Assignee: | Michael Tremer <michael.tremer> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | - Unknown - | ||
Priority: | - Unknown - | CC: | michael.tremer |
Version: | 2 | ||
Hardware: | unspecified | ||
OS: | Unspecified | ||
Attachments: |
Diff from the openvpn lfs file
The patch for lfs/openvpn Patch for the openvpn rootfile |
Description
Erik Kapfer
2012-02-20 10:45:39 UTC
To merge the changes an update of the openvpn rootfile is missing. We could target this change for core update 58. Created attachment 23 [details]
The patch for lfs/openvpn
Created attachment 24 [details]
Patch for the openvpn rootfile
Hello Michael, i have modified now also some other things in the openvpn/lfs. I added a new directory under /usr/lib named openvpn. This is the plugin directory, i thought this might be a good idea cause OpenVPN have a lot of plugins. Also the existing plugins down-root.so and auth-pam.so are copied to this directory. The next thing i created a scripts folder under /var/ipfire/ovpn. The new --enable-password-save function can requires scripts, also the down-root.so works with an up/down script, so for a better overview i created this directory with root.root 755 . As mentioned above i used the new openvpn-2.2.2.tar.gz from http://openvpn.net/index.php/download.html where the change log for 2.2.2 can also be overviewed The patch for openvpn/lfs and the rootfile are attached Best regards Erik If have seen there is one line in the LFS file too much chmod 755 /usr/lib/openvpn one time is enough :-) Erik So why did the path of the plugins change? I have copied them in there cause of a previouse thread http://forum.ipfire.org/index.php/topic,4521.msg33496.html#msg33496 where we spoke also about that. I think this path is also in other distributions well known. I really like the plugins in /usr. That's where they should have been in the frist place. But we need to check if it does not break anything. I will merge these patches as soon as possible. http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff;h=eb12fca108f40e1b66f05c2291565530050a7724 Please test. Hi Michael, i have compiled it now also with your modified lfs file and after a few tests it works quiet round for me. Released with Core Update 58. |