]> git.pld-linux.org Git - packages/openssh.git/commitdiff
- Up to 5.7p1 auto/th/openssh-5_7p1-1
authorCaleb Maclennan <caleb@alerque.com>
Mon, 24 Jan 2011 15:44:15 +0000 (15:44 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Removed selinux patch, applied upstream
- Updated heimdal and ldap patches

Changed files:
    openssh-heimdal.patch -> 1.10
    openssh-lpk.patch -> 1.6
    openssh-selinux.patch -> 1.8
    openssh.spec -> 1.346

openssh-heimdal.patch
openssh-lpk.patch
openssh-selinux.patch [deleted file]
openssh.spec

index b0881ef5352fc22bf96716f9040247afac353d79..1f8d0412df377833f5f61965e4665cc9a5792f21 100644 (file)
@@ -1,16 +1,15 @@
-diff -urN openssh-3.9p1.org/configure.ac openssh-3.9p1/configure.ac
---- openssh-3.9p1.org/configure.ac     2004-08-17 19:25:31.977492488 +0200
-+++ openssh-3.9p1/configure.ac 2004-08-17 19:25:48.157032824 +0200
-@@ -2265,13 +2265,13 @@
-                                      [ char *tmp = heimdal_version; ],
+--- openssh-5.7p1/configure.ac.orig    2011-01-22 00:37:05.000000000 +0200
++++ openssh-5.7p1/configure.ac 2011-01-24 16:21:01.711393457 +0200
+@@ -3572,14 +3572,14 @@
                                       [ AC_MSG_RESULT(yes)
                                         AC_DEFINE(HEIMDAL)
--                                       K5LIBS="-lkrb5 -ldes"
+                                        K5LIBS="-lkrb5"
 -                                       K5LIBS="$K5LIBS -lcom_err -lasn1"
-+                                       K5LIBS="-lkrb5"
 +                                       K5LIBS="$K5LIBS -lasn1"
                                         AC_CHECK_LIB(roken, net_write,
                                           [K5LIBS="$K5LIBS -lroken"])
+                                        AC_CHECK_LIB(des, des_cbc_encrypt,
+                                          [K5LIBS="$K5LIBS -ldes"])
                                       ],
                                       [ AC_MSG_RESULT(no)
 -                                       K5LIBS="-lkrb5 -lk5crypto -lcom_err"
index f87e4000690aaf2ffea0d42b25cb0de08869bb4c..010ef8dbb3f35b0cef66210b96b81ec24564ff38 100644 (file)
@@ -220,18 +220,17 @@ diff -Nuar --exclude '*.orig' --exclude '*.rej' openssh-5.1p1.orig/config.h.in o
  /* Define if your libraries define login() */
  #undef HAVE_LOGIN
  
-diff -Nuar --exclude '*.orig' --exclude '*.rej' openssh-5.1p1.orig/configure openssh-5.1p1+lpk/configure
---- openssh-5.1p1.orig/configure       2008-07-21 01:30:50.000000000 -0700
-+++ openssh-5.1p1+lpk/configure        2008-08-23 15:02:47.000000000 -0700
-@@ -1340,6 +1340,7 @@
+--- openssh-5.7p1/configure.orig       2011-01-22 11:29:11.000000000 +0200
++++ openssh-5.7p1/configure    2011-01-24 16:33:06.271393457 +0200
+@@ -1348,6 +1348,7 @@
    --with-tcp-wrappers[=PATH] Enable tcpwrappers support (optionally in PATH)
    --with-libedit[=PATH]   Enable libedit support for sftp
-   --with-audit=module     Enable EXPERIMENTAL audit support (modules=debug,bsm)
+   --with-audit=module     Enable audit support (modules=debug,bsm,linux)
 +  --with-ldap[=PATH]      Enable LDAP pubkey support (optionally in PATH)
    --with-ssl-dir=PATH     Specify path to OpenSSL installation
    --without-openssl-header-check Disable OpenSSL version consistency check
    --with-ssl-engine       Enable OpenSSL (hardware) ENGINE support
-@@ -12568,6 +12569,85 @@
+@@ -12198,6 +12199,85 @@
  fi
  
  
@@ -317,7 +316,7 @@ diff -Nuar --exclude '*.orig' --exclude '*.rej' openssh-5.1p1.orig/configure ope
  
  
  
-@@ -30135,6 +30215,7 @@
+@@ -31970,6 +32050,7 @@
  echo "                 Smartcard support: $SCARD_MSG"
  echo "                     S/KEY support: $SKEY_MSG"
  echo "              TCP Wrappers support: $TCPW_MSG"
@@ -1202,13 +1201,12 @@ diff -Nuar --exclude '*.orig' --exclude '*.rej' openssh-5.1p1.orig/lpk-user-exam
 +puTTY). Login should succeed.
 +
 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-diff -Nuar --exclude '*.orig' --exclude '*.rej' openssh-5.1p1.orig/Makefile.in openssh-5.1p1+lpk/Makefile.in
---- openssh-5.1p1.orig/Makefile.in     2008-07-08 07:21:12.000000000 -0700
-+++ openssh-5.1p1+lpk/Makefile.in      2008-08-23 15:02:47.000000000 -0700
-@@ -91,7 +91,7 @@
+--- openssh-5.7p1/Makefile.in.orig     2011-01-17 12:15:29.000000000 +0200
++++ openssh-5.7p1/Makefile.in  2011-01-24 16:35:51.174726790 +0200
+@@ -93,7 +93,7 @@
        auth2-gss.o gss-serv.o gss-serv-krb5.o \
        loginrec.o auth-pam.o auth-shadow.o auth-sia.o md5crypt.o \
-       audit.o audit-bsm.o platform.o sftp-server.o sftp-common.o \
+       sftp-server.o sftp-common.o \
 -      roaming_common.o roaming_serv.o
 +      roaming_common.o roaming_serv.o ldapauth.o
  
@@ -1533,9 +1531,9 @@ diff -Nuar --exclude '*.orig' --exclude '*.rej' openssh-5.1p1.orig/README.lpk op
 +- CONTACT :
 +  - Eric AUGE <eau@phear.org>
 +  - Andrea Barisani <andrea@inversepath.com>
---- openssh-5.6p1/servconf.c~  2010-08-24 14:07:30.000000000 +0300
-+++ openssh-5.6p1/servconf.c   2010-08-24 14:09:08.999656164 +0300
-@@ -42,6 +42,10 @@
+--- openssh-5.7p1/servconf.c.orig      2010-11-20 06:19:38.000000000 +0200
++++ openssh-5.7p1/servconf.c   2011-01-24 16:38:27.381393458 +0200
+@@ -46,6 +46,10 @@
  #include "channels.h"
  #include "groupaccess.h"
  
@@ -1546,10 +1544,10 @@ diff -Nuar --exclude '*.orig' --exclude '*.rej' openssh-5.1p1.orig/README.lpk op
  static void add_listen_addr(ServerOptions *, char *, int);
  static void add_one_listen_addr(ServerOptions *, char *, int);
  
-@@ -136,6 +136,24 @@
-       options->revoked_keys_file = NULL;
-       options->trusted_user_ca_keys = NULL;
+@@ -139,6 +143,24 @@
        options->authorized_principals_file = NULL;
+       options->ip_qos_interactive = -1;
+       options->ip_qos_bulk = -1;
 +#ifdef WITH_LDAP_PUBKEY
 +      /* XXX dirty */
 +      options->lpk.ld = NULL;
@@ -1571,10 +1569,10 @@ diff -Nuar --exclude '*.orig' --exclude '*.rej' openssh-5.1p1.orig/README.lpk op
  }
  
  void
