aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authordbn <dbn@FreeBSD.org>2018-01-31 03:00:27 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 06:32:05 +0800
commit69a47a038b374d9a1f4f1dea489133142b82f59c (patch)
tree975a38778f52b224e5f52adf8f2f888ebf7b4753 /security
parentcf1b43c245df68612adf7c0b2f67f4095613b132 (diff)
downloadfreebsd-ports-gnome-69a47a038b374d9a1f4f1dea489133142b82f59c.tar.gz
freebsd-ports-gnome-69a47a038b374d9a1f4f1dea489133142b82f59c.tar.zst
freebsd-ports-gnome-69a47a038b374d9a1f4f1dea489133142b82f59c.zip
lang/mono: update to version 5.2.0.215 (and enhance USES=mono)
Highlights: - New Roslyn compiler for C# available - Improved support for nuget packages in USES=mono General: - fix pkg-plist: mono now produces '.pdb' debug files instead of '.mdb' - bump all dependant ports USES=mono: - properly handle caching of nuget packages - add support for multiple feeds for nuget packages - add support for nuget dependencies in a separate file - add support for paket packages lang/mono: - update to version 5.2.0.215 - automate certificate initialisation [2] - increase test coverage - mark as conflicting with net/czmq (conflicting on makecert) [1] - patch mono to use $PREFIX/share/mono instead of /usr/share/.mono devel/google-gdata: - use nunit.framework nuget package as the Mono shipped version is no longer suppport. - switch to using csc(1) for compiling (mcs(1) is depreciated). - use delayed signing (and then sign with sn(1)) as csc(1) does not support signing. - fix reference to system assemblies (the '.dll' suffix is required). - fix reference to HttpUtility: csc(1) is more strict about scoping devel/monodevelop: - reroll distinfo (no changes to content) lang/fsharp: - reroll distinfo (no changes to content) security/gnome-keyring-sharp: - delay sign (then sign with sn(1)) as csc(1) does not support direct signing. PR: 223188 [1] PR: 209670 [2] Differential Revision: https://reviews.freebsd.org/D13752
Diffstat (limited to 'security')
-rw-r--r--security/gnome-keyring-sharp/Makefile4
-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
-rw-r--r--security/gnome-keyring-sharp/pkg-plist2
-rw-r--r--security/keepass/Makefile1
6 files changed, 38 insertions, 3 deletions
diff --git a/security/gnome-keyring-sharp/Makefile b/security/gnome-keyring-sharp/Makefile
index db988bf68d37..7e9cc691addb 100644
--- a/security/gnome-keyring-sharp/Makefile
+++ b/security/gnome-keyring-sharp/Makefile
@@ -3,7 +3,7 @@
PORTNAME= gnome-keyring-sharp
PORTVERSION= 1.0.2
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= security
MASTER_SITES= http://www.go-mono.com/archive/${PORTNAME}/
@@ -18,7 +18,7 @@ BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/ndesk-dbus-1.0.pc:devel/ndesk-dbus
RUN_DEPENDS:= ${BUILD_DEPENDS}
GNU_CONFIGURE= yes
-USES= gmake libtool mono pathfix pkgconfig
+USES= autoreconf gmake libtool mono pathfix pkgconfig
USE_GNOME= gtksharp20
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
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) .
diff --git a/security/gnome-keyring-sharp/pkg-plist b/security/gnome-keyring-sharp/pkg-plist
index 6ea3281bd49a..c17716ddca1a 100644
--- a/security/gnome-keyring-sharp/pkg-plist
+++ b/security/gnome-keyring-sharp/pkg-plist
@@ -2,7 +2,7 @@ lib/libgnome-keyring-sharp-glue.a
lib/libgnome-keyring-sharp-glue.so
lib/mono/gac/Gnome.Keyring/1.0.0.0__1a73e1bde00c9b66/Gnome.Keyring.dll
lib/mono/gac/Gnome.Keyring/1.0.0.0__1a73e1bde00c9b66/Gnome.Keyring.dll.config
-lib/mono/gac/Gnome.Keyring/1.0.0.0__1a73e1bde00c9b66/Gnome.Keyring.dll.mdb
+lib/mono/gac/Gnome.Keyring/1.0.0.0__1a73e1bde00c9b66/Gnome.Keyring.pdb
lib/mono/gnome-keyring-sharp-1.0/Gnome.Keyring.dll
lib/monodoc/sources/Gnome.Keyring.source
lib/monodoc/sources/Gnome.Keyring.tree
diff --git a/security/keepass/Makefile b/security/keepass/Makefile
index 48fe53f64015..2197e5b900c6 100644
--- a/security/keepass/Makefile
+++ b/security/keepass/Makefile
@@ -3,6 +3,7 @@
PORTNAME= keepass
PORTVERSION= 2.37
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF/${PORTNAME}/KeePass%202.x/${PORTVERSION}
DISTNAME= KeePass-${PORTVERSION}-Source