aboutsummaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorgrbd <garlicbready@googlemail.com>2018-03-25 20:21:22 +0100
committergrbd <garlicbready@googlemail.com>2018-03-25 20:26:13 +0100
commit5861b692121673e4f8cee9d3dd94b7a24f598df5 (patch)
tree5a7e28f7a494aec47d0f4ba9746200bce81d16b3 /eclass
parentAdded latest mono releases (diff)
downloaddotnet-5861b692121673e4f8cee9d3dd94b7a24f598df5.tar.gz
dotnet-5861b692121673e4f8cee9d3dd94b7a24f598df5.tar.bz2
dotnet-5861b692121673e4f8cee9d3dd94b7a24f598df5.zip
fixed dotnetzip-semverd, re-added mono.snk, setup exbuild_strong so that it can locate mono.snk on different paths
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mono.snkbin0 -> 596 bytes
-rw-r--r--eclass/xbuild.eclass3
2 files changed, 2 insertions, 1 deletions
diff --git a/eclass/mono.snk b/eclass/mono.snk
new file mode 100644
index 0000000..380116c
--- /dev/null
+++ b/eclass/mono.snk
Binary files differ
diff --git a/eclass/xbuild.eclass b/eclass/xbuild.eclass
index 90a60c1..7e935d3 100644
--- a/eclass/xbuild.eclass
+++ b/eclass/xbuild.eclass
@@ -52,10 +52,11 @@ exbuild() {
# @DESCRIPTION: run xbuild with default key signing
exbuild_strong() {
# http://stackoverflow.com/questions/7903321/only-sign-assemblies-with-strong-name-during-release-build
+ DOTNET_ECLASSDIR="`dirname "${EBUILD}"`/../../eclass"
if use gac; then
if [[ -z ${SNK_FILENAME} ]]; then
# elog ${BASH_SOURCE}
- SNK_FILENAME=/var/lib/layman/dotnet/eclass/mono.snk
+ SNK_FILENAME="${DOTNET_ECLASSDIR}/mono.snk"
# sn - Digitally sign/verify/compare strongnames on CLR assemblies.
# man sn = http://linux.die.net/man/1/sn
if [ -f ${SNK_FILENAME} ]; then