Package Details: cisco-anyconnect 4.10.05111-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: labaman
Last Packager: labaman
Votes: 10
Popularity: 0.006200
First Submitted: 2019-03-28 09:19 (UTC)
Last Updated: 2022-11-06 14:26 (UTC)

Pinned Comments

K900 commented on 2019-04-03 13:02 (UTC)

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 .. 9 Next › Last »

ariel.miculas commented on 2022-10-06 12:59 (UTC) (edited on 2022-10-06 12:59 (UTC) by ariel.miculas)

diff for 5.0.00556 (assuming you have the tarball at $HOME/work/cisco-secure-client-linux64-5.0.00556-predeploy-k9.tar.gz)

diff --git a/.gitignore b/.gitignore
index 5b9d83c..812ac8d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,6 @@
 pkg/
 src/
 *.pkg.tar*
-anyconnect-linux64-*-core-vpn-webdeploy-k9.sh
-anyconnect-linux64-*-predeploy-k9.tar.gz
-anyconnect-linux64-*-webdeploy-k9.pkg
+cisco-secure-client-linux64-*-core-vpn-webdeploy-k9.sh
+cisco-secure-client-linux64-*-predeploy-k9.tar.gz
+cisco-secure-client-linux64-*-webdeploy-k9.pkg
diff --git a/PKGBUILD b/PKGBUILD
index be31824..ffb44ab 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
 # Contributor: Michael Duncan Hammond <mhammond9@radford.edu>


-pkgname=cisco-anyconnect
-pkgver=4.10.04065
+pkgname=cisco-secureclient
+pkgver=5.0.00556
 pkgrel=1
 pkgdesc='Cisco AnyConnect Secure Mobility Client'
 url='https://www.cisco.com/c/en/us/products/security/anyconnect-secure-mobility-client/index.html'
@@ -23,21 +23,21 @@ options=('!strip')

 # you will have to obtain the installer yourself - it's not available publicly
 source=(
-"anyconnect-linux64-4.10.04065-predeploy-k9.tar.gz::https://uci.service-now.com/sys_attachment.do?sys_id=1507c0cc1b200dd44d61baeedc4bcbe9"
-"${pkgname}.sh"
+"cisco-secure-client-linux64-5.0.00556-predeploy-k9.tar.gz::file:///$HOME/work/cisco-secure-client-linux64-5.0.00556-predeploy-k9.tar.gz"
+"${pkgname}.sh"
 "AnyConnectLocalPolicy.xml"
 )

-sha256sums=('c88c32c39c9160aa76cb54a51871dda963c3afbbf427a1514a15e5199dd9b56a'
-            '200ab27674568ac32b939c02bba051f90cf59d6ca087746a1e54c5a7ac207dbc'
+sha256sums=('0e755bad9525bee90215786db2c2d099ad441921d7bf3b758b811302483b17f5'
+            'd29746d526ae87d011a1b988531d72a1b0da018872f22b3dd8ebd2fc2082bda2'
             'b7c65a236e671d3eb527a3377e22b66018c450d726f71fa6344530a75255dac7')

 package() {
-    cd "${srcdir}/anyconnect-linux64-${pkgver}/vpn"
+    cd "${srcdir}/cisco-secure-client-linux64-${pkgver}/vpn"

     # install binaries
     for binary in "vpnagentd" "vpn" "vpndownloader" "vpndownloader-cli" "manifesttool_vpn" "acinstallhelper" "vpnui" "acwebhelper" "load_tun.sh"; do
-        install -Dm755 ${binary} "${pkgdir}/opt/cisco/anyconnect/bin/${binary}"
+        install -Dm755 ${binary} "${pkgdir}/opt/cisco/secureclient/bin/${binary}"
     done

     # install libs
@@ -46,36 +46,36 @@ package() {
         "cfom.so" "libboost_date_time.so" "libboost_filesystem.so" "libboost_regex.so" "libboost_system.so" \
         "libboost_thread.so" "libboost_signals.so" "libboost_chrono.so" \
         "libaccurl.so.4.7.0"; do
-        install -Dm755 ${lib} "${pkgdir}/opt/cisco/anyconnect/lib/${lib}"
+        install -Dm755 ${lib} "${pkgdir}/opt/cisco/secureclient/lib/${lib}"
     done
-#     rm -rf ${pkgdir}/opt/cisco/anyconnect/lib/libboost*
+#     rm -rf ${pkgdir}/opt/cisco/secureclient/lib/libboost*

     # the installer copies all the other symlinks, but creates this one
     # for some reason so let's just create it ourselves
-    ln -s /opt/cisco/anyconnect/lib/libaccurl.so.4.7.0 "${pkgdir}/opt/cisco/anyconnect/lib/libaccurl.so.4"
+    ln -s /opt/cisco/secureclient/lib/libaccurl.so.4.7.0 "${pkgdir}/opt/cisco/secureclient/lib/libaccurl.so.4"

     # install plugins
     # we intentionally don't install the telemetry plugin here
     # because it tries to write to /opt and we don't want that
     for plugin in "libacwebhelper.so" "libvpnipsec.so"; do
-        install -Dm755 ${plugin} "${pkgdir}/opt/cisco/anyconnect/bin/plugins/${plugin}"
+        install -Dm755 ${plugin} "${pkgdir}/opt/cisco/secureclient/bin/plugins/${plugin}"
     done

-    cp -R resources "${pkgdir}/opt/cisco/anyconnect/resources"
+    cp -R resources "${pkgdir}/opt/cisco/secureclient/resources"

     # install some misc stuff
-    install -Dm444 AnyConnectProfile.xsd "${pkgdir}/opt/cisco/anyconnect/profile/AnyConnectProfile.xsd"
+    install -Dm444 AnyConnectProfile.xsd "${pkgdir}/opt/cisco/secureclient/profile/AnyConnectProfile.xsd"

     for file in "ACManifestVPN.xml" "update.txt" "AnyConnectLocalPolicy.xsd"; do
-        install -Dm444 ${file} "${pkgdir}/opt/cisco/anyconnect/${file}"
+        install -Dm444 ${file} "${pkgdir}/opt/cisco/secureclient/${file}"
     done

     # install desktop file for vpnui
-    install -Dm644 resources/vpnui48.png "${pkgdir}/usr/share/icons/hicolor/48x48/apps/cisco-anyconnect.png"
-    install -Dm644 resources/vpnui128.png "${pkgdir}/usr/share/icons/hicolor/128x128/apps/cisco-anyconnect.png"
+    install -Dm644 resources/vpnui48.png "${pkgdir}/usr/share/icons/hicolor/48x48/apps/cisco-secureclient.png"
+    install -Dm644 resources/vpnui128.png "${pkgdir}/usr/share/icons/hicolor/128x128/apps/cisco-secureclient.png"

-    sed -i "s|^Exec=.*|Exec=${pkgname}|g" com.cisco.anyconnect.gui.desktop
-    install -Dm644 com.cisco.anyconnect.gui.desktop "${pkgdir}/usr/share/applications/cisco-anyconnect.desktop"
+    sed -i "s|^Exec=.*|Exec=${pkgname}|g" com.cisco.secureclient.gui.desktop
+    install -Dm644 com.cisco.secureclient.gui.desktop "${pkgdir}/usr/share/applications/cisco-secureclient.desktop"

     # install license
     for license in "license.txt" "OpenSource.html"; do
@@ -102,5 +102,5 @@ package() {
     #
     # this may break some really quirky setups that require downloading files from the server,
     # but there's no other way around it that I could find
-    install -Dm644 "${srcdir}/AnyConnectLocalPolicy.xml" "${pkgdir}/opt/cisco/anyconnect/AnyConnectLocalPolicy.xml"
+    install -Dm644 "${srcdir}/AnyConnectLocalPolicy.xml" "${pkgdir}/opt/cisco/secureclient/AnyConnectLocalPolicy.xml"
 }
diff --git a/anyconnect.csh b/anyconnect.csh
deleted file mode 100644
index 5e26081..0000000
--- a/anyconnect.csh
+++ /dev/null
@@ -1 +0,0 @@
-setenv PATH "${PATH}:/opt/cisco/anyconnect/bin"
diff --git a/cisco-anyconnect.sh b/cisco-anyconnect.sh
deleted file mode 100644
index 0bea925..0000000
--- a/cisco-anyconnect.sh
+++ /dev/null
@@ -1,4 +0,0 @@
-#!/usr/bin/bash
-export LD_LIBRARY_PATH=/opt/cisco/anyconnect/lib:$LD_LIBRARY_PATH
-cd /opt/cisco/anyconnect/bin
-./vpnui
diff --git a/cisco-secureclient.sh b/cisco-secureclient.sh
new file mode 100644
index 0000000..f5e3150
--- /dev/null
+++ b/cisco-secureclient.sh
@@ -0,0 +1,4 @@
+#!/usr/bin/bash
+export LD_LIBRARY_PATH=/opt/cisco/secureclient/lib:$LD_LIBRARY_PATH
+cd /opt/cisco/secureclient/bin
+./vpnui
diff --git a/secureclient.csh b/secureclient.csh
new file mode 100644
index 0000000..8213192
--- /dev/null
+++ b/secureclient.csh
@@ -0,0 +1 @@
+setenv PATH "${PATH}:/opt/cisco/secureclient/bin"
diff --git a/vpnagentd.service b/vpnagentd.service
index cc360f5..1901824 100644
--- a/vpnagentd.service
+++ b/vpnagentd.service
@@ -3,7 +3,7 @@ Description=Cisco AnyConnect
 After=network.target

 [Service]
-ExecStart=/opt/cisco/anyconnect/bin/vpnagentd -d
+ExecStart=/opt/cisco/secureclient/bin/vpnagentd -d

 [Install]
 WantedBy=multi-user.target

elbrus commented on 2022-04-25 23:46 (UTC)

I could install the package using a newer installer (4.10.03104) and update the hash and libaccurl.so.4.7.0. However, I cannot launch the application via /opt/cisco/anyconnect/bin/vpnui (sudo doesn't help).

Instead, I can install via sudo bash anyconnet-linux64-*-k9.sh and it works.

jtbwatson commented on 2022-04-24 19:08 (UTC) (edited on 2022-05-13 18:30 (UTC) by jtbwatson)

Got it to install via a mixture of chokfulla's patch and alienzj's comments

edit: on Manjaro I had to do what PocketSam suggested: run sudo /opt/cisco/anyconnect/bin/vpnagentd. not sure why this wasn't required when doing it on a pure Arch.

chokfulla commented on 2022-04-21 03:38 (UTC)

Patch for 4.10.05095. Tested with tarball.

4,5c4,5
< _source="installer"   # if installing from .sh installer
< # _source="tarball"     # if installing from .tar.gz package
---
> # _source="installer"   # if installing from .sh installer
> _source="tarball"     # if installing from .tar.gz package
9c9
< pkgver=4.9.05042
---
> pkgver=4.10.05095
43c43
<     _filehash="934f3a06ecc922b1dda719d2c5b7ab7aaf973e10b574d78ecccab26da9982882"
---
>     _filehash="293cf164b75abe068a61b33584a43daf621c08cda4ac5b42f9727d632d2aa36b"
89c89
<         "libaccurl.so.4.5.0"; do
---
>         "libaccurl.so.4.7.0" "libacdownloader.so" "libboost_regex.so"; do
95c95
<     ln -s /opt/cisco/anyconnect/lib/libaccurl.so.4.5.0 "${pkgdir}/opt/cisco/anyconnect/lib/libaccurl.so.4"
---
>     ln -s /opt/cisco/anyconnect/lib/libaccurl.so.4.7.0 "${pkgdir}/opt/cisco/anyconnect/lib/libaccurl.so.4"
118,119c118,119
<     echo "Categories=Network" >> cisco-anyconnect.desktop
<     install -Dm644 cisco-anyconnect.desktop "${pkgdir}/usr/share/applications/cisco-anyconnect.desktop"
---
>     echo "Categories=Network" >> com.cisco.anyconnect.gui.desktop
>     install -Dm644 com.cisco.anyconnect.gui.desktop "${pkgdir}/usr/share/applications/com.cisco.anyconnect.gui.desktop"
141a142
>     install -Dm644 DigiCertAssuredIDRootCA.pem "${pkgdir}/opt/.cisco/certificates/ca/DigiCertAssuredIDRootCA.pem"

alienzj commented on 2022-04-08 10:58 (UTC)

Based on the cosandr's suggestion, after updating the PKGBUILD, I can use sudo to run vpnui, great ! Thank all !

alienzj commented on 2022-04-08 10:56 (UTC)

For anyconnect-linux64-4.10.05085-predeploy-k9.tar.gz, I found the /opt/cisco/anyconnect/bin/vpnui need sudo to run it.

PocketSam commented on 2022-02-21 04:56 (UTC)

For some reason I've had to run sudo /opt/cisco/anyconnect/bin/vpnagentd to run Cisco Anyconnect GUI. If I didn't do that it closed after few seconds. Need to investigate if we need to create systemd unit file.

Ekaradon commented on 2022-02-09 08:29 (UTC)

Hello,

I just installed it, but when I try to launch it, it fails with the following critical error:

(Cisco AnyConnect Secure Mobility Client:6126): Gtk-CRITICAL **: 09:23:01.264: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed

Is there a way around this that someone knows? Maybe it's the error 0BAD-C0DE was talking about (because I'm using KDE).

K900 commented on 2021-11-19 15:41 (UTC)

What do you mean by "simply doesn't work", exactly?