remove header if/thens + change source
Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>master
parent
078569fe06
commit
6073d49db5
|
@ -1,10 +1,4 @@
|
||||||
# Do we want SELinux & Audit
|
|
||||||
%if 0%{?!noselinux:1}
|
|
||||||
%global WITH_SELINUX 1
|
%global WITH_SELINUX 1
|
||||||
%else
|
|
||||||
%global WITH_SELINUX 0
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
|
|
||||||
# OpenSSH privilege separation requires a user & group ID
|
# OpenSSH privilege separation requires a user & group ID
|
||||||
|
@ -29,25 +23,7 @@
|
||||||
# Do we want libedit support
|
# Do we want libedit support
|
||||||
%global libedit 1
|
%global libedit 1
|
||||||
|
|
||||||
# Whether to build pam_ssh_agent_auth
|
|
||||||
%if 0%{?!nopam:1}
|
|
||||||
%global pam_ssh_agent 1
|
%global pam_ssh_agent 1
|
||||||
%else
|
|
||||||
%global pam_ssh_agent 0
|
|
||||||
%endif
|
|
||||||
|
|
||||||
# Reserve options to override askpass settings with:
|
|
||||||
# rpm -ba|--rebuild --define 'skip_xxx 1'
|
|
||||||
%{?skip_gnome_askpass:%global no_gnome_askpass 1}
|
|
||||||
|
|
||||||
# Add option to build without GTK2 for older platforms with only GTK+.
|
|
||||||
# Red Hat Linux <= 7.2 and Red Hat Advanced Server 2.1 are examples.
|
|
||||||
# rpm -ba|--rebuild --define 'no_gtk2 1'
|
|
||||||
%{?no_gtk2:%global gtk2 0}
|
|
||||||
|
|
||||||
# Options for static OpenSSL link:
|
|
||||||
# rpm -ba|--rebuild --define "static_openssl 1"
|
|
||||||
%{?static_openssl:%global static_libcrypto 1}
|
|
||||||
|
|
||||||
# Do not forget to bump pam_ssh_agent_auth release if you rewind the main package release to 1
|
# Do not forget to bump pam_ssh_agent_auth release if you rewind the main package release to 1
|
||||||
%global openssh_ver 8.7p1
|
%global openssh_ver 8.7p1
|
||||||
|
@ -61,8 +37,8 @@ Version: %{openssh_ver}
|
||||||
Release: %{openssh_rel}%{?dist}
|
Release: %{openssh_rel}%{?dist}
|
||||||
URL: http://www.openssh.com/portable.html
|
URL: http://www.openssh.com/portable.html
|
||||||
#URL1: https://github.com/jbeverly/pam_ssh_agent_auth/
|
#URL1: https://github.com/jbeverly/pam_ssh_agent_auth/
|
||||||
Source0: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz
|
Source0: http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz
|
||||||
Source1: ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz.asc
|
Source1: http://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-%{version}.tar.gz.asc
|
||||||
Source2: sshd.pam
|
Source2: sshd.pam
|
||||||
Source3: gpgkey-736060BA.gpg
|
Source3: gpgkey-736060BA.gpg
|
||||||
Source4: https://github.com/jbeverly/pam_ssh_agent_auth/archive/pam_ssh_agent_auth-%{pam_ssh_agent_ver}.tar.gz
|
Source4: https://github.com/jbeverly/pam_ssh_agent_auth/archive/pam_ssh_agent_auth-%{pam_ssh_agent_ver}.tar.gz
|
||||||
|
|
Loading…
Reference in New Issue