forked from ports/contrib
mii-tool: dropped unmaintained port
This commit is contained in:
parent
f0c53adbcb
commit
afe85b8bfe
@ -1,7 +0,0 @@
|
||||
drwxr-xr-x root/root sbin/
|
||||
-rwxr-xr-x root/root sbin/mii-tool
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man8/
|
||||
-rw-r--r-- root/root usr/share/man/man8/mii-tool.8.gz
|
@ -1,5 +0,0 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF318bFX1e8goVW9SwKLm01Sp6oCSipIEFHABVshF8Mp9k3NKvPnkNv5uf6AkA/yMmE4PnSF7A3hgsoxwqbkDUfwY=
|
||||
SHA256 (Pkgfile) = c3a17d8b4ef9b0564014392ede4f3e1ad1bfd719189efc297b18d486dc6c8e10
|
||||
SHA256 (.footprint) = 183eb01cd34c7669b189d9146efa1ac546fd1381461d0d77f2251bfc07086bba
|
||||
SHA256 (net-tools-2.10.tar.xz) = b262435a5241e89bfa51c3cabd5133753952f7a7b7b93f32e08cb9d96f580d69
|
@ -1,21 +0,0 @@
|
||||
# Description: Set or autodetect the media type of mii chipset-based ethernet devices.
|
||||
# URL: https://sourceforge.net/projects/net-tools
|
||||
# Maintainer: unmaintained
|
||||
|
||||
name=mii-tool
|
||||
version=2.10
|
||||
release=1
|
||||
source=(https://downloads.sourceforge.net/project/net-tools/net-tools-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
cd net-tools-$version
|
||||
|
||||
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