Initial import
This commit is contained in:
commit
fdbf03bed0
14
.SRCINFO
Normal file
14
.SRCINFO
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
pkgbase = snx
|
||||||
|
pkgdesc = Check Point SSL Network Extender (vpn client)
|
||||||
|
pkgver = 800007097
|
||||||
|
pkgrel = 1
|
||||||
|
install = snx.install
|
||||||
|
arch = x86_64
|
||||||
|
license = GPL
|
||||||
|
depends = lib32-pam>=1.2.1
|
||||||
|
noextract = https://vpnportal.aktifbank.com.tr/SNX/INSTALL/snx_install.sh
|
||||||
|
source = https://vpnportal.aktifbank.com.tr/SNX/INSTALL/snx_install.sh
|
||||||
|
md5sums = 82b517242eab2788dceaedb6b8f952cc
|
||||||
|
|
||||||
|
pkgname = snx
|
||||||
|
|
49
PKGBUILD
Normal file
49
PKGBUILD
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
# Maintainer: Your Name <youremail@domain.com>
|
||||||
|
pkgname=snx
|
||||||
|
pkgver=800007097
|
||||||
|
pkgrel=1
|
||||||
|
pkgdesc="Check Point SSL Network Extender (vpn client)"
|
||||||
|
arch=('x86_64')
|
||||||
|
url=""
|
||||||
|
license=('GPL')
|
||||||
|
groups=()
|
||||||
|
depends=('lib32-pam>=1.2.1')
|
||||||
|
makedepends=()
|
||||||
|
optdepends=()
|
||||||
|
provides=()
|
||||||
|
conflicts=()
|
||||||
|
replaces=()
|
||||||
|
backup=()
|
||||||
|
options=()
|
||||||
|
install=snx.install
|
||||||
|
changelog=
|
||||||
|
source=("https://vpnportal.aktifbank.com.tr/SNX/INSTALL/snx_install.sh")
|
||||||
|
noextract=("${source[@]%%::*}")
|
||||||
|
md5sums=('82b517242eab2788dceaedb6b8f952cc')
|
||||||
|
|
||||||
|
build() {
|
||||||
|
cd "$pkgname-$pkgver"
|
||||||
|
}
|
||||||
|
|
||||||
|
prepare() {
|
||||||
|
mkdir "$pkgname-$pkgver"
|
||||||
|
|
||||||
|
# ARCHIVE_OFFSET FROM snx_install.sh FILE
|
||||||
|
ARCHIVE_OFFSET=78
|
||||||
|
tail -n +$ARCHIVE_OFFSET snx_install.sh >snx.tar.bz2
|
||||||
|
|
||||||
|
cd "$pkgname-$pkgver"
|
||||||
|
tar -xvf ../snx.tar.bz2
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
package() {
|
||||||
|
cd "$pkgname-$pkgver"
|
||||||
|
install --directory --owner=root --group=root --mode=u=rwx,g=rx,o=rx $pkgdir/usr/bin
|
||||||
|
install --owner=root --group=root --mode=u=rxs,g=x,o=x snx $pkgdir/usr/bin/snx
|
||||||
|
install --owner=root --group=root --mode=u=rx,g=rx,o=rx snx_uninstall.sh $pkgdir/usr/bin/snx_uninstall
|
||||||
|
install --directory --owner=root --group=root --mode=u=rwx $pkgdir/etc/snx
|
||||||
|
install --directory --owner=root --group=root --mode=u=rwx $pkgdir/etc/snx/tmp
|
||||||
|
}
|
||||||
|
|
||||||
|
|
10
snx.install
Normal file
10
snx.install
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# This is a default template for a post-install scriptlet.
|
||||||
|
# Uncomment only required functions and remove any functions
|
||||||
|
# you don't need (and this header).
|
||||||
|
|
||||||
|
## arg 1: the old package version
|
||||||
|
pre_remove() {
|
||||||
|
rm -rf /etc/snx
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user