mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
network/bpfmon: Updated for version 2.51.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
d6cd669365
commit
331c292c7f
3 changed files with 5 additions and 34 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for bpfmon
|
||||
|
||||
# Copyright Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
|
||||
# Copyright 2022-2023 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -25,7 +25,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=bpfmon
|
||||
VERSION=${VERSION:-2.50}
|
||||
VERSION=${VERSION:-2.51}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -76,7 +76,6 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
patch -p1 < $CWD/makefile.patch
|
||||
sed -i "s|share/man|man|" Makefile
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="bpfmon"
|
||||
VERSION="2.50"
|
||||
VERSION="2.51"
|
||||
HOMEPAGE="https://github.com/bbonev/bpfmon"
|
||||
DOWNLOAD="https://github.com/bbonev/bpfmon/releases/download/v2.50/bpfmon-2.50.tar.xz"
|
||||
MD5SUM="c492f5d5949aaa55346eb5cd49a1d637"
|
||||
DOWNLOAD="https://github.com/bbonev/bpfmon/releases/download/v2.51/bpfmon-2.51.tar.xz"
|
||||
MD5SUM="54c105b49808ac8b8ad7af0dba6f73b9"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="yascreen"
|
||||
|
|
|
@ -1,28 +0,0 @@
|
|||
From 8d2d7d8b9d5f5d5ec3ed8241ff93654f1ebb8973 Mon Sep 17 00:00:00 2001
|
||||
From: Boian Bonev <bbonev@ipacct.com>
|
||||
Date: Tue, 28 Sep 2021 03:26:08 +0300
|
||||
Subject: [PATCH] better install target
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
- remove -T from install for busybox compat (Milan P. Stanić <mps@arvanta.net>)
|
||||
- also install the man page
|
||||
---
|
||||
Makefile | 3 ++-
|
||||
1 file changed, 2 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Makefile b/Makefile
|
||||
index 54d6cbb..a629710 100644
|
||||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -81,7 +81,8 @@ clean:
|
||||
rm -f bpfmon bpfmon.o psort psort.o
|
||||
|
||||
install: bpfmon
|
||||
- $(INSTALL) -TD -m 0755 $< $(DESTDIR)$(PREFIX)/sbin/$<
|
||||
+ $(INSTALL) -D -m 0755 $< $(DESTDIR)$(PREFIX)/sbin/$<
|
||||
+ $(INSTALL) -D -m 0644 bpfmon.8 $(DESTDIR)$(PREFIX)/share/man/man8/bpfmon.8
|
||||
$(STRIP) $(DESTDIR)$(PREFIX)/sbin/$<
|
||||
|
||||
mkotar:
|
Loading…
Reference in a new issue