diff options
author | Eric Sandall | 2014-12-30 19:22:09 +0000 |
---|---|---|
committer | Eric Sandall | 2014-12-30 19:22:09 +0000 |
commit | bef800a38d6842e42a9e81af1cf8ba83bc08211f (patch) | |
tree | e1fe3e4605c1340b73cd8d945b9a51111c9a32b1 | |
parent | 309f26ae9000bb5ca7c829071489670f3c1ff81e (diff) |
Fixes Bug #185, Bug #186, and Bug #187
libsigsegv: Trigger dependent spells on upgrade
diffutils, gawk, m4: Optionally depend on libsigsegv
-rwxr-xr-x | devel/diffutils/DEPENDS | 1 | ||||
-rw-r--r-- | devel/diffutils/HISTORY | 3 | ||||
-rwxr-xr-x | devel/m4/DEPENDS | 1 | ||||
-rw-r--r-- | devel/m4/HISTORY | 3 | ||||
-rwxr-xr-x | editors/gawk/DEPENDS | 1 | ||||
-rw-r--r-- | editors/gawk/HISTORY | 3 | ||||
-rw-r--r-- | libs/libsigsegv/HISTORY | 4 | ||||
-rwxr-xr-x | libs/libsigsegv/UP_TRIGGERS | 10 |
8 files changed, 26 insertions, 0 deletions
diff --git a/devel/diffutils/DEPENDS b/devel/diffutils/DEPENDS index 4ca02af998..88089b6974 100755 --- a/devel/diffutils/DEPENDS +++ b/devel/diffutils/DEPENDS @@ -1,6 +1,7 @@ depends gnupg && depends smgl-fhs && +optional_depends libsigsegv '' '' 'for page fault handling support' && optional_depends gettext \ "--enable-nls" \ "--disable-nls" \ diff --git a/devel/diffutils/HISTORY b/devel/diffutils/HISTORY index 43c9f7b87e..65cc85f068 100644 --- a/devel/diffutils/HISTORY +++ b/devel/diffutils/HISTORY @@ -1,3 +1,6 @@ +2014-12-30 Eric Sandall <sandalle@sourcemage.org> + * DEPENDS: Optionally depends on libsigsegv. Issue #186 + 2013-04-06 Treeve Jelbert <treeve@sourcemage.org> * DETAILS: version 3.3 * PRE_BUILD, glibc215.patch: deleted diff --git a/devel/m4/DEPENDS b/devel/m4/DEPENDS index 3017f10393..5ee166f66c 100755 --- a/devel/m4/DEPENDS +++ b/devel/m4/DEPENDS @@ -1,4 +1,5 @@ depends gnupg && depends smgl-fhs && +optional_depends libsigsegv '' '' 'for page fault handling support' && optional_depends texinfo "" "" "to build info files" diff --git a/devel/m4/HISTORY b/devel/m4/HISTORY index cefe52770f..77190f71a0 100644 --- a/devel/m4/HISTORY +++ b/devel/m4/HISTORY @@ -1,3 +1,6 @@ +2014-12-30 Eric Sandall <sandalle@sourcemage.org> + * DEPENDS: Optionally depends on libsigsegv. Issue #187 + 2014-10-01 Treeve Jelbert <treeve@sourcemage.org> * DETAILS: version 1.4.17 * glibc215.patch, PRE_BUILD: deleted - builds with glibc-2.20 diff --git a/editors/gawk/DEPENDS b/editors/gawk/DEPENDS index 666b64a30b..ea5b442369 100755 --- a/editors/gawk/DEPENDS +++ b/editors/gawk/DEPENDS @@ -3,6 +3,7 @@ depends gnupg && depends mpfr && depends smgl-fhs && +optional_depends libsigsegv '' '' 'for page fault handling support' && optional_depends gettext \ "--enable-nls" \ "--disable-nls" \ diff --git a/editors/gawk/HISTORY b/editors/gawk/HISTORY index bb49c1b7ad..3bf4c3309a 100644 --- a/editors/gawk/HISTORY +++ b/editors/gawk/HISTORY @@ -1,3 +1,6 @@ +2014-12-30 Eric Sandall <sandalle@sourcemage.org> + * DEPENDS: Optionally depends on libsigsegv. Issue #185 + 2014-09-09 Remko van der Vossen <wich@sourcemage.org> * DEPENDS: gmp, mpfr diff --git a/libs/libsigsegv/HISTORY b/libs/libsigsegv/HISTORY index f13a58e10a..00a7cb1eb1 100644 --- a/libs/libsigsegv/HISTORY +++ b/libs/libsigsegv/HISTORY @@ -1,3 +1,7 @@ +2014-12-30 Eric Sandall <sandalle@sourcemage.org> + * UP_TRIGGERS: Trigger dependent spells on upgrade + Bug #185, Bug #186, and Bug #187 + 2011-04-05 Ladislav Hagara <hgr@vabo.cz> * DETAILS: 2.10, WEB_SITE updated diff --git a/libs/libsigsegv/UP_TRIGGERS b/libs/libsigsegv/UP_TRIGGERS new file mode 100755 index 0000000000..c37f788ad2 --- /dev/null +++ b/libs/libsigsegv/UP_TRIGGERS @@ -0,0 +1,10 @@ +local OLD_SPELL_VERSION="" +spell_ok $SPELL && OLD_SPELL_VERSION="$(installed_version $SPELL)" + +if [ "${VERSION:0:4}" != "${OLD_SPELL_VERSION:0:4}" ]; then + message "${MESSAGE_COLOR}This is a possibly incompatible update of ${SPELL_COLOR}${SPELL}${DEFAULT_COLOR}${MESSAGE_COLOR}...${DEFAULT_COLOR}" + message "${MESSAGE_COLOR}Figuring out what spells need to be recast, this may take a while.${DEFAULT_COLOR}" + for each in $(show_up_depends $SPELL 1); do + up_trigger $each cast_self + done +fi |