/hg/icedtea-web: Make sure that path to PUBLIC_KEYSTORE exists t...
jvanek at icedtea.classpath.org
jvanek at icedtea.classpath.org
Wed Feb 19 06:39:26 PST 2014
changeset db83ddf35fc0 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=db83ddf35fc0
author: Jiri Vanek <jvanek at redhat.com>
date: Wed Feb 19 15:39:02 2014 +0100
Make sure that path to PUBLIC_KEYSTORE exists to prevent keytool fail and put link flags to the end of gcc command line to prevent link failures
diffstat:
ChangeLog | 7 +++++++
Makefile.am | 6 ++++++
tests/softkiller/Makefile | 2 +-
3 files changed, 14 insertions(+), 1 deletions(-)
diffs (56 lines):
diff -r d2563e68c74a -r db83ddf35fc0 ChangeLog
--- a/ChangeLog Thu Feb 13 12:56:17 2014 +0100
+++ b/ChangeLog Wed Feb 19 15:39:02 2014 +0100
@@ -1,3 +1,10 @@
+2014-02-19 Michal Vyskocil <mvyskocil at suse.com>
+
+ Put link flags to the end of gcc command line to prevent link failures
+ Make sure that path to PUBLIC_KEYSTORE exists to prevent keytool fail
+ * tests/softkiller/Makefile: put -lX11 to the end of command line
+ * Makefile.am: if path to PUBLIC_KEYSTORE does not exists, make it
+
2014-02-13 Jiri Vanek <jvanek at redhat.com>
Get rid of ConcurrentModificationException in Console output.
diff -r d2563e68c74a -r db83ddf35fc0 Makefile.am
--- a/Makefile.am Thu Feb 13 12:56:17 2014 +0100
+++ b/Makefile.am Wed Feb 19 15:39:02 2014 +0100
@@ -735,6 +735,8 @@
PUBLIC_KEYSTORE=${HOME}/.config ; \
fi ;\
PUBLIC_KEYSTORE=$$PUBLIC_KEYSTORE/$(PUBLIC_KEYSTORE_STUB); \
+ keystoredir=`dirname $(PUBLIC_KEYSTORE)`; \
+ [ ! -d $(keystoredir) ] && mkdir -p $(keystoredir); \
for which in "$${types[@]}" ; do \
$(BOOT_DIR)/bin/keytool -delete -alias $(TEST_CERT_ALIAS)_$$which -keystore $$PUBLIC_KEYSTORE -storepass $(PUBLIC_KEYSTORE_PASS) ; \
done ;
@@ -752,6 +754,8 @@
PUBLIC_KEYSTORE=${HOME}/.config ; \
fi ;\
PUBLIC_KEYSTORE=$$PUBLIC_KEYSTORE/$(PUBLIC_KEYSTORE_STUB); \
+ keystoredir=`dirname $(PUBLIC_KEYSTORE)`; \
+ [ ! -d $(keystoredir) ] && mkdir -p $(keystoredir); \
for which in "$${types[@]}" ; do \
yes | $(BOOT_DIR)/bin/keytool -import -alias $(TEST_CERT_ALIAS)_$$which -keystore $$PUBLIC_KEYSTORE -storepass $(PUBLIC_KEYSTORE_PASS) -file $(EXPORTED_TEST_CERT_PREFIX)_$$which.$(EXPORTED_TEST_CERT_SUFFIX) ;\
done ;
@@ -765,6 +769,8 @@
PUBLIC_KEYSTORE=${HOME}/.config ; \
fi ;\
PUBLIC_KEYSTORE=$$PUBLIC_KEYSTORE/$(PUBLIC_KEYSTORE_STUB); \
+ keystoredir=`dirname $(PUBLIC_KEYSTORE)`; \
+ [ ! -d $(keystoredir) ] && mkdir -p $(keystoredir); \
for which in "$${types[@]}" ; do \
$(BOOT_DIR)/bin/keytool -delete -alias $(TEST_CERT_ALIAS)_$$which -keystore $$PUBLIC_KEYSTORE -storepass $(PUBLIC_KEYSTORE_PASS) ; \
done ;
diff -r d2563e68c74a -r db83ddf35fc0 tests/softkiller/Makefile
--- a/tests/softkiller/Makefile Thu Feb 13 12:56:17 2014 +0100
+++ b/tests/softkiller/Makefile Wed Feb 19 15:39:02 2014 +0100
@@ -2,7 +2,7 @@
# (this function does not exist in C89/ANSI C)
softkiller: softkiller.c
- $(CC) -Wall -pedantic -std=c99 -o $@ -lX11 $<
+ $(CC) -Wall -pedantic -std=c99 -o $@ $< -lX11
clean:
rm softkiller
More information about the distro-pkg-dev
mailing list