Skip to main content.

2002-Nov-25

Some xinetd configs:

# - added cps for 50 seconds and wait 15 seconds
# - added 200 processes running at a time
# - added --timeout 1200 (due to bad clients that don't close session
#                         and keep ESTABLISHED state alive)
instances               = 200
cps                     = 50 15
server                  = /usr/local/sbin/vm-pop3d
server_args             = -i --timeout 1200
cps is the incoming connection limiter: connections per second to handle (and number of seconds to wait before re-enabling after disabled).

instances if for simultaneous active servers.

xinetd also can be customized for limits per source IP and load average and more.

Made patch for pkgsrc/archivers/unzip to build under Linux on Saturday. send-pr'd today: pkg/19170: unzip should build under Linux (patch included). Fixed and closed a little later by jschauma.

devel/popt forces uses of gettext-lib and -lintl. I removed patch-ab and lines from Makefile, so it would build under Linux with glibc (which has own intl).

I did send-pr a replacement for devel/popt/patches/patch-ab: pkg/19171. And this was used and closed same day by jlam. Need to make some OS-independent patches for this package in regards to gettext-lib -- nevermind, looks like jlam fixed this too.

Patches for pkgsrc should be OS independent (so the packages could check for OPSYS before making final choices). I send-pr'd fix for mk/bsd.pkg.mk so it wouldn't say the OS name when saying "Applying patches": pkg/19172: don't say OPSYS for applying pkgsrc patches (diff provided). This was used and closed next day by jschauma.

pkgtools/x11-links uses PAX for install. I don't have pax on Linux system, so I patched to use ${GTAR} instead.