Bug 52830 - Update port: lang/python to 2.2.3 [security]
Summary: Update port: lang/python to 2.2.3 [security]
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Hye-Shik Chang
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-01 03:00 UTC by Chuck Swiger
Modified: 2003-06-04 11:30 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chuck Swiger 2003-06-01 03:00:29 UTC
This is an updated port of Python-2.2.3, which includes some security
fixes-- disabling the rexec and Bastion modules.  I've included a
patch which teaches the regression testing which modules are normally
skipped on the "freebsd4" platform.  I needed to patch
/usr/ports/Mk/bsd.python.mk as well; diff is available in files/.

It looks like someone spent a lot of time including stuff for
backwards compatibility, so I left warnings from portlint in place:

OK: checking /usr/ports/lang/python/pkg-descr.
OK: checking Makefile.
WARN: use of DISTFILES with single file discouraged. distribution filename should be set by DISTNAME and EXTRACT_SUFX.
WARN: "LIB_DEPENDS" has to appear earlier in Makefile.
WARN: DISTFILES/DISTNAME affects WRKSRC. take caution when changing them.
OK: checking /usr/ports/lang/python/distinfo.
OK: checking /usr/ports/lang/python/files/patch-Lib-test-regrtest.py.
OK: checking /usr/ports/lang/python/files/patch-Modules-Setup.dist.
OK: checking /usr/ports/lang/python/files/patch-setup.py.
0 fatal errors and 3 warnings found.

Shar file included below.

Fix: 

[ ...only send-pr aborted when I tried to send a ~130 K shar file... ]

http://www.pkix.net/~chuck/python/
http://www.pkix.net/~chuck/python-port.shar
How-To-Repeat: 
N/A
Comment 1 Foxfair Hu freebsd_committer freebsd_triage 2003-06-01 03:15:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alane

Over to MAINTAINER
Comment 2 Hye-Shik Chang freebsd_committer freebsd_triage 2003-06-03 01:30:47 UTC
Responsible Changed
From-To: alane->perky

I'll handle it
Comment 3 Hye-Shik Chang freebsd_committer freebsd_triage 2003-06-04 09:46:40 UTC
State Changed
From-To: open->closed

The port is committed. 

I modified your patches in the following points: 
- you can't take a maintainership from this port. the current maintainer 
is active enough. 
- you can't change MAINTAINER?= to =. lang/python is a master port for 
lang/stackless_python. 
- unified diff against the current CVS is preferred than shar. 
- files on pkg-plist need to be sorted in alphabetical order. 
- your pkg-plist missed some files on 
%%PORTDOCS%%lib/%%PYTHON_VERSION%%/Tools. 
- %%PORTDOCS%% tags must be on the first of each lines. 

Thank you very much for your reporting!
Comment 4 cswiger 2003-06-04 11:26:03 UTC
Thanks for the commit.

Re: the $MAINTAINER variable, "owning" the python port is not a concern. 
However, it is true that portlint states:

WARN: unless this is a master port, COMMENT has to be set by "=", not by "?=".

The term "master port" is not known to me, documented in "man portlint", or 
mentioned anywhere in: 
http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/book.html

Should portlint know whether a port is a "master port"?

-- 
-Chuck