summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorBian Jiaping2018-07-31 10:37:27 +0800
committerBian Jiaping2018-07-31 10:37:27 +0800
commit43250ed5f0b492864195b1d6b5be830a20ce2e4f (patch)
treeffea7cc1a311e35f59054a2cd402adb223d06e67 /PKGBUILD
parentbed9064c3d25e168f4d15860cbdb802379045a4e (diff)
downloadaur-43250ed5f0b492864195b1d6b5be830a20ce2e4f.tar.gz
Replace setuid with capabilities for better security
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 34d73bb1118..35ca3cca672 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,11 +2,12 @@
pkgname=besttrace
pkgver=1.2
-pkgrel=1
+pkgrel=2
pkgdesc="IPIP.net 开发的加强版 traceroute,附带链路可视化"
arch=('x86_64' 'i686')
url="https://www.ipip.net/download.html"
license=('custom')
+install=besttrace.install
if [ "${CARCH}" = "i686" ]; then
_filename=besttrace32
@@ -20,5 +21,5 @@ md5sums=("e209a35be256e25289ac7c581d60028d")
package(){
mkdir -p "$pkgdir"/usr/bin/
- install -m4755 "$srcdir"/$_filename "$pkgdir"/usr/bin/besttrace
+ install -m755 "$srcdir"/$_filename "$pkgdir"/usr/bin/besttrace
}