![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Symlink auf den Hardening-Wrapper, der installiert war, siehe Listing unten). Kannst Du vieleicht eine Prüfung einbauen, ob gcc-x.y mit .real endet bzw der Wrapper ist?
Hello community,
here is the log from the commit of package icecream
checked in at Mon Nov 3 12:10:51 CET 2008.
--------
--- icecream/icecream.changes 2008-10-06 13:04:04.000000000 +0200
+++ /mounts/work_src_done/STABLE/icecream/icecream.changes 2008-11-02 14:38:47.453073000 +0100
@@ -1,0 +2,11 @@
+Sun Nov 2 14:37:55 CET 2008 - coolo@suse.de
+
+- update to 0.9.2 to include patches upstreamed
+ - Add accessor for the hostname of the scheduler, so that we can
+ show it in a tooltip in icemon in the future.
+ - Only localize job if we find -Wa,.*-a[a-z]*= in an argument
+ - also add accessor for network name
+ - if called as "icecc" (i.e., not through a symlink) and the first
+ argument starts with a slash, use that as the command to run.
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
icecc-0.9.1.tar.bz2
init.patch
r868491.diff
New:
----
icecc-0.9.2.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ icecream.spec ++++++
--- /var/tmp/diff_new_pack.YJ5086/_old 2008-11-03 12:10:28.000000000 +0100
+++ /var/tmp/diff_new_pack.YJ5086/_new 2008-11-03 12:10:28.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package icecream (Version 0.9.1)
+# spec file for package icecream (Version 0.9.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@@ -31,12 +31,10 @@
%endif
PreReq: /usr/sbin/useradd /usr/sbin/groupadd
Requires: gcc-c++
-Version: 0.9.1
-Release: 22
+Version: 0.9.2
+Release: 1
Source0: ftp://ftp.suse.com/pub/projects/icecream/icecc-%{version}.tar.bz2
Source1: %name-manpages.tar.bz2
-Patch: init.patch
-Patch1: r868491.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@@ -74,8 +72,6 @@
%prep
%setup -q -a 1 -n icecc-%{version}
-%patch
-%patch1
%build
export CFLAGS="$RPM_OPT_FLAGS"
@@ -152,6 +148,14 @@
%_libdir/pkgconfig/icecc.pc
%changelog
+* Sun Nov 02 2008 coolo@suse.de
+- update to 0.9.2 to include patches upstreamed
+ - Add accessor for the hostname of the scheduler, so that we can
+ show it in a tooltip in icemon in the future.
+ - Only localize job if we find -Wa,.*-a[a-z]*= in an argument
+ - also add accessor for network name
+ - if called as "icecc" (i.e., not through a symlink) and the first
+ argument starts with a slash, use that as the command to run.
* Mon Oct 06 2008 dmueller@suse.de
- correct service description (bnc#424431)
* Fri Aug 22 2008 aj@suse.de
@@ -169,7 +173,7 @@
* fix handling of pch's
* ignore really small environments
* small code cleanups and portability fixes
-* Fri Apr 11 2008 coolo@suse.de
+* Thu Apr 10 2008 coolo@suse.de
- fix compilation with glibc 2.8
* Tue Feb 12 2008 dmueller@suse.de
- more robustness fixes
@@ -433,7 +437,7 @@
- Don't set LD_ASSUME_KERNEL in BETA.
* Fri Jan 21 2005 coolo@suse.de
- some fixes from CVS
-* Tue Jan 18 2005 schwab@suse.de
+* Mon Jan 17 2005 schwab@suse.de
- create-env: Add specs only if it exists as file.
* Wed Nov 17 2004 coolo@suse.de
- fixing dead loop
@@ -522,7 +526,7 @@
* Sat Apr 17 2004 coolo@suse.de
- splitting monitor into an extra source to simplify build
requirements for the client
-* Sat Apr 17 2004 coolo@suse.de
+* Fri Apr 16 2004 coolo@suse.de
- new protocol version for fancier monitors
* Fri Apr 16 2004 coolo@suse.de
- new version with revised monitor and new init script name
++++++ icecc-0.9.1.tar.bz2 -> icecc-0.9.2.tar.bz2 ++++++
++++ 69152 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/icecc-0.9.1/client/arg.cpp new/icecc-0.9.2/client/arg.cpp
--- old/icecc-0.9.1/client/arg.cpp 2008-06-19 10:02:41.000000000 +0200
+++ new/icecc-0.9.2/client/arg.cpp 2008-10-21 12:40:13.000000000 +0200
@@ -101,11 +101,12 @@
trace() << endl;
#endif
- bool always_local = analyze_program(argv[0], job);
+ bool had_cc = (job.compilerName().size() > 0);
+ bool always_local = analyze_program(had_cc ? job.compilerName().c_str() : argv[0], job);
bool seen_c = false;
bool seen_s = false;
- for (int i = 1; argv[i]; i++) {
+ for (int i = had_cc ? 2 : 1; argv[i]; i++) {
const char *a = argv[i];
if (a[0] == '-') {
@@ -153,11 +154,25 @@
} else if (str_startswith("-Wa,", a)) {
/* Options passed through to the assembler. The only one we
* need to handle so far is -al=output, which directs the
- * listing to the named file and cannot be remote. Parsing
- * all the options would be complex since you can give several
- * comma-separated assembler options after -Wa, but looking
- * for '=' should be safe. */
- if (strchr(a, '=')) {
+ * listing to the named file and cannot be remote. There are
+ * some other options which also refer to local files,
+ * but most of them make no sense when called via the compiler,
+ * hence we only look for -a[a-z]*= and localize the job if we
+ * find it. */
+ const char *pos = a;
+ bool local = false;
+ while ((pos = strstr(pos+1, "-a"))) {
+ pos += 2;
+ while (*pos >= 'a' && *pos <= 'z')
+ pos++;
+ if (*pos == '=') {
+ local = true;
+ break;
+ }
+ if (!*pos)
+ break;
+ }
+ if (local) {
always_local = true;
args.append(a, Arg_Local);
} else
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/icecc-0.9.1/client/main.cpp new/icecc-0.9.2/client/main.cpp
--- old/icecc-0.9.1/client/main.cpp 2008-05-12 19:52:37.000000000 +0200
+++ new/icecc-0.9.2/client/main.cpp 2008-10-21 12:40:13.000000000 +0200
@@ -184,6 +184,8 @@
setup_debug(debug_level, string(), "ICECC");
+ CompileJob job;
+
string compiler_name = argv[0];
dcc_client_catch_signals();
@@ -200,6 +202,8 @@
}
if ( arg == "--build-native" )
return create_native();
+ if ( arg.size() > 0 && arg.at(0) == '/' )
+ job.setCompilerName(arg);
}
}
@@ -214,8 +218,6 @@
* see the EPIPE. */
dcc_ignore_sigpipe(1);
- CompileJob job;
-
local |= analyse_argv( argv, job );
/* if ICECC is set to no, then run job locally */
@@ -248,7 +250,7 @@
Msg *umsg = local_daemon->get_msg(4 * 60);
string native;
if ( umsg && umsg->type == M_NATIVE_ENV )
- native = dynamic_cast
participants (1)
-
root@Hilbert.suse.de