Commit graph

86 commits

Author SHA1 Message Date
heinz
6e529a2234 Added LICENSE information for Python. The license was approved by OSI
so I added it to the acceptable set of licenses.
2010-01-21 16:28:51 +00:00
wiz
579796a3e5 Recursive PKGREVISION bump for jpeg update to 8. 2010-01-17 12:02:03 +00:00
obache
822849e3a9 Fixes module names in disabled_module_list
* "bsddb" does not exists, probably removed/renamed before/in Python24.
 * "mpz" was removed in Python24.
2009-09-19 09:30:41 +00:00
drochner
9fcb55370f remove assignments to the LIBS env var -- this should have been done
earlier, but there became no-ops due to my change to db4/bl3 and thus
didn't do harm. Now that part of that change was backed out they became
harmful again and thus need to go.
2009-09-12 17:47:17 +00:00
dsainty
72087cc6b9 Fix a possibly long-standing issue, but also possibly fallout from the db4
changes.  The "dbm" module could fail to build correctly, erroring out with:

*** WARNING: renaming "dbm" since importing it failed: build/lib.linux-i686-2.4/dbm.so: undefined symbol: dbm_firstkey

In this case, the "dbm" module has accidentally linked with "databases/gdbm",
which happens to be installed, but was never buildlinked in.  It may be
relevant that /usr/include/gdbm/ndbm.h is installed on this system.

Remove the "gdbm" test from the "dbm" module configuration, leaving the "ndbm"
support, and the fall-back "bdb" support (which will likely fall back to db4).

Bump PKGREVISION - the package would still install, but with missing
functionality.
2009-09-09 05:59:37 +00:00
drochner
3507e16d3a bump PKGREVs for Python pkgs, as suggested by David Sainty -- at least
on Linux one can't build some extensions against an old Python (with
spurious -ldb4 linkage) anymore
also sync the bl3 files of the non-default versions with python25
for consistency
2009-09-08 10:06:35 +00:00
wiz
96bbe43140 Remove empty PLIST.common_end. 2009-07-22 09:29:57 +00:00
joerg
62d1ba2bac Remove @dirrm entries from PLISTs 2009-06-14 18:03:28 +00:00
wiz
272d51cc21 Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlib
major change.

Reported by Robert Elz in PR 41345.
2009-05-20 00:58:05 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
dsainty
82a2ee5b15 Any package that determines libraries to link via:
$PYTHON -c "from distutils import sysconfig; print sysconfig.get_config_var('SHLIBS');"

... where bdb.buildlink.mk has been used and it satisfied the requirement from
Pkgsrc (E.g. via databases/db4) would fail to build because the required -ldb4
library was not itself buildlinked.

To rectify this, pull in bdb.buildlink.mk in python??/buildlink3.mk under the
same conditions as it is pulled in in the package's own makefile.

No revision bump required, this almost certainly only affects packages and
environments that simply wouldn't build at all prior to the fix.

Fixes the build of py-ORBit on Linux (Python 2.4 or 2.5), and PR39377.
2009-01-23 03:05:53 +00:00
adrianp
8145d3dbc4 Add a note about SunOS and needing to have SUNWaudh installed to
compile the sunaudiodev module.
2008-09-13 09:49:43 +00:00
drochner
35baa89b31 Add a patch from the upstream 2.5 branch (svn rev.63883) to fix an
integer overflow in the vsnprintf replacement function.
This is likely not a real problem, and the patch wasn't pulled to
the upstream 2.4 branch, but so we can formally declare our 2.4
as not vulnerable now.
2008-08-07 11:20:18 +00:00
drochner
20cca7e4a5 also apply upstream svn rev.65262, fixes overflow checks in memory
allocation (CVE-2008-3142), ride on PKGREVISION bump some minutes ago
2008-08-05 10:45:45 +00:00
drochner
ed29f353e5 add patches from upstream svn rev.65333, fix integer overflows in
memory allocation (CVE-2008-2315)
2008-08-05 10:13:34 +00:00
joerg
653cfdaeb5 Always build depend on readline, so that devel/py-readline can pick up
the right config. Bump revision.
2008-07-14 14:42:51 +00:00
tnn
eac0b12cfd Fix botched PLIST_VARS conversion. 2008-04-13 11:03:33 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
drochner
b9e90c2488 update to 2.4.5
This release includes just a small number of fixes, primarily preventing
crashes of the interpreter in certain boundary cases.
2008-04-11 10:44:08 +00:00
drochner
95931af496 fix possible buffer overflow by negative atguments to zlib.flush(),
from upstream CVS, bump PKGREVISION
2008-04-11 10:32:33 +00:00
joerg
e26004958b Don't use FreeBSD's bluetooth define on DragonFly as well.
From PR 37821.
2008-02-22 13:03:25 +00:00
tnn
ad6ceadd25 Per the process outlined in revbump(1), perform a recursive revbump
on packages that are affected by the switch from the openssl 0.9.7
branch to the 0.9.8 branch. ok jlam@
2008-01-18 05:06:18 +00:00
adrianp
69f8937d0b Fix builds on Darwin 2007-12-16 16:44:51 +00:00
tron
9508c23e2a Fix build problems under Mac OS X Leopard. 2007-12-15 18:43:31 +00:00
wiz
1900e4b154 Remove Ex-MASTER_SITE. From Zafer Aydogan. 2007-12-02 11:17:22 +00:00
joerg
fb376375ff Don't force su-clean on DESTDIR users. 2007-10-28 15:30:44 +00:00
joerg
b626b37fa4 NetBSD has a 4-argument mremap, so adjust for that. 2007-07-17 21:08:52 +00:00
adrianp
2fb736a53a s/PRIVILEGED_STAGE/PRIVILEGED_STAGES/g as it could refer to multiple
stages in the future.  Suggested by rillig@
2007-07-02 20:24:27 +00:00
adrianp
ecedaf57d5 Add PRIVILEGED_STAGE+= clean (NetBSD only) 2007-07-01 00:10:18 +00:00
dmcmahill
3e50b8ba51 repair build on SunOS-5.9 2007-06-15 21:08:41 +00:00
tron
36cdb45af2 We have to use GNU make under Mac OS X because the "configure" script
generates a GNU make specific makefile on this platform.
2007-06-08 22:16:25 +00:00
wiz
1e8671d641 Update to 2.4.4:
We are pleased to announce the release of Python 2.4.4 (FINAL), a
bugfix release of Python 2.4, on October 18, 2006.

