SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,10 @@
--- automake.in.orig Sat May 15 11:52:42 2004
+++ automake.in Sun Oct 10 22:21:07 2004
@@ -4472,6 +4472,7 @@ sub scan_autoconf_traces ($)
my ($here, @args) = split /::/;
my $where = new Automake::Location $here;
my $macro = $args[0];
+ next if ($macro eq "include");
prog_error ("unrequested trace `$macro'")
unless exists $traced{$macro};

View file

@ -0,0 +1,27 @@
--- doc/automake.texi.orig Thu May 13 22:41:35 2004
+++ doc/automake.texi Thu Jul 22 13:56:06 2010
@@ -1,7 +1,8 @@
\input texinfo @c -*-texinfo-*-
@c %**start of header
@setfilename automake.info
-@settitle automake
+@dircategory Programming & development tools
+@settitle automake${SUFFIX}
@setchapternewpage off
@c %**end of header
@@ -34,12 +35,12 @@ published by the Free Software Foundation raise funds
@dircategory Software development
@direntry
-* automake: (automake). Making Makefile.in's.
+* automake${SUFFIX}: (automake${SUFFIX}). Making Makefile.in's.
@end direntry
@dircategory Individual utilities
@direntry
-* aclocal: (automake)Invoking aclocal. Generating aclocal.m4.
+* aclocal${SUFFIX}: (automake${SUFFIX})Invoking aclocal. Generating aclocal.m4.
@end direntry
@titlepage

View file

@ -0,0 +1,13 @@
Avoid a warning from perl-5.11
--- lib/Automake/Wrap.pm.orig Thu May 5 11:17:06 2011
+++ lib/Automake/Wrap.pm Thu May 5 11:17:18 2011
@@ -57,7 +57,7 @@ sub tab_length($)
{
my ($txt) = @_;
my $len = length ($txt);
- $len += 7 * ($txt =~ tr/\t/\t/d);
+ $len += 7 * ($txt =~ tr/\t/\t/);
return $len;
}

View file

@ -0,0 +1,36 @@
- Fix insecure permissions for directories in distfile build tree. CVE-2009-4029
- Fix insecure permissions used for the top of the distfile build tree. CVE-2012-3386
--- lib/am/distdir.am.orig Thu Jul 19 15:12:01 2012
+++ lib/am/distdir.am Thu Jul 19 15:37:07 2012
@@ -190,11 +190,7 @@ if %?DIST-TARGETS%
endif %?DIST-TARGETS%
##
## This complex find command will try to avoid changing the modes of
-## links into the source tree, in case they're hard-linked. It will
-## also make directories writable by everybody, because some
-## brain-dead tar implementations change ownership and permissions of
-## a directory before extracting the files, thus becoming unable to
-## extract them.
+## links into the source tree, in case they're hard-linked.
##
## Ignore return result from chmod, because it might give an error
## if we chmod a symlink.
@@ -207,7 +203,7 @@ endif %?DIST-TARGETS%
## the file in place in the source tree.
##
if %?TOPDIR_P%
- -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
+ -find $(distdir) -type d ! -perm -755 -exec chmod u+rwx,go+rx {} \; -o \
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
@@ -318,7 +314,7 @@ distcheck: dist
## Make the new source tree read-only. Distributions ought to work in
## this case. However, make the top-level directory writable so we
## can make our new subdirs.
- chmod -R a-w $(distdir); chmod a+w $(distdir)
+ chmod -R a-w $(distdir); chmod u+w $(distdir)
mkdir $(distdir)/_build
mkdir $(distdir)/_inst
## Undo the write access.

View file

@ -0,0 +1,15 @@
--- lib/am/header-vars.am.orig Mon Jan 5 20:28:28 2004
+++ lib/am/header-vars.am Mon May 30 11:07:20 2011
@@ -41,9 +41,9 @@ top_builddir = %TOPDIR%
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
INSTALL = @INSTALL@
-install_sh_DATA = $(install_sh) -c -m 644
-install_sh_PROGRAM = $(install_sh) -c
-install_sh_SCRIPT = $(install_sh) -c
+install_sh_DATA = ${SHELL} $(install_sh) -c -m 644
+install_sh_PROGRAM = ${SHELL} $(install_sh) -c
+install_sh_SCRIPT = ${SHELL} $(install_sh) -c
INSTALL_HEADER = $(INSTALL_DATA)
transform = $(program_transform_name)

View file

@ -0,0 +1,11 @@
--- m4/python.m4.orig Fri Mar 26 15:50:01 2004
+++ m4/python.m4 Sat Mar 12 13:35:48 2011
@@ -52,7 +52,7 @@ AC_DEFUN([AM_PATH_PYTHON],
dnl $prefix/lib/site-python in 1.4 to $prefix/lib/python1.5/site-packages
dnl in 1.5.
m4_define([_AM_PYTHON_INTERPRETER_LIST],
- [python python2 python2.4 python2.3 python2.2 dnl
+ [python python2 python2.7 python2.6 python2.5 python2.4 python2.3 python2.2 dnl
python2.1 python2.0 python1.6 python1.5])
m4_if([$1],[],[