# HG changeset patch # User Hans-G?nter Theisgen # Date 1652965173 -3600 # Node ID 980adf6bb9e7fb05a38bba15a8fd629a43d8c7b2 # Parent 505d1daeed6c906b4481a4de5c3e5bb175056fe0 updated openssh, openssh-pam and sftp-server (8.7p1 -> 9.0p1) diff -r 505d1daeed6c -r 980adf6bb9e7 openssh-pam/receipt --- a/openssh-pam/receipt Thu May 19 10:39:49 2022 +0000 +++ b/openssh-pam/receipt Thu May 19 13:59:33 2022 +0100 @@ -1,24 +1,27 @@ # SliTaz package receipt. PACKAGE="openssh-pam" -VERSION="8.6p1" +VERSION="9.0p1" CATEGORY="security" +TAGS="ssh security" SHORT_DESC="Openbsd Secure Shell using PAM." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="BSD" +WEB_SITE="https://www.openssh.com/" + SOURCE="openssh" TARBALL="$SOURCE-$VERSION.tar.gz" -WEB_SITE="http://www.openssh.org/" -WGET_URL="http://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL" +WGET_URL="https://ftp.fr.openbsd.org/pub/OpenBSD/OpenSSH/portable/$TARBALL" + +PROVIDE="openssh:pam ssh:pam" +SUGGESTED="gtk+" +DEPENDS="libcrypto pam sftp-server zlib" +BUILD_DEPENDS="gtk+-dev libcrypto-dev openssl-dev pam pam-dev zlib-dev" + +TAZPANEL_DAEMON="man::sshd|edit::/etc/ssh/sshd_config|options::OPENSSH_OPTIONS|web::$WEB_SITE" + CONFIG_FILES="/etc/ssh/*config /etc/ssh/moduli" SECRET_FILES="/etc/ssh/*key*" -TAGS="ssh security" - -PROVIDE="openssh:pam ssh:pam" -DEPENDS="sftp-server libcrypto zlib pam" -BUILD_DEPENDS="libcrypto-dev zlib-dev openssl-dev pam pam-dev gtk+-dev" -SUGGESTED="gtk+" -TAZPANEL_DAEMON="man::sshd|edit::/etc/ssh/sshd_config|options::OPENSSH_OPTIONS|web::$WEB_SITE" current_version() { @@ -30,20 +33,20 @@ compile_rules() { unset LD # for cross compiling with --disable-strip - ./configure \ - --prefix=/usr \ - --sysconfdir=/etc/ssh \ - --libexecdir=/usr/sbin \ - --with-privsep-user=nobody \ - --with-xauth=/usr/bin/xauth \ - --with-privsep-path=/var/run/sshd \ - --with-pam \ - --disable-strip \ + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc/ssh \ + --libexecdir=/usr/sbin \ + --with-privsep-user=nobody \ + --with-xauth=/usr/bin/xauth \ + --with-privsep-path=/var/run/sshd \ + --with-pam \ + --disable-strip \ $CONFIGURE_ARGS && make STRIP_OPT="" && - make -j 1 DESTDIR=$DESTDIR install - install -d -m 755 $DESTDIR/usr/share/doc && - install -m 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc + make install -j 1 DESTDIR=$DESTDIR + install -d -m 755 $DESTDIR/usr/share/doc && + install -m 644 $src/[A-Z][A-Z]* $DESTDIR/usr/share/doc cd contrib && cc -Wall $(pkg-config --cflags gtk+-2.0) gnome-ssh-askpass2.c \ -o gnome-ssh-askpass $(pkg-config --libs gtk+-2.0) -lX11 && @@ -53,17 +56,23 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr $fs/etc/init.d $fs/etc/ssh - cp -a $install/usr/sbin $install/usr/bin $fs/usr - rm -f $fs/usr/sbin/sftp-server - install -D -m 755 -oroot -groot $src/contrib/sshd.pam.generic $fs/etc/pam.d/sshd - install -m 755 -oroot -groot $src/contrib/ssh-copy-id $fs/usr/bin - cp $src/contrib/ssh-copy-id.1 $install/usr/share/man/cat1 - cp -a $install/etc $fs - cp ../$SOURCE/stuff/openssh $fs/etc/init.d + mkdir -p $fs/usr + mkdir -p $fs/etc/init.d + mkdir -p $fs/etc/ssh + + cp -a $install/usr/sbin $fs/usr + cp -a $install/usr/bin $fs/usr + rm -f $fs/usr/sbin/sftp-server + install -D -m 755 -oroot -groot $src/contrib/sshd.pam.generic \ + $fs/etc/pam.d/sshd + install -m 755 -oroot -groot $src/contrib/ssh-copy-id \ + $fs/usr/bin + cp $src/contrib/ssh-copy-id.1 $install/usr/share/man/cat1 + cp -a $install/etc $fs + cp ../$SOURCE/stuff/openssh $fs/etc/init.d sed -i 's/.*UsePAM.*/UsePAM yes/' $fs/etc/ssh/sshd_config sed -i 's|/usr/libexec/sftp-server|/usr/sbin/sftp-server|' \ - $fs/etc/ssh/sshd_config + $fs/etc/ssh/sshd_config cat >> $fs/etc/ssh/ssh_config <> "$1/etc/inetd.conf" < "$1$openssh.pub" chroot "$1/" dropbearkey -y -f $dropbear | grep Fingerprint - done <> $fs/etc/ssh/ssh_config <> "$1/etc/inetd.conf" <> "$1/etc/inetd.conf" < "$1$openssh.pub" chroot "$1/" dropbearkey -y -f $dropbear | grep Fingerprint - done <