ipcalc: dropped
This commit is contained in:
parent
2cc4720490
commit
6f377c4ac0
@ -1,7 +0,0 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/ipcalc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man1/
|
||||
-rw-r--r-- root/root usr/share/man/man1/ipcalc.1.gz
|
@ -1,5 +0,0 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF30OJmIXuBYT787+xT8VGYc7h/44RqiXVAhaoEmiuKCxxmu0LDIb8LW6VruoCP0OKbt7SrAdRcJCpbvYBD4nD/Ag=
|
||||
SHA256 (Pkgfile) = b4e1bf7c51422d2e770735bdd5876a168e8bb8d98097d5a43f5f4e3aa5ab010e
|
||||
SHA256 (.footprint) = 7afe696a7c62c307d705f3089bfdf168f6098e7ae4a97f173210ba2831f2eb53
|
||||
SHA256 (ipcalc-1.0.2.tar.bz2) = 47c866941916800270fca23496acc9976ca9488ce9053aeaedc5f47c5929b772
|
@ -1,44 +0,0 @@
|
||||
# Description: ipcalc: calculate IPv4/6 broadcast, network and host range.
|
||||
# URL: https://gitlab.com/ipcalc/ipcalc
|
||||
# Maintainer: Steffen Nurpmeso, steffen at sdaoden dot eu
|
||||
# Depends on: meson ninja
|
||||
|
||||
name=ipcalc
|
||||
version=1.0.2
|
||||
release=2
|
||||
source=(https://gitlab.com/${name}/${name}/-/archive/${version}/\
|
||||
${name}-${version}.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd ${name}-${version}
|
||||
|
||||
meson setup build
|
||||
ninja -C build
|
||||
|
||||
# If ronn was found in $PATH, then a man-page should now appear in ./build
|
||||
# ... otherwise, fall back to "enwrapped Markdown".
|
||||
# FS#1435 offers another justification for installing ronn (the MD->groff ruby gem)
|
||||
if [ -f build/ipcalc.1 ]; then
|
||||
man=build/ipcalc.1
|
||||
else
|
||||
man=./ipcalc.1
|
||||
cat > ./ipcalc.1 <<- \!
|
||||
.Dd Nov 26, 2022
|
||||
.Dt IPCALC 1
|
||||
.Os
|
||||
.
|
||||
.Sh NAME
|
||||
.Nm ipcalc
|
||||
.Nd Calculate IP broadcast, host range etc
|
||||
.
|
||||
.Bd -literal
|
||||
!
|
||||
cat ipcalc.1.md >> ./ipcalc.1
|
||||
echo '.Ed' >> ./ipcalc.1
|
||||
fi
|
||||
|
||||
install -D -m 0644 "${man}" "${PKG}"/usr/share/man/man1/${name}.1
|
||||
install -D -m 0755 build/ipcalc "${PKG}"/usr/bin/${name}
|
||||
}
|
||||
|
||||
# s-sh-mode
|
Loading…
Reference in New Issue
Block a user