pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jan 27 11:52:21 UTC 2021

Modified Files:
        pkgsrc/devel: Makefile
Added Files:
        pkgsrc/devel/lua-safer: DESCR Makefile PLIST distinfo

Log Message:
add devel/lua-safer

Safer - Paranoid Lua programming

Taking defensive programming to the next level. Use this module to avoid
unexpected globals creeping up in your code, and stopping sub-modules from
fiddling with fields of tables as you pass them around.


To generate a diff of this commit:
cvs rdiff -u -r1.3323 -r1.3324 pkgsrc/devel/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/lua-safer/DESCR \
    pkgsrc/devel/lua-safer/Makefile pkgsrc/devel/lua-safer/PLIST \
    pkgsrc/devel/lua-safer/distinfo

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

Modified files:

Index: pkgsrc/devel/Makefile
diff -u pkgsrc/devel/Makefile:1.3323 pkgsrc/devel/Makefile:1.3324
--- pkgsrc/devel/Makefile:1.3323        Tue Jan 26 11:20:42 2021
+++ pkgsrc/devel/Makefile       Wed Jan 27 11:52:21 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3323 2021/01/26 11:20:42 jperkin Exp $
+# $NetBSD: Makefile,v 1.3324 2021/01/27 11:52:21 nia Exp $
 #
 
 COMMENT=       Development utilities
@@ -919,6 +919,7 @@ SUBDIR+=    lua-posix
 SUBDIR+=       lua-repl
 SUBDIR+=       lua-rings
 SUBDIR+=       lua-rocks
+SUBDIR+=       lua-safer
 SUBDIR+=       lua-say
 SUBDIR+=       lua-sdl2
 SUBDIR+=       lua-std-_debug

Added files:

Index: pkgsrc/devel/lua-safer/DESCR
diff -u /dev/null pkgsrc/devel/lua-safer/DESCR:1.1
--- /dev/null   Wed Jan 27 11:52:21 2021
+++ pkgsrc/devel/lua-safer/DESCR        Wed Jan 27 11:52:21 2021
@@ -0,0 +1,5 @@
+Safer - Paranoid Lua programming
+
+Taking defensive programming to the next level. Use this module to avoid
+unexpected globals creeping up in your code, and stopping sub-modules from
+fiddling with fields of tables as you pass them around.
Index: pkgsrc/devel/lua-safer/Makefile
diff -u /dev/null pkgsrc/devel/lua-safer/Makefile:1.1
--- /dev/null   Wed Jan 27 11:52:21 2021
+++ pkgsrc/devel/lua-safer/Makefile     Wed Jan 27 11:52:21 2021
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2021/01/27 11:52:21 nia Exp $
+
+DISTNAME=      safer-0.2
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=hishamhm/}
+GITHUB_PROJECT=        safer
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/hishamhm/safer
+COMMENT=       Paranoid Lua programming
+LICENSE=       mit
+
+USE_LANGUAGES= # none
+NO_BUILD=      yes
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}
+INSTALLATION_DIRS+=    share/doc/${PKGBASE}
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/safer.lua \
+               ${DESTDIR}${PREFIX}/${LUA_LDIR}/safer.lua
+       ${INSTALL_DATA} ${WRKSRC}/README.md ${WRKSRC}/LICENSE \
+               ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
+
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/lua-safer/PLIST
diff -u /dev/null pkgsrc/devel/lua-safer/PLIST:1.1
--- /dev/null   Wed Jan 27 11:52:21 2021
+++ pkgsrc/devel/lua-safer/PLIST        Wed Jan 27 11:52:21 2021
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 2021/01/27 11:52:21 nia Exp $
+${LUA_DOCDIR}/LICENSE
+${LUA_DOCDIR}/README.md
+${LUA_LDIR}/safer.lua
Index: pkgsrc/devel/lua-safer/distinfo
diff -u /dev/null pkgsrc/devel/lua-safer/distinfo:1.1
--- /dev/null   Wed Jan 27 11:52:21 2021
+++ pkgsrc/devel/lua-safer/distinfo     Wed Jan 27 11:52:21 2021
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/01/27 11:52:21 nia Exp $
+
+SHA1 (safer-0.2.tar.gz) = 5c5c5ac7a5f563db9c9b49fe32b5a72e923b4b9f
+RMD160 (safer-0.2.tar.gz) = 32e88223c318fbd9aae18aad710b6a073e709cde
+SHA512 (safer-0.2.tar.gz) = 23258f3b0d2cf40ec1753db45436c6b8f2e242a1deb501d75cf5fc515f2bd1a35adb9e43eea27de758289194a55d2ecb175f67a4936f78e2491bc4836f17d306
+Size (safer-0.2.tar.gz) = 2573 bytes



Home | Main Index | Thread Index | Old Index