1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

misc/hxtools: update the port to version 20231101

- As utmp_register(8) had been removed, GC the patch
- The distfile can be also downloaded from Codeberg

Reported by:	portscout
This commit is contained in:
Alexey Dokuchaev 2023-11-07 21:31:28 +00:00
parent b078a247fe
commit d6f122b4a2
4 changed files with 6 additions and 31 deletions

View File

@ -1,7 +1,8 @@
PORTNAME= hxtools
PORTVERSION= 20230411
PORTVERSION= 20231101
CATEGORIES= misc
MASTER_SITES= http://inai.de/files/hxtools/
MASTER_SITES= http://inai.de/files/hxtools/ \
https://codeberg.org/jengelh/hxtools/releases/download/rel-${PORTVERSION}/
MAINTAINER= danfe@FreeBSD.org
COMMENT= Collection of miscellaneous tools and scripts

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1681210008
SHA256 (hxtools-20230411.tar.zst) = 15266562661b339e054ab1e4f1830bd1ae43faf151401075e3b7d1fc788a10f7
SIZE (hxtools-20230411.tar.zst) = 203185
TIMESTAMP = 1698834182
SHA256 (hxtools-20231101.tar.zst) = bf290bc023fcd52d86cb611e9b75fcec1aa48165e123484a85ee8442e2e19803
SIZE (hxtools-20231101.tar.zst) = 201612

View File

@ -1,24 +0,0 @@
--- sadmin/utmp_register.c.orig 2020-07-12 09:44:16 UTC
+++ sadmin/utmp_register.c
@@ -71,8 +71,10 @@ static bool get_options(int *argc, const char ***argv)
.help = "Perform operation on lastlog"},
{.sh = 'U', .type = HXTYPE_NONE, .ptr = &Opt.op_utmp,
.help = "Perform operation on UTMP"},
+#if 0
{.sh = 'W', .type = HXTYPE_NONE, .ptr = &Opt.op_wtmp,
.help = "Perform operation on WTMP"},
+#endif
{.sh = 'e', .type = HXTYPE_NONE, .ptr = &Opt.epid,
.help = "Encode PID into ut_id"},
{.sh = 'h', .type = HXTYPE_STRING, .ptr = &Opt.host,
@@ -87,8 +89,10 @@ static bool get_options(int *argc, const char ***argv)
.help = "Unique ID 2", .htyp = "sess"},
{.sh = 'u', .type = HXTYPE_STRING, .ptr = &Opt.futmp,
.help = "Path to utmp"},
+#if 0
{.sh = 'w', .type = HXTYPE_STRING, .ptr = &Opt.fwtmp,
.help = "Path to wtmp"},
+#endif
HXOPT_AUTOHELP,
HXOPT_TABLEEND,
};

View File

@ -57,7 +57,6 @@ libexec/hxtools/psthreads
libexec/hxtools/recursive_lower
libexec/hxtools/rezip
libexec/hxtools/sourcefuncsize
libexec/hxtools/utmp_register
libexec/hxtools/vcsaview
man/man1/aumeta.1.gz
man/man1/bin2c.1.gz
@ -104,7 +103,6 @@ man/man1/xcp.1.gz
man/man7/hxtools.7.gz
man/man8/hxnetload.8.gz
man/man8/logontime.8.gz
man/man8/utmp_register.8.gz
man/man8/vcsaview.8.gz
man/man8/xfs_irecover.8.gz
%%PORTDOCS%%%%DOCSDIR%%/changelog.rst