diff options
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rw-r--r-- | frpc@.service | 13 | ||||
-rw-r--r-- | frps@.service | 13 |
4 files changed, 13 insertions, 61 deletions
@@ -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 @@ -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 c13607354bf8..000000000000 --- 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 8b625ca7f707..000000000000 --- 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 |