Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 60816 - strongswan-2.1.5 for sparc masked
Summary: strongswan-2.1.5 for sparc masked
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: Sparc Linux
: High enhancement
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-18 13:32 UTC by Kyle Orozco
Modified: 2006-01-15 11:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Orozco 2004-08-18 13:32:40 UTC
Have been using Strongswan 2.1.5 successfully on Gentoo Linux 2004.2 for sparc with the gentoo-dev-sources-2.6.7-r11. It is a VPN tunnel to a SonicWALL firewall using AES-192 bit encryption and a Pre-Shared Key. I have tried using this with the gentoo-sparc-sources but it seems the kernel didn't patch properly because pluto wouldn't start afterwards. As a side note, we run 7 servers and 2 laptops with Gentoo Linux using the 2.6 Kernel and three of these are sparc machines, all running well and VERY stable with 2.6 so 2.4 sources not working for strongswan isn't really an issue, at least for us. Would be nice if others could verify this as well to remove the package mask for this ebuild. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




This is the first time I use this so please understand if I didn't fill it out
correctly and send me a brief message on how to improve if you see fit.
Comment 1 Jay Pfeifer (RETIRED) gentoo-dev 2004-08-18 14:21:28 UTC
One thing to note.. all 3 USE flags need to be tested (which means unmasking the opensc stuff after testing) before this can be unmasked.
Comment 2 Jason Wever (RETIRED) gentoo-dev 2005-06-19 15:59:18 UTC
... 6 years later ...

So I tried testing this today on some 2.6 ~sparc boxes, and it seems that the
awk code in the shell scripts in strongswan-2.4.1 don't agree with
gawk-3.1.4-r4.  I also had this issue on an ~amd64 box.  All 4 boxes I tested (3
~sparc and 1 ~amd64) were running the latest and greatest versions of
everything.  The error I get when starting this via the init.d script is;

 * Starting IPSEC ... ...
awk: cmd. line:104:     default[""] = ""
awk: cmd. line:104:     ^ syntax error
awk: cmd. line:324:     } else if (search in default)
awk: cmd. line:324:                          ^ syntax error
awk: cmd. line:328:                     default[search] = rest
awk: cmd. line:328:                     ^ syntax error
awk: cmd. line:329:             else
awk: cmd. line:329:             ^ syntax error
awk: cmd. line:390:     if (name in default)
awk: cmd. line:390:                 ^ syntax error
awk: cmd. line:392:     default[name] = value
awk: cmd. line:392:     ^ syntax error
awk: cmd. line:413:             for (name in default)
awk: cmd. line:413:                          ^ syntax error
awk: cmd. line:415:                             output(o_parm, name, default[name])
awk: cmd. line:415:                                                  ^ syntax error
awk: cmd. line:417:             if (default[search] in wanted)
awk: cmd. line:417:                 ^ syntax error
ipsec_setup: ipsec setup: /usr/lib/ipsec/_realsetup must be called by
ipsec_setup                                                                    
    [ !! ]

It also appears we are a few versions behind on strongswan, so this may be
addressed in newer versions.
Comment 3 Jay Pfeifer (RETIRED) gentoo-dev 2005-11-19 13:07:13 UTC
Weeve, try 2.5.7 (the awk fixes were in before this) but it should not give
those issues.
Comment 4 Jason Wever (RETIRED) gentoo-dev 2006-01-15 11:29:09 UTC
Everything looks good now, so ~sparc keyword added.  Thanks for the bug report :)