pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ltp-git: remove patch for removed file, update a bit
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By: wiz
Date: Fri Mar 24 08:37:13 2023 +0100
Changeset: 0a4e689d8a4c9799aee32128f947ebfda562b8fb
Modified Files:
ltp-git/Makefile
ltp-git/PLIST
ltp-git/distinfo
Removed Files:
ltp-git/patches/patch-testcases-network-stress-ssh-ssh-stress02-rmt
Log Message:
ltp-git: remove patch for removed file, update a bit
Doesn't get very far on NetBSD, PLIST likely wrong.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0a4e689d8a4c9799aee32128f947ebfda562b8fb
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ltp-git/Makefile | 4 +--
ltp-git/PLIST | 3 +-
ltp-git/distinfo | 3 +-
...h-testcases-network-stress-ssh-ssh-stress02-rmt | 36 ----------------------
4 files changed, 3 insertions(+), 43 deletions(-)
diffs:
diff --git a/ltp-git/Makefile b/ltp-git/Makefile
index a6b92037d0..fb05512ee8 100644
--- a/ltp-git/Makefile
+++ b/ltp-git/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2015/01/10 20:19:03 thomasklausner Exp $
+# $NetBSD$
DISTNAME= ltp-0.0
CATEGORIES= devel
@@ -15,8 +15,6 @@ GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config gmake aclocal autoconf automake autoreconf perl unzip zip
PKGCONFIG_OVERRIDE+= lib/ltp.pc.in
-REPLACE_PYTHON+= execltp.in
-REPLACE_PERL+= ./testcases/kernel/containers/netns/netns_container_ftp.pl
pre-configure:
cd ${WRKSRC} && autoreconf -fiv
diff --git a/ltp-git/PLIST b/ltp-git/PLIST
index e3c5cddf7b..f0e4fdab56 100644
--- a/ltp-git/PLIST
+++ b/ltp-git/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2014/12/17 22:04:53 krytarowski Exp $
+@comment $NetBSD$
IDcheck.sh
Version
bin/STPfailure_report.pl
@@ -1910,7 +1910,6 @@ testcases/bin/splice03
testcases/bin/ssetmask01
testcases/bin/ssh-stress01-rmt
testcases/bin/ssh-stress02-rmt
-testcases/bin/ssh-stress02-rmt.orig
testcases/bin/ssh-stress03-rmt
testcases/bin/ssh01
testcases/bin/ssh01_s1
diff --git a/ltp-git/distinfo b/ltp-git/distinfo
index 9f035bff0f..f324b62869 100644
--- a/ltp-git/distinfo
+++ b/ltp-git/distinfo
@@ -1,4 +1,3 @@
-$NetBSD: distinfo,v 1.2 2014/12/17 22:04:53 krytarowski Exp $
+$NetBSD$
SHA1 (patch-testcases-kernel-fs-fs_di-fs_di) = 5e9344e91adc97be708f769d596b053683979739
-SHA1 (patch-testcases-network-stress-ssh-ssh-stress02-rmt) = 35726d037c3a0a1ef5a44560abd8817944c96b98
diff --git a/ltp-git/patches/patch-testcases-network-stress-ssh-ssh-stress02-rmt b/ltp-git/patches/patch-testcases-network-stress-ssh-ssh-stress02-rmt
deleted file mode 100644
index ff053a33ed..0000000000
--- a/ltp-git/patches/patch-testcases-network-stress-ssh-ssh-stress02-rmt
+++ /dev/null
@@ -1,36 +0,0 @@
-$NetBSD: patch-testcases-network-stress-ssh-ssh-stress02-rmt,v 1.1 2014/12/17 22:04:53 krytarowski Exp $
-
---- testcases/network/stress/ssh/ssh-stress02-rmt.orig 2014-12-17 10:25:14.000000000 +0000
-+++ testcases/network/stress/ssh/ssh-stress02-rmt
-@@ -59,6 +59,7 @@ server_ipaddr="$2"
- ssh_config="$3"
- connect_quontity="$4"
- duration="$5"
-+random_seed=`echo|awk 'srand(systime()) {print int(rand() * 32767)}'`
-
- # Unset the maximum number of processes
- ulimit -u unlimited
-@@ -88,6 +89,12 @@ if [ $? -ne 0 ]; then
- exit 1
- fi
-
-+get_random()
-+{
-+ random_seed=`echo|awk "srand($random_seed) {print int(rand() * 32767)}"`
-+ return $random_seed
-+}
-+
- #
- # Mail loop
- #
-@@ -108,8 +115,8 @@ while true ; do
- fi
-
- # specified wait time and login time
-- wait_sec=`expr $RANDOM \* 3 / 32768`
-- login_sec=`expr $RANDOM \* 10 / 32768`
-+ wait_sec=`expr get_random() \* 3 / 32768`
-+ login_sec=`expr get_random() \* 10 / 32768`
-
- # Login to the server
- (sleep $wait_sec ; ssh $ver_opt -F $ssh_config -l root $server_ipaddr "sleep $login_sec </dev/null >/dev/null 2>&1") >/dev/null 2>&1 &
Home |
Main Index |
Thread Index |
Old Index