mktemp(1) to avoid symlink vulnerabilities in tmp file/directory
creation/removal (mitre.org CVE-2008-4936). Named 1.1.36nb1 to
emphasize difference from upstream.
Commit ok'd by agc@.
appropriate OWN_DIRS_PERMS definition.
* Simplify the patches by overriding the value of CONFDIR at build time
and at installation time.
* Honor PKGINFODIR and PKGMANDIR.
Bump PKGREVISION to 4 due to INSTALL script changes.
"ChangeLog" since 1.1.28 w/dates and blank lines elided:
* release 1.1.30
* voice/vgetty/answer.c, voice/include/default.c: integrate Paul
Fox' pre_message and beep_sound patches
* voice/libvoice/detect.c: recognize MultiTech MT3334ZDXV
* faxhng.c: add some result codes for the i4l DIVA driver
* voice/libvoice/IS_101.c: fix DTMF events for the unshielded case
* voice/vgetty/answer.c: accept arbitrary ring types, not only 0..6
* ring.c: map DRON/DROF return codes to binary word, use result
as distinctive RING number
* frontends/www/README: add user authentication example
* voice/libvoice/V253modem.c: repair messed-up 16 bit PCM patch
* release 1.1.29
* voice/libvoice/detect.c: insert delay before sending ATE0 to
modem (timing issue - modem might not have sent the full \r\n
sequence from the last "OK" yet when the new AT comes in)
* doc/*.[158]in: bring man pages up to date
* tools/ltest.c, tools/mid.c: adapt to new lprintf() prototype
* mgetty.h, logfile.c: adapt to use <stdarg.h> and "..."
function declaration (unless USE_VARARGS is set, which is
needed for NeXT platforms). Karsten Keil <kkeil@suse.de>.
* Makefile: relax permissions on sendfax and faxrunq.config
install - must be readable/executeable by user "fax" now
* doc/faxrunqd.8in: document "-u", minor updates
* fax/faxrunqd.in, fax/faxspool.in, fax/faxrunq.in: revert
Aug 6, 200 change - put faxqueue_done back into $FAX_SPOOL_OUT/
(faxrunq/faxrunqd have no access rights to $VARRUNDIR/ anymore,
and $FAX_SPOOL_OUT is no longer world writeable anyway)
* fax/faxq.in: change from .last_run to faxqueue_done
* fax/faxrunqd.in: add "-u <user>" switch (set uid to <user>)
* fax/faxq-helper.c: finalize new fax queue handling using helper
process (suid fax) and a fax queue that is no longer
world-readable (open issue since 1994 :) )
* faxrecp.c: implement experimental teergrubing mode (signal
"page bad, please retransmit" at the end of each page - or just
hang up hard on caller). Activared with "modem-quirks 0x100"
or "0x200", respectively.
* voice/libvoice/V253Modem.c: add 16 bit linear PCM support
(patch coming from Peter Bruley)
* voice/pvftools/pvftormd.c, rmdtopvf.c: add 16 bit linear PCM
* rework faxq-helper concept (suid root -> suid fax)
* fax/faxq.in: adap "-r" to use faxq-helper
* fax/faxspool.in: adapt to use faxq-helper
* fax/faxrm.in: adapt to use faxq-helper
* Makefile: create FAX_SPOOL_OUT with mode 755 and owner FAX_OUT_USER
* Makefile: add FAX_OUT_USER definition, pass lots of variables
to fax/Makefile (for faxq-helper)
* README.1st: add instructions about FAX_OUT_USER setup
* doc/mgetty.texi-in add instructions about FAX_OUT_USER setup
* fax/faxrunqd.in: fix symlink / file overwrite race in JOB files.
Pointed out by Jablonovsky Alexander <sasha@cit-saratov.ru>
* doc/faxrunq.8in: point out insecurity in symlink handling
* mgetty.h: Intel 64bit platforms (__x86_64__) needs PTR_IS_LONG
* voice/libvoice/IS_101.c: implement DLE shielding for long DTMF tones
for V.253 (initially by Lee Howard <faxguy@howardsilvan.com>)
* mgetty.c: throw out DIST_RING #define - not used anymore
* ring.c: make sure action strings (CONNECT) are only recognized
at the beginning if a line, not in the middle (Paul Fox,
pgf@foxharp.boston.ma.us, CALLER NAME = CONNECTICUT).
* cnd.c: replace non-printable characters and quotes in caller ID
or caller name strings with ' ' - safeguard for passing them to
shell later on.
* doc/mgetty.texi-in: add stuff about recent multitech modems,
superfine+v.34 fax, and rework chapter about common problems
* faxlib.c: fix ugliness with USR modems reporting remote fax
ID as " 12345" -> skip leading '"' and all whitespace
* cnd.c: possible buffer overrun via CallName
(found by "A. Guru" <a.guru@sympatico.ca>)
* fax/faxrunqd: fix priority vs. write combining bug
* login.c: check for close-on-exec bit on FD 0 (FreeBSD 4.1 bug)
* login.c: export Caller Name as environment variable $CALLER_NAME
* login.c: make message about bad permissions even more clear
conflict with the "efax" package. "efax" already has an "efax.1", the
actual man page, but "mgetty"'s "sendfax" manpage is "sendfax.8", so
"sendfax.1" is available. Closes PR pkg 14254.
Summary of changes:
- removal of USE_GTEXINFO
- addition of mk/texinfo.mk
- inclusion of this file in package Makefiles requiring it
- `install-info' substituted by `${INSTALL_INFO}' in PLISTs
- tuning of mk/bsd.pkg.mk:
removal of USE_GTEXINFO
INSTALL_INFO added to PLIST_SUBST
`${INSTALL_INFO}' replace `install-info' in target rules
print-PLIST target now generate `${INSTALL_INFO}' instead of `install-info'
- a couple of new patch files added for a handful of packages
- setting of the TEXINFO_OVERRIDE "switch" in packages Makefiles requiring it
- devel/cssc marked requiring texinfo 4.0
- a couple of packages Makefiles were tuned with respect of INFO_FILES and
makeinfo command usage
See -newly added by this commit- section 10.24 of Packages.txt for
further information.