Important: 2.4.4 includes a security fix (PSF-2006-001) for the
repr() of unicode strings in wide unicode builds (UCS-4) [does not
affect pkgsrc]

Python 2.4 is now in bugfix-only mode; no new features are being
added. At least 80 bugs have been squished since Python 2.4.3,
including a number of bugs and potential bugs found by with the
Coverity and Klocwork static analysis tools. We'd like to offer
our thanks to both these firms for making this available for open
source projects - see their websites if you're interested.
2007-06-08 14:16:15 +00:00
tnn
6aeb597b5b correct installation and plist on hpux 2007-04-22 20:12:43 +00:00
joerg
cd0ebd2244 Fix build on FreeBSD. 2006-12-27 20:49:04 +00:00
joerg
450decce94 On NetBSD, assume that MKYP=no when /usr/bin/ypcat doesn't exist.
The NIS module is not available in that case.
Call the regen script with RUNSHARED, so that it finds libpython.so,
even in the DESTDIR case.

XXX The call to regen should be moved to the build phase.
2006-11-03 07:15:41 +00:00
rillig
b2a13218c0 Fixed "test ==" and improved the randomness of $RANDOM. 2006-10-11 18:20:37 +00:00
rillig
d0cfa8cd6b libpython needs the pkgsrc-provided LDFLAGS to resolve all dependencies
at runtime. Fixes PR 34565.
2006-09-20 12:07:19 +00:00
joerg
b6494c15d4 Don't use the Python platform variable to check for OSS support on
FreeBSD, but OPSYS directly. We ignore FreeBSD < 4 anyway, so simply the
handling for newer FreeBSD versions.
2006-08-26 15:29:05 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
tron
ab5ff69efc Don't try to compile in Bluetooth support under NetBSD(-current).
The stub code is not compatible with the API presented by NetBSD.
2006-06-20 13:29:01 +00:00
minskim
2f1eb8ab82 Add a missing file to PLIST.Darwin. Bump PKGREVISION. 2006-06-19 17:50:57 +00:00
jlam
44b37cc4b1 Inspecting the setup.py file, one can see that python23 and python24
only build certain modules if the platform is *not* 64-bit.  Correct
the PLIST for those cases.  This should fix the build on non-64bit,
non-x86 platforms, e.g. powerpc.
2006-06-01 15:25:03 +00:00
tv
2aba7d5386 Allow use of C++ support on all platforms for consistency, by setting
USE_LANGUAGES.  Fixes PR pkg/33430.
2006-05-07 15:11:44 +00:00
joerg
053f691e9b Strip of anything after the version number in distutils.util.get_platform
on DragonFly. Since that version is used e.g. as part of the file name
for python eggs, it makes handling easier to match normal pkgsrc
platform policy. Bump revisions of all Python packages.
2006-04-13 02:26:54 +00:00
drochner
a8e1710951 update python24 to 2.4.3
Python 2.4 is now in bugfix-only mode, no new features are being added. At
least 50 bugs have been squashed since Python 2.4.2, including a number of
bugs and potential bugs found by Coverity.
2006-04-12 20:21:48 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
rillig
4c92317d26 Fixed the interpreter paths of some installed Python programs. Bumped
PKGREVISION.
2006-03-13 12:59:08 +00:00
jlam
6ad6aef9d4 Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk.
Remove deprecated ossaudio.buildlink3.mk.
2006-03-09 21:04:39 +00:00