Port details |
- swapd Daemon that watches free memory and manages swap files
- 1.0.5_3 sysutils
=4 1.0.5_3Version 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
 - Port Added: 2008-01-23 08:05:32
- Last Update: 2024-02-26 07:05:00
- Commit Hash: 2b11975
- People watching this port, also watch:: symon, cacti, watchfolder, bacula-web-php82, watchmen
- License: GPLv2
- WWW:
- https://www.rkeene.org/oss/swapd/
- Description:
- "Swapd" is a daemon that watches free memory and manages swap files. If free
memory drops too low, additional swap files are created. Additionally, if there
is too much free memory, swap files are deactivated and disk space may be
reclaimed.
"Linux swapd" (https://sourceforge.net/projects/swapd/) didn't work very well,
but the idea was good. I started making a version that would work and
would also be somewhat portable. It currently compiles on Linux and FreeBSD,
but requires `libstatgrab' (http://www.i-scream.org/libstatgrab/) to work on
platforms that don't have /proc/meminfo (i.e., platforms that aren't Linux).
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- To install the port:
- cd /usr/ports/sysutils/swapd/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/swapd
- pkg install swapd
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: swapd
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (swapd-1.0.5.tar.gz) = a9c25251ad4b1eb163266cd44969975db5a872be68cf7bca66367d43875ccbc6
SIZE (swapd-1.0.5.tar.gz) = 94713
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- gmake>=4.3 : devel/gmake
- pkgconf>=1.3.0_1 : devel/pkgconf
- Library dependencies:
-
- libstatgrab.so : devel/libstatgrab
- There are no ports dependent upon this port
Configuration Options:
- No options to configure
- Options name:
- sysutils_swapd
- USES:
- gmake pkgconfig
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.0.5_3 26 Feb 2024 07:05:00
    |
Muhammad Moinur Rahman (bofh)  |
sysutils/swapd: Moved man to share/man
Approved by: portmgr (blanket) |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
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) |
1.0.5_2 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
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 ) |
1.0.5_2 20 Jul 2022 14:23:05
    |
Tobias C. Berner (tcberner)  |
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com> (Only the first 15 lines of the commit message are shown above ) |
1.0.5_2 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
1.0.5_2 31 Mar 2020 23:19:11
  |
sunpoet  |
Update URL |
1.0.5_2 25 Feb 2017 13:51:00
  |
amdmi3  |
- Add LICENSE
- Strip binary
- Regenerate patches |
1.0.5_1 02 Jan 2017 20:04:36
  |
rene  |
leeym handed in his commit bit. |
1.0.5_1 01 Apr 2016 14:25:18
  |
mat  |
Remove ${PORTSDIR}/ from dependencies, categories r, s, t, and u.
With hat: portmgr
Sponsored by: Absolight |
1.0.5_1 17 Jul 2014 08:57:51
  |
olgeni  |
Remove indefinite articles and trailing periods from COMMENT, plus
minor COMMENT typos and surrounding whitespace fixes. A few Makefiles
where not included as they contain Latin-1 characters that break
the Phabricator workflow. Categories P-S.
CR: D422
Approved by: portmgr (bapt) |
1.0.5_1 11 Jul 2014 21:50:51
  |
tdb  |
- Update libstatgrab to 0.91.
- Bump revision on dependent ports to chase shlib bump. |
1.0.5 24 May 2014 15:39:56
  |
tdb  |
- Fix build with libstatgrab 0.90 by upgrading to 1.0.5
- Use new LIB_DEPENDS format
- Stage support
- Use @sample pkg-plist keyword
PR: ports/189739
Approved by: portmgr (antoine) |
1.0.3_1 24 May 2014 08:58:41
  |
antoine  |
Mark BROKEN: fails to build
cc -Wall -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DHAVE_CONFIG_H
-I/usr/local/include -DHAVE_CONFIG_H
-DSWAPD_DEF_CONFIG=\"/usr/local/etc/swapd.conf\" -c -o swapd.o swapd.c
swapd.c: In function 'swapd_init_stats':
swapd.c:93: error: too few arguments to function 'sg_init'
swapd.c: In function 'swapd_get_free_mem':
swapd.c:111: error: too few arguments to function 'sg_get_mem_stats'
swapd.c:116: error: too few arguments to function 'sg_get_swap_stats'
gmake: *** [swapd.o] Error 1
Reported by: pkg-fallout
With hat: portmgr |
1.0.3_1 20 Sep 2013 23:06:00
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
sysutils) |
1.0.3_1 03 Sep 2013 09:59:01
  |
bapt  |
Add an explicit dependency on pkgconf |
1.0.3_1 14 Jan 2012 08:57:23
 |
dougb  |
In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().
In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other. |
1.0.3_1 19 Mar 2011 12:38:54
 |
miwi  |
- Get Rid MD5 support |
1.0.3_1 25 Jun 2010 22:38:17
 |
leeym  |
- None of swapon(), swapoff(), /sbin/swapon, /sbin/swapoff can handle swapfile
directly. Run scripts with mdconfig instead.
- Bump PORTREVISION
Feature safe: yes |
1.0.3 27 Mar 2010 00:15:24
 |
dougb  |
Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr# |
1.0.3 23 Jan 2008 08:05:18
 |
leeym  |
- add swapd-1.0.3
"Swapd" is a daemon that watches free memory and manages swap files. If free
memory drops too low, additional swap files are created. Additionally, if there
is too much free memory, swap files are deactivated and disk space may be
reclaimed.
WWW: http://www.rkeene.org/oss/swapd/ |