Package Details: cisco-anyconnect 4.9.05042-1

Git Clone URL: https://aur.archlinux.org/cisco-anyconnect.git (read-only, click to copy)
Package Base: cisco-anyconnect
Description: Cisco AnyConnect Secure Mobility Client
Upstream URL: https://www.cisco.com/c/en/us/products/security/anyconnect-secure-mobility-client/index.html
Licenses: custom
Submitter: K900
Maintainer: K900
Last Packager: K900
Votes: 9
Popularity: 0.21
First Submitted: 2019-03-28 09:19
Last Updated: 2021-01-14 15:36

Pinned Comments

K900 commented on 2019-04-03 13:02

As the comment in the PKGBUILD says (you've read it, right? ;) ), Cisco does not provide public downloads for this, so you have to obtain the installer yourself either through your own Cisco account or through your company's.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

cosandr commented on 2021-07-07 18:14

Here's my patch for 4.10.01075. I've only tested it with the tarball, I assume it would work with the rest if you update the hash.

diff --git a/PKGBUILD b/PKGBUILD
index de3199e..a23c1c3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@ _source="installer"   # if installing from .sh installer
 # _source="pkg"         # if installing from .pkg package

 pkgname=cisco-anyconnect
-pkgver=4.9.05042
+pkgver=4.10.01075
 pkgrel=1
 pkgdesc='Cisco AnyConnect Secure Mobility Client'
 arch=('x86_64')
@@ -40,7 +40,7 @@ unpack_installer() {

 if [[ "${_source}" == "tarball" ]]; then
     _filename="anyconnect-linux64-${pkgver}-predeploy-k9.tar.gz"
-    _filehash="934f3a06ecc922b1dda719d2c5b7ab7aaf973e10b574d78ecccab26da9982882"
+    _filehash="17e0c960b84051ba5373080b0d5d1f08526b3a2bfa6dce0a48a8bc61defb84e3"

     prepare() {
         tar xf "$_filename"
@@ -86,7 +86,7 @@ package() {
         "libvpnapi.so" "libacruntime.so" "libacciscossl.so" "libacciscocrypto.so" \
         "cfom.so" "libboost_date_time.so" "libboost_filesystem.so" "libboost_system.so" \
         "libboost_thread.so" "libboost_signals.so" "libboost_chrono.so" \
-        "libaccurl.so.4.5.0"; do
+        "libaccurl.so.4.5.0" "libacdownloader.so" "libboost_regex.so"; do
         install -Dm755 ${lib} "${pkgdir}/opt/cisco/anyconnect/lib/${lib}"
     done

@@ -139,6 +139,8 @@ package() {

     # then, install Cisco's, because it doesn't actually trace to any of the trusted roots we have
     # (thanks, VeriSign)
+    install -Dm644 DigiCertAssuredIDRootCA.pem "${pkgdir}/opt/.cisco/certificates/ca/DigiCertAssuredIDRootCA.pem"
+
     install -Dm644 VeriSignClass3PublicPrimaryCertificationAuthority-G5.pem "${pkgdir}/opt/.cisco/certificates/ca/VeriSignClass3PublicPrimaryCertificationAuthority-G5.pem"

     # install custom policy to disable auto updates

K900 commented on 2021-04-23 21:14

You also need to update the hashes to match. Run makepkg -g to get the correct hash. Also, literally of this is described on the wiki.

Technical commented on 2021-04-23 21:12

It failed in the sha256sums test. File anyconnect-linux64-4.9.06037-core-vpn-webdeploy-k9.sh ... FAILED

K900 commented on 2021-04-23 21:07

The version you're using doesn't match the one specified in the PKGBUILD. Edit the PKGBUILD and change the version to the exact one you have.

Technical commented on 2021-04-23 21:06

anyconnect-linux64-4.9.06037-core-vpn-webdeploy-k9.sh

K900 commented on 2021-04-23 21:06

Can you post the exact filename of the download you have?

Technical commented on 2021-04-23 21:04

I've cloned the repository, put the .sh file in the same folder of PKGBUILD and run makepkg. It still tries to download the script:

curl: (3) URL using bad/illegal format or missing URL ==> ERROR: Fail to download file://anyconnect-linux64-4.9.05042-core-vpn-webdeploy-k9.sh Aborting...

K900 commented on 2021-04-23 20:57

Stop trying to make this work with an AUR helper you don't fully understand. Just clone the repository, put the installer file next to the PKGBUILD and run makepkg.

Technical commented on 2021-04-23 20:56

Thank you K900. Please, bear with me. If tried to copy the .sh file I've downloaded from my account and copy to what it should be the $scrdir of AUR compilations /var/tmp and tested any other subdirectory on this route /pamac-build-technical/cisco-anyconnect/src

I've tested both the full file name and renaming it to just anyconnect.sh. For sure I'm doing something silly and wrong. Can you help me?

K900 commented on 2021-04-23 19:33

@Technical

You're not supposed to be able to download the files through the PKGBUILD, as they're not legally redistributable. You need to bring your own installer.

When you have the script, you're not supposed to run the script - put it in your $srcdir and build the package normally.

Also, if you were to actually build the package, you'd see that there are optional dependencies on gtk2 and glib2, marked as "required by vpnui".