platform/upstream/openssh.git
9 months agoDist/Tizen: Fix build breaks on GCC 13 06/295106/1 accepted/tizen_unified_dev tizen accepted/tizen/unified/dev/20230726.115523
Wook Song [Mon, 3 Jul 2023 02:36:54 +0000 (11:36 +0900)]
Dist/Tizen: Fix build breaks on GCC 13

This patch fixes build breaks on Tizen GCC-13 using temporary
workarounds.

Change-Id: I30a8c645553d37c401328f801a3e42c64094ded8
Signed-off-by: Wook Song <wook16.song@samsung.com>
3 years agoFix build with ASan 55/149955/4 submit/tizen/20200928.233815 submit/tizen/20201013.015804
Dmitriy Evgenevich Gonzha [Wed, 13 Sep 2017 13:20:43 +0000 (16:20 +0300)]
Fix build with ASan

Use -fcommon flag for ASan builds, add library dependency.
Squashed patch from sandbox/vbarinov/asan branch

Change-Id: I322a59cc6b09237002d57c93f0854db87d47b00d
Signed-off-by: Slava Barinov <v.barinov@samsung.com>
Signed-off-by: Dmitriy Evgenevich Gonzha <d.gonzha@samsung.com>
3 years agoTizen/Dist: Handle ASAN flag (-fno-common) of latest Tizen compiler 17/242817/1 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix accepted/tizen_6.5_unified accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_unified tizen_6.0 tizen_6.0_hotfix tizen_6.5 tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/6.0/unified/20201030.112211 accepted/tizen/6.0/unified/hotfix/20201102.231913 accepted/tizen/6.5/unified/20211028.224522 accepted/tizen/7.0/unified/20221110.060431 accepted/tizen/7.0/unified/hotfix/20221116.111214 accepted/tizen/8.0/unified/20231005.095304 accepted/tizen/unified/20200914.131300 submit/tizen/20200901.074738 submit/tizen/20200914.045102 submit/tizen_6.0/20201029.205503 submit/tizen_6.0_hotfix/20201102.192903 submit/tizen_6.0_hotfix/20201103.115103 submit/tizen_6.5/20211028.163601 tizen_6.0.m2_release tizen_6.5.m2_release tizen_7.0_m2_release tizen_8.0_m2_release
Geunsik Lim [Tue, 1 Sep 2020 05:35:40 +0000 (14:35 +0900)]
Tizen/Dist: Handle ASAN flag (-fno-common) of latest Tizen compiler

This commit handles the -fno-common flag of up-to-date Tizen compiler (GCC).
In case of Opensource project, it is to restore the existing -fcommon flag.

* Reference:
  * https://wiki.tizen.org/ASan
    - “multiple definition of” linking error due to -fno-common

* Build issue:
  ... Omission ...
