Package Details: ipcalc-redhat 1.0.3-2

Git Clone URL: https://aur.archlinux.org/ipcalc-redhat.git (read-only, click to copy)
Package Base: ipcalc-redhat
Description: Redhat's modernized ipcalc fork with IPv6 support
Upstream URL: https://gitlab.com/ipcalc/ipcalc
Licenses: GPL-2.0-or-later
Conflicts: ipcalc
Submitter: bitfehler
Maintainer: bitfehler
Last Packager: bitfehler
Votes: 10
Popularity: 0.31
First Submitted: 2020-02-02 11:56 (UTC)
Last Updated: 2024-08-19 11:52 (UTC)

Dependencies (7)

Required by (0)

Sources (1)

Latest Comments

bitfehler commented on 2024-08-19 11:53 (UTC)

Updated build dependencies, thanks!

autape commented on 2024-08-12 17:55 (UTC)

Build fails without deps: kramdown-parser-gfm, ruby-erb

5long commented on 2024-02-10 22:07 (UTC)

@mawcomw: is there an entry in your /etc/hosts that points localhost to ::1? See Examples in hosts(5).

mawcomw commented on 2024-02-07 17:44 (UTC)

It is failing to build due to an test error (test 14/165 IPIPv6Localhost).

Reading ../yay/ipcalc-redhat/src/ipcalc-1.0.3/build/../tests/ip-localhost-ipv6... ok. Checking ../yay/ipcalc-redhat/src/ipcalc-1.0.3/build/ipcalc -h ::1... FAILED! Output was: HOSTNAME=ip6-localhost 1 test(s) failed.

bitfehler commented on 2024-01-19 10:47 (UTC)

@5long thanks, incorporated into a new release

5long commented on 2024-01-18 11:40 (UTC)

Tried to compile it with geoip support & bumped to 1.0.3: https://github.com/5long/pkgbuilds/commits/trunk/ipcalc-redhat

bitfehler commented on 2023-03-31 08:45 (UTC)

Gitlab apparently just fucked up their release tarballs for a few days. I pushed pkgrel 2 with everything back to usual.

ianioc commented on 2023-03-31 08:04 (UTC) (edited on 2023-03-31 08:11 (UTC) by ianioc)

There are several errors in the PKGBUILD file. The following is correct:

# Maintainer: Conrad Hoffmann <ch@bitfehler.net>

pkgname=ipcalc-redhat
pkgver=1.0.2
pkgrel=1
pkgdesc="Redhat's modernized ipcalc fork with IPv6 support"
arch=('x86_64')
url="https://gitlab.com/ipcalc/ipcalc"
license=('GPL')
conflicts=('ipcalc')
depends=('glibc')
makedepends=('meson' 'ruby-ronn')
source=("https://gitlab.com/ipcalc/ipcalc/-/archive/${pkgver}/ipcalc-${pkgver}.tar.gz")
sha256sums=('0c08a63be9e75201b42038f22f9ae81bdc63a9cc540739df04c2084faca6e605')
# Gitlab's taalls now always contain a folder named after the commit :/
#_relcommit="4c4261a47f355946ee74013d4f5d0494487cc2d6"

build() {
  cd "$srcdir/ipcalc-$pkgver"
  meson setup build -Duse_maxminddb=disabled -Duse_geoip=disabled
  ninja -C build
}

package() {
    cd "$srcdir/ipcalc-$pkgver"
    install -m755 -Dt "${pkgdir}/usr/bin/" build/ipcalc
    install -m644 -Dt "${pkgdir}/usr/share/licenses/ipcalc/" COPYING
    install -m644 -Dt "${pkgdir}/usr/share/man/man1/" build/ipcalc.1
}