Commit graph

65 commits

Author SHA1 Message Date
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
tron
99ebfe5dd8 Make this build under NetBSD 2.0D and above with statvfs(2). 2004-04-26 19:59:15 +00:00
snj
bffc80c64f Convert to buildlink3. 2004-04-11 05:59:14 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
seb
0843c7d180 Sort. 2004-01-12 21:33:52 +00:00
seb
ea9b8e29cd Add missing man page. 2004-01-12 20:52:19 +00:00
seb
07d02e617b Remove info file from PLIST files. 2004-01-12 20:37:56 +00:00
reed
6d9af8d68d Bump package revisions for tiff update.
Tiff is backward compatible, but was broken on amd64 platform
so this makes sure new tiff is used.
2004-01-03 18:49:33 +00:00
fredb
7e62289743 Don't make the outgoing fax spool directory chmod 1777. Unprivleged users
are supposed to use "faxspool" to submit faxes for sending, as explained
by Gert Doering (mgetty's author) on tech-pkg.
2003-12-20 20:09:50 +00:00
fredb
15c2645f6b Let "faxq" and "faxrm" find the "faxrunq-helper" in ${PREFIX} (which is
probably not "/usr/local").
2003-12-20 20:06:38 +00:00
cjep
34e102913e Whitespace fixes 2003-10-18 13:08:48 +00:00
fredb
b48fd375df Make this compile on NetBSD-current. 2003-09-25 20:27:12 +00:00
fredb
da1bc56e30 Update to 1.1.30, submitted by Stephane Fortier in PR pkg/22867.
"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
2003-09-20 16:39:33 +00:00
jlam
b2677a2cb0 Add definitions for DEINSTALL_EXTRA_TMPL and INSTALL_EXTRA_TMPL if
USE_PKGINSTALL is "YES".  bsd.pkg.install.mk will no longer automatically
pick up a INSTALL/DEINSTALL script in the package directory and assume that
you want it for the corresponding *_EXTRA_TMPL variable.
2003-08-30 22:51:11 +00:00
jlam
2920a32c71 Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
2003-08-30 20:22:49 +00:00
seb
0d7159e7bd USE_NEW_TEXINFO is unnecessary now. 2003-08-09 10:27:40 +00:00
seb
ae90737ddf The INSTALL and DEINSTALL scripts were overlooked during the
conversion to USE_NEW_TEXINFO. But...
Replace them with MAKE_DIRS_PERMS from the bsd.pkg.install.mk
framework.
2003-08-07 15:29:57 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +00:00
seb
0bfa627e70 Convert to USE_NEW_TEXINFO.
Add build dependency on textproc/texi2roff.
2003-06-27 17:19:21 +00:00
agc
1abae767e4 Use PKGNAME_NOREV, rather than manually trying to strip off any nb
suffix from ${PKGNAME}
2003-06-18 09:03:16 +00:00
jschauma
e366d0c694 Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.
Should anybody feel like they could be the maintainer for any of thewe packages,
please adjust.
2003-06-02 01:15:31 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
wiz
f2c0357f0b Remove unnecessary empty lines. 2003-03-28 21:24:22 +00:00
fredb
55d7859cdf Use the same ut_id as "login" does, so we can properly close out the wtmpx
entry that "login" creates.
2003-02-27 21:43:36 +00:00
fredb
12a4b3036a - - Use standard ${PKG_SYSCONFDIR} handling; bump ${PKGREVISION}.
- - Reorganize Makefile #defines into global toggles, global settings,
    local settings.
- - Reorganize and consolidate override targets.
2003-02-27 17:13:37 +00:00
fredb
a0cf782e7c Be consistent about testing for __GLIBC__. 2003-02-27 14:42:55 +00:00
fredb
6b9c6cc6b6 Add support for /var/run/utmpx on NetBSD 1.6B or newer, including
building on a suggestion by Gert Doering, filling ut_pid with the pid
of the uucp-style lock holder. This should fix PR pkg/12261, although
you will need today's "w" to see any results. Bump PKGREVSION.
2003-02-26 21:45:43 +00:00
wiz
ca01510765 buildlink1 -> buildlink2. 2002-10-09 14:40:26 +00:00
fredb
ed43b11728 Revert last change. Gert Doering says that's not a bug - it's a feature.
I'll look at fixing "w", instead.
2002-07-27 10:47:29 +00:00
fredb
e987b63ca2 Mgetty has no business making a utmp entry while it's only waiting for
a lock. Closes PR pkg/12261.
2002-07-24 18:37:34 +00:00
fredb
b9c403a4cd Account for PKGNAME frobbing when PKGREVISION is set. 2002-03-15 00:33:52 +00:00
fredb
b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00
fredb
5d01117aac Update mgetty+sendfax to 1.1.28. From the ChangeLog file:
* release 1.1.28
    * faxrec.c: replace "0"'s by "STDIN" (readability)
    * doc/mgetty.texi-in: some updates
    * doc/faxrunq.1in, doc/faxrunqd.8in: document calling convention
      changes (as below)
    * fax/faxrunq(d).in: pass (last) sendfax return code as 2nd
      argument to success/failure program
    * policy.h, utmp.c: incorporate some NetBSD changes
    * various: change time() prototype to "time_t time(time_t *tloc)"
    * mgetty.h, syslibs.h, logfile.c: some #ifdef fiddling for Darwin
    * doc/faxrunq.1in, doc/faxrunqd.8in: document more stuff
    * fax/faxrunq, fax/faxrunqd: don't run queue if a file
      $FAX_SPOOL_OUT/stop exists.
    * login.c: MAX_LOGIN_ARGS handling reworked (claimed N, but allowed
      only N-1), plus warning message improved.  <Juergen.Kosel@gmx.de>

    * release 1.1.27
    * doc/mgetty.texi-in: work on isdn4linux notes
    * cnd.c (cndtable): add swedish ZyXEL caller ID format (T. Lundgren)
    * cnd.c (cndtable): add "CALLED NUMBER:" (Jan Oberlaender/i4l)
    * various: adaptions to OpenBSD (similar to NetBSD)
    * mgetty.h: patch to adapt to Linux/S390 (PTR_IS_LONG)
    * frontends/www/: integrate new version from Neko
2002-03-09 17:17:05 +00:00
fredb
65fecffe31 Rename the fax overview manpage from "fax" to "sendfax", to avoid any
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.
2002-03-06 19:19:02 +00:00
seb
66111c6d15 Introduce new framework for handling info files generation and installation.
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.
2002-02-18 15:14:00 +00:00
zuntum
d8ed248248 Move pkg/ files into package's toplevel directory 2001-10-31 20:43:56 +00:00
agc
d52dd5005a At present, if there is a pre-<target> or post-<target> script in
the scripts/ directory, it will be run automatically as part of
the build process, by bsd.pkg.mk.  There are now exactly 5 packages
in pkgsrc which use this facility, and yet, for every package build,
the existence of a script is checked by bsd.pkg.mk once before the
target is executed, and once afterwards. This incurs needless
overhead.

Move the separate pre- and post- script handling out of bsd.pkg.mk into
the individual package Makefiles, where it's much more obvious what is
happening, anyway.
2001-10-26 14:09:59 +00:00
jlam
f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00
jlam
461b9e5d2a Convert to use buildlink.mk files. 2001-08-22 02:21:44 +00:00
fredb
359fb97696 Fix mgetty package to not delete its config files on pkg_delete (next
time! -- save them by hand if you need them for this upgrade), add a
package hook to change ${CONFDIR}, where the binaries look for their
configuration files, and update to 1.1.26. Many bug fixes and improved
compatibility with various modems. The following were culled from the
extensive ChangeLog file's for being conceivably of general interest.

    * login.c: export current tty as $DEVICE to shell
    * dialin.config: added V253 codes for OUT_OF_AREA and PRIVATE.
    * getdisk.c: fix overflow on file systems with > 2G (2^31 bytes) free
    * getdisk.c: default MINFREESPACE from policy.h was interpreted
      as *bytes*, not as *kbytes*.  Which kind of defeats the purpose
      of checking for "enough disk space".  Fixed, work with kbytes now.
    * faxrecp.c: check access rights first, space second (this will
      give clearer log messages for non-existing directories)
    * faxrecp.c: change fax page writing to open( O_EXCL|O_CREAT )
    * locks.c: use mkstemp() to create tmp file, if available,
      open( O_EXCL|O_CREAT ) otherwise.

and for vgetty...

    * Fixed buffer overflow in vm and vgetty, submitted by Georg
    Kirschbaum, <Georg.Kirschbaum@gimmel.franken.de>. Impact would
    not have been very big since only DTMFs are under control
    of the user.
2001-06-21 17:02:23 +00:00
agc
d26f80ba43 Move to sha1 digests, and add distfile sizes. 2001-04-20 08:55:26 +00:00
agc
268ad0352c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 10:33:37 +00:00
wiz
07cd20b334 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-16 13:51:27 +00:00
wiz
8360ed458c move line for pkglint 2000-10-21 22:19:21 +00:00
is
554becefd3 faxspool needs pbmtext. 2000-10-08 20:36:33 +00:00
fredb
dc3adcb007 Make fax spool directories on binary package install, too, and clean them
up on deinstall (but check first, and leave them all alone if there are
any files in there).
2000-08-31 19:42:53 +00:00
fredb
bb1597014a Update mgetty to 1.1.22. Changes since 1.1.21 (condensed):
* callback/callback.c: use VARRUNDIR instead of MGETTY_PID_FILE
	* mgetty.c: use VARRUNDIR to get name of PID file, non-conditional
	* policy.h: MGETTY_PID_FILE is gone, VARRUNDIR used instead
	* mgetty.c: write CallerId to UTMP, if available, Connect otherwise
	* fax/faxspool: convert .pdf files via Acroread (contributed by
		Michael Fischer v. Mollard, mfvm@gmx.de).
	* Makefile, mksed: introduce $VARRUNDIR
	* fax/faxrunqd.in, fax/faxrunq.in, fax/faxspool.in: change
		location of ".last_run" to $VARRUNDIR/faxqueue_done (previously,
		$fax_spool_out/.last_run creation was vulnerable to symlink attacks)
	* cnd.c: add NMBR=<nnn> format for Digi DataFire RAS
	* login.c: add \Y hack (simplar to \I) to get CallerID in ut_host field
	* faxlib.c: distinguish Elink 310 and Elink 343
2000-08-31 19:41:17 +00:00
fredb
d0314f4882 Update vgetty voice extensions patch from 0.9.10 to 0.9.12. No change to
data/fax core. Update adds quirks/hints for a few additional voice modems
and fixes a long-standing bug with WAV file conversions.
2000-07-24 06:28:06 +00:00
fredb
5eec07f4d4 Update md5 checksum for vgetty patches. Update improves voice-shell
interface, expands help files, and recognizes a few more modems. No
change whatsoever to data/fax core.
2000-07-03 16:49:20 +00:00