summaryrefslogtreecommitdiff
path: root/security/gnome-keyring-sharp/files
diff options
context:
space:
mode:
Diffstat (limited to 'security/gnome-keyring-sharp/files')
-rw-r--r--security/gnome-keyring-sharp/files/patch-configure.ac16
-rw-r--r--security/gnome-keyring-sharp/files/patch-src_Gnome.Keyring_AssemblyInfo.cs.in8
-rw-r--r--security/gnome-keyring-sharp/files/patch-src_Makefile.am10
3 files changed, 34 insertions, 0 deletions
diff --git a/security/gnome-keyring-sharp/files/patch-configure.ac b/security/gnome-keyring-sharp/files/patch-configure.ac
new file mode 100644
index 000000000000..851900d6279f
--- /dev/null
+++ b/security/gnome-keyring-sharp/files/patch-configure.ac
@@ -0,0 +1,16 @@
+--- configure.ac.orig 2018-01-20 15:44:37 UTC
++++ configure.ac
+@@ -20,8 +20,13 @@ AC_PATH_PROG(CSC, csc, no)
+ AC_PATH_PROG(GMCS, gmcs, no)
+ AC_PATH_PROG(MCS, mcs, no)
+ AC_PATH_PROG(RUNTIME, mono, no)
++AC_PATH_PROG(SN, sn, no)
+ CS="C#"
+
++if test "x$SN" = "xno" ; then
++ AC_MSG_ERROR([No key signing tool found])
++fi
++
+ if test "x$CSC" = "xno" ; then
+ if test "x$GMCS" = "xno" ; then
+ if test "x$MCS" = "xno" ; then
diff --git a/security/gnome-keyring-sharp/files/patch-src_Gnome.Keyring_AssemblyInfo.cs.in b/security/gnome-keyring-sharp/files/patch-src_Gnome.Keyring_AssemblyInfo.cs.in
new file mode 100644
index 000000000000..7875569f5c00
--- /dev/null
+++ b/security/gnome-keyring-sharp/files/patch-src_Gnome.Keyring_AssemblyInfo.cs.in
@@ -0,0 +1,8 @@
+--- src/Gnome.Keyring/AssemblyInfo.cs.in.orig 2010-06-30 23:06:58 UTC
++++ src/Gnome.Keyring/AssemblyInfo.cs.in
+@@ -35,5 +35,6 @@ using System.Runtime.CompilerServices;
+ [assembly: AssemblyDescription ("Client library to access the GNOME Keyring daemon")]
+ [assembly: AssemblyCopyright ("(c) 2006 Novell, Inc.")]
+ [assembly: AssemblyCompany ("Novell, Inc.")]
+ [assembly: AssemblyKeyFile ("Gnome.Keyring.snk")]
++[assembly: AssemblyDelaySignAttribute (true)]
diff --git a/security/gnome-keyring-sharp/files/patch-src_Makefile.am b/security/gnome-keyring-sharp/files/patch-src_Makefile.am
new file mode 100644
index 000000000000..34e49119f436
--- /dev/null
+++ b/security/gnome-keyring-sharp/files/patch-src_Makefile.am
@@ -0,0 +1,10 @@
+--- src/Makefile.am.orig 2018-01-20 15:47:50 UTC
++++ src/Makefile.am
+@@ -33,6 +33,7 @@ all: $(ASSEMBLY)
+
+ $(ASSEMBLY): $(gnomekeyring_build_sources) $(SNK)
+ $(CSC) $(CSFLAGS) $(gnomekeyring_references) -target:library -out:$@ $(gnomekeyring_build_sources)
++ $(SN) -R $@ $(SNK)
+
+ $(SNK): $(top_srcdir)/$(SNK)
+ cp $(top_srcdir)/$(SNK) .