Thanks manuelino. I think your approach may be better. I'll have to take a closer look tonight. Generally, disabling compiler warnings like I did is more of a "bandaid" than a "fix".
Search Criteria
Package Details: ike 2.2.1-9
Package Actions
Git Clone URL: | https://aur.archlinux.org/ike.git (read-only, click to copy) |
---|---|
Package Base: | ike |
Description: | Shrew Soft VPN client for Linux |
Upstream URL: | http://www.shrew.net |
Licenses: | BSD |
Submitter: | tmhedberg |
Maintainer: | rockybulwinkle |
Last Packager: | rockybulwinkle |
Votes: | 27 |
Popularity: | 0.000000 |
First Submitted: | 2011-12-06 17:01 (UTC) |
Last Updated: | 2024-07-26 16:26 (UTC) |
Dependencies (5)
- libedit
- ncurses (ncurses-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- cmake (cmake-gitAUR) (make)
- openldap (optional)
Required by (2)
Sources (7)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 .. 10 Next › Last »
rockybulwinkle commented on 2022-11-08 21:06 (UTC)
manuelino commented on 2022-11-08 20:52 (UTC)
Dumped to pastebin.
manuelino commented on 2022-11-08 20:49 (UTC)
Aaaand... I messed up the Markdown formatting.
manuelino commented on 2022-11-08 20:47 (UTC)
Just tested a clean build in a clean VM: builds and works.
Meanwhile, I came up with my own patch around the issue. I'll leave it here even if it's already fixed because wasting code is bad ;)
It takes a different approach to the problem:
- depend on
openssl-1.1
rather than onopenssl
inPKGBUILD
, to avoid compilation warnings and errors; -
apply the following patch in
prepare()
, forcing CMake to look into appropriate folders so that it finds the correct version of headers and libraries.--- a/CMakeLists.txt 2022-11-07 15:58:01.871819791 +0100 +++ b/CMakeLists.txt 2022-11-07 15:46:44.599849990 +0100 @@ -42,11 +42,13 @@ set( SEARCH_INC /usr/local/include + /usr/include/openssl-1.1 /usr/include )
set( SEARCH_LIB /usr/local/lib + /usr/lib/openssl-1.1 /usr/lib )
set( @@ -258,6 +260,7 @@ find_path( PATH_INC_CRYPTO NAMES "openssl/evp.h" + NO_CMAKE_SYSTEM_PATH PATHS ${SEARCH_INC} )
if( NOT PATH_INC_CRYPTO ) @@ -266,11 +269,15 @@ FATAL_ERROR "Unable to locate openssl crypto include files" )
+else() + include_directories(BEFORE "${PATH_INC_CRYPTO}") + endif( NOT PATH_INC_CRYPTO )
find_library( PATH_LIB_CRYPTO NAMES "crypto" + NO_CMAKE_SYSTEM_PATH PATHS ${SEARCH_LIB} )
if( NOT PATH_LIB_CRYPTO ) @@ -279,6 +286,10 @@ FATAL_ERROR "Unable to locate openssl crypto library file" )
+else() + cmake_path(REMOVE_FILENAME PATH_LIB_CRYPTO) + link_directories(BEFORE "${PATH_LIB_CRYPTO}") + endif( NOT PATH_LIB_CRYPTO )
find_path(
Yours is definitely shorter!
Thanks for your efforts.
rockybulwinkle commented on 2022-11-08 18:40 (UTC)
Should be working now. You may need to do a clean build.
rockybulwinkle commented on 2022-11-08 18:09 (UTC)
Nevermind, rebooted after upgrading my system and it's working now. I'll push an update soon.
rockybulwinkle commented on 2022-11-08 18:07 (UTC)
@manuelino I'm running into another problem trying to recompile with openssl 1.1.
Initially it complained about casting a const to a non-const. I'm working around that right now by adding -fpermissive.
When built though, it runs into an "internal error" when connected.
Still debugging. I'm open to patches.
manuelino commented on 2022-11-07 20:31 (UTC)
Hello. Am I the only one who is experiencing issues with ikec
/iked
and openssl?
After today's upgrade, the VPN would no longer start until I installed openssl-1.1 alongside regular openssl.
Recompilation also seems to fail, since openssl-1.1 headers and libraries are not found where the build systems looks, and the latest openssl probably introduces some incompatible changes.
rockybulwinkle commented on 2022-10-17 17:00 (UTC)
@jvybihal it should be correct now. Thanks for pointing out the discrepancy!
jvybihal commented on 2022-10-14 10:03 (UTC)
The .SRCINFO has pkgrel = 5
, PKGBUILD
is pkgrel=6
. Can this be please corrected?
Pinned Comments
rockybulwinkle commented on 2020-12-20 18:30 (UTC)
I took ownership of this package and fixed the build issue with the parser_class_name as figue suggests.
figue commented on 2019-02-15 20:17 (UTC) (edited on 2019-02-15 20:18 (UTC) by figue)
Ok, shrew-vpn-client updated. Please install that package to have QT GUI.
I can't test new ike package, because IT guys gave me a new laptop with W10, and on a virtual machine I can't make ike work... Maybe next week I'll take a closer look. Anyway, QT GUI works and I can edit my profiles.
For the people that already have a profile, you can bring it up in commandline:
or use the GUI :P
timsat commented on 2019-02-14 20:01 (UTC) (edited on 2019-02-15 19:38 (UTC) by timsat)
ike updated to 2.2.1-5
Any feedback would be appreciated, thanks!