Port details
py-sysctl Wrapper for the sysctl system functions
0.3.3.20210928_1 devel Σ=2 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 0.3.3.20210928_1Version of this port present on the latest quarterly branch.
There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-07-13 21:10:41
Last Update: 2025-03-08 04:05:21
Commit Hash: 06a08e6
People watching this port, also watch: postfix, zsh, openssl, rsync, python
Also Listed In: python
License: BSD2CLAUSE
WWW:
https://github.com/truenas/py-sysctl
Description: #
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.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb
Manual pages: #
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist #
There is no configure plist information for this port.
USE_RC_SUBR (Service Scripts)
  • no SUBR information found for this port
Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}sysctl>0:devel/py-sysctl@${PY_FLAVOR}
To install the port: #
cd /usr/ports/devel/py-sysctl/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/py-sysctl
  • pkg install py311-sysctl
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
NOTE: This is a Python port. Instead of py311-sysctl listed in the above command, you can pick from the names under the Packages section.
PKGNAME: py311-sysctl
Package flavors (<flavor>: <package>) #
  • py311: py311-sysctl
distinfo: #
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

Packages (timestamps in pop-ups are UTC): #
py39-sysctl
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest--0.3.3.20210928--
FreeBSD:14:quarterly-----
FreeBSD:15:latest--n/a-n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest CURRENT--n/a-n/a
 
py311-sysctl
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest---0.3.3.20210928_1-
FreeBSD:14:quarterly---0.3.3.20210928_1-
FreeBSD:15:latest--n/a0.3.3.20210928_1n/a
FreeBSD:15:quarterly--n/a-n/a
FreeBSD:16:latest CURRENT--n/a-n/a
 
py312-sysctl
ABIaarch64amd64armv6armv7i386
FreeBSD:14:latest0.3.3.20210928_10.3.3.20210928_1--0.3.3.20210928_1
FreeBSD:14:quarterly0.3.3.20210928_10.3.3.20210928_1--0.3.3.20210928_1
FreeBSD:15:latest0.3.3.20210928_10.3.3.20210928_1n/a-n/a
FreeBSD:15:quarterly0.3.3.20210928_10.3.3.20210928_1n/a-n/a
FreeBSD:16:latest CURRENT0.3.3.20210928_10.3.3.20210928_1n/a-n/a
 
Dependencies #
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies: #
  1. py311-setuptools>=63.1.0 : devel/py-setuptools@py311
  2. python3.11 : lang/python311
Test dependencies: #
  1. python3.11 : lang/python311
Runtime dependencies: #
  1. python3.11 : lang/python311
This port is required by: #
for Run #
  1. devel/py-libioc
  2. filesystems/py-ioztat
  3. net-mgmt/netbox-agent
  4. sysutils/arc_summary
  5. sysutils/py-overlord
  6. sysutils/py-zfsstat

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. devel/py-libiocage*
  2. sysutils/py-ioztat*
  3. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options: #
No options to configure
Options name: #
devel_py-sysctl
USES: #
compiler:c11 python
pkg-message: #
FreshPorts was unable to extract/find any pkg message
Master Sites: #
Expand this list (1 items)
Collapse this list.
  1. https://codeload.github.com/truenas/py-sysctl/tar.gz/v0.3.3?dummy=/
Collapse this list.

Number of commits found: 29 #

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
0.3.3.20210928_1
08 Mar 2025 04:05:21
commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303commit hash: 06a08e69f3acb846ad8252945f53c3a2d211e303 files touched by this commit
Charlie Li (vishwin) search for other commits by this committer
python: bump all USE_PYTHON=distutils consumers after RUN_DEPENDS removal

Any missed ports, feel free to bump.

