pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/bsdfetch
Module Name: pkgsrc
Committed By: vins
Date: Mon Jan 9 11:15:33 UTC 2023
Modified Files:
pkgsrc/sysutils/bsdfetch: Makefile distinfo
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)
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/sysutils/bsdfetch/Makefile \
pkgsrc/sysutils/bsdfetch/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/sysutils/bsdfetch/Makefile
diff -u pkgsrc/sysutils/bsdfetch/Makefile:1.2 pkgsrc/sysutils/bsdfetch/Makefile:1.3
--- pkgsrc/sysutils/bsdfetch/Makefile:1.2 Mon Jan 2 22:54:45 2023
+++ pkgsrc/sysutils/bsdfetch/Makefile Mon Jan 9 11:15:33 2023
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.2 2023/01/02 22:54:45 vins Exp $
+# $NetBSD: Makefile,v 1.3 2023/01/09 11:15:33 vins Exp $
-DISTNAME= bsdfetch-1.0.4
+DISTNAME= bsdfetch-1.1.0
CATEGORIES= sysutils
MASTER_SITES= ${MASTER_SITE_GITHUB:=jhx0/}
-GITHUB_TAG= b1e9d2ae681de9abd60751d00e83e2f548eb98a3
+GITHUB_TAG= a9ddda45b00ba730c5dd19d5823cfac2cd64b790
MAINTAINER= vins%NetBSD.org@localhost
HOMEPAGE= https://github.com/jhx0/bsdfetch/
Index: pkgsrc/sysutils/bsdfetch/distinfo
diff -u pkgsrc/sysutils/bsdfetch/distinfo:1.2 pkgsrc/sysutils/bsdfetch/distinfo:1.3
--- pkgsrc/sysutils/bsdfetch/distinfo:1.2 Mon Jan 2 22:54:45 2023
+++ pkgsrc/sysutils/bsdfetch/distinfo Mon Jan 9 11:15:33 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2023/01/02 22:54:45 vins Exp $
+$NetBSD: distinfo,v 1.3 2023/01/09 11:15:33 vins Exp $
-BLAKE2s (bsdfetch-1.0.4-b1e9d2ae681de9abd60751d00e83e2f548eb98a3.tar.gz) = 616762f02902b8cfc0a6dbb99974fe92ed2dd5f069da0cddb7b23fdec0647cd6
-SHA512 (bsdfetch-1.0.4-b1e9d2ae681de9abd60751d00e83e2f548eb98a3.tar.gz) =
0240685b3821eb4646411a29d19e13f1715c477df12fd4bafe9e6c22121803fc8c98cc0685dcfe23bd326fb8f8e2382423d2d5647e0ce8a8bc9392a3e4bd4691
-Size (bsdfetch-1.0.4-b1e9d2ae681de9abd60751d00e83e2f548eb98a3.tar.gz) = 6671 bytes
+BLAKE2s (bsdfetch-1.1.0-a9ddda45b00ba730c5dd19d5823cfac2cd64b790.tar.gz) = 1db3f5fd4cf0333e86bcea261e8b6af3f56e45a9adc2cff0cc0bafad56f5a443
+SHA512 (bsdfetch-1.1.0-a9ddda45b00ba730c5dd19d5823cfac2cd64b790.tar.gz) =
80a286f6fcf24d729fe3ec0c46ef087b2ebd024c83791f30261abf046fea0bb81f6d93ebe925d98ac6e6f8348b88d647bf9ceaabe08e087ba0c8235a30bb35b0
+Size (bsdfetch-1.1.0-a9ddda45b00ba730c5dd19d5823cfac2cd64b790.tar.gz) = 6622 bytes
Home |
Main Index |
Thread Index |
Old Index