mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 21:56:40 +02:00
* Requires ps(1) to support the ppid option which BusyBox doesn't have. Therefore, it needs to depend on procps-ng for check(). * Additionally, the tests are as-is not compatible with Ruby 3.3.0. A patch restoring compatibility with our package Ruby has been added.
36 lines
1.1 KiB
Text
36 lines
1.1 KiB
Text
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
|
|
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
|
|
pkgname=netsed
|
|
pkgver=1.3
|
|
pkgrel=3
|
|
pkgdesc="The network packet stream editor"
|
|
url="http://silicone.homelinux.org/projects/netsed/"
|
|
arch="all"
|
|
license="GPL"
|
|
checkdepends="ruby ruby-test-unit procps-ng"
|
|
makedepends="linux-headers"
|
|
source="http://silicone.homelinux.org/release/$pkgname/$pkgname-$pkgver.tar.gz
|
|
fix-tests-with-ruby-3.3.0.patch
|
|
default-path.patch"
|
|
builddir="$srcdir"/$pkgname-$pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd "$builddir"
|
|
make test
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="
|
|
5ffed86b462c6f89dac9d19184917b5b0759b49862ba0b34701ff2d3aa8cfe55502abb0b09594eb993c50a18962f0ca30c8e9cb96d2445f8c2877189b9a9ac79 netsed-1.3.tar.gz
|
|
cf8c5d746facce1b698def65b85105c05f648bbc8d8c5fac3d898364fbb23e9884cc3a8abbf221ae08602af80d19ca08b3b77134481b3a4b3da6e93741d496b9 fix-tests-with-ruby-3.3.0.patch
|
|
a4c4cdcdaf8b5b6286d7b4870e06bf5b783e58f8ee19efee245aa3d2612b7257340799ac0fc188c928a11612591499759c477dfce7914cefd8e9403854dfd032 default-path.patch
|
|
"
|