Any ports that need setuptools at runtime can have the devel/py-setuptools
manually added back to RUN_DEPENDS, but understand that this practice
is deprecated; see CHANGES for details.
0.3.3.20210928
12 Nov 2024 14:42:14
commit hash: e23491925df343abb49f1ba7c9a45befe1affe70commit hash: e23491925df343abb49f1ba7c9a45befe1affe70commit hash: e23491925df343abb49f1ba7c9a45befe1affe70commit hash: e23491925df343abb49f1ba7c9a45befe1affe70 files touched by this commit
Ryan Steinmetz (zi) search for other commits by this committer
*/*: Reset MAINTAINER for freqlabs ports due to fatal email bounces for multiple
months
0.3.3.20210928
27 Jun 2023 19:34:34
commit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacbcommit hash: 3d9a815d9c5acbb71f4bb07738bdeab4879feacb files touched by this commit
Rene Ladan (rene) search for other commits by this committer
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
07 Sep 2022 21:58:51
commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash: fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Remove WWW entries moved into port Makefiles

Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.

This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.

Approved by:		portmgr (tcberner)
0.3.3.20210928
07 Sep 2022 21:10:59
commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash: b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
Add WWW entries to port Makefiles

It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.

Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.

There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.3.3.20210928
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
0.3.3.20210928
28 Sep 2021 15:34:12
commit hash: 851f7f63713a213a32976b793d26eaf14d373b4ccommit hash: 851f7f63713a213a32976b793d26eaf14d373b4ccommit hash: 851f7f63713a213a32976b793d26eaf14d373b4ccommit hash: 851f7f63713a213a32976b793d26eaf14d373b4c files touched by this commit
Ryan Moeller (freqlabs) search for other commits by this committer
devel/py-sysctl: Fix off-by-one string termination

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.
0.3.2.20210106
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
0.3.2.20210106
06 Jan 2021 18:56:17
Revision:560556commit hash: 536e0cf2578208e53fac43051f26945fb073ee75commit hash: 536e0cf2578208e53fac43051f26945fb073ee75commit hash: 536e0cf2578208e53fac43051f26945fb073ee75commit hash: 536e0cf2578208e53fac43051f26945fb073ee75Original commit files touched by this commit
freqlabs search for other commits by this committer
devel/py-sysctl: Bump to 0.3.2

* Allow setting opaque values with a bytearray
* Don't segfault in the setter when the getter has not been called

Reviewed by:	wg
Approved by:	wg (ports)
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D28002
0.3.1.20201105
28 Dec 2020 23:02:15
Revision:559531commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452commit hash: aa7a6c429ea62d972467d6755fa7a6f52256b452Original commit files touched by this commit
antoine search for other commits by this committer
Drop python 2.7 support from a few ports

With hat:	portmgr
0.3.1.20201105
09 Nov 2020 15:28:13
Revision:554728commit hash: 528f8f72111437c448833cb1af491998dbfc09d8commit hash: 528f8f72111437c448833cb1af491998dbfc09d8commit hash: 528f8f72111437c448833cb1af491998dbfc09d8commit hash: 528f8f72111437c448833cb1af491998dbfc09d8Original commit files touched by this commit
pkubaj search for other commits by this committer
devel/py-sysctl: fix build on GCC architectures

cc1: warnings being treated as errors
sysctl/_sysctl.c:519: warning: missing initializer
sysctl/_sysctl.c:519: warning: (near initialization for
'Sysctl_getseters[2].get')
0.3.1.20201105
05 Nov 2020 19:22:28
Revision:554150commit hash: 247ecc490dc8843a57fde09d8e7061d42e3129cecommit hash: 247ecc490dc8843a57fde09d8e7061d42e3129cecommit hash: 247ecc490dc8843a57fde09d8e7061d42e3129cecommit hash: 247ecc490dc8843a57fde09d8e7061d42e3129ceOriginal commit files touched by this commit
freqlabs search for other commits by this committer
devel/py-sysctl: Bump for GIL changes

Now the GIL is relinquished while getting and setting sysctl values.

Reviewed by:	wg
Approved by:	wg (ports)
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D27106
0.3.1.20201027
27 Oct 2020 17:27:02
Revision:553457commit hash: df98b02fe6683b3a747b9851c83d1bc03b3df2a5commit hash: df98b02fe6683b3a747b9851c83d1bc03b3df2a5commit hash: df98b02fe6683b3a747b9851c83d1bc03b3df2a5commit hash: df98b02fe6683b3a747b9851c83d1bc03b3df2a5Original commit files touched by this commit
freqlabs search for other commits by this committer
devel/py-sysctl: Fix Python 2.7 builds

*tips pointy hat*

Approved by:	bapt
Sponsored by:	iXsystems, Inc.
0.3.1.20201026
26 Oct 2020 16:16:22
Revision:553365commit hash: 9a33742b7f7e187970d3e6238b075e415193c113commit hash: 9a33742b7f7e187970d3e6238b075e415193c113commit hash: 9a33742b7f7e187970d3e6238b075e415193c113commit hash: 9a33742b7f7e187970d3e6238b075e415193c113Original commit files touched by this commit
freqlabs search for other commits by this committer
devel/py-sysctl: Update to 0.3.1, become maintainer

Now raises exceptions on error instead of exiting Python.

Reviewed by:	wg
Approved by:	wg (ports, maintainer)
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D26962
0.3.20201005
12 Oct 2020 18:29:09
Revision:552142commit hash: 4dd1bc2f2632b6d0ab124e233e23bd990a998212commit hash: 4dd1bc2f2632b6d0ab124e233e23bd990a998212commit hash: 4dd1bc2f2632b6d0ab124e233e23bd990a998212commit hash: 4dd1bc2f2632b6d0ab124e233e23bd990a998212Original commit files touched by this commit
pkubaj search for other commits by this committer
devel/py-sysctl: fix build on GCC architectures

Use C99:
sysctl/_sysctl.c:427: error: 'for' loop initial declaration used outside C99
mode
0.3.20201005
05 Oct 2020 18:22:19
Revision:551534commit hash: 0211ccbc748efe11238081fff9a980d6e3524a60commit hash: 0211ccbc748efe11238081fff9a980d6e3524a60commit hash: 0211ccbc748efe11238081fff9a980d6e3524a60commit hash: 0211ccbc748efe11238081fff9a980d6e3524a60Original commit files touched by this commit
freqlabs search for other commits by this committer
devel/py-sysctl: Update to 0.3.0

Bring py-sysctl to 0.3.0, which features the following changes:

* .value now lazy-loaded on first access to avoid the overhead of getting unused
  values

* .description field added, also lazy-loaded on first access to minimize
overhead

* Support for CTL_SYSCTL_NEXTNOSKIP to include sysctls marked with CTLFLAG_SKIP
  once D26560 lands

Reviewed by:	wg
Approved by:	wg (ports, maintainer)
Sponsored by:	iXsystems, Inc.
Differential Revision:	https://reviews.freebsd.org/D26684
0.2.20170726
26 Jul 2017 18:23:30
Revision:446689commit hash: 05b9bac7c5223988fbb3d85201b76bebaa3bc715commit hash: 05b9bac7c5223988fbb3d85201b76bebaa3bc715commit hash: 05b9bac7c5223988fbb3d85201b76bebaa3bc715commit hash: 05b9bac7c5223988fbb3d85201b76bebaa3bc715Original commit files touched by this commit
wg search for other commits by this committer
devel/py-sysctl: update to latest and use github
0.2
20 Oct 2014 16:04:14
Revision:371280commit hash: 89e07f4a18111a1fde92e57751221f851705f6b8commit hash: 89e07f4a18111a1fde92e57751221f851705f6b8commit hash: 89e07f4a18111a1fde92e57751221f851705f6b8commit hash: 89e07f4a18111a1fde92e57751221f851705f6b8Original commit files touched by this commit
mva search for other commits by this committer
- Convert ports of devel/ to USES=python

Approved by:	portmgr (implicit)
0.2
20 Jun 2014 01:29:55
Revision:358485commit hash: dd7b71d0f2d1e00e37bd7aa3f73f669ee9022bb8commit hash: dd7b71d0f2d1e00e37bd7aa3f73f669ee9022bb8commit hash: dd7b71d0f2d1e00e37bd7aa3f73f669ee9022bb8commit hash: dd7b71d0f2d1e00e37bd7aa3f73f669ee9022bb8Original commit files touched by this commit
wg search for other commits by this committer
devel/py-sysctl: update to 0.2 and adjust license
0.1b9
02 Apr 2014 13:22:06
Revision:349917commit hash: bd21f3edfb761b23da31458e22d344040eaaa12ccommit hash: bd21f3edfb761b23da31458e22d344040eaaa12ccommit hash: bd21f3edfb761b23da31458e22d344040eaaa12ccommit hash: bd21f3edfb761b23da31458e22d344040eaaa12cOriginal commit files touched by this commit
wg search for other commits by this committer
devel/py-sysctl: update to 0.1b9
0.1b8
02 Apr 2014 02:04:56
Revision:349900commit hash: 7fa9dfb2abcbd47c7990a4376cd2698355806cb0commit hash: 7fa9dfb2abcbd47c7990a4376cd2698355806cb0commit hash: 7fa9dfb2abcbd47c7990a4376cd2698355806cb0commit hash: 7fa9dfb2abcbd47c7990a4376cd2698355806cb0Original commit files touched by this commit
wg search for other commits by this committer
devel/py-sysctl: update to 0.1b8
0.1b7_1
26 Dec 2013 15:17:10
Revision:337536commit hash: ad2cbc08df0c00185fedf2f7412c13ad2ea890c9commit hash: ad2cbc08df0c00185fedf2f7412c13ad2ea890c9commit hash: ad2cbc08df0c00185fedf2f7412c13ad2ea890c9commit hash: ad2cbc08df0c00185fedf2f7412c13ad2ea890c9Original commit files touched by this commit
wg search for other commits by this committer
- Allow staging
- Switch from easy_install to install
0.1b7
28 Oct 2013 21:52:01
Revision:331900commit hash: 19f9a7dd384447568c8fae647a4e85083506a0a6commit hash: 19f9a7dd384447568c8fae647a4e85083506a0a6commit hash: 19f9a7dd384447568c8fae647a4e85083506a0a6commit hash: 19f9a7dd384447568c8fae647a4e85083506a0a6Original commit files touched by this commit
wg search for other commits by this committer
devel/py-sysctl: update to 0.1b7

- Update to 0.1b7
- Use auto plist
0.1b6
23 Oct 2013 11:24:24
Revision:331372commit hash: 4a7f3747d47233ec90968100af7312dd3c875b7fcommit hash: 4a7f3747d47233ec90968100af7312dd3c875b7fcommit hash: 4a7f3747d47233ec90968100af7312dd3c875b7fcommit hash: 4a7f3747d47233ec90968100af7312dd3c875b7fOriginal commit files touched by this commit
wg search for other commits by this committer
devel/py-sysctl: update to 0.1b6

- Update to 0.1b6
0.1b5
16 Oct 2013 14:05:32
Revision:330514commit hash: a6202414c5248df7055ea2a631c25fe5684c1779commit hash: a6202414c5248df7055ea2a631c25fe5684c1779commit hash: a6202414c5248df7055ea2a631c25fe5684c1779commit hash: a6202414c5248df7055ea2a631c25fe5684c1779Original commit files touched by this commit
wg search for other commits by this committer
devel/py-sysctl: update to 0.1b5

- Update to 0.1b5
- Use PYTHON_PY3K_PLIST_HACK
0.1b4
20 Sep 2013 17:13:47
Revision:327724commit hash: 580a778a16c548027cb6b56ad3357f1dec74e859commit hash: 580a778a16c548027cb6b56ad3357f1dec74e859commit hash: 580a778a16c548027cb6b56ad3357f1dec74e859commit hash: 580a778a16c548027cb6b56ad3357f1dec74e859Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
0.1b4
08 Aug 2013 18:08:04
Revision:324406commit hash: bc982472b3e7f4d3d52034ec7ff1ef87e369bbcecommit hash: bc982472b3e7f4d3d52034ec7ff1ef87e369bbcecommit hash: bc982472b3e7f4d3d52034ec7ff1ef87e369bbcecommit hash: bc982472b3e7f4d3d52034ec7ff1ef87e369bbceOriginal commit files touched by this commit
wg search for other commits by this committer
devel/py-sysctl: update to 0.1b4

- Update to 0.1b4
0.1b3
14 Jul 2013 18:34:17
Revision:322996commit hash: 12aa18de51f945fd4fafe22b5686a4a0cc4c6b2ccommit hash: 12aa18de51f945fd4fafe22b5686a4a0cc4c6b2ccommit hash: 12aa18de51f945fd4fafe22b5686a4a0cc4c6b2ccommit hash: 12aa18de51f945fd4fafe22b5686a4a0cc4c6b2cOriginal commit files touched by this commit
wg search for other commits by this committer
devel/py-sysctl: update to 0.1b3

- Update to 0.1b3
- Fix install with Python 3.x
0.1b2
13 Jul 2013 21:10:26
Revision:322971commit hash: c860313ec2fe4a35c51bd1acfe6be8d4594b8beecommit hash: c860313ec2fe4a35c51bd1acfe6be8d4594b8beecommit hash: c860313ec2fe4a35c51bd1acfe6be8d4594b8beecommit hash: c860313ec2fe4a35c51bd1acfe6be8d4594b8beeOriginal commit files touched by this commit
wg search for other commits by this committer
devel/py-sysctl: wrapper for the sysctl system functions

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

Number of commits found: 29