Skip to content

Commit

Permalink
devel/py-sysctl: Fix off-by-one string termination
Browse files Browse the repository at this point in the history
Update to v0.3.3 which fixes string-type sysctls having the last char
truncated.

Also follow the repo moving to truenas/py-sysctl.

Approved by:	lwhsu (implicit)
Sponsored by:	iXsystems, Inc.
  • Loading branch information
Ryan Moeller authored and Ryan Moeller committed Sep 28, 2021
1 parent 350644c commit 851f7f6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions devel/py-sysctl/Makefile
@@ -1,7 +1,7 @@
# Created by: William Grzybowski <wg@FreeBSD.org>

PORTNAME= sysctl
PORTVERSION= 0.3.2.20210106
PORTVERSION= 0.3.3.20210928
CATEGORIES= devel python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

Expand All @@ -15,8 +15,8 @@ USE_CSTD= c99
USE_PYTHON= distutils autoplist

USE_GITHUB= yes
GH_ACCOUNT= william-gr
GH_ACCOUNT= truenas
GH_PROJECT= py-sysctl
GH_TAGNAME= v0.3.2
GH_TAGNAME= v0.3.3

.include <bsd.port.mk>
6 changes: 3 additions & 3 deletions devel/py-sysctl/distinfo
@@ -1,3 +1,3 @@
TIMESTAMP = 1609957516
SHA256 (william-gr-py-sysctl-0.3.2.20210106-v0.3.2_GH0.tar.gz) = 28ba799ab1925f04a961714c3129f6a2ef11776c7d206ee6700ccb0208a46ca6
SIZE (william-gr-py-sysctl-0.3.2.20210106-v0.3.2_GH0.tar.gz) = 8315
TIMESTAMP = 1632842929
SHA256 (truenas-py-sysctl-0.3.3.20210928-v0.3.3_GH0.tar.gz) = 275a05975a798b77e1a4f556e1a16ef2b6289097f9db13cbf2d8f486d1ed838e
SIZE (truenas-py-sysctl-0.3.3.20210928-v0.3.3_GH0.tar.gz) = 8322
2 changes: 1 addition & 1 deletion devel/py-sysctl/pkg-descr
Expand Up @@ -3,4 +3,4 @@ Python wrapper for the sysctl system functions.
It provides a very simple interface to query for sysctls and to change
their values in a pythonic way.

WWW: https://github.com/williambr/py-sysctl
WWW: https://github.com/truenas/py-sysctl

0 comments on commit 851f7f6

Please sign in to comment.