ok, thanks.
The problem, unfortunately still remanis, I'll explain what is it:
the packages of vpnc are not compiled with the ssl certification (such as openssl), and I need it (as almost everybody) with ssl. Then I need to compile the source of vpnc modifying "Makefile" and uncomment the third and fourth line of:
Code:
# Comment this in to obtain a binary with certificate support which is
# GPL incompliant though.
#OPENSSL_GPL_VIOLATION = -DOPENSSL_GPL_VIOLATION
#OPENSSLLIBS = -lcrypto
obtaining:
Code:
# Comment this in to obtain a binary with certificate support which is
# GPL incompliant though.
OPENSSL_GPL_VIOLATION = -DOPENSSL_GPL_VIOLATION
OPENSSLLIBS = -lcrypto
Then "make" gives me the last output and:
Code:
[giuliopepe@acer vpnc-0.5.3]$ sudo make install
install -d /etc/vpnc /usr/local/bin /usr/local/sbin /usr/local/share/man/man1 /usr/local/share/man/man8 /usr/local/share/doc/vpnc
if [ "`uname -s | cut -c-6`" = "CYGWIN" ]; then \
install vpnc-script-win /etc/vpnc/vpnc-script; \
install vpnc-script-win.js /etc/vpnc; \
else \
install vpnc-script /etc/vpnc; \
fi
install -m600 vpnc.conf /etc/vpnc/default.conf
install -m755 vpnc-disconnect /usr/local/sbin
install -m755 pcf2vpnc /usr/local/bin
install -m644 vpnc.8 /usr/local/share/man/man8
install -m644 pcf2vpnc.1 /usr/local/share/man/man1
install -m644 cisco-decrypt.1 /usr/local/share/man/man1
install -m644 COPYING /usr/local/share/doc/vpnc
install -m755 vpnc /usr/local/sbin
install -m755 cisco-decrypt /usr/local/bin
The result is:
Code:
[giuliopepe@acer vpnc-0.5.3]$ sudo vpnc
vpnc was built without openssl: Can't do hybrid or cert mode.
Where is the mistake?
---------- Post added at 02:59 PM CST ---------- Previous post was at 02:41 PM CST ----------
The mistake is me!
I forgot to remove the last installation (without ssl) and with "sudo vpcn" the old installation was starting.
I removed that and
Code:
[giuliopepe@acer vpnc-0.5.3]$ sudo /usr/local/sbin/vpnc
Enter username for...
Hurray! Thank you leigh for your help. Very kind
Very last question: how do I remove the installation? Do I need to remove the files singularly, or there is a command?