Accepting request 98217 from network
Fix building for openSUSE targets back to 10.2 (forwarded request 98019 from aljex) OBS-URL: https://build.opensuse.org/request/show/98217 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openssh?expand=0&rev=71
This commit is contained in:
commit
0192755d3e
@ -18,7 +18,6 @@ Index: log.c
|
|||||||
int saved_errno = errno;
|
int saved_errno = errno;
|
||||||
log_handler_fn *tmp_handler;
|
log_handler_fn *tmp_handler;
|
||||||
|
|
||||||
if (level > log_level)
|
|
||||||
@@ -387,6 +389,14 @@ do_log(LogLevel level, const char *fmt,
|
@@ -387,6 +389,14 @@ do_log(LogLevel level, const char *fmt,
|
||||||
snprintf(msgbuf, sizeof msgbuf, "%s\r\n", fmtbuf);
|
snprintf(msgbuf, sizeof msgbuf, "%s\r\n", fmtbuf);
|
||||||
write(STDERR_FILENO, msgbuf, strlen(msgbuf));
|
write(STDERR_FILENO, msgbuf, strlen(msgbuf));
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 21 10:31:42 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- remove call to suse_update_config (very old work around)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Oct 19 00:40:15 UTC 2011 - pcerny@suse.com
|
Wed Oct 19 00:40:15 UTC 2011 - pcerny@suse.com
|
||||||
|
|
||||||
|
@ -15,17 +15,20 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: openssh-askpass-gnome
|
Name: openssh-askpass-gnome
|
||||||
BuildRequires: gtk2-devel krb5-devel openssh openssl-devel pam-devel tcpd-devel update-desktop-files
|
BuildRequires: gtk2-devel
|
||||||
License: BSD3c(or similar)
|
BuildRequires: krb5-devel
|
||||||
Group: Productivity/Networking/SSH
|
BuildRequires: openssh
|
||||||
|
BuildRequires: openssl-devel
|
||||||
|
BuildRequires: pam-devel
|
||||||
|
BuildRequires: tcpd-devel
|
||||||
|
BuildRequires: update-desktop-files
|
||||||
Version: 5.9p1
|
Version: 5.9p1
|
||||||
Release: 1
|
Release: 0
|
||||||
Requires: openssh = %{version} openssh-askpass = %{version}
|
Requires: openssh = %{version} openssh-askpass = %{version}
|
||||||
AutoReqProv: on
|
|
||||||
Summary: A GNOME-Based Passphrase Dialog for OpenSSH
|
Summary: A GNOME-Based Passphrase Dialog for OpenSSH
|
||||||
|
License: BSD-3-Clause
|
||||||
|
Group: Productivity/Networking/SSH
|
||||||
Url: http://www.openssh.com/
|
Url: http://www.openssh.com/
|
||||||
%define _name openssh
|
%define _name openssh
|
||||||
Source: %{_name}-%{version}.tar.bz2
|
Source: %{_name}-%{version}.tar.bz2
|
||||||
@ -56,7 +59,6 @@ GNOME-based passphrase dialog for OpenSSH.
|
|||||||
%patch7
|
%patch7
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{?suse_update_config:%{suse_update_config}}
|
|
||||||
aclocal
|
aclocal
|
||||||
autoheader
|
autoheader
|
||||||
autoconf
|
autoconf
|
||||||
|
@ -1,3 +1,20 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 23 08:27:08 UTC 2011 - brian@aljex.com
|
||||||
|
|
||||||
|
- Fix building for OS 11.0, 10.3, 10.2
|
||||||
|
* Don't require selinux on OS 11.0 or lower
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Dec 23 06:34:28 UTC 2011 - brian@aljex.com
|
||||||
|
|
||||||
|
- Fix building for OS 11.2 and 11.1
|
||||||
|
- Cleanup remove remaining litteral /etc/init.d 's
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 21 10:38:59 UTC 2011 - coolo@suse.com
|
||||||
|
|
||||||
|
- add autoconf as buildrequire to avoid implicit dependency
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 29 19:48:29 UTC 2011 - crrodriguez@opensuse.org
|
Tue Nov 29 19:48:29 UTC 2011 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
32
openssh.spec
32
openssh.spec
@ -16,22 +16,29 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Name: openssh
|
Name: openssh
|
||||||
%define _fwdefdir %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
|
%define _fwdefdir %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
|
||||||
%define _appdefdir %{_prefix}/share/X11/app-defaults
|
%define _appdefdir %{_prefix}/share/X11/app-defaults
|
||||||
BuildRequires: audit-devel krb5-devel openssl-devel pam-devel tcpd-devel xorg-x11-devel
|
BuildRequires: audit-devel
|
||||||
BuildRequires: libselinux-devel
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: krb5-devel
|
||||||
BuildRequires: libedit-devel
|
BuildRequires: libedit-devel
|
||||||
License: BSD3c(or similar) ; MIT License (or similar)
|
%if 0%{suse_version} > 1100
|
||||||
Group: Productivity/Networking/SSH
|
BuildRequires: libselinux-devel
|
||||||
|
%endif
|
||||||
|
BuildRequires: openssl-devel
|
||||||
|
BuildRequires: pam-devel
|
||||||
|
BuildRequires: tcpd-devel
|
||||||
|
BuildRequires: xorg-x11-devel
|
||||||
Requires: /bin/netstat
|
Requires: /bin/netstat
|
||||||
PreReq: pwdutils %{insserv_prereq} %{fillup_prereq} coreutils
|
PreReq: pwdutils %{insserv_prereq} %{fillup_prereq} coreutils
|
||||||
Conflicts: nonfreessh
|
Conflicts: nonfreessh
|
||||||
Version: 5.9p1
|
Version: 5.9p1
|
||||||
Release: 1
|
Release: 0
|
||||||
%define xversion 1.2.4.1
|
%define xversion 1.2.4.1
|
||||||
Summary: Secure Shell Client and Server (Remote Login Program)
|
Summary: Secure Shell Client and Server (Remote Login Program)
|
||||||
|
License: BSD-3-Clause ; MIT
|
||||||
|
Group: Productivity/Networking/SSH
|
||||||
Url: http://www.openssh.com/
|
Url: http://www.openssh.com/
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: sshd.init
|
Source1: sshd.init
|
||||||
@ -72,12 +79,13 @@ BuildRequires: systemd
|
|||||||
%define has_systemd 1
|
%define has_systemd 1
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
%{!?_initddir:%global _initddir %{_initrddir}}
|
||||||
|
|
||||||
%package askpass
|
%package askpass
|
||||||
License: BSD3c(or similar) ; MIT License (or similar)
|
|
||||||
Summary: A passphrase dialog for OpenSSH and the X Window System
|
Summary: A passphrase dialog for OpenSSH and the X Window System
|
||||||
|
Group: Productivity/Networking/SSH
|
||||||
Requires: openssh = %{version}
|
Requires: openssh = %{version}
|
||||||
Provides: openssh:%{_libexecdir}/ssh/ssh-askpass
|
Provides: openssh:%{_libexecdir}/ssh/ssh-askpass
|
||||||
Group: Productivity/Networking/SSH
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
SSH (Secure Shell) is a program for logging into and executing commands
|
SSH (Secure Shell) is a program for logging into and executing commands
|
||||||
@ -136,7 +144,9 @@ export LDFLAGS="-pie"
|
|||||||
--sysconfdir=%{_sysconfdir}/ssh \
|
--sysconfdir=%{_sysconfdir}/ssh \
|
||||||
--libexecdir=%{_libexecdir}/ssh \
|
--libexecdir=%{_libexecdir}/ssh \
|
||||||
--with-tcp-wrappers \
|
--with-tcp-wrappers \
|
||||||
|
%if 0%{suse_version} > 1100
|
||||||
--with-selinux \
|
--with-selinux \
|
||||||
|
%endif
|
||||||
--with-pam \
|
--with-pam \
|
||||||
--with-kerberos5=/usr \
|
--with-kerberos5=/usr \
|
||||||
--with-privsep-path=/var/lib/empty \
|
--with-privsep-path=/var/lib/empty \
|
||||||
@ -163,9 +173,9 @@ install -d -m 755 %{buildroot}/var/lib/sshd
|
|||||||
install -m 644 %{S:2} %{buildroot}%{_sysconfdir}/pam.d/sshd
|
install -m 644 %{S:2} %{buildroot}%{_sysconfdir}/pam.d/sshd
|
||||||
install -d -m 755 %{buildroot}%{_sysconfdir}/slp.reg.d/
|
install -d -m 755 %{buildroot}%{_sysconfdir}/slp.reg.d/
|
||||||
install -m 644 %{S:7} %{buildroot}%{_sysconfdir}/slp.reg.d/
|
install -m 644 %{S:7} %{buildroot}%{_sysconfdir}/slp.reg.d/
|
||||||
install -d -m 755 %{buildroot}/etc/init.d
|
install -d -m 755 %{buildroot}%{_initddir}
|
||||||
install -m 755 %{S:1} %{buildroot}/etc/init.d/sshd
|
install -m 755 %{S:1} %{buildroot}%{_initddir}/sshd
|
||||||
ln -vs ../../etc/init.d/sshd %{buildroot}/usr/sbin/rcsshd
|
ln -vs ../..%{_initddir}/sshd %{buildroot}%{_sbindir}/rcsshd
|
||||||
install -d -m 755 %{buildroot}/var/adm/fillup-templates
|
install -d -m 755 %{buildroot}/var/adm/fillup-templates
|
||||||
install -m 644 %{S:10} %{buildroot}/var/adm/fillup-templates
|
install -m 644 %{S:10} %{buildroot}/var/adm/fillup-templates
|
||||||
# install shell script to automate the process of adding your public key to a remote machine
|
# install shell script to automate the process of adding your public key to a remote machine
|
||||||
|
Loading…
Reference in New Issue
Block a user