head 1.43; access; symbols pkgsrc-2013Q2:1.43.0.10 pkgsrc-2013Q2-base:1.43 pkgsrc-2012Q4:1.43.0.8 pkgsrc-2012Q4-base:1.43 pkgsrc-2011Q4:1.43.0.6 pkgsrc-2011Q4-base:1.43 pkgsrc-2011Q2:1.43.0.4 pkgsrc-2011Q2-base:1.43 pkgsrc-2009Q4:1.43.0.2 pkgsrc-2009Q4-base:1.43 pkgsrc-2009Q2:1.40.0.6 pkgsrc-2009Q2-base:1.40 pkgsrc-2009Q1:1.40.0.4 pkgsrc-2009Q1-base:1.40 pkgsrc-2008Q4:1.40.0.2 pkgsrc-2008Q4-base:1.40 pkgsrc-2008Q3:1.39.0.4 pkgsrc-2008Q3-base:1.39 cube-native-xorg:1.39.0.2 cube-native-xorg-base:1.39 pkgsrc-2008Q2:1.38.0.4 pkgsrc-2008Q2-base:1.38 cwrapper:1.38.0.2 pkgsrc-2008Q1:1.37.0.4 pkgsrc-2008Q1-base:1.37 pkgsrc-2007Q4:1.37.0.2 pkgsrc-2007Q4-base:1.37 pkgsrc-2007Q3:1.36.0.2 pkgsrc-2007Q3-base:1.36 pkgsrc-2007Q2:1.34.0.10 pkgsrc-2007Q2-base:1.34 pkgsrc-2007Q1:1.34.0.8 pkgsrc-2007Q1-base:1.34 pkgsrc-2006Q4:1.34.0.6 pkgsrc-2006Q4-base:1.34 pkgsrc-2006Q3:1.34.0.4 pkgsrc-2006Q3-base:1.34 pkgsrc-2006Q2:1.34.0.2 pkgsrc-2006Q2-base:1.34 pkgsrc-2006Q1:1.30.0.2 pkgsrc-2006Q1-base:1.30 pkgsrc-2005Q4:1.29.0.2 pkgsrc-2005Q4-base:1.29 pkgsrc-2005Q3:1.27.0.2 pkgsrc-2005Q3-base:1.27 pkgsrc-2005Q2:1.26.0.2 pkgsrc-2005Q2-base:1.26 pkgsrc-2005Q1:1.25.0.2 pkgsrc-2005Q1-base:1.25 pkgsrc-2004Q4:1.22.0.2 pkgsrc-2004Q4-base:1.22 pkgsrc-2004Q3:1.15.0.2 pkgsrc-2004Q3-base:1.15 pkgsrc-2004Q2:1.13.0.2 pkgsrc-2004Q2-base:1.13 pkgsrc-2004Q1:1.7.0.2 pkgsrc-2004Q1-base:1.7; locks; strict; comment @# @; 1.43 date 2009.09.07.18.17.28; author joerg; state dead; branches; next 1.42; 1.42 date 2009.08.15.23.08.15; author zafer; state Exp; branches; next 1.41; 1.41 date 2009.07.22.09.29.57; author wiz; state Exp; branches; next 1.40; 1.40 date 2008.11.10.19.41.47; author wiz; state Exp; branches; next 1.39; 1.39 date 2008.07.14.14.42.51; author joerg; state Exp; branches; next 1.38; 1.38 date 2008.04.12.22.43.02; author jlam; state Exp; branches; next 1.37; 1.37 date 2007.12.24.01.19.47; author minskim; state Exp; branches; next 1.36; 1.36 date 2007.07.02.20.24.27; author adrianp; state Exp; branches; next 1.35; 1.35 date 2007.07.01.00.25.53; author adrianp; state Exp; branches; next 1.34; 1.34 date 2006.06.01.15.25.03; author jlam; state Exp; branches; next 1.33; 1.33 date 2006.05.14.20.46.37; author minskim; state Exp; branches; next 1.32; 1.32 date 2006.05.07.15.15.27; author tv; state Exp; branches; next 1.31; 1.31 date 2006.05.06.02.12.07; author minskim; state Exp; branches; next 1.30; 1.30 date 2006.03.09.21.04.44; author jlam; state Exp; branches; next 1.29; 1.29 date 2005.12.08.08.16.01; author rillig; state Exp; branches; next 1.28; 1.28 date 2005.12.05.20.50.27; author rillig; state Exp; branches; next 1.27; 1.27 date 2005.07.03.19.49.06; author recht; state Exp; branches; next 1.26; 1.26 date 2005.04.11.21.46.16; author tv; state Exp; branches; next 1.25; 1.25 date 2005.02.15.12.25.07; author drochner; state Exp; branches; next 1.24; 1.24 date 2005.01.23.20.41.47; author recht; state Exp; branches; next 1.23; 1.23 date 2005.01.21.02.01.37; author tv; state Exp; branches; next 1.22; 1.22 date 2004.12.19.05.34.07; author grant; state Exp; branches 1.22.2.1; next 1.21; 1.21 date 2004.11.24.20.45.10; author jschauma; state Exp; branches; next 1.20; 1.20 date 2004.11.22.21.48.09; author wiz; state Exp; branches; next 1.19; 1.19 date 2004.11.15.17.54.49; author jlam; state Exp; branches; next 1.18; 1.18 date 2004.10.30.16.17.53; author grant; state Exp; branches; next 1.17; 1.17 date 2004.10.05.10.53.20; author minskim; state Exp; branches; next 1.16; 1.16 date 2004.10.03.00.15.02; author tv; state Exp; branches; next 1.15; 1.15 date 2004.08.28.16.41.33; author danw; state Exp; branches; next 1.14; 1.14 date 2004.07.22.09.16.03; author recht; state Exp; branches; next 1.13; 1.13 date 2004.06.15.14.26.34; author grant; state Exp; branches; next 1.12; 1.12 date 2004.06.14.02.31.13; author lukem; state Exp; branches; next 1.11; 1.11 date 2004.06.02.12.29.28; author recht; state Exp; branches; next 1.10; 1.10 date 2004.05.12.16.25.34; author recht; state Exp; branches; next 1.9; 1.9 date 2004.05.12.15.19.49; author recht; state Exp; branches; next 1.8; 1.8 date 2004.04.13.22.48.41; author recht; state Exp; branches; next 1.7; 1.7 date 2004.02.04.22.23.47; author abs; state Exp; branches; next 1.6; 1.6 date 2004.01.27.18.55.30; author abs; state Exp; branches; next 1.5; 1.5 date 2004.01.26.12.10.24; author grant; state Exp; branches; next 1.4; 1.4 date 2004.01.26.11.50.29; author grant; state Exp; branches; next 1.3; 1.3 date 2004.01.25.21.10.10; author recht; state Exp; branches; next 1.2; 1.2 date 2004.01.24.20.53.54; author recht; state Exp; branches; next 1.1; 1.1 date 2004.01.24.19.48.11; author recht; state Exp; branches; next ; 1.22.2.1 date 2005.02.16.14.00.08; author salo; state Exp; branches; next ; desc @@ 1.43 log @Remove py22-html-docs, py23-html-docs and Python 2.3. @ text @# $NetBSD: Makefile.common,v 1.42 2009/08/15 23:08:15 zafer Exp $ # DISTNAME= Python-2.3.7 CATEGORIES= lang python MASTER_SITES= http://www.python.org/ftp/python/2.3.7/ EXTRACT_SUFX= .tgz MAINTAINER= recht@@NetBSD.org HOMEPAGE= http://www.python.org/ COMMENT= Interpreted, interactive, object-oriented programming language USE_LANGUAGES= c c++ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --enable-shared CONFIGURE_ARGS+= OPT=${CFLAGS:M*:Q} # fdatasync() LIBS.SunOS+= -lrt REPLACE_INTERPRETER+= python REPLACE.python.old= .*python REPLACE.python.new= ${PREFIX}/bin/python${PY_VER_SUFFIX} REPLACE_FILES.python= Lib/cgi.py Lib/bsddb/dbshelve.py Lib/idlelib/idle \ Lib/idlelib/idle.py Lib/test/test_bz2.py \ Lib/test/test_largefile.py Lib/test/test_optparse.py CHECK_INTERPRETER_SKIP= lib/python${PY_VER_SUFFIX}/test/test_pep263.py .include "../../mk/bsd.prefs.mk" PLIST_SRC= ${.CURDIR}/../../lang/python23/PLIST.common .if exists(${.CURDIR}/../../lang/python23/PLIST.${OPSYS}) PLIST_SRC+= ${.CURDIR}/../../lang/python23/PLIST.${OPSYS} .endif .if ${OPSYS} == "NetBSD" PRIVILEGED_STAGES+= clean .endif .if ${OPSYS} == "Darwin" || ${OPSYS} == "Interix" PY_PLATNAME= ${LOWER_OPSYS} .elif ${OPSYS} == "IRIX" PY_PLATNAME= ${LOWER_OPSYS:C/\..*//} .elif ${OPSYS} == "SunOS" PY_PLATNAME= sunos${OS_VERSION:C/\..*//} .else PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//} .endif PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME:Q} .if (${MACHINE_ARCH} == "alpha") || (${MACHINE_ARCH} == "amd64") || \ (${MACHINE_ARCH} == "sparc64") || (${MACHINE_ARCH} == "x86_64") || \ (defined(ABI) && ${ABI} == "64") IS_64BIT_PLATFORM?= yes .else IS_64BIT_PLATFORM?= no .endif # the dl module isn't built for 64 bit archs and Darwin PLIST_VARS+= dl .if empty(IS_64BIT_PLATFORM:M[yY][eE][sS]) && \ (${OPSYS} != "Darwin") && (${OPSYS} != "Interix") PLIST.dl= yes .endif # setup.py causes some modules to be built if the platform is *not* 64bit. PLIST_VARS+= extra-so .if !empty(IS_64BIT_PLATFORM:M[nN][oO]) PLIST.extra-so= yes .endif # ossaudiodev is only available on x86 for the following platforms PLIST_VARS+= oss .if (${MACHINE_ARCH} == "i386") && \ (${PY_PLATNAME} == "linux2" || ${PY_PLATNAME} == "freebsd4" || \ ${PY_PLATNAME} == "freebsd5") PLIST.oss= yes .elif (${MACHINE_ARCH} == "x86_64") && (${PY_PLATNAME} == "linux2") PLIST.oss= yes .endif # Make sure python modules can link correctly .if ${OPSYS} == "Darwin" INSTALL_UNSTRIPPED= yes .endif PLIST_VARS+= bsddb dll nis .if ${OPSYS} == "IRIX" . if ${ABI} != "64" PLIST.nis= yes . endif .else . include "../../mk/bdb.buildlink3.mk" MAKE_ENV+= PY_BDB_TYPE=${BDB_TYPE:Q} MAKE_ENV+= PY_BDB_INCDIRS=${BDBBASE}/${BUILDLINK_INCDIRS.${BDB_TYPE}} MAKE_ENV+= PY_BDB_LIBDIRS=${BDBBASE}/lib MAKE_ENV+= PY_BDB_LIBS=${BDB_LIBS:Q} PLIST.bsddb= yes PLIST.dll= yes . if ${OPSYS} == "Interix" CONFIGURE_ENV+= ac_cv_header_stropts_h=no . else PLIST.nis= yes . endif .endif PLIST_SUBST+= PY_VER_SUFFIX=${PY_VER_SUFFIX:Q} TEST_TARGET= test INSTALL_TARGET= altinstall post-extract: ${MV} ${WRKSRC}/Tools/scripts/pydoc ${WRKSRC}/Tools/scripts/pydoc${PY_VER_SUFFIX} USE_GNU_READLINE= # defined BUILDLINK_DEPMETHOD.readline= build .include "../../archivers/bzip2/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" .include "../../devel/readline/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../mk/dlopen.buildlink3.mk" .include "../../mk/oss.buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.42 log @update master site. no ftp service at python.org anymore. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.41 2009/07/22 09:29:57 wiz Exp $ @ 1.41 log @Remove empty PLIST.common_end. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.40 2008/11/10 19:41:47 wiz Exp $ d6 1 a6 2 MASTER_SITES= ftp://ftp.python.org/pub/python/2.3.7/ \ http://www.python.org/ftp/python/2.3.7/ @ 1.40 log @Update to 2.3.7: Python 2.3 is now well and truly in bugfix-only mode; no new features are being added, and only security critical bugs have been fixed. This release addresses a number of cases interpreter might have crashed in certain boundary conditions. What's New in Python 2.3.7? =========================== *Release date: 11-Mar-2008* What's New in Python 2.3.7c1? =========================== *Release date: 02-Mar-2008* Core and builtins ----------------- - Added checks for integer overflows, contributed by Google. Some are only available if asserts are left in the code, in cases where they can't be triggered from Python code. What's New in Python 2.3.6? =========================== *Release date: 01-NOV-2006* What's New in Python 2.3.6c1? ============================= *Release date: 25-OCT-2006* Core and builtins ----------------- - Patch #1541585: fix buffer overrun when performing repr() on a unicode string in a build with wide unicode (UCS-4) support. This is the problem described in security advisory PSF-2006-001. Extension modules ----------------- - Apply fix for potential heap overflow in PCRE code (CAN-2005-2491). Library ------- - The email package has improved RFC 2231 support, specifically for recognizing the difference between encoded (name*0*=) and non-encoded (name*0=) parameter continuations. This may change the types of values returned from email.message.Message.get_param() and friends. Specifically in some cases where non-encoded continuations were used, get_param() used to return a 3-tuple of (None, None, string) whereas now it will just return the string (since non-encoded continuations don't have charset and language parts). Also, whereas % values were decoded in all parameter continuations, they are now only decoded in encoded parameter parts. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.39 2008/07/14 14:42:51 joerg Exp $ a35 1 PLIST_SRC+= ${.CURDIR}/../../lang/python23/PLIST.common_end @ 1.39 log @Always build depend on readline, so that devel/py-readline can pick up the right config. Bump revision. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.38 2008/04/12 22:43:02 jlam Exp $ d4 1 a4 1 DISTNAME= Python-2.3.5 d6 2 a7 2 MASTER_SITES= ftp://ftp.python.org/pub/python/2.3.5/ \ http://www.python.org/ftp/python/2.3.5/ @ 1.38 log @Convert to use PLIST_VARS instead of manually passing "@@comment " through PLIST_SUBST to the plist module. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.37 2007/12/24 01:19:47 minskim Exp $ d117 3 d122 1 @ 1.37 log @Use BDB_LIBS to obtain the BDB library name, instead of guessing it from BUILDLINK_TRANSFORM. This fixes PR 37297. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.36 2007/07/02 20:24:27 adrianp Exp $ d62 4 a65 5 .if !empty(IS_64BIT_PLATFORM:M[yY][eE][sS]) || \ (${OPSYS} == "Darwin") || (${OPSYS} == "Interix") PLIST_SUBST+= DLMODULE="@@comment " .else PLIST_SUBST+= DLMODULE= d69 1 d71 1 a71 3 PLIST_SUBST+= EXTRA_SO= .else PLIST_SUBST+= EXTRA_SO="@@comment " d75 1 d79 1 a79 1 PLIST_SUBST+= OSSAUDIODEV= d81 1 a81 3 PLIST_SUBST+= OSSAUDIODEV= .else PLIST_SUBST+= OSSAUDIODEV="@@comment " d89 1 d91 2 a92 4 . if ${ABI} == "64" PLIST_SUBST+= NISMODULE="@@comment " . else PLIST_SUBST+= NISMODULE= a93 2 PLIST_SUBST+= BSDDBMODULE="@@comment " PLIST_SUBST+= NOSHLIB="@@comment " d100 2 a101 2 PLIST_SUBST+= BSDDBMODULE= PLIST_SUBST+= NOSHLIB= a102 1 PLIST_SUBST+= NISMODULE="@@comment " d105 1 a105 1 PLIST_SUBST+= NISMODULE= @ 1.36 log @s/PRIVILEGED_STAGE/PRIVILEGED_STAGES/g as it could refer to multiple stages in the future. Suggested by rillig@@ @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.35 2007/07/01 00:25:53 adrianp Exp $ d105 1 a115 4 .if defined(BUILDLINK_TRANSFORM) MAKE_ENV+= PY_BDB_TRANSFORM=${BUILDLINK_TRANSFORM:Q} .endif @ 1.35 log @Add PRIVILEGED_STAGE+= clean (NetBSD only) @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.34 2006/06/01 15:25:03 jlam Exp $ d39 1 a39 1 PRIVILEGED_STAGE+= clean @ 1.34 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.33 2006/05/14 20:46:37 minskim Exp $ d38 4 @ 1.33 log @Fix CHECK_INTERPRETER errors and warnings. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.32 2006/05/07 15:15:27 tv Exp $ d49 8 d58 3 a60 5 .if ${MACHINE_ARCH} == "alpha" || ${MACHINE_ARCH} == "amd64" \ || ${MACHINE_ARCH} == "sparc64" || ${MACHINE_ARCH} == "x86_64" \ || ${OPSYS} == "Darwin" || ( ${OPSYS} == "IRIX" && ${ABI} == "64" ) \ || ${OPSYS} == "Interix" PLIST_SUBST+= DLMODULE="@@comment " d62 1 a62 1 PLIST_SUBST+= DLMODULE= d65 6 a70 2 EXTRA_SO_SUBST= "@@comment " OSSAUDIODEV_SUBST= "@@comment " a71 3 # activate extra modules .if ${MACHINE_ARCH} == "i386" EXTRA_SO_SUBST= d73 8 a80 6 . if ${PY_PLATNAME} == "linux2" || ${PY_PLATNAME} == "freebsd4" \ || ${PY_PLATNAME} == "freebsd5" OSSAUDIODEV_SUBST= . endif .elif ${OPSYS} == "SunOS" || ( ${OPSYS} == "IRIX" && ${ABI} != "64" ) EXTRA_SO_SUBST= a81 6 .if ${MACHINE_ARCH} == "x86_64" && ${PY_PLATNAME} == "linux2" OSSAUDIODEV_SUBST= .endif PLIST_SUBST+= EXTRA_SO=${EXTRA_SO_SUBST} PLIST_SUBST+= OSSAUDIODEV=${OSSAUDIODEV_SUBST} @ 1.32 log @Add http access to distfile as with python24. (At this moment, ftp.python.org is refusing connections....) @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.31 2006/05/06 02:12:07 minskim Exp $ d22 8 @ 1.31 log @The ossaudio module is available on Linux x86_64. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.30 2006/03/09 21:04:44 jlam Exp $ d6 2 a7 1 MASTER_SITES= ftp://ftp.python.org/pub/python/2.3.5/ @ 1.30 log @Replace references to ossaudio.buildlink3.mk with oss.buildlink3.mk. Remove deprecated ossaudio.buildlink3.mk. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.29 2005/12/08 08:16:01 rillig Exp $ d64 3 @ 1.29 log @Fixed the wrong quoting introduced by the recent "pkglint --autofix". The variables are already quoted. Noted by wiz. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.28 2005/12/05 20:50:27 rillig Exp $ d113 1 a113 1 .include "../../mk/ossaudio.buildlink3.mk" @ 1.28 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.27 2005/07/03 19:49:06 recht Exp $ d65 2 a66 2 PLIST_SUBST+= EXTRA_SO=${EXTRA_SO_SUBST:Q} PLIST_SUBST+= OSSAUDIODEV=${OSSAUDIODEV_SUBST:Q} @ 1.27 log @Add devel/gettext-lib as dependency to avoid problems with the locale module not being built. - fix suggested by Simon Kuhn in PR 29735 Add a patch from Antoine Reilles submitted in PR 30466 to fix the buid of some modules on OS X 10.4. Bump PKGREVISION @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.26 2005/04/11 21:46:16 tv Exp $ d16 1 a16 1 CONFIGURE_ARGS+= OPT="${CFLAGS}" d19 1 a19 1 LIBS.SunOS= -lrt d38 1 a38 1 PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME} d65 2 a66 2 PLIST_SUBST+= EXTRA_SO=${EXTRA_SO_SUBST} PLIST_SUBST+= OSSAUDIODEV=${OSSAUDIODEV_SUBST} d83 1 a83 1 MAKE_ENV+= PY_BDB_TYPE=${BDB_TYPE} d97 1 a97 1 MAKE_ENV+= PY_BDB_TRANSFORM="${BUILDLINK_TRANSFORM}" d100 1 a100 1 PLIST_SUBST+= PY_VER_SUFFIX=${PY_VER_SUFFIX} @ 1.26 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.25 2005/02/15 12:25:07 drochner Exp $ d109 1 @ 1.25 log @update to 2.3.5 This is a bug-fix release. It contains the fix for http://www.python.org/security/PSF-2005-001/ which we added in 2.3.4nb7. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.24 2005/01/23 20:41:47 recht Exp $ a13 1 USE_BUILDLINK3= yes @ 1.24 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.23 2005/01/21 02:01:37 tv Exp $ d4 1 a4 1 DISTNAME= Python-2.3.4 d6 1 a6 1 MASTER_SITES= ftp://ftp.python.org/pub/python/2.3.4/ @ 1.23 log @Build fixes for Interix. (Oy, this file needs a good mopping. :) @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.22 2004/12/19 05:34:07 grant Exp $ a4 1 PKGREVISION= 3 @ 1.22 log @all of these use dlopen(). @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.21 2004/11/24 20:45:10 jschauma Exp $ d45 2 a46 1 || ${OPSYS} == "Darwin" || ( ${OPSYS} == "IRIX" && ${ABI} == "64" ) d90 4 d95 1 @ 1.22.2.1 log @Pullup ticket 289 - requested by Matthias Drochner security fix for python Patches hand-rolled, based on the following commit: Module Name: pkgsrc Committed By: drochner Date: Fri Feb 4 15:39:04 UTC 2005 Modified Files: pkgsrc/lang/python22: Makefile distinfo pkgsrc/lang/python23: Makefile distinfo pkgsrc/lang/python23-nth: Makefile pkgsrc/lang/python24: Makefile distinfo Added Files: pkgsrc/lang/python22/patches: patch-an pkgsrc/lang/python23/patches: patch-an pkgsrc/lang/python24/patches: patch-an Log Message: 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 @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.22 2004/12/19 05:34:07 grant Exp $ d5 1 a5 1 PKGREVISION= 7 @ 1.21 log @Make this compile, install and deinstall cleanly under IRIX and IRIX64 version 6.5 by backporting some patches from Python 2.4 and leaving out some broken modules. This partially addresses PR pkg/28373, too, though fixes particular to older Irix versions still need to be tested and added. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.20 2004/11/22 21:48:09 wiz Exp $ d107 1 @ 1.20 log @USE_LANGUAGES=c c++; remove USE_GCC_SHLIB. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.19 2004/11/15 17:54:49 jlam Exp $ d31 1 a31 1 .if ${OPSYS} == "Darwin" || ${OPSYS} == "Interix" || ${OPSYS} == "IRIX" d33 2 d45 1 a45 1 || ${OPSYS} == "Darwin" d62 1 a62 1 .elif ${OPSYS} == "SunOS" d74 10 a83 2 # ensure that the bsddb185 module is built on all platforms .include "../../mk/bdb.buildlink3.mk" d87 4 @ 1.19 log @Rework the Berkeley DB detection in buildlink3: * Add a db1.builtin.mk file that detects whether DB-1.85 functionality exists in the base system, and remove the distinction between "native" and the other Berkeley DB packages -- we now refer to db[1234]. This paves the way for any future databases/db1 package. * USE_DB185 shouldn't need to be set by any packages -- its correct value is now automatically determined by bdb.buildlink3.mk depending on whether we explicitly request db1 or not. By default, if you include bdb.buildlink3.mk, you want DB-1.85 functionality and USE_DB185 defaults to "yes", but if you explicitly remove db1 from the list of acceptable DBs, then USE_DB185 defaults to "no". * Set BDB_LIBS to the library options needed to link against the DB library when bdb.buildlink3.mk is included. * We only add the DB library to the linker command automatically if we want DB-1.85 functionality; otherwise assume that the package configure process can figure out how to probe for the correct headers and libraries. Edit package Makefiles to nuke redundant settings of USE_DB185. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.18 2004/10/30 16:17:53 grant Exp $ a14 1 USE_GCC_SHLIB= yes @ 1.18 log @don't override LOWER_OPSYS just to set PY_PLATNAME. fixes broken PLIST on Solaris. addresses PR pkg/27053 from Robert Lillack. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.17 2004/10/05 10:53:20 minskim Exp $ a73 1 USE_DB185= yes a75 4 .if ${BDB_TYPE} == "native" MAKE_ENV+= PY_BDB_INCDIRS=/usr/${_BDB_INCDIRS} .else a77 1 .endif @ 1.17 log @Do not append OS_VERSION to PY_PLATNAME on Interix; Use LOWER_OPSYS only. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.16 2004/10/03 00:15:02 tv Exp $ a31 4 .if ${OPSYS} == "SunOS" LOWER_OPSYS= sunos .endif d34 2 @ 1.16 log @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. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.15 2004/08/28 16:41:33 danw Exp $ d36 1 a36 1 .if ${OPSYS} == "Darwin" || ${OPSYS} == "IRIX" @ 1.15 log @set INSTALL_UNSTRIPPED on darwin so that python modules will build @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.14 2004/07/22 09:16:03 recht Exp $ d5 1 a5 1 PKGREVISION= 2 @ 1.14 log @add python as category ok'd a while back at pkgsrcCon by agc and wiz @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.13 2004/06/15 14:26:34 grant Exp $ d70 5 @ 1.13 log @before the SIGINT fix, the PKGREVISION was set to 1 in python23{,-pth}/Makefile. it was then "bumped" to 1 in Makefile.common. really bump it to 2 and leave it in Makefile.common (hi luke!) @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.12 2004/06/14 02:31:13 lukem Exp $ d6 1 a6 1 CATEGORIES= lang @ 1.12 log @* Add patches to ensure that signal handlers consistently don't set SA_RESTART (restartable system calls). (These patches have been submitted back to the python community.). Fixes the bug in NetBSD PR [pkg/24797] that I submitted. * Highlight in the DESCR files what the thread support is for that package. * Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.11 2004/06/02 12:29:28 recht Exp $ d5 1 a5 1 PKGREVISION= 1 @ 1.11 log @Update to 2.3.4 This is a bug-fix release for Python 2.3 that fixes a number of bugs, including a couple of weakref bugs and a bug in pickle version 2. There are also a number of fixes to the standard library, and some build fixes - see the release notes ( http://www.python.org/2.3.4/NEWS.html ) for details. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.10 2004/05/12 16:25:34 recht Exp $ d5 1 @ 1.10 log @Add missing patches and disable PKGVIEW installation for now until the issues with modules are sorted out. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.9 2004/05/12 15:19:49 recht Exp $ d4 1 a4 1 DISTNAME= Python-2.3.3 d6 1 a6 1 MASTER_SITES= ftp://ftp.python.org/pub/python/2.3.3/ @ 1.9 log @- Merge bugfixes from python 2.3 maintenance branch: o weakref object's garbage collection problem. o save unnecessary startup-time memory allocation of 100KB+ from intobject. via FreeBSD ports - Enable pkgviews installation. Bump PKGREVISION for the bugfixes. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.8 2004/04/13 22:48:41 recht Exp $ a12 2 PKG_INSTALLATION_TYPES= overwrite pkgviews @ 1.8 log @Rework bdb detection: Since we're using buildlink we could save rely on the variables it sets (eg. BDB_TYPE). While at bl3ify. Thanks to minskim@@ for fixes and testing. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.7 2004/02/04 22:23:47 abs Exp $ d13 2 @ 1.7 log @+ USE_LANGUAGES=c c++ @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.6 2004/01/27 18:55:30 abs Exp $ d15 1 a15 2 USE_DB185= yes USE_BUILDLINK2= yes d70 3 a72 1 .include "../../databases/db/buildlink2.mk" d74 2 a75 19 SUBST_CLASSES+= setup SUBST_MESSAGE.setup= "Fixing paths for db 1.85." SUBST_STAGE.setup= post-patch SUBST_FILES.setup= setup.py SUBST_SED.setup= -e 's,%%DB185_H%%,${DB185_H},g' SUBST_SED.setup+= -e 's,%%DB185_INCS%%,${DB185_INCS},g' SUBST_SED.setup+= -e 's,%%DB185_LIBS%%,${DB185_LIBS},g' SUBST_SED.setup+= -e 's,%%DB185_LIBDIR%%,${DB185_LIBDIR},g' DB185_LIBDIR= ${BUILDLINK_PREFIX.db}/lib .if !empty(BUILDLINK_CPPFLAGS.db) LDFLAGS+= ${BUILDLINK_LDFLAGS.db} DBINCDIR= ${BUILDLINK_CPPFLAGS.db:S/-I//} DB185_INCS= ${DBINCDIR} DB185_LIBS= ${BUILDLINK_LIBS.db:S/-l//} .if ${_NEED_DB2} == "YES" DB185_H= ${DBINCDIR}/db_185.h d77 2 a78 1 DB185_H= ${DBINCDIR}/db.h d80 3 a82 4 .else DB185_H= /usr/include/db.h DB185_INCS= /usr/include DB185_LIBS= d93 4 a96 4 .include "../../archivers/bzip2/buildlink2.mk" .include "../../devel/zlib/buildlink2.mk" .include "../../security/openssl/buildlink2.mk" .include "../../mk/ossaudio.buildlink2.mk" @ 1.6 log @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 @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.5 2004/01/26 12:10:24 grant Exp $ d13 1 @ 1.5 log @fix build and install on Solaris: - use -h instead of -soname= when creating shared objects to appease Solaris linker. - link against librt for fdatasync(). - tweak PLIST for installed modules. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.4 2004/01/26 11:50:29 grant Exp $ d13 1 @ 1.4 log @whitespace fix @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.3 2004/01/25 21:10:10 recht Exp $ d19 3 d50 1 a50 1 X86_SUBST= "@@comment " d52 2 d55 1 a55 2 # activate X86_ONLY modules X86_SUBST= d57 1 a57 1 .if ${PY_PLATNAME} == "linux2" || ${PY_PLATNAME} == "freebsd4" \ d60 3 d64 2 a65 2 .endif PLIST_SUBST+= X86_ONLY=${X86_SUBST} @ 1.3 log @Revert python23{,pth} back to buildlink2. The build fails on NetBSD 1.6 since BUILDLINK_CPPFLAGS and friends are undefined in db's buildlink3. @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.2 2004/01/24 20:53:54 recht Exp $ d32 1 a32 1 PY_PLATNAME=${LOWER_OPSYS} d34 1 a34 1 PY_PLATNAME=${LOWER_OPSYS}${OS_VERSION:C/\..*//} d58 2 a59 2 PLIST_SUBST+= X86_ONLY=${X86_SUBST} PLIST_SUBST+= OSSAUDIODEV=${OSSAUDIODEV_SUBST} @ 1.2 log @bl3ify @ text @d1 1 a1 1 # $NetBSD: Makefile.common,v 1.1 2004/01/24 19:48:11 recht Exp $ d14 1 a14 1 USE_BUILDLINK3= yes d62 1 a62 1 .include "../../databases/db/buildlink3.mk" d100 4 a103 4 .include "../../archivers/bzip2/buildlink3.mk" .include "../../devel/zlib/buildlink3.mk" .include "../../security/openssl/buildlink3.mk" .include "../../mk/ossaudio.buildlink3.mk" @ 1.1 log @Follow grant@@'s lead and use Makefile.common for python23 and python23-pth. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2004/01/24 13:47:56 grant Exp $ d14 1 a14 1 USE_BUILDLINK2= yes d62 1 a62 1 .include "../../databases/db/buildlink2.mk" d100 4 a103 4 .include "../../archivers/bzip2/buildlink2.mk" .include "../../devel/zlib/buildlink2.mk" .include "../../security/openssl/buildlink2.mk" .include "../../mk/ossaudio.buildlink2.mk" @