Commit graph

36 commits

Author SHA1 Message Date
tez
7f78db34a5 add patch for CVE-2011-4919 (bad permissions on created files) 2012-01-10 21:09:55 +00:00
dholland
0cbd21fb1c Fix broken clang build. 2011-08-01 04:08:51 +00:00
is
60a61d99a7 Fix decoding of message/partial. Explanation:
mpack-1.6 introduced more security on Unix-like systems by creating
and using a helper function, os_createnewfile, that uses O_CREAT|O_EXCL.
Unfortunately, it also uses it to write the total number of parts
temporary file, which fails if more than one part contains the
total number (as mpack creates them!)

The new code compares old and new totals, if both exist, and only
writes the new total, if the old didn't exist. Problem solved and
one sanity check more at the same time.
2010-11-17 22:24:40 +00:00
dholland
9e21f7e065 Add patch comment. I had this lying around uncommitted for some reason. 2010-06-15 04:18:04 +00:00
is
492c26c0a7 Remove one more /usr/tmp. 2010-04-20 10:26:40 +00:00
dholland
c17b5fa3a1 Add comments to two patches. These changes were sitting uncommitted in
one of my trees; I don't remember why they didn't get committed when I
updated the package a while back.
2010-01-15 23:47:14 +00:00
dholland
c643c8c681 Update to 1.6.
pkgsrc changes:

- Destdir support.
- Include fixes for implicit function declarations probably broken on LP64.
- Fix for 64-bit time_t world in netbsd-current.
- Fix some pkglint.
- Suppress warning about mktemp() on NetBSD; usage checked.

Upstream changes:

1.6 -- Jul 21 2003
Use automake and a little bit of autoconf

convert K&R declarations/definitions to ANSI

Fixed buffer overflow in getParam and getDispositionFilename (debian patch)
Fixed possible crash in ParseContent (debian patch)

fix typo in getDispositionFilename (from Steve Friedl)

use system strcasecmp and getopt where possible.

use O_EXCL where available when creating files.
2009-02-15 20:12:17 +00:00
minskim
301f0fa7e0 Remove conflicting declaration of malloc(); include stdlib.h instead. 2006-06-09 15:34:31 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
joerg
188f4ddbbc Fix errno. Use stdlib.h in one place as well. 2005-12-19 00:13:38 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
wiz
b8e0eb28f4 Remove FreeBSD RCS Ids. pkgsrc has diverged too much for syncing to be
useful.
2005-03-24 21:12:50 +00:00
agc
3cae5c07e4 Add RMD160 digests in addition to SHA1 ones 2005-02-23 16:12:33 +00:00
jlam
5e5ac5cef9 USE_BUILDLINK3 is a yes/no variable. 2004-11-13 21:28:27 +00:00
snj
1beb1274d8 Convert to buildlink3. Use LDFLAGS.SunOS. 2004-04-11 07:23:29 +00:00
agc
dc52048e01 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:07:06 +00:00
grant
91f00f1cbc s/netbsd.org/NetBSD.org/ 2003-07-17 21:21:03 +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
is
377219660f Make this compile under Solaris, too. Reviewed by wiz@netbsd.org 2002-12-05 16:45:21 +00:00
jlam
cd279b5037 buildlink1 -> buildlink2 2002-11-14 23:39:09 +00:00
zuntum
273821c4d3 Move pkg/ files into package's toplevel directory 2001-10-31 20:59:00 +00:00
jlam
8a698ad8f1 Use separate patches are separate files, and mark as USE_BUILDLINK_ONLY. 2001-08-20 02:15:36 +00:00
agc
35da692f5d Move to sha1 digests, and add distfile sizes. 2001-04-18 16:28:00 +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
zuntum
bd0deba0eb Remove redundant MAKE_ENV 2001-04-01 20:28:42 +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
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
agc
a910a6fd62 Add package patch-sum files 1999-07-09 13:50:05 +00:00
jwise
53d3406d50 Fix #ifdef unix issues 1999-02-27 01:14:55 +00:00
agc
05b88260d7 Add NetBSD RCS Ids. 1998-08-07 13:16:49 +00:00
agc
86db14e819 Add NetBSD RCS Ids. 1998-08-07 10:35:47 +00:00
agc
c6f0c5e0e1 Update package Makefiles for automatic manual page handling. 1998-06-20 09:26:31 +00:00
frueauf
49e36ada0b Substitute all obvious FreeBSD ppl as MAINTAINER with packages@netbsd.org. 1998-04-20 11:56:17 +00:00
agc
258b808c9f Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
1998-04-15 10:38:15 +00:00
tron
88794193b7 Adapt this package for NetBSD. 1998-02-26 00:11:06 +00:00
tron
59f81f7185 Initial import of FreeBSD's "mpack" port. 1998-02-25 23:51:08 +00:00