Up to [cvs.NetBSD.org] / pkgsrc / security / ssh2
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
"Hygiene demands it." Sources are from 2003, current tectia client/server has vulnterabilities, there are no security eyes on this version.
Add missing mk/termcap buildlink. Bump PKGREVISION
Mark packages as MAKE_JOBS_SAFE=no that failed in a bulk build with MAKE_JOBS=2 and worked without.
Use standard location for LICENSE line (in MAINTAINER/HOMEPAGE/COMMENT block). Uncomment some commented out LICENSE lines while here.
Convert packages that test and use USE_INET6 to use the options framework and to support the "inet6" option instead. Remaining usage of USE_INET6 was solely for the benefit of the scripts that generate the README.html files. Replace: BUILD_DEFS+= USE_INET6 with BUILD_DEFS+= IPV6_READY and teach the README-generation tools to look for that instead. This nukes USE_INET6 from pkgsrc proper. We leave a tiny bit of code to continue to support USE_INET6 for pkgsrc-wip until it has been nuked from there as well.
Enable modular X.org support, PR pkg/36760.
Added support for installation to DESTDIR. "root"-permissions still required because of "chown" and "chmod" commands. Enabled tests.
Whitespace cleanup, courtesy of pkglint. Patch provided by Sergey Svishchev in private mail.
Added missing fflush to scp when priting statistics. Fixed bug in the reverse dns queries for IPv6 addresses (overwriting 12 bytes of local variables on the stack). Disabled x11-security on all platforms, as it does not seem to work on i386 either. Incremented PKGREVISION to 7.
Fixed RSA e=3 bug (most likely nobody uses e=3 rsa keys
on ssh anyways, but better to make sure). Fixed some
more ssh_*_{en,de}code calls missing necessary casts.
Disabled x11-security extension on x86_64 as it does not
work there (uses xauth instead). Updated pkgrevision.
This software does not qualify as either Free or Open Source. Add LICENSE=, and license file. Set RESTRICTED and NO_BIN_ON_* because permission to distribute derived works is unclear, limited to some operating systems, and requires a reciprocal license grant.
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.
Recursive revision bump / recommended bump for gettext ABI change.
Add x11 option to ssh2 package. Remove obsolete ssh2-nox11 package. Replaces PR 32716 by Tracy Di Marco White.
Fixed ssh_encode_* calls to have casts to SshUInt32 or size_t to get it working properly on the 64-bit platform (amd64).
Massive cleanup of buildlink3.mk and builtin.mk files in pkgsrc.
Several changes are involved since they are all interrelated. These
changes affect about 1000 files.
The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files. Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred. This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.
The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.
The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc. The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.
The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files. Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories. These files are used as input
to imake since imake can't use stdin for that purpose.
The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead. This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed. Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries. Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
The default location of the pkgsrc-installed rc.d scripts is now under share/examples/rc.d. The variable name already was named RCD_SCRIPTS_EXAMPLEDIR. This is from ideas from Greg Woods and others. Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism (as requested by wiz).
Moved PKGREVISION definition from common Makefile to the package-specific Makefile (as mentioned on tech-pkg).
Revert previous: conflicts with openssh (and others) are already specified in Makefile.common.
add CONFLICT with openssh.
Pave the way for bits sharing with the upcoming ssh2-nox11 package.
Instead of including bsd.pkg.install.mk directly in a package Makefile, have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set to "YES". This enforces the requirement that bsd.pkg.install.mk be included at the end of a package Makefile. Idea suggested by Julio M. Merino Vidal <jmmv at menta.net>.
Update to ssh version 3.2.2.
Changes since 3.2.0:
2002-10-15 Sami J. Lehtinen <sjl@ssh.com>
* ssh-3.2.2 (on Unix this time).
* sshd2: Fixed a security problem with setsid() use. Now we call
it every time, if we need to run a new process on the user's
privileges (command, subsystem or shell). Previously, it was only
run if the user had requested a tty (for a shell, for example).
Special thanks to Logan Gabriel for finding this problem.
2002-10-01 Sami J. Lehtinen <sjl@ssh.com>
* configure: Previous: Check for /dev/pts was broken.
2002-08-08 Sami J. Lehtinen <sjl@ssh.com>
* ssh-3.2.2 (only Windows client, no *nix changes).
2002-07-26 Sami J. Lehtinen <sjl@ssh.com>
* ssh-3.2.1.
2002-07-24 Sami J. Lehtinen <sjl@ssh.com>
* sshd2: Fixed a bug with setpcred() usage (on AIX), which caused
that chroot() was not done.
buildlink1 -> buildlink2
Take advantage of the auto-generation and installation of rc.d scripts.
Initial import of ssh version 2.3.0 into the NetBSD Packages Collection. This package provides Secure Shell client and server for V.2 SSH protocol from SSH Communications Security. Based on PR 15358 from Greg A. Woods <woods@planix.com>.
Initial revision