[openssh] compile ssh-askpass with corect CFLAGS
Jan F. Chadima
jfch2222 at fedoraproject.org
Mon Aug 8 21:43:35 UTC 2011
commit 56b50ec772b6e57aea124e23ecb8567035d7fd0c
Author: Jan F. Chadima <jfch at fukusima15.jagda.eu>
Date: Mon Aug 8 23:32:31 2011 +0200
compile ssh-askpass with corect CFLAGS
openssh-5.8p2-askpass-ld.patch | 18 ++++++++++++++++++
openssh.spec | 8 +++++++-
2 files changed, 25 insertions(+), 1 deletions(-)
---
diff --git a/openssh-5.8p2-askpass-ld.patch b/openssh-5.8p2-askpass-ld.patch
new file mode 100644
index 0000000..5b85c80
--- /dev/null
+++ b/openssh-5.8p2-askpass-ld.patch
@@ -0,0 +1,18 @@
+diff -up openssh-5.8p2/contrib/Makefile.askpass-ld openssh-5.8p2/contrib/Makefile
+--- openssh-5.8p2/contrib/Makefile.askpass-ld 2011-08-08 22:54:06.050546199 +0200
++++ openssh-5.8p2/contrib/Makefile 2011-08-08 22:54:43.364420118 +0200
+@@ -2,12 +2,12 @@ all:
+ @echo "Valid targets: gnome-ssh-askpass1 gnome-ssh-askpass2"
+
+ gnome-ssh-askpass1: gnome-ssh-askpass1.c
+- $(CC) `gnome-config --cflags gnome gnomeui` \
++ $(CC) ${CFLAGS} `gnome-config --cflags gnome gnomeui` \
+ gnome-ssh-askpass1.c -o gnome-ssh-askpass1 \
+ `gnome-config --libs gnome gnomeui`
+
+ gnome-ssh-askpass2: gnome-ssh-askpass2.c
+- $(CC) `pkg-config --cflags gtk+-2.0` \
++ $(CC) ${CFLAGS} `pkg-config --cflags gtk+-2.0` \
+ gnome-ssh-askpass2.c -o gnome-ssh-askpass2 \
+ `pkg-config --libs gtk+-2.0 x11`
+
diff --git a/openssh.spec b/openssh.spec
index fc67f74..896cc10 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -79,7 +79,7 @@
# Do not forget to bump pam_ssh_agent_auth release if you rewind the main package release to 1
%define openssh_ver 5.8p2
-%define openssh_rel 18
+%define openssh_rel 19
%define pam_ssh_agent_ver 0.9.2
%define pam_ssh_agent_rel 31
@@ -196,6 +196,8 @@ Patch66: openssh-5.8p2-ipv6man.patch
Patch67: openssh-5.8p2-unconfined.patch
#https://bugzilla.mindrot.org/show_bug.cgi?id=1924
Patch68: openssh-5.8p2-sesftplog.patch
+#?
+Patch69: openssh-5.8p2-askpass-ld.patch
#---
#https://bugzilla.mindrot.org/show_bug.cgi?id=1604
# sctp
@@ -434,6 +436,7 @@ popd
%patch66 -p1 -b .ipv6man
%patch67 -p1 -b .unconfined
%patch68 -p1 -b .sesftplog
+%patch69 -p1 -b .askpass-ld
autoreconf
pushd pam_ssh_agent_auth-%{pam_ssh_agent_ver}
@@ -771,6 +774,9 @@ fi
%endif
%changelog
+* Mon Aug 8 2011 Jan F. Chadima <jchadima at redhat.com> - 5.8p2-19 + 0.9.2-31
+- compile ssh-askpass with corect CFLAGS
+
* Mon Aug 8 2011 Jan F. Chadima <jchadima at redhat.com> - 5.8p2-18 + 0.9.2-31
- improve selinux's change context log
More information about the scm-commits
mailing list