/usr/lib/gcc/armv7l-tizen-linux-gnueabi/9.2.0/../../../../armv7l-tizen-linux-gnueabi/
bin/ld: session.o:/home/abuild/rpmbuild/BUILD/openssh-7.7p1/session.c:144: multiple
definition of `tun_fwd_ifnames'; serverloop.o:/home/abuild/rpmbuild/BUILD/
openssh-7.7p1/serverloop.c:104: first defined here

Change-Id: I40ab91b53798aa352c8d40fbd9c761de56ead96a
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
3 years agoBumped to OpenSSH 7.7p1 for OpenSSL 1.1 33/241433/1 sandbox/leemgs/7.7p1.bump accepted/tizen/unified/20200820.133519 submit/tizen/20200820.073329
Geunsik Lim [Thu, 20 Aug 2020 06:35:47 +0000 (15:35 +0900)]
Bumped to OpenSSH 7.7p1 for OpenSSL 1.1

Change-Id: I697fc92532fb109af93b50cef91c642c80757cf7
Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
7 years agoChanged pwdutils to shadow-utils for maintenance issue 15/70615/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable accepted/tizen_3.0_common accepted/tizen_3.0_ivi accepted/tizen_3.0_mobile accepted/tizen_3.0_tv accepted/tizen_3.0_wearable accepted/tizen_4.0_unified accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable tizen_3.0 tizen_3.0.m2 tizen_3.0_tv tizen_4.0 accepted/tizen/3.0.m2/mobile/20170105.025151 accepted/tizen/3.0.m2/tv/20170105.025258 accepted/tizen/3.0.m2/wearable/20170105.025354 accepted/tizen/3.0/common/20161114.111415 accepted/tizen/3.0/ivi/20161011.055353 accepted/tizen/3.0/mobile/20161015.033922 accepted/tizen/3.0/tv/20161016.005312 accepted/tizen/3.0/wearable/20161015.083605 accepted/tizen/4.0/unified/20170816.010847 accepted/tizen/4.0/unified/20170828.222855 accepted/tizen/common/20160523.143826 accepted/tizen/ivi/20160523.023838 accepted/tizen/mobile/20160523.023921 accepted/tizen/tv/20160523.023857 accepted/tizen/unified/20170309.040240 accepted/tizen/wearable/20160523.023907 submit/tizen/20160520.053329 submit/tizen/20171017.044715 submit/tizen_3.0.m2/20170104.093754 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000005 submit/tizen_3.0_mobile/20161015.000005 submit/tizen_3.0_tv/20161015.000004 submit/tizen_3.0_wearable/20161015.000004 submit/tizen_4.0/20170811.094300 submit/tizen_4.0/20170828.100006 submit/tizen_unified/20170308.100415 tizen_4.0.IoT.p1_release tizen_4.0.m1_release
changjoo.lee [Fri, 20 May 2016 01:14:00 +0000 (10:14 +0900)]
Changed pwdutils to shadow-utils for maintenance issue

Change-Id: I10fc7d56fb29567c18e86e37d3efc4c2b1783585
Signed-off-by: changjoo.lee <changjoo.lee@samsung.com>
9 years agopackaging: Improving support of lastlog 39/34939/2 accepted/tizen_3.0.2014.q4_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/3.0.2014.q4/common/20150212.144719 accepted/tizen/common/20150212.145052 accepted/tizen/ivi/20160218.025303 accepted/tizen/mobile/20150224.002816 accepted/tizen/tv/20150324.014610 accepted/tizen/wearable/20150227.064225 submit/tizen_3.0.2014.q4_common/20150212.144009 submit/tizen_common/20150212.143937 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000006 submit/tizen_mobile/20150223.000001 submit/tizen_tv/20150320.000002 submit/tizen_tv/20150323.050640 submit/tizen_wearable/20150227.000000 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
José Bollo [Wed, 4 Feb 2015 15:01:30 +0000 (16:01 +0100)]
packaging: Improving support of lastlog

Since january 2015, ssh was complaining that /var/log/lastlog
was missing.

This is probably because the file /var/log/lastlog that is
%ghost in platform/upstream/setup is not created (but faillog is
created) during image creation.

As this have negative inpact due to error messages,
we decide to remove the support of lastlog in ssh in favor of the
support of lastlog in pam_lastlog.

This is good because management of lastlog is now made in a unique
place.

Change-Id: I22e31aa3c2f092323b9d692a273e938c1b7f9a85
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
9 years agoUpgrade to 6.2p1 tizen_3.0_ivi accepted/tizen/common/20141229.125255 accepted/tizen/ivi/20150113.060300 accepted/tizen/mobile/20150129.040544 accepted/tizen/wearable/20150129.005546 submit/tizen_common/20141224.165234 submit/tizen_ivi/20150108.111111 submit/tizen_ivi/20150108.222222 submit/tizen_ivi/20150108.333333 submit/tizen_mobile/20150128.000000 submit/tizen_tv/20150130.050505 submit/tizen_wearable/20150127.000002 tizen_3.0_ivi_release
Ronan Le Martret [Thu, 13 Nov 2014 14:30:04 +0000 (15:30 +0100)]
Upgrade to 6.2p1

Change-Id: Id224eac07cfa3e02d50b4b75f6b515bebadee997
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
9 years agoFix systemd per-connection service
Łukasz Stelmach [Tue, 18 Mar 2014 11:35:02 +0000 (12:35 +0100)]
Fix systemd per-connection service

sshd(8) started on demand with logging via syslog socket
inappropriately sets up file descriptor 0 passed to interactive
shell which makes the shell exit before showing prompt. To fix
the issues sshd needs to log to stderr and the file descriptor
needs to be redirected to systemd journal.

Change-Id: I03a5bf148a5096b0b7ba3a312b3ca8890b1bdd89
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
9 years ago.changes
Michael Leibowitz [Tue, 25 Feb 2014 00:53:03 +0000 (16:53 -0800)]
.changes

Change-Id: I7007ecb4dc92356fa9b593af1102ed90544ea102
Signed-off-by: Michael Leibowitz <michael.leibowitz@intel.com>
9 years agoAdd pam_smack to the sshd pam module list (PTREL-549)
Michael Leibowitz [Fri, 21 Feb 2014 01:17:30 +0000 (17:17 -0800)]
Add pam_smack to the sshd pam module list (PTREL-549)

This makes ssh sessions run in the context "User"

Change-Id: I542f9e5689feb18e198af4da4e652b7952059151
Signed-off-by: Michael Leibowitz <michael.leibowitz@intel.com>
9 years agoUpgrade to 6.2p2 to fix CVE-2010-5107
Michael Leibowitz [Mon, 12 Aug 2013 14:16:31 +0000 (07:16 -0700)]
Upgrade to 6.2p2 to fix CVE-2010-5107

Change-Id: I3551ff92b4e90dafd8db1c1a4cc8c8a393ac49a4
Signed-off-by: Michael Leibowitz <michael.leibowitz@intel.com>
9 years agoresetting manifest requested domain to floor
Alexandru Cornea [Mon, 1 Jul 2013 18:53:00 +0000 (21:53 +0300)]
resetting manifest requested domain to floor

9 years agoremove unused file
Anas Nashif [Fri, 15 Feb 2013 01:49:30 +0000 (17:49 -0800)]
remove unused file

9 years agoGenerate ssh keys if needed
Anas Nashif [Fri, 15 Feb 2013 01:30:51 +0000 (17:30 -0800)]
Generate ssh keys if needed

9 years agoGenerate ssh keys if needed
Anas Nashif [Fri, 15 Feb 2013 01:30:42 +0000 (17:30 -0800)]
Generate ssh keys if needed

9 years agoRemove local patches and integrate them
Anas Nashif [Thu, 14 Feb 2013 03:01:26 +0000 (19:01 -0800)]
Remove local patches and integrate them

9 years agocleanup
Anas Nashif [Tue, 12 Feb 2013 14:03:16 +0000 (06:03 -0800)]
cleanup

9 years agoremove integrated patches
Anas Nashif [Tue, 12 Feb 2013 14:01:40 +0000 (06:01 -0800)]
remove integrated patches

9 years agoopenssh-nocrazyabicheck
Anas Nashif [Tue, 12 Feb 2013 13:57:08 +0000 (05:57 -0800)]
openssh-nocrazyabicheck

9 years agoopenssh-5.9p1-host_ident.diff
Anas Nashif [Tue, 12 Feb 2013 13:57:08 +0000 (05:57 -0800)]
openssh-5.9p1-host_ident.diff

===================================================================

9 years agoopenssh-5.9p1-sshconfig-knownhostschanges.diff
Anas Nashif [Tue, 12 Feb 2013 13:57:08 +0000 (05:57 -0800)]
openssh-5.9p1-sshconfig-knownhostschanges.diff

===================================================================

9 years agoopenssh-5.9p1-homechroot
Anas Nashif [Tue, 12 Feb 2013 13:57:08 +0000 (05:57 -0800)]
openssh-5.9p1-homechroot

===================================================================

9 years agoopenssh-5.9p1-pts.diff
Anas Nashif [Tue, 12 Feb 2013 13:57:08 +0000 (05:57 -0800)]
openssh-5.9p1-pts.diff

===================================================================

9 years agoopenssh-5.9p1-default-protocol.diff
Anas Nashif [Tue, 12 Feb 2013 13:57:08 +0000 (05:57 -0800)]
openssh-5.9p1-default-protocol.diff

===================================================================

9 years agoopenssh-5.9p1-xauth.diff
Anas Nashif [Tue, 12 Feb 2013 13:57:08 +0000 (05:57 -0800)]
openssh-5.9p1-xauth.diff

===================================================================

9 years agoopenssh-5.9p1-xauthlocalhostname.diff
Anas Nashif [Tue, 12 Feb 2013 13:57:08 +0000 (05:57 -0800)]
openssh-5.9p1-xauthlocalhostname.diff

===================================================================

9 years agoopenssh-5.9p1-send_locale.diff
Anas Nashif [Tue, 12 Feb 2013 13:57:08 +0000 (05:57 -0800)]
openssh-5.9p1-send_locale.diff

===================================================================

9 years agoopenssh-5.9p1-blocksigalrm.diff
Anas Nashif [Tue, 12 Feb 2013 13:57:08 +0000 (05:57 -0800)]
openssh-5.9p1-blocksigalrm.diff

===================================================================

9 years agoopenssh-5.9p1-engines.diff
Anas Nashif [Tue, 12 Feb 2013 13:57:08 +0000 (05:57 -0800)]
openssh-5.9p1-engines.diff

===================================================================

9 years agoopenssh-5.9p1-eal3.diff
Anas Nashif [Tue, 12 Feb 2013 13:57:07 +0000 (05:57 -0800)]
openssh-5.9p1-eal3.diff

===================================================================

9 years agoopenssh-5.9p1-pam-fix3.diff
Anas Nashif [Tue, 12 Feb 2013 13:57:07 +0000 (05:57 -0800)]
openssh-5.9p1-pam-fix3.diff

===================================================================

9 years agoopenssh-5.9p1-saveargv-fix.diff
Anas Nashif [Tue, 12 Feb 2013 13:57:07 +0000 (05:57 -0800)]
openssh-5.9p1-saveargv-fix.diff

===================================================================

9 years agoopenssh-5.9p1-pam-fix2.diff
Anas Nashif [Tue, 12 Feb 2013 13:57:07 +0000 (05:57 -0800)]
openssh-5.9p1-pam-fix2.diff

===================================================================

9 years agoopenssh-5.9p1-sshd_config.diff
Anas Nashif [Tue, 12 Feb 2013 13:57:07 +0000 (05:57 -0800)]
openssh-5.9p1-sshd_config.diff

===================================================================

9 years agocleanup
Anas Nashif [Tue, 12 Feb 2013 13:55:20 +0000 (05:55 -0800)]
cleanup

9 years agochangelog
Simon McVittie [Tue, 22 Jan 2013 14:54:45 +0000 (14:54 +0000)]
changelog

9 years agoActivate openssh on-demand using systemd socket activation
Simon McVittie [Mon, 21 Jan 2013 16:22:18 +0000 (16:22 +0000)]
Activate openssh on-demand using systemd socket activation

This gets it out of the critical path for boot; swapping in grep(1)
for sshd-gen-keys-start takes a little while when we're busy with
other I/O. On a Lenovo X201 with a 5400rpm hard disk, this is actually
measurable: dropping it from the critical path saves about 2 seconds,
out of 21s from systemd start to gdm prompt.

Bug: #TZPC-550
Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk>
9 years agoadd packaging
Anas Nashif [Mon, 5 Nov 2012 21:56:48 +0000 (13:56 -0800)]
add packaging

9 years agoadd packaging
Anas Nashif [Mon, 5 Nov 2012 21:56:30 +0000 (13:56 -0800)]
add packaging

9 years agoadd packaging
Anas Nashif [Mon, 5 Nov 2012 21:55:59 +0000 (13:55 -0800)]
add packaging

9 years agoImported Upstream version 6.6p1 upstream/6.6p1
Ronan Le Martret [Thu, 13 Nov 2014 14:14:30 +0000 (15:14 +0100)]
Imported Upstream version 6.6p1

10 years agoImported Upstream version 6.2p2 upstream/6.2p2
Michael Leibowitz [Mon, 12 Aug 2013 13:15:36 +0000 (06:15 -0700)]
Imported Upstream version 6.2p2

11 years agoImported Upstream version 6.0p1 upstream/6.0p1
Anas Nashif [Mon, 5 Nov 2012 21:55:57 +0000 (13:55 -0800)]
Imported Upstream version 6.0p1