Commit graph

72 commits

Author SHA1 Message Date
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
rillig
d47b692399 Fixed path to the Python interpreter. Bumped PKGREVISION. 2006-06-17 22:07:33 +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
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
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
c4d0441014 Add DragonFly support. While here, add netbsd4 for future joy.
Use PTHREAD_* instead of hardcoded -lpthread.
2006-01-09 21:22:57 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
joerg
d4b0eafdb2 Fix Python's makesetup script to treat -pthread as linker flag.
This is needed for databases/py-psycopg at least to compile properly.
Since the installed version changed, bump revision.
2005-11-16 19:18:58 +00:00
joerg
39b0ebdbdc When linking against libpython, the dependencies of libpython might be
needed as well. This is especially the case when
lib/pythonXconfig/Makefile is used as done e.g. www/ap2-python.
2005-11-14 22:53:09 +00:00
recht
6a732960a0 Add a patch for CAN-2005-2491 (buffer overflow vulnerability in the PCRE
library) from ubuntu Linux (via gentoo).
For details see:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2005-2491
2005-10-01 19:59:39 +00:00
drochner
3b80fee363 make the fcntl selftest recognize "netbsd3" so that the right
structure padding is used
not application relevant, so I abstain from bumping PKGREVISION
2005-07-29 13:27:26 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
agc
475ab002d7 Add RMD160 digests 2005-02-24 09:03:05 +00:00
drochner
2cefade65d apply the security fix from
http://www.python.org/security/PSF-2005-001/
This disables hierarchical object lookups in SimpleXMLRPCServer.
Unfortunately, this breaks some applications (eg kenosis). Don't
shoot me for this.
bump PKGREVISION
2005-02-04 15:39:04 +00:00
jmmv
df333169fb Convert the python packages to use the alternatives system to install a
bin/python wrapper.  Bump their PKGREVISION to 1.

Also remove the python package.  In order to preserve a similar behavior to
this one using the new framework, start by installing pkg_alternatives.
Then just open its manpage, scroll down to the EXAMPLES section, Applying
filters subsection, and follow the (rather short) directions given there.
2005-01-30 12:44:39 +00:00
tv
04e678d35d Add PLIST for Interix, and move a couple more now-platform-dependent
modules into the other PLIST fragments.
2005-01-25 13:09:03 +00:00
tv
688de62aea Backport first-stab Interix support from lang/python23. 2005-01-24 21:43:40 +00:00
recht
367eed19fe Build Python with thread support by default and turn the existing
python*-pth packages into meta-packages which will install the non-pth
packages. Bump PKGREVISIONs on the non-pth versions to propagate the
thread change, but leave the *-pth versions untouched to not affect
existing installations.
Sync all PYTHON_VERSIONS_AFFECTED lines in package Makefiles.
2005-01-23 20:41:45 +00:00
grant
beaba1d487 all of these use dlopen(). 2004-12-19 05:34:07 +00:00
wiz
a0c6f76028 USE_LANGUAGES=c c++; remove USE_GCC_SHLIB. 2004-11-22 21:48:08 +00:00
grant
c8b3276283 don't override LOWER_OPSYS, handle PY_PLATNAME in the same way as
python23.
2004-10-30 16:24:20 +00:00
jschauma
d7774ca2f0 Correct PY_PLATNAME for IRIX, as suggested by Georg Schwarz. 2004-10-03 23:25:39 +00:00
recht
a269d5cc93 Extend some checks to also test for netbsd2 as sys.platform.
Bump PKGREVISIONS accordingly.
2004-08-29 10:44:19 +00:00
recht
4150812b27 add python as category
ok'd a while back at pkgsrcCon by agc and wiz
2004-07-22 09:15:59 +00:00
recht
4656bfa637 Now that all Python modules have been bl3ified remove the bl2 support. 2004-05-23 17:15:09 +00:00
minskim
33baa81356 Build python module for zlib unconditionally. This makes
python2[12]{,-pth} build on platforms where zlib.h is not in
/usr/include.
2004-05-16 20:01:59 +00:00
jlam
9ff0e10340 Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
2004-03-05 19:25:06 +00:00
jlam
1b2674fcd7 The BUILDLINK_DEPENDS.<pkg> lines should match between the buildlink3.mk
and any pre-existing buildlink2.mk files.
2004-02-10 20:45:01 +00:00
grant
f64b4298c9 use ${EGREP} instead of relying on GNU grep features. 2004-01-29 10:33:51 +00:00
abs
76af5a3859 Add USE_GCC_SHLIB to python2 packages:
python20 to python20-2.0.1nb6
    python21 to python21-2.1.3nb2
    python21-pth to python21-2.1.3nb4
    python22 to python22-2.2.3nb1
    python22-pth to python22-2.2.3nb1
    python23 to python23-2.3.3nb1
    python23-pth to python23-2.3.3nb1
