This is an automated email from the git hooks/post-receive script.
rharwood pushed a change to branch master in repository gssproxy.
from 0d7ff9f Release version 0.6.2 new db9b56f Clean up build flags new 57e8fb3 Detect kerberos.schema on RHEL
The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: proxy/Makefile.am | 18 ++++++------------ proxy/tests/testlib.py | 7 ++++--- 2 files changed, 10 insertions(+), 15 deletions(-)
This is an automated email from the git hooks/post-receive script.
rharwood pushed a commit to branch master in repository gssproxy.
commit db9b56f54dfb4920b01b6a32ae6e221d231e54ce Author: Robbie Harwood rharwood@redhat.com Date: Mon Feb 20 22:21:55 2017 -0500
Clean up build flags
Don't pretend to support non-gcc-like compilers, and don't require -Wdate-time on all builds.
Signed-off-by: Robbie Harwood rharwood@redhat.com Reviewed-by: Simo Sorce simo@redhat.com --- proxy/Makefile.am | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-)
diff --git a/proxy/Makefile.am b/proxy/Makefile.am index 644694f..e1fbac1 100644 --- a/proxy/Makefile.am +++ b/proxy/Makefile.am @@ -40,19 +40,13 @@ AM_LDFLAGS = if WANT_AUX_INFO AM_CFLAGS += -aux-info $@.X endif -if HAVE_GCC -# -fstrict-aliasing is needed so that -W*strict-aliasing works -# properly - AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \ - -Wcast-qual -Wcast-align -Wwrite-strings \ - -fstrict-aliasing -Wstrict-aliasing -Werror=strict-aliasing \ - -Werror-implicit-function-declaration \ - -Werror=format-security - - AM_CPPFLAGS += -Wdate-time -endif +AM_CFLAGS += -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith \ + -Wcast-qual -Wcast-align -Wwrite-strings \ + -fstrict-aliasing -Wstrict-aliasing -Werror=strict-aliasing \ + -Werror-implicit-function-declaration \ + -Werror=format-security if BUILD_HARDENING - AM_CPPFLAGS += -D_FORTIFY_SOURCE=2 + AM_CPPFLAGS += -D_FORTIFY_SOURCE=2 -Wdate-time AM_CFLAGS += -fPIE -fstack-protector-strong AM_LDFLAGS += -fPIE -pie -fPIC -Wl,-z,relro -Wl,-z,now endif
This is an automated email from the git hooks/post-receive script.
rharwood pushed a commit to branch master in repository gssproxy.
commit 57e8fb3ac1be3ed648629066509b832fb8231554 Author: Robbie Harwood rharwood@redhat.com Date: Mon Feb 20 22:34:13 2017 -0500
Detect kerberos.schema on RHEL
The docpath on RHEL includes the package version. Since there will only ever be one version, just glob it.
Signed-off-by: Robbie Harwood rharwood@redhat.com Reviewed-by: Simo Sorce simo@redhat.com --- proxy/tests/testlib.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/proxy/tests/testlib.py b/proxy/tests/testlib.py index 858e9a9..bb210d3 100755 --- a/proxy/tests/testlib.py +++ b/proxy/tests/testlib.py @@ -148,10 +148,11 @@ def setup_ldap(testdir, wrapenv): raise ValueError("Did not find LDAP schemas; is openldap installed?")
k5schema = None - for path in ["/usr/share/doc/krb5-server-ldap/kerberos.schema", + for path in ["/usr/share/doc/krb5-server-ldap*/kerberos.schema", "/usr/share/doc/krb5-kdc-ldap/kerberos.schema.gz"]: - if os.path.exists(path): - k5schema = path + pathlist = glob.glob(path) + if len(pathlist) > 0: + k5schema = pathlist[0] break if k5schema == None: print("Please be sure krb5 ldap packages are installed")
gss-proxy@lists.fedorahosted.org