summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVimsucks2017-12-15 11:44:54 +0800
committerVimsucks2017-12-15 11:44:54 +0800
commit9ded024cdf49f8776f1582b6579678dae8520819 (patch)
treedbbf7dd30da8960f12b73722a9a906245baeaea9
parent9672103183f05475265b213695e2cfabed6f885f (diff)
downloadaur-9ded024cdf49f8776f1582b6579678dae8520819.tar.gz
new release 0.14.1 and delete unused service file
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD31
-rw-r--r--frpc@.service13
-rw-r--r--frps@.service13
4 files changed, 13 insertions, 61 deletions
diff --git a/.SRCINFO b/.SRCINFO
index dfd35dd7f01..b8767f5921f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,24 +1,17 @@
pkgbase = frp
pkgdesc = A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
- pkgver = 0.14.0
+ pkgver = 0.14.1
pkgrel = 1
url = https://github.com/fatedier/frp
install = frp.install
- arch = i686
arch = x86_64
license = Apache
source = frps.service
source = frpc.service
- source = frps@.service
- source = frpc@.service
- sha256sums = a83bf9e3bec4cc134391c49fccb32f517a2e90307c7217236513c7408f9b1b8f
- sha256sums = 422d9e7c79257bfdcf19133e9f37d74bf0478d81f039bce18f63935505a18963
- sha256sums = 34432236e6ef21108700c017604ebb0f6c20f463c02054060912ea061ca31d8d
- sha256sums = d7267378516cc782e08794bc3ec73fc719620b0c2c451224b366e4985335bccd
- source_i686 = https://github.com/fatedier/frp/releases/download/v0.14.0/frp_0.14.0_linux_386.tar.gz
- sha256sums_i686 = 8bf5236409081d862b6a0da265e8655bd02635411f6fc918ad29022e5d7926b4
- source_x86_64 = https://github.com/fatedier/frp/releases/download/v0.14.0/frp_0.14.0_linux_amd64.tar.gz
- sha256sums_x86_64 = 58613aa1474610ec53812bf7efa5f69dfcd3dc8d973bd666c5c828240805436a
+ source = https://github.com/fatedier/frp/releases/download/v0.14.1/frp_0.14.1_linux_amd64.tar.gz
+ md5sums = 6f9c6681357f3f984983457151d7f0c5
+ md5sums = d704eacd9f769de32c8ab2c875d9f34a
+ md5sums = e2b44adbe40d24ef44514013d7463410
pkgname = frp
diff --git a/PKGBUILD b/PKGBUILD
index 64eed829961..601c74024a5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,33 +1,20 @@
# Maintainer: Vimsucks <dev@vimsucks.com>
pkgname=frp
-pkgver=0.14.0
-pkgrel=2
+pkgver=0.14.1
+pkgrel=1
pkgdesc="A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet."
license=('Apache')
url="https://github.com/fatedier/frp"
-source=(frps.service frpc.service frps@.service frpc@.service)
-source_i686=("https://github.com/fatedier/frp/releases/download/v${pkgver}/frp_${pkgver}_linux_386.tar.gz")
-source_x86_64=("https://github.com/fatedier/frp/releases/download/v${pkgver}/frp_${pkgver}_linux_amd64.tar.gz")
-sha256sums=('a83bf9e3bec4cc134391c49fccb32f517a2e90307c7217236513c7408f9b1b8f'
- '422d9e7c79257bfdcf19133e9f37d74bf0478d81f039bce18f63935505a18963'
- '34432236e6ef21108700c017604ebb0f6c20f463c02054060912ea061ca31d8d'
- 'd7267378516cc782e08794bc3ec73fc719620b0c2c451224b366e4985335bccd')
-sha256sums_i686=('8bf5236409081d862b6a0da265e8655bd02635411f6fc918ad29022e5d7926b4')
-sha256sums_x86_64=('58613aa1474610ec53812bf7efa5f69dfcd3dc8d973bd666c5c828240805436a')
-arch=('i686' 'x86_64')
-
+source=(frps.service frpc.service "https://github.com/fatedier/frp/releases/download/v${pkgver}/frp_${pkgver}_linux_amd64.tar.gz")
+arch=('x86_64')
+md5sums=('6f9c6681357f3f984983457151d7f0c5'
+ 'd704eacd9f769de32c8ab2c875d9f34a'
+ 'e2b44adbe40d24ef44514013d7463410')
install=$pkgname.install
package() {
- case $CARCH in
- x86_64)ARCH=amd64
- ;;
- i686)ARCH=386
- ;;
- esac
-
- frpdir=$srcdir/frp_${pkgver}_linux_${ARCH}
+ frpdir=$srcdir/frp_${pkgver}_linux_amd64
mkdir -p $pkgdir/usr/bin
install -m755 $frpdir/frpc $pkgdir/usr/bin/frpc
install -m755 $frpdir/frps $pkgdir/usr/bin/frps
@@ -42,6 +29,4 @@ package() {
install -Dm644 frps.service $pkgdir/usr/lib/systemd/system/frps.service
install -Dm644 frpc.service $pkgdir/usr/lib/systemd/system/frpc.service
- install -Dm644 frps@.service $pkgdir/usr/lib/systemd/system/frps@.service
- install -Dm644 frpc@.service $pkgdir/usr/lib/systemd/system/frpc@.service
}
diff --git a/frpc@.service b/frpc@.service
deleted file mode 100644
index c13607354bf..00000000000
--- a/frpc@.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Frp Client Service
-After=network.target
-
-[Service]
-Type=simple
-User=nobody
-Restart=on-failure
-RestartSec=5s
-ExecStart=/usr/bin/frpc -c /etc/frp/%i.ini
-
-[Install]
-WantedBy=multi-user.target
diff --git a/frps@.service b/frps@.service
deleted file mode 100644
index 8b625ca7f70..00000000000
--- a/frps@.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Frp Server Service
-After=network.target
-
-[Service]
-Type=simple
-User=nobody
-Restart=on-failure
-RestartSec=5s
-ExecStart=/usr/bin/frps -c /etc/frp/%i.ini
-
-[Install]
-WantedBy=multi-user.target