2004-01-27 18:55:30 +00:00
jlam
a8aead0d03 * Follow the new buildlink3 standard and append to BUILDLINK_DEPENDS.<pkg>.
* Use BUILDLINK_{INCDIRS,LIBDIRS}.<pkg> instead of using
  BUILDLINK_{CPPFLAGS,LDFLAGS}.<pkg> since we're just dealing with adding
  directories to the various search paths.
2004-01-25 17:15:12 +00:00
recht
0de275cb42 bl3ify 2004-01-25 16:06:47 +00:00
recht
e0d95cc4ac add buildlink3.mk 2004-01-25 14:13:17 +00:00
grant
39aab8e564 split the common parts of python22 and python22-pth into Makefile.common
and fix PLIST for some modules which are only installed on Solaris.
2004-01-24 08:13:14 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
drochner
c28e4b2fca g/c the now unneeded explicite export of LINK_ALL_LIBGCC_HACK to the
environment
2003-06-06 19:39:03 +00:00
drochner
52947f7d70 update Python22 to 2.2.3
This is a bugfix release.
Also, use the LINK_ALL_LIBGCC_HACK just introduced to link the
interpreter against libgcc. This should fix PR pkg/16144 in the
Python2.2 (and NetBSD-1.5) case.
2003-06-06 17:31:17 +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
jdolecek
0f7b6e0058 test_gettext doesn't hang with threaded Python in -current anymore 2003-04-17 08:20:47 +00:00
darcy
1e3a6d03ba Remove comment about PR lib/20214 (libpthread assertion failure triggered
by py-bsddb3) since the PR has been closed.  Two other issues remain.
2003-04-17 08:09:03 +00:00
drochner
c02f8a41c0 modify a selftest which uses unportable struct packing so that it
succeeds on alpha
2003-04-08 18:32:59 +00:00
jschauma
6cabf3c80f Forgot to add in last commit. 2003-04-05 01:20:28 +00:00
jschauma
202c51d3cc IRIX also uses LOWER_OPSYS as PY_PLATFORM. 2003-04-05 01:01:31 +00:00
jlam
3ef633718c (1) Publicly export the value of _OPSYS_RPATH_NAME as RPATH_FLAG;
Makefiles simply need to use this value often, for better or for
    worse.

(2) Create a new variable FIX_RPATH that lists variables that should
    be cleansed of -R or -rpath values if ${_USE_RPATH} is "no".  By
    default, FIX_RPATH contains LIBS, X11_LDFLAGS, and LDFLAGS, and
    additional variables may be appended from package Makefiles.
2003-03-14 19:37:30 +00:00
drochner
9c8fa58fc7 revert previous, adding some comments
Before using native pthreads per default, we should make sure it is
at least stable enough for the Python selftests and pkgsrc applications.
(in response to PR pkg/20214)
2003-02-06 21:02:58 +00:00
jdolecek
8cc05682fe don't disable threads on NetBSD if native threads are available
XXX only python22 pkg is changed this way, since this is the only
XXX one having special case for NetBSD; python15, python20, python21 disable
XXX threads on all pkgsrc operating systems
2003-01-20 22:23:38 +00:00
grant
e579017783 Use automatic PLIST handling. 2002-12-25 12:35:04 +00:00
schmonz
5721179af8 Provide Darwin-specific packing list entries. 2002-11-23 00:52:49 +00:00