VOOZH about

URL: https://pkgsrc.se/sysutils/bsdfetch

⇱ pkgsrc.se | The NetBSD package collection


Skip to main content.
👁 https://pkgsrc.se
Useful links: www.pkgsrc.org | www.netbsd.org | www.netbsd.se
Navigation:
Home | Browse by maintainer | Search | RSS | Info | Statistics | Help | Contact
+ virtual
archivers
audio
benchmarks
biology
cad
chat
comms
converters
cross
crosspkgtools
databases
devel
doc
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
mail
math
mbone
meta-pkgs
misc
multimedia
net
news
parallel
pkgtools
print
regress
security
shells
👁 pil
 sysutils
  👁 pil
 bsdfetch
textproc
time
wayland
wip
wm
www
x11

* = Virtual Category
👁 new
New packages:
  Today
  Yesterday
  Last week
  Last month

Path to this page:

./sysutils/bsdfetch, BSD system information tool written in C

[ 👁 Image
CVSweb ] [ 👁 Image
Homepage ] [ 👁 Image
RSS ] [ 👁 Image
Required by ]


Branch: CURRENT, Version: 1.1.2, Package name: bsdfetch-1.1.2, Maintainer: vins

bsdfetch is a simple tool to display information about a running *BSD
system. Written in C, bsdfetch doesn't require any external dependency.


Master sites:


Version history: (Expand)


CVS history: (Expand)


   2025-09-30 18:07:40 by Thomas Klausner | Files touched by this commit (50)
Log message:
*: use ${DESTDIR}${PREFIX} instead of ${DESTDIR}/${PREFIX}
   2023-07-02 20:53:41 by Paolo Vincenzo Olivo | Files touched by this commit (2) | 👁 Package updated
Log message:
sysutils/bsdfetch: update to 1.1.2

CHANGES

* remove unneeded sysctl entries, slimming down the bsdfetch binary size
 to some extent
* clean-up documentaion
   2023-01-16 14:08:43 by Paolo Vincenzo Olivo | Files touched by this commit (3) | 👁 Package updated
Log message:
sysutils/bsdfetch: update to bsdfetch-1.1.1

bugfix release:
 * get_uptime(): eliminate compiler's warning on armv6 arch.
 	According to man sysctlbyname(3) populates struct timeval instead of
 	struct timpespec for KERN_BOOTTIME

 	On armv6 architecure long has 4 bytes length but time_t has 8, so
 	clang compiler generates warning about integer precision loss. Use
 	explicit cast
   2023-01-09 12:15:33 by Paolo Vincenzo Olivo | Files touched by this commit (2) | 👁 Package updated
Log message:
sysutils/bsdfetch: update to bsdfetch-1.1.0

This is a major release, bringing several changes:

 * Get rid of unnecessary #includes and function prototypes.

 * Identifiers starting with `_' are reserved in C, therefore:
 _PRG_NAME -> getprogname()
 _VERSION -> VERSION

 * Use a single large buffer `buf' for everything. This gets rid of most
 of the local variables which were needed.

 * Remove functions die() & error(). *BSD already provides err(3) and
 friends for this.

 * Use cpr() instead of show(). As cpr() takes a variable no. of args., a
 lot of local variable can be eliminated.

 * In get_shell() and get_user(), call getpwuid() only if the variable is
 unusable. Then, _check_ the return of getpwuid()--it could be NULL.

 * In get_cpu(), on NetBSD, print the temp. of _all_ CPUs. On FreeBSD,
 `-n' should turn off colour when printing CPU temperatures.

 * Fold get_arch() into get_sysinfo(); and cut build strings from kernel
 version on NetBSD.

 * Many other simplifications (bsdfetch.c is now ~100 lines shorter). and
 apart from zero, or a few, mild warnings (platform-dependent), code
 compiles with clang's `-Weverything' turned on.

 * FIX: Removed -march=native (FreeBSD Clang does not support it)
 (At least not on ARM - Tested on Raspberry Pi 4)
   2023-01-02 23:54:45 by Paolo Vincenzo Olivo | Files touched by this commit (2) | 👁 Package updated
Log message:
sysutils/bsdfetch: update to version 1.0.4.

Changes:
 * Fix get_user()/get_shell() for empty USER/SHELL vars
 * Add __DATE__ to version() output
 * Declare void parameter
   2022-12-18 15:30:56 by Paolo Vincenzo Olivo | Files touched by this commit (4)
Log message:
syutils/bsdfetch: import package from wip.

bsdfetch is a simple tool to display information about a running *BSD
system. Written in C, bsdfetch doesn't require any external dependency.


This site is operated by pkgsrc.pub, Contact