-@@ -258,6 +281,32 @@
-               options->permit_tun = SSH_TUNMODE_NO;
-       if (options->zero_knowledge_password_authentication == -1)
-               options->zero_knowledge_password_authentication = 0;
+@@ -281,6 +303,32 @@
+               options->ip_qos_interactive = IPTOS_LOWDELAY;
+       if (options->ip_qos_bulk == -1)
+               options->ip_qos_bulk = IPTOS_THROUGHPUT;
 +#ifdef WITH_LDAP_PUBKEY
 +      if (options->lpk.on == -1)
 +          options->lpk.on = _DEFAULT_LPK_ON;
@@ -1604,9 +1602,9 @@ diff -Nuar --exclude '*.orig' --exclude '*.rej' openssh-5.1p1.orig/README.lpk op
  
        /* Turn privilege separation on by default */
        if (use_privsep == -1)
-@@ -303,6 +352,12 @@
-       sMatch, sPermitOpen, sForceCommand, sChrootDirectory,
-       sUsePrivilegeSeparation, sAllowAgentForwarding,
+@@ -329,6 +377,12 @@
+       sRevokedKeys, sTrustedUserCAKeys, sAuthorizedPrincipalsFile,
+       sKexAlgorithms, sIPQoS,
        sDeprecated, sUnsupported
 +#ifdef WITH_LDAP_PUBKEY
 +      ,sLdapPublickey, sLdapServers, sLdapUserDN
@@ -1617,7 +1615,7 @@ diff -Nuar --exclude '*.orig' --exclude '*.rej' openssh-5.1p1.orig/README.lpk op
  } ServerOpCodes;
  
  #define SSHCFG_GLOBAL 0x01    /* allowed in main section of sshd_config */
-@@ -459,6 +477,20 @@
+@@ -439,6 +493,20 @@
        { "clientalivecountmax", sClientAliveCountMax, SSHCFG_GLOBAL },
        { "authorizedkeysfile", sAuthorizedKeysFile, SSHCFG_ALL },
        { "authorizedkeysfile2", sAuthorizedKeysFile2, SSHCFG_ALL },
@@ -1638,7 +1636,7 @@ diff -Nuar --exclude '*.orig' --exclude '*.rej' openssh-5.1p1.orig/README.lpk op
        { "useprivilegeseparation", sUsePrivilegeSeparation, SSHCFG_GLOBAL},
        { "acceptenv", sAcceptEnv, SSHCFG_GLOBAL },
        { "permittunnel", sPermitTunnel, SSHCFG_ALL },
-@@ -1294,6 +1363,107 @@
+@@ -1411,6 +1479,107 @@
                while (arg)
                    arg = strdelim(&cp);
                break;
diff --git a/openssh-selinux.patch b/openssh-selinux.patch
deleted file mode 100644 (file)
index 50ff629..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- openssh-4.4p1/openbsd-compat/port-linux.c.orig     2006-09-01 07:38:41.000000000 +0200
-+++ openssh-4.4p1/openbsd-compat/port-linux.c  2006-10-05 10:21:21.445971000 +0200
-@@ -42,7 +42,7 @@
-       static int enabled = -1;
-       if (enabled == -1) {
--              enabled = is_selinux_enabled();
-+              enabled = (is_selinux_enabled() > 0);
-               debug("SELinux support %s", enabled ? "enabled" : "disabled");
-       }
index d902281cb33b77595cd31b9ae5a5281a5f23682a..bef1c78cacbbbb0a315327469f7d163c0950a6e1 100644 (file)
@@ -28,13 +28,13 @@ Summary(pt_BR.UTF-8):       Implementação livre do SSH
 Summary(ru.UTF-8):     OpenSSH - свободная реализация протокола Secure Shell (SSH)
 Summary(uk.UTF-8):     OpenSSH - вільна реалізація протоколу Secure Shell (SSH)
 Name:          openssh
-Version:       5.6p1
-Release:       4
+Version:       5.7p1
+Release:       1
 Epoch:         2
 License:       BSD
 Group:         Applications/Networking
 Source0:       ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/%{name}-%{version}.tar.gz
-# Source0-md5: e6ee52e47c768bf0ec42a232b5d18fb0
+# Source0-md5: 50231fa257219791fa41b84a16c9df04
 Source1:       http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
 # Source1-md5: 66943d481cc422512b537bcc2c7400d1
 Source2:       %{name}d.init
@@ -51,7 +51,6 @@ Patch3:               %{name}-sigpipe.patch
 # http://code.google.com/p/openssh-lpk/
 Patch4:                %{name}-lpk.patch
 Patch5:                %{name}-config.patch
-Patch7:                %{name}-selinux.patch
 # High Performance SSH/SCP - HPN-SSH - http://www.psc.edu/networking/projects/hpn-ssh/
 # http://www.psc.edu/networking/projects/hpn-ssh/openssh-5.2p1-hpn13v6.diff.gz
 Patch9:                %{name}-5.2p1-hpn13v6.diff
@@ -513,7 +512,6 @@ openldap-a.
 %patch3 -p1
 %{?with_ldap:%patch4 -p1}
 %patch5 -p1
-%patch7 -p1
 %{?with_hpn:%patch9 -p1}
 %patch10 -p1
 %patch11 -p1
@@ -546,7 +544,7 @@ CPPFLAGS="-DCHROOT"
 %if "%{pld_release}" == "ac"
        --with-xauth=/usr/X11R6/bin/xauth \
 %else
-       --with-xauth=/usr/bin/xauth \
+       --with-xauth=%{_bindir}/xauth \
 %endif
        --enable-utmpx \
        --enable-wtmpx
This page took 0.325004 seconds and 4 git commands to generate.