Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Pirogov
aports
Commits
5bfb0b71
Commit
5bfb0b71
authored
6 years ago
by
Pedro Filipe
Committed by
Natanael Copa
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
non-free/netperf: upgrade to 2.7.0 and modernize
parent
c6cf9fa2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
non-free/netperf/APKBUILD
+17
-29
17 additions, 29 deletions
non-free/netperf/APKBUILD
with
17 additions
and
29 deletions
non-free/netperf/APKBUILD
+
17
−
29
View file @
5bfb0b71
# Contributor:
# Maintainer:
# Contributor:
Pedro Filipe <xpecex@outlook.com>
# Maintainer:
Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
netperf
pkgver
=
2.
6
.0
pkgver
=
2.
7
.0
pkgrel
=
0
pkgdesc
=
"TCP/UDP/sockets/etc performance benchmark"
url
=
"http://www.netperf.org/netperf/"
arch
=
"all"
license
=
"netperf"
depends
=
""
depends_dev
=
""
makedepends
=
"
$depends_dev
"
install
=
""
license
=
"custom"
subpackages
=
"
$pkgname
-doc"
source
=
"ftp://ftp.netperf.org/netperf/netperf-
$pkgver
.tar.bz2"
_builddir
=
"
$srcdir
"
/netperf-
$pkgver
prepare
()
{
local
i
cd
"
$_builddir
"
for
i
in
$source
;
do
case
$i
in
*
.patch
)
msg
$i
;
patch
-p1
-i
"
$srcdir
"
/
$i
||
return
1
;;
esac
done
}
source
=
"netperf-netperf-
$pkgver
.tar.gz::https://github.com/HewlettPackard/netperf/archive/netperf-
$pkgver
.tar.gz"
builddir
=
"
$srcdir
/netperf-netperf-
$pkgver
"
build
()
{
cd
"
$
_
builddir
"
cd
"
$builddir
"
./configure
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--infodir
=
/usr/share/info
\
--localstatedir
=
/var
\
||
return
1
make
||
return
1
--localstatedir
=
/var
make
}
check
()
{
cd
"
$builddir
"
make check
}
package
()
{
cd
"
$
_
builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
||
return
1
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
install
-d
"
$pkgdir
"
/usr/share/licenses/netperf
install
COPYING
"
$pkgdir
"
/usr/share/licenses/netperf/
}
md5sums
=
"9654ffdfd4c4f2c93ce3733cd9ed9236 netperf-2.6.0.tar.bz2"
sha256sums
=
"cd8dac710d4273d29f70e8dbd09353a6362ac58a11926e0822233c0cb230323a netperf-2.6.0.tar.bz2"
sha512sums
=
"b3921d2e887088b14a8bbe5ace9b1cc0c8b29951eeaa7857ce3f324933397c8ff6b56eeacfe755181ce1a56c982fe431955f6db55bd20f2343324e22ee23c9b3 netperf-2.6.0.tar.bz2"
sha512sums
=
"f96426d1a76358ce4adee0e91cec246fe2584e135e12d47ccf712b8673debd1b37b339adcdea6e1edffc5fe535168ab1541926544d0eae5b9942498037985e33 netperf-netperf-2.7.0.tar.gz"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment