Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: yoshi314 on January 28, 2010, 01:36:45 PM

Title: vpnc appears to be broken
Post by: yoshi314 on January 28, 2010, 01:36:45 PM
after installing vpnc i wanted to convert my cisco keyfile, just to try it out.

but what i get is :
Code: [Select]
root@box:/home/tc# pcf2vpnc
/bin/sh: pcf2vpnc: not found

root@box:/home/tc# which pcf2vpnc
/usr/local/bin/pcf2vpnc

root@box:/home/tc# /usr/local/bin/pcf2vpnc
/bin/sh: /usr/local/bin/pcf2vpnc: not found

root@box:/home/tc# ls -l /usr/local/bin/pcf2vpnc
lrwxrwxrwx 1 root staff 39 Jan 28 18:31 /usr/local/bin/pcf2vpnc -> /tmp/tcloop/vpnc/usr/localbin/pcf2vpnc

/tmp/tcloop/vpnc/usr/local/bin/pcf2vpnc
/bin/sh: /tmp/tcloop/vpnc/usr/local/bin/pcf2vpnc: not found
what's that supposed to mean?
Title: Re: vpnc appears to be broken
Post by: curaga on January 28, 2010, 03:12:16 PM
Maybe the interpreter isn't found?

edit: confirmed, it's a perl script. Added perl to deps.
Title: Re: vpnc appears to be broken
Post by: yoshi314 on January 28, 2010, 03:46:40 PM
great, i'll test this in a few minutes.

it seems to work. i consider it fixed :]
Title: Re: vpnc appears to be broken
Post by: gutmensch on January 29, 2010, 09:16:49 AM
Intentionally I didn't add (the "big") perl extension to the deps because it's more (if at all) a soft dep... you can always create the needed .conf from a cisco .pcf without using the perl script by hand (it's ascii stuff), you just need to decrypt the group password, which you can do by googling for a web version of the script ;) and tiny vpnc itself doesn't need perl at all...

Maybe this can be turned into a real clean soft dep if tc has got the feature some day ;)


Title: Re: vpnc appears to be broken
Post by: curaga on January 29, 2010, 10:16:53 AM
A mention in the info file is what we've used for stuff like this..
Title: Re: vpnc appears to be broken
Post by: gutmensch on January 29, 2010, 11:27:33 AM
sorry, just forgot it back then... will update and clean up the extension anyway... there are a few misspelled things too ;)
Title: Re: vpnc appears to be broken
Post by: gutmensch on February 03, 2010, 08:46:18 AM
update done, added description to info file as well.