forked from ports/contrib
mii-tool: updated url, marked unmaintained
This commit is contained in:
parent
84a92f28bf
commit
df16c34fe2
@ -1,5 +1,5 @@
|
|||||||
untrusted comment: verify with /etc/ports/contrib.pub
|
untrusted comment: verify with /etc/ports/contrib.pub
|
||||||
RWSagIOpLGJF3yKh9zM7Jqsu/c3/F8AnUle98Yd8CDn5j6w/wk4SFVGsgYH9AhGLoDPIMqxjH5wVPSoAbV0UvkpWcST07n6pZgY=
|
RWSagIOpLGJF318bFX1e8goVW9SwKLm01Sp6oCSipIEFHABVshF8Mp9k3NKvPnkNv5uf6AkA/yMmE4PnSF7A3hgsoxwqbkDUfwY=
|
||||||
SHA256 (Pkgfile) = 597d7603ac826eb85e5b991d244fdaccf7fee6d902e19d74d550e21f6adc2f0f
|
SHA256 (Pkgfile) = c3a17d8b4ef9b0564014392ede4f3e1ad1bfd719189efc297b18d486dc6c8e10
|
||||||
SHA256 (.footprint) = 183eb01cd34c7669b189d9146efa1ac546fd1381461d0d77f2251bfc07086bba
|
SHA256 (.footprint) = 183eb01cd34c7669b189d9146efa1ac546fd1381461d0d77f2251bfc07086bba
|
||||||
SHA256 (METUX.mii-tool-1.65.0.0.tar.gz) = 3797be60f4098f4a449023123ae0e879b28effd18b24972e2730fc6e48609690
|
SHA256 (net-tools-2.10.tar.xz) = b262435a5241e89bfa51c3cabd5133753952f7a7b7b93f32e08cb9d96f580d69
|
||||||
|
@ -1,14 +1,21 @@
|
|||||||
# Description: Set or autodetect the media type or mii chipset-based ethernet devices.
|
# Description: Set or autodetect the media type of mii chipset-based ethernet devices.
|
||||||
# URL: http://freshmeat.sourceforge.net/projects/mii-tool/
|
# URL: https://sourceforge.net/projects/net-tools
|
||||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
# Maintainer: unmaintained
|
||||||
|
|
||||||
name=mii-tool
|
name=mii-tool
|
||||||
version=1.65.0
|
version=2.10
|
||||||
release=1
|
release=1
|
||||||
source=(https://repo.or.cz/w/oss-qm-packages.git/snapshot/METUX.mii-tool-$version.0.tar.gz)
|
source=(https://downloads.sourceforge.net/project/net-tools/net-tools-$version.tar.xz)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd oss-qm-packages-METUX.mii-tool-$version.*
|
cd net-tools-$version
|
||||||
make
|
|
||||||
make DESTDIR=$PKG install
|
awk 'BEGIN { YN["y"] = 1; YN["n"] = 0; } /^bool/ { printf("#define %s %s\n", $(NF-1), YN[$NF]) }' config.in > config.h
|
||||||
|
|
||||||
|
awk '/^bool .*y$/ { printf("%s=1\n", $(NF-1)) } /^bool .*n$/ { printf("# %s=0\n", $(NF-1)) }' config.in > config.make
|
||||||
|
|
||||||
|
make mii-tool
|
||||||
|
|
||||||
|
install -Dt $PKG/sbin -m0755 mii-tool
|
||||||
|
install -Dt $PKG/usr/share/man/man8 -m0644 man/en_US/mii-tool.8
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user