"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).
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)
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 )
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)
- 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)
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
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.
- 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/