[arch-commits] Commit in openfortivpn/repos/community-x86_64 (PKGBUILD PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Mon Mar 1 10:14:33 UTC 2021
Date: Monday, March 1, 2021 @ 10:14:33
Author: alucryd
Revision: 876368
archrelease: copy trunk to community-x86_64
Added:
openfortivpn/repos/community-x86_64/PKGBUILD
(from rev 876367, openfortivpn/trunk/PKGBUILD)
Deleted:
openfortivpn/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 74 +++++++++++++++++++++++++++++++++++++------------------------
1 file changed, 45 insertions(+), 29 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-01 10:14:29 UTC (rev 876367)
+++ PKGBUILD 2021-03-01 10:14:33 UTC (rev 876368)
@@ -1,29 +0,0 @@
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-
-pkgname=openfortivpn
-pkgver=1.15.0
-pkgrel=1
-pkgdesc="An open implementation of Fortinet's proprietary PPP+SSL VPN solution"
-arch=(x86_64)
-url="https://github.com/adrienverge/openfortivpn"
-license=(GPL3)
-depends=(openssl ppp)
-backup=(etc/openfortivpn/config)
-source=($pkgname-$pkgver.tar.gz::https://github.com/adrienverge/openfortivpn/archive/v$pkgver.tar.gz)
-sha256sums=('5279dbd3da779b818d201bbd9243cff9421a7e790fd2190438610a03c88641f8')
-
-prepare() {
- cd $pkgname-$pkgver
- autoreconf -fi
-}
-
-build() {
- cd $pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-}
Copied: openfortivpn/repos/community-x86_64/PKGBUILD (from rev 876367, openfortivpn/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-01 10:14:33 UTC (rev 876368)
@@ -0,0 +1,45 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+
+pkgname=openfortivpn
+pkgver=1.16.0
+pkgrel=1
+pkgdesc="An open implementation of Fortinet's proprietary PPP+SSL VPN solution"
+arch=(x86_64)
+url=https://github.com/adrienverge/openfortivpn
+license=(GPL3)
+depends=(
+ glibc
+ openssl
+ ppp
+ resolvconf
+)
+makedepends=(git)
+backup=(etc/openfortivpn/config)
+_tag=cde9d69dd44f83f00de38fe5bdb163fb3ee07913
+source=(git+https://github.com/adrienverge/openfortivpn.git#tag=${_tag})
+sha256sums=(SKIP)
+
+prepare() {
+ cd openfortivpn
+ autoreconf -fiv
+}
+
+pkgver() {
+ cd openfortivpn
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ cd openfortivpn
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-resolvconf
+ make
+}
+
+package() {
+ make DESTDIR="${pkgdir}" -C openfortivpn install
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list