svn commit: r526107 - in head/devel: . delve
Dmitri Goutnik
dmgk at FreeBSD.org
Fri Feb 14 12:38:10 UTC 2020
Author: dmgk
Date: Fri Feb 14 12:38:09 2020
New Revision: 526107
URL: https://svnweb.freebsd.org/changeset/ports/526107
Log:
New port: devel/delve
Delve is a debugger for the Go programming language. The goal of the project is
to provide a simple, full featured debugging tool for Go. Delve should be easy
to invoke and easy to use. Chances are if you're using a debugger, things
aren't going your way. With that in mind, Delve should stay out of your way as
much as possible.
WWW: https://github.com/go-delve/delve
PR: 243962
Submitted by: Dmitry Wagin <dmitry.wagin at ya.ru>
Added:
head/devel/delve/
head/devel/delve/Makefile (contents, props changed)
head/devel/delve/distinfo (contents, props changed)
head/devel/delve/pkg-descr (contents, props changed)
head/devel/delve/pkg-message (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Fri Feb 14 12:20:26 2020 (r526106)
+++ head/devel/Makefile Fri Feb 14 12:38:09 2020 (r526107)
@@ -463,6 +463,7 @@
SUBDIR += deforaos-libsystem
SUBDIR += deheader
SUBDIR += delta
+ SUBDIR += delve
SUBDIR += dep
SUBDIR += deployer
SUBDIR += derelict-sdl2
Added: head/devel/delve/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/delve/Makefile Fri Feb 14 12:38:09 2020 (r526107)
@@ -0,0 +1,28 @@
+# $FreeBSD$
+
+PORTNAME= delve
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.4.0
+CATEGORIES= devel
+
+MAINTAINER= dmitry.wagin at ya.ru
+COMMENT= Debugger for the Go programming language
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+ONLY_FOR_ARCHS= amd64
+
+USES= go:modules
+
+USE_GITHUB= yes
+GH_ACCOUNT= go-delve
+
+GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME}
+GO_TARGET= ./cmd/dlv
+
+CONFLICTS_INSTALL= dlv # bin/dlv
+
+PLIST_FILES= bin/dlv
+
+.include <bsd.port.mk>
Added: head/devel/delve/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/delve/distinfo Fri Feb 14 12:38:09 2020 (r526107)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1581672137
+SHA256 (go-delve-delve-v1.4.0_GH0.tar.gz) = 56f5e208a6d72e3fb00ba65fbd4255c41904c37169892478011ed24df034667c
+SIZE (go-delve-delve-v1.4.0_GH0.tar.gz) = 7784835
Added: head/devel/delve/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/delve/pkg-descr Fri Feb 14 12:38:09 2020 (r526107)
@@ -0,0 +1,7 @@
+Delve is a debugger for the Go programming language. The goal of the project is
+to provide a simple, full featured debugging tool for Go. Delve should be easy
+to invoke and easy to use. Chances are if you're using a debugger, things
+aren't going your way. With that in mind, Delve should stay out of your way as
+much as possible.
+
+WWW: https://github.com/go-delve/delve
Added: head/devel/delve/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/delve/pkg-message Fri Feb 14 12:38:09 2020 (r526107)
@@ -0,0 +1,15 @@
+[
+{ type: install
+ message: <<EOM
+Please execute the following commands to prep this system to run delve:
+
+echo "# required for delve">>/etc/sysctl.conf.local
+echo "security.bsd.unprivileged_proc_debug=1">>/etc/sysctl.conf.local
+
+Then, either reboot or run the following commands to implement the above
+changes:
+
+service sysctl reload
+EOM
+}
+]
More information about the svn-ports-all
mailing list