Package Details: netkit-bsd-finger 0.17-10

Git Clone URL: https://aur.archlinux.org/netkit-bsd-finger.git (read-only, click to copy)
Package Base: netkit-bsd-finger
Description: BSD-finger ported to Linux
Upstream URL: http://ftp.linux.org.uk/pub/linux/Networking/netkit
Licenses: BSD
Submitter: ilpianista
Maintainer: starfry
Last Packager: starfry
Votes: 25
Popularity: 0.000322
First Submitted: 2015-01-24 11:21 (UTC)
Last Updated: 2021-09-26 18:14 (UTC)

Latest Comments

mpy commented on 2024-05-14 20:02 (UTC)

Oh sorry, I just realized that there is already another AUR applying the debian patches (netkit-bsd-finger-ipv6). So sorry for the noise...

mpy commented on 2024-05-14 19:37 (UTC)

With the debian patches applied finger is now working again on my machine and doesn't segfault anymore. So I changed the PKGBUILD to apply the debian patches automatically. I don't know what's the right way to send a PR, so I'll just send you a git format-patch via mail. I hope that's fine.

Here is the change as unified diff:

--- PKGBUILD.orig       2024-05-14 21:17:48.096735489 +0200
+++ PKGBUILD    2024-05-14 21:21:45.578376884 +0200
@@ -12,23 +12,29 @@

 source=("https://web.archive.org/web/20201216144539/http://ftp.linux.org.uk/pub/linux/Networking/netkit/bsd-finger-0.17.tar.gz"
         'LICENSE'
-        'fix-manpage-typo.patch'
+        'http://deb.debian.org/debian/pool/main/b/bsd-finger/bsd-finger_0.17-17.debian.tar.xz'
         'finger.socket'
         'finger@.service')

 sha256sums=('84885d668d117ef50e01c7034a45d8343d747cec6212e40e8d08151bc18e13fa'
             '3774a4bb6207edc124838915911bd139a78312336876a9fe59700216dfeb54b4'
-            '7e264f316fa465ec1b6aa2074d552ba8fe5534e44cabe9859301feb2fd45315b'
+            '3d8cbc2127d99915e474137cebce08bda0f4bd13d57a4916d1a455dab10cce3c'
             '6cde9cd7ec8dda157d6dcb28988d1caf2280e7e089573b1ad1824e263b8a9fb7'
             '89276c8300c7a30c7103b44bd0e80162aa86069a80d209ff95da706546a55516')


 prepare() {
    cd bsd-finger-${pkgver}
-   # FS#28232
-   patch -p1 -i "${srcdir}"/fix-manpage-typo.patch
-   sed -i 's@include <sys/time.h>@include <time.h>@' finger/lprint.c
-   sed -i 's@include <sys/time.h>@include <time.h>@' finger/sprint.c
+
+   # apply debian patches
+   tar -xJ -f "${srcdir}"/bsd-finger_0.17-17.debian.tar.xz debian/patches
+   patch -p1 -i debian/patches/01-legacy.patch
+   patch -p1 -i debian/patches/02-518559-nsswitch-sources.patch
+   patch -p1 -i debian/patches/03-468454-fingerd-ipv6.patch
+   patch -p1 -i debian/patches/04-468454-finger-ipv6.patch
+   patch -p1 -i debian/patches/05-547014-netgroup.patch
+   patch -p1 -i debian/patches/06-572211-decrease-timeout.patch
+   patch -p1 -i debian/patches/fix-fingerd-man-typo.patch
 }

 build() {

starfry commented on 2022-11-26 14:49 (UTC)

I just built it and, yes, I also see a segfault but only if the user being queried has no GECOS data in /etc/passwd (the 5th field). For me, finger root. didn't work but regular users did and it also worked fine without arguments. I did "chfn root" and entered a name and now finger root also works fine. Sorry I have no idea what the problem is, I'd suggest raising upstream except it looks like abandonware (sorry, I meant historic artifact-ware ;) ).

I did a quick search for another source and there is a version on Ubuntu/Debian here (https://packages.ubuntu.com/jammy/finger) that has a number of patches applied (I tried on an ubuntu vm and it doesn't have the problem). I don't have time right now to change the PKGBUILD to use this source, given its structure is different. Happy to accept a PR for it though, or to add you as a maintainer.

randomxusr commented on 2022-11-25 15:50 (UTC)

When I attempt to run it, I get a segfault and core dump. The ipv6 version seems to run without issues.

I didn't seem to have issues with any dependencies when installing.

Do you have suggestions for resolving the segfault? Or would need more info?

deep_thought commented on 2021-05-18 06:25 (UTC)

The internet archive still has it: https://web.archive.org/web/20201216144539/http://ftp.linux.org.uk/pub/linux/Networking/netkit/bsd-finger-0.17.tar.gz

micwoj92 commented on 2021-05-14 10:55 (UTC)

Can't reach sources.

starfry commented on 2015-05-05 10:43 (UTC)

I have adopted this and updated it with systemd units and a working URL.

admincomplex commented on 2015-03-10 13:52 (UTC)

the package URL seems to be broken. some working repo URLs: http://mirror.pkern.at/archlinux/other/netkit-bsd-finger/bsd-finger-${pkgver}.tar.gz http://mirror.bit-schaufler.de/archlinux/other/netkit-bsd-finger/bsd-finger-${pkgver}.tar.gz http://mirror.yellowfiber.net/archlinux/other/netkit-bsd-finger/bsd-finger-${pkgver}.tar.gz

ilpianista commented on 2015-01-24 11:21 (UTC)

Moved from [extra]