Package Details: pulse-secure 9.1r3.0_b85-1

Git Clone URL: https://aur.archlinux.org/pulse-secure.git (read-only, click to copy)
Package Base: pulse-secure
Description: Pulse Connect Secure (PCS) Client
Upstream URL: https://www.pulsesecure.net/
Licenses: custom
Conflicts: pulse-connect-secure
Submitter: yan12125
Maintainer: chiwanpark
Last Packager: chiwanpark
Votes: 17
Popularity: 0.083032
First Submitted: 2017-09-02 07:40
Last Updated: 2019-11-17 05:52

Pinned Comments

yan12125 commented on 2018-10-30 11:41

You need to rebuild webkitgtk if you got ICU related errors.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

MK1166 commented on 2017-12-12 17:20

Hi, I´m trying to run the pulseUi on a fresh ArchLinux installation. It fails with /usr/local/pulse/pulseUi: error while loading shared libraries: libwebkitgtk-3.0.so.0: cannot open shared object file: No such file or directory I don´t know where i can find this lib. Can anybody help me, please?. Thanks a lot.

pd5rm commented on 2017-12-01 23:54

I had some issues with this, so I wrote up a patch that makes it work for me.

1) Used Debian version instead of CentOS. Webkitgtk2 uses GTK 1
for Debian vs using GTK 3 (not available as a dep) for CentOS.
2) Made webkitgtk a real dependency since it's needed now because
of previous step.
3) Added icu59 libs (pulled from archive, not ideal but it works)
4) Fixup related LD_LIBRARY_PATHs because of icu59 dep.
5) Fixup desktop file.

The upstream pulse packages (deb/rpm) are just wrappers around
shell scripts that do the installing. They also will rm -rf
/usr/local if used. ;-(
---
PKGBUILD | 27 +++++++++++++++++++++------
pulseUi.sh | 2 +-
2 files changed, 22 insertions(+), 7 deletions(-)

diff --git a/PKGBUILD b/PKGBUILD
index fdd2160..8826e96 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,26 +2,32 @@

pkgname=pulse-secure
pkgver=5.3r3.0
-pkgrel=3
+pkgrel=4
pkgdesc='Pulse Connect Secure (PCS) Client'
arch=(x86_64)
license=(custom)
url='https://www.pulsesecure.net/'
depends=(gcc-libs libgnome-keyring)
source=("https://trial.pulsesecure.net/clients/ps-pulse-linux-$pkgver-b1021-centos-rhel-64-bit-installer.rpm"
+ "https://archive.archlinux.org/packages/i/icu/icu-59.1-2-x86_64.pkg.tar.xz"
pulseUi.sh
EULA.txt)
md5sums=('4cbe64953952d9ffdeaa4ffe2fc92a20'
- 'd81155461e2666c2b9d669c1b76f85fe'
+ '049ca9bf777280536b3b75861e1512eb'
+ '44bb6dd99f201b84ed5e30aae17bc8f9'
'261848a28201e5386ec4bf587473a48b')
-optdepends=('webkitgtk: for pulseUi frontend'
- 'psmisc: for pulsesvc -K')
+depends=('webkitgtk2')
+optdepends=('psmisc: for pulsesvc -K')
conflicts=(pulse-connect-secure)

prepare() {
mkdir -p pulse && pushd pulse
tar -zxvf ../usr/local/pulse/pulse.tgz
popd
+
+ # Extact libicu59 dependency no longer available in Arch current
+ mkdir -p libicu59
+ cp usr/lib/libicu* libicu59
}

package() {
@@ -33,8 +39,15 @@ package() {
# Skip PulseClient.sh - seems it's not useful here
install -Dm755 pulse/{pulsediag,pulseutil} "${pkgdir}"/usr/local/pulse/
install -Dm4755 pulse/pulsesvc "${pkgdir}"/usr/local/pulse/
- install -Dm755 pulse/pulseUi_centos_7_x86_64 "${pkgdir}"/usr/local/pulse/pulseUi
- install -Dm755 pulse/libpulseui.so_centos_7_x86_64 "${pkgdir}"/usr/local/pulse/libpulseui.so
+ # The Ubuntu version has depedency on WebGTK 2 which is easier to deal with than CentOS build.
+ install -Dm755 pulse/pulseUi_Ubuntu_16_x86_64 "${pkgdir}"/usr/local/pulse/pulseUi
+ install -Dm755 pulse/libpulseui.so_Ubuntu_16_x86_64 "${pkgdir}"/usr/local/pulse/libpulseui.so
+
+ # Fix desktop file libicu
+ sed -i 's|$LD_LIBRARY_PATH|/usr/local/pulse/libicu59:$LD_LIBRARY_PATH|' pulse/pulseUi.desktop
+ # Fix desktop file version (desktop-file-validate complains about it)
+ sed -i 's|^version|Version|' pulse/pulseUi.desktop
+
install -Dm644 pulse/pulseUi.desktop "${pkgdir}"/usr/share/applications/

# Wrappers & symlinks
@@ -43,5 +56,7 @@ package() {

cp -dr --no-preserve=ownership pulse/html "${pkgdir}"/usr/local/pulse/html

+ cp -dr --no-preserve=ownership libicu59 "${pkgdir}"/usr/local/pulse
+
install -Dm644 EULA.txt "${pkgdir}"/usr/share/licenses/$pkgname/
}
diff --git a/pulseUi.sh b/pulseUi.sh
index ed7eced..d9515ed 100644
--- a/pulseUi.sh
+++ b/pulseUi.sh
@@ -1,4 +1,4 @@
#!/bin/sh

-export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pulse
+export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/pulse/libicu59:/usr/local/pulse
exec /usr/local/pulse/pulseUi
--
2.15.1

jsimonetti commented on 2017-11-21 13:02

@patrick.luehne
This is not really the fault of this package. You need to also rebuilt webkitgtk, since that is actually the package with the icu dependency.

patrick.luehne commented on 2017-11-21 11:31

@yan12125: This package’s pulseUi command doesn’t work currently, because icu got updated earlier this month to version 60, but the pulseUi command requires the so files from version 59. This results in loading errors when attempting to start pulseUi.

Fortunately, there is an icu59 package now in order to install older so files. For this reason, I’d suggest exchanging the icu dependency with icu59 until Pulse Secure sees a new release :).

csmiet commented on 2017-11-17 20:37

Hi,

Thanks for packaging! Could you include the installation of PulseClient.sh if you ever update the PKGBUILD? My institute uses it for cli-based logon to the vpn.

jjfawkes commented on 2017-11-15 05:30

Hi,
I installed lib32-webkitgtk, but when I run pulseUi from terminal, I get the same error: "error while loading shared libraries: libwebkitgtk-3.0.so.0: cannot open shared object file: No such file or directory.
I read through all the comments and searched online, but could not find what I am missing.
Could you please help me?

yan12125 commented on 2017-10-25 14:30

I gave up and moved files back to /usr/local/pulse. Things are beyond my control.

@jsimonetti: thanks for testing results!

jsimonetti commented on 2017-10-24 18:07

It appears that actually it is the running of pulsesvc which is the problem.
I removed the symplink and ran pulseUi from terminal:

% LD_LIBRARY_PATH=/opt/pulsesecure:$LD_LIBRARY_PATH /opt/pulsesecure/pulseUi

(pulseUi:1623): libsoup-CRITICAL **: soup_cookie_jar_get_cookies: assertion 'SOUP_IS_COOKIE_JAR (jar)' failed
Cert Subject Name: <snip>
Cert Issuer Name: <snip>
Cert Expiry Date: <snip>
sh: /usr/local/pulse/pulsesvc: No such file or directory

rudepeople commented on 2017-10-24 12:58

@yan12125: how about this error;
(pulseUi:1614): libsoup-CRITICAL **: soup_cookie_jar_get_cookies: assertion 'SOUP_IS_COOKIE_JAR (jar)' failed

[EDIT]: never mind... this seems to be a proxy issue of some kind. I'm going to following up with Pulse team.
https://forums.pulsesecure.net/topic/pulse-desktop-clients/1003626-ubuntu-pulseui-4460-libsoup-critical-soup-cookie-jar-get-cookies-assertion-soup-is-cookie-jar-jar-failed

yan12125 commented on 2017-10-24 10:20

@jsimonetti: Could you run `sudo strace -fp <pid of pulsesvc> |& grep /usr/local/pulse` to see which path is it accessing?

I may reconsider putting things back to /usr/local/pulse. See also https://lists.archlinux.org/pipermail/aur-general/2017-August/033451.html for previous discussions.

@rudepeople: that message is less than informative. Only Pulse Secure staff can fix it - nobody else has pulseUi.cpp.