From eef8eb23feb14ac4f85e07b885b7e2cbe9cf74a9 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Fri, 8 Feb 2019 05:29:44 +0000 Subject: add support for ~/.face --- debian/changelog | 6 ++++++ debian/patches/add_face_support.patch | 22 ++++++++++++++++++++++ debian/patches/series | 1 + 3 files changed, 29 insertions(+) create mode 100644 debian/patches/add_face_support.patch (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index e18f6ca..9062ae5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +bsd-finger (0.17-15.2+kz1) unstable; urgency=medium + + * add support for ~/.face + + -- Vincenzo (KatolaZ) Nicosia Fri, 08 Feb 2019 05:29:08 +0000 + bsd-finger (0.17-15.2) unstable; urgency=medium * Non-maintainer upload diff --git a/debian/patches/add_face_support.patch b/debian/patches/add_face_support.patch new file mode 100644 index 0000000..55fb391 --- /dev/null +++ b/debian/patches/add_face_support.patch @@ -0,0 +1,22 @@ +Description: show ~/.face if available +Author: Vincenzo 'KatolaZ' Nicosia + +--- a/finger/lprint.c ++++ b/finger/lprint.c +@@ -62,6 +62,7 @@ + #define _PATH_PLAN ".plan" + #define _PATH_PROJECT ".project" + #define _PATH_PGPKEY ".pgpkey" ++#define _PATH_FACE ".face" + + void + lflag_print(void) +@@ -99,6 +100,8 @@ + * shell + * office, office phone, home phone if available + */ ++ show_text(pn->dir, _PATH_FACE, "~~~~~~~~~~~~~~~~~~~~\n"); ++ xprintf("~~~~~~~~~~~~~~~~~~~~\n"); + xprintf("Login: %-15s\t\t\tName: %s\nDirectory: %-25s", + pn->name, pn->realname ? pn->realname : "", pn->dir); + xprintf("\tShell: %-s\n", *pn->shell ? pn->shell : _PATH_BSHELL); diff --git a/debian/patches/series b/debian/patches/series index 8b5fe97..77b389e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -6,3 +6,4 @@ 06-572211-decrease-timeout.patch use-cmake-as-buildsystem.patch use-cmake-as-buildsystem-debian-extras.patch +add_face_support.patch -- cgit v1.2.3