Compare commits
2 Commits
b307b67c22
...
f8db9a9669
Author | SHA1 | Date | |
---|---|---|---|
f8db9a9669 | |||
324b5e77b3 |
25
main/net-predictable/APKBUILD
Normal file
25
main/net-predictable/APKBUILD
Normal file
@ -0,0 +1,25 @@
|
||||
# Contributor: Alex Denes <caskd@redxen.eu>
|
||||
# Maintainer: Alex Denes <caskd@redxen.eu>
|
||||
pkgname=net-predictable
|
||||
pkgver=1.3.0
|
||||
pkgrel=0
|
||||
pkgdesc="Persistent interface naming for mdev and others"
|
||||
url="https://git.redxen.eu/caskd/$pkgname"
|
||||
license="MIT"
|
||||
arch="all"
|
||||
makedepends="go>=1.22.3"
|
||||
source="$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz"
|
||||
builddir="$srcdir/$pkgname"
|
||||
options="net !check" # no test suite available
|
||||
|
||||
build() {
|
||||
go get -v
|
||||
go build -v -o "$pkgname"
|
||||
}
|
||||
|
||||
package() {
|
||||
install -Dm755 "$pkgname" "$pkgdir"/usr/bin/"$pkgname"
|
||||
}
|
||||
sha512sums="
|
||||
c8aad1618ff05e035c999accd75a2b10d3370a82ee436f73ccd944f9c3427526e4297e181cfebba5df9b385eb56593629082a4d5f6326fb6c2a1037e458bf017 net-predictable-1.3.0.tar.gz
|
||||
"
|
@ -3,7 +3,7 @@
|
||||
. ../../APKBUILD.template
|
||||
|
||||
pkgname=nnd-s6-services
|
||||
pkgver=2.83
|
||||
pkgver=2.85
|
||||
pkgrel=0
|
||||
pkgdesc="Base services for s6"
|
||||
depends="s6-rc s6-portable-utils s6-linux-utils"
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/execlineb -P
|
||||
export VAL 0
|
||||
export VAL 2
|
||||
export SYSCTL vm/overcommit_memory
|
||||
/usr/libexec/nnd/s6/sysctl
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/execlineb -P
|
||||
export VAL 0
|
||||
export VAL 95
|
||||
export SYSCTL vm/overcommit_ratio
|
||||
/usr/libexec/nnd/s6/sysctl
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/execlineb -P
|
||||
export VAL 0
|
||||
export VAL 10
|
||||
export SYSCTL vm/swappiness
|
||||
/usr/libexec/nnd/s6/sysctl
|
||||
|
Loading…
Reference in New Issue
Block a user