pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/go-osext



Module Name:    pkgsrc
Committed By:   gavan
Date:           Thu Aug 17 01:34:50 UTC 2017

Added Files:
        pkgsrc/devel/go-osext: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
Add go-osext package


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/go-osext/DESCR \
    pkgsrc/devel/go-osext/Makefile pkgsrc/devel/go-osext/PLIST \
    pkgsrc/devel/go-osext/buildlink3.mk pkgsrc/devel/go-osext/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/go-osext/DESCR
diff -u /dev/null pkgsrc/devel/go-osext/DESCR:1.1
--- /dev/null   Thu Aug 17 01:34:50 2017
+++ pkgsrc/devel/go-osext/DESCR Thu Aug 17 01:34:50 2017
@@ -0,0 +1,12 @@
+Extensions to the "os" package.
+Find the current Executable and ExecutableFolder.
+
+There is sometimes utility in finding the current executable file that is running. This can be used for upgrading the current executable or finding resources located relative to the executable file. 
Both working directory and the os.Args[0] value are arbitrary and cannot be relied on; os.Args[0] can be "faked".
+
+Multi-platform and supports:
+
+* Linux
+* OS X
+* Windows
+* Plan 9
+* BSDs.
Index: pkgsrc/devel/go-osext/Makefile
diff -u /dev/null pkgsrc/devel/go-osext/Makefile:1.1
--- /dev/null   Thu Aug 17 01:34:50 2017
+++ pkgsrc/devel/go-osext/Makefile      Thu Aug 17 01:34:50 2017
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/08/17 01:34:50 gavan Exp $
+
+DISTNAME=      osext-0.0.20151222
+PKGNAME=       go-${DISTNAME}
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=kardianos/}
+CATEGORIES=    devel
+GITHUB_TAG=    29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc
+GITHUB_PROJECT= ${PKGBASE:S/^go-//}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/kardianos/osext
+COMMENT=       Extensions to the standard "os" package. Executable and ExecutableFolder.
+LICENSE=       modified-bsd
+
+GO_DIST_BASE=  ${GITHUB_PROJECT}-${GITHUB_TAG}
+GO_SRCPATH=    github.com/kardianos/osext
+
+.include "../../lang/go/go-package.mk"
+.include "../../mk/bsd.pkg.mk"
+
Index: pkgsrc/devel/go-osext/PLIST
diff -u /dev/null pkgsrc/devel/go-osext/PLIST:1.1
--- /dev/null   Thu Aug 17 01:34:50 2017
+++ pkgsrc/devel/go-osext/PLIST Thu Aug 17 01:34:50 2017
@@ -0,0 +1,11 @@
+@comment $NetBSD: PLIST,v 1.1 2017/08/17 01:34:50 gavan Exp $
+gopkg/pkg/${GO_PLATFORM}/github.com/kardianos/osext.a
+gopkg/src/github.com/kardianos/osext/LICENSE
+gopkg/src/github.com/kardianos/osext/README.md
+gopkg/src/github.com/kardianos/osext/osext.go
+gopkg/src/github.com/kardianos/osext/osext_plan9.go
+gopkg/src/github.com/kardianos/osext/osext_procfs.go
+gopkg/src/github.com/kardianos/osext/osext_sysctl.go
+gopkg/src/github.com/kardianos/osext/osext_test.go
+gopkg/src/github.com/kardianos/osext/osext_windows.go
+@pkgdir bin
Index: pkgsrc/devel/go-osext/buildlink3.mk
diff -u /dev/null pkgsrc/devel/go-osext/buildlink3.mk:1.1
--- /dev/null   Thu Aug 17 01:34:50 2017
+++ pkgsrc/devel/go-osext/buildlink3.mk Thu Aug 17 01:34:50 2017
@@ -0,0 +1,17 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/08/17 01:34:50 gavan Exp $
+
+BUILDLINK_TREE+=       go-osext
+
+.if !defined(GO_OSEXT_BUILDLINK3_MK)
+GO_OSEXT_BUILDLINK3_MK:=
+
+BUILDLINK_CONTENTS_FILTER.go-osext=    ${EGREP} gopkg/
+BUILDLINK_DEPMETHOD.go-osext?=         build
+
+BUILDLINK_API_DEPENDS.go-osext+=       go-osext>=0.0
+BUILDLINK_PKGSRCDIR.go-osext?=         ../../devel/go-osext
+
+.endif  # GO_OSEXT_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -go-osext
+
Index: pkgsrc/devel/go-osext/distinfo
diff -u /dev/null pkgsrc/devel/go-osext/distinfo:1.1
--- /dev/null   Thu Aug 17 01:34:50 2017
+++ pkgsrc/devel/go-osext/distinfo      Thu Aug 17 01:34:50 2017
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/08/17 01:34:50 gavan Exp $
+
+SHA1 (osext-0.0.20151222-29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc.tar.gz) = ae1e3857736e2679db26da131b3260bad8df18d2
+RMD160 (osext-0.0.20151222-29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc.tar.gz) = 28a9969f6e939a3db030d4fea2eac14ad7773080
+SHA512 (osext-0.0.20151222-29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc.tar.gz) = 
e87c77173ba13f4f9aaa69950dcc7fc27d3170569a00ad1c0e445a5c3b0613d1e2537f1a82626c8948b7c9fde85b30629449696e00d41afaf5af7df256ea8929
+Size (osext-0.0.20151222-29ae4ffbc9a6fe9fb2bc5029050ce6996ea1d3bc.tar.gz) = 4620 bytes



Home | Main Index | Thread Index | Old Index