Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ;;; Copyright © 2024 Pablo Martínez <p.martinez@cleverpy.com>
- (define-module (packages openfortivpn-webview)
- #:use-module ((guix licenses) #:prefix license:)
- #:use-module (guix packages)
- #:use-module (guix download)
- #:use-module (guix git-download)
- #:use-module (guix build-system gnu)
- #:use-module (guix utils)
- #:use-module (gnu packages qt)
- #:use-module (gnu packages pkg-config)
- #:use-module (gnu packages samba)
- #:use-module (gnu packages tls))
- (define-public openfortivpn-webview
- (package
- (name "openfortivpn-webview")
- (version "1.2.0")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/gm-vm/openfortivpn-webview.git")
- (commit "e7aa3c10037c7d8daf80b34fe6b4992d81a5b44e")))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1446s2fri819z0jgdxrd1xan1wmzh8xvx2x9dmvgs0bj6n8yv6d9"))))
- (build-system gnu-build-system)
- (arguments
- `(#:tests? #f
- #:phases
- (modify-phases %standard-phases
- (add-after 'unpack 'jump-to-qt-dir
- (lambda* _
- (chdir "./openfortivpn-webview-qt")))
- (replace 'configure
- (lambda* (#:key outputs #:allow-other-keys)
- (invoke "qmake" "." (string-append "PREFIX="
- (assoc-ref outputs "out")))))
- (replace 'build
- (lambda* _
- (invoke "make")))
- (delete 'compress-documentation))))
- (native-inputs (list pkg-config qtbase qtwebchannel qtwebengine))
- (inputs (list qtbase qtwebchannel qtwebengine qtwayland))
- (home-page "https://github.com/gm-vm/openfortivpn-webview")
- (synopsis "Application to perform the SAML single sing-on and
- easily retrieve the SVPNCOOKIE needed by
- openfortivpn.")
- (description "Application to perform the SAML single sing-on and
- easily retrieve the SVPNCOOKIE needed by
- openfortivpn. The application will simply open the
- SAML page to let you sign in. As soon as the
- SVPNCOOKIE is set, the application will print it to
- stdout and exit")
- (license license:expat)))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement