public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/elfix:elfix-0.9.x commit in: scripts/
@ 2015-09-03 23:08 Anthony G. Basile
  0 siblings, 0 replies; 5+ messages in thread
From: Anthony G. Basile @ 2015-09-03 23:08 UTC (permalink / raw
  To: gentoo-commits

commit:     5188f699d1d449f2cda286ab1c0af01032813e9b
Author:     Fabio Scaccabarozzi <fsvm88 <AT> gmail <DOT> com>
AuthorDate: Sun Jan  4 15:23:41 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Sep  3 23:10:14 2015 +0000
URL:        https://gitweb.gentoo.org/proj/elfix.git/commit/?id=5188f699

scripts/paxmodule.c: fix build with clang

clang complains of a return with no NULL.

X-Gentoo-Bug: 526832
X-Gentoo-Bug-URL: https://bugs.gentoo.org/526832
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 scripts/paxmodule.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/scripts/paxmodule.c b/scripts/paxmodule.c
index 4ba32df..1355f86 100644
--- a/scripts/paxmodule.c
+++ b/scripts/paxmodule.c
@@ -101,7 +101,11 @@ initpax(void)
 #endif
 
 	if (m == NULL)
+#if PY_MAJOR_VERSION >= 3
+		return NULL;
+#else
 		return;
+#endif
 
 	PaxError = PyErr_NewException("pax.PaxError", NULL, NULL);
 	Py_INCREF(PaxError);


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/elfix:elfix-0.9.x commit in: scripts/
@ 2015-09-03 23:08 Anthony G. Basile
  0 siblings, 0 replies; 5+ messages in thread
From: Anthony G. Basile @ 2015-09-03 23:08 UTC (permalink / raw
  To: gentoo-commits

commit:     5a08a2ff9a4d703ca692e58cca60d60a0c428fc4
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 22 17:30:12 2014 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Thu Sep  3 23:08:54 2015 +0000
URL:        https://gitweb.gentoo.org/proj/elfix.git/commit/?id=5a08a2ff

scripts/revdep-pax: change .get_maps() to .get_graph()

 scripts/revdep-pax | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/revdep-pax b/scripts/revdep-pax
index a718fd6..7c1cf85 100755
--- a/scripts/revdep-pax
+++ b/scripts/revdep-pax
@@ -465,7 +465,7 @@ def run_soname(name, verbose, use_soname, mark, allyes, executable_only):
     shell_path = os.getenv('PATH').split(':')
 
     (object_linkings, object_reverse_linkings,
-     library2soname, soname2library) = LinkGraph().get_maps()
+     library2soname, soname2library) = LinkGraph().get_graph()
 
     if use_soname:
         soname = name


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/elfix:elfix-0.9.x commit in: scripts/
@ 2015-10-27 19:36 Anthony G. Basile
  0 siblings, 0 replies; 5+ messages in thread
From: Anthony G. Basile @ 2015-10-27 19:36 UTC (permalink / raw
  To: gentoo-commits

commit:     10d612ffd70f3ecef2089cce6ef186424786a8b7
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 27 19:42:35 2015 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Oct 27 19:43:13 2015 +0000
URL:        https://gitweb.gentoo.org/proj/elfix.git/commit/?id=10d612ff

scripts/paxmark.sh: don't do a login bash, bug #564142.

 scripts/paxmark.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/paxmark.sh b/scripts/paxmark.sh
index 71631b7..c273bd8 100755
--- a/scripts/paxmark.sh
+++ b/scripts/paxmark.sh
@@ -1,4 +1,4 @@
-#!/bin/bash -l
+#!/bin/bash
 
 has() {
 	f=$1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/elfix:elfix-0.9.x commit in: scripts/
@ 2019-04-22 21:26 Anthony G. Basile
  0 siblings, 0 replies; 5+ messages in thread
From: Anthony G. Basile @ 2019-04-22 21:26 UTC (permalink / raw
  To: gentoo-commits

commit:     383efa6d8ec5e40bf9189b216f1ec9d7acd82bee
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 22 21:19:16 2019 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Apr 22 21:19:34 2019 +0000
URL:        https://gitweb.gentoo.org/proj/elfix.git/commit/?id=383efa6d

scripts/paxmark.sh: have PAX_MARKINGS default to 'none'

Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 scripts/paxmark.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/paxmark.sh b/scripts/paxmark.sh
index c273bd8..6491af1 100755
--- a/scripts/paxmark.sh
+++ b/scripts/paxmark.sh
@@ -96,5 +96,5 @@ elif [[ -e $MAKE_CONF ]]; then
 	source $MAKE_CONF
 fi
 
-PAX_MARKINGS=${PAX_MARKINGS:="PT XT"}
+PAX_MARKINGS=${PAX_MARKINGS:="none"}
 paxmarksh "$@"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/elfix:elfix-0.9.x commit in: scripts/
@ 2019-11-18 18:21 Anthony G. Basile
  0 siblings, 0 replies; 5+ messages in thread
From: Anthony G. Basile @ 2019-11-18 18:21 UTC (permalink / raw
  To: gentoo-commits

commit:     23c756701fff52a60bf7efb841824998a0752073
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Mon Nov 18 18:20:14 2019 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Mon Nov 18 18:21:23 2019 +0000
URL:        https://gitweb.gentoo.org/proj/elfix.git/commit/?id=23c75670

scripts/paxmark.sh: source the profiles for PAX_MARKINGS

Thanks chutzpah <AT> gentoo.org

Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>

 scripts/paxmark.sh | 24 +++++++++++++++---------
 1 file changed, 15 insertions(+), 9 deletions(-)

diff --git a/scripts/paxmark.sh b/scripts/paxmark.sh
index 6491af1..7fb0ead 100755
--- a/scripts/paxmark.sh
+++ b/scripts/paxmark.sh
@@ -86,15 +86,21 @@ paxmarksh() {
 	return ${ret}
 }
 
-MAKE_CONF="/etc/portage/make.conf"
-
-if [[ -d $MAKE_CONF ]]; then
-	for MC in $MAKE_CONF/*; do
-		source $MC
-	done
-elif [[ -e $MAKE_CONF ]]; then
-	source $MAKE_CONF
+if command -v portageq >/dev/null; then
+	PAX_MARKINGS="$(portageq envvar PAX_MARKINGS)"
 fi
 
-PAX_MARKINGS=${PAX_MARKINGS:="none"}
+if [[ -z ${PAX_MARKINGS} ]]; then
+	MAKE_CONF="/etc/portage/make.conf"
+
+	if [[ -d ${MAKE_CONF} ]]; then
+		for MC in "${MAKE_CONF}"/*; do
+			source "${MC}"
+		done
+	elif [[ -r ${MAKE_CONF} ]]; then
+		source "${MAKE_CONF}"
+	fi
+fi
+
+: "${PAX_MARKINGS:="none"}"
 paxmarksh "$@"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-11-18 18:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-03 23:08 [gentoo-commits] proj/elfix:elfix-0.9.x commit in: scripts/ Anthony G. Basile
  -- strict thread matches above, loose matches on Subject: below --
2019-11-18 18:21 Anthony G. Basile
2019-04-22 21:26 Anthony G. Basile
2015-10-27 19:36 Anthony G. Basile
2015-09-03 23:08 Anthony G. Basile

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox