pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/security/lua-cyrussasl
Module Name: pkgsrc
Committed By: khorben
Date: Mon May 9 00:37:59 UTC 2022
Added Files:
pkgsrc/security/lua-cyrussasl: DESCR Makefile PLIST distinfo
pkgsrc/security/lua-cyrussasl/patches: patch-Makefile
Log Message:
lua-cyrussasl: import version 1.1.0
Cyrus SASL library for Lua 5.1+.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/security/lua-cyrussasl/DESCR \
pkgsrc/security/lua-cyrussasl/Makefile \
pkgsrc/security/lua-cyrussasl/PLIST \
pkgsrc/security/lua-cyrussasl/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/security/lua-cyrussasl/patches/patch-Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/security/lua-cyrussasl/DESCR
diff -u /dev/null pkgsrc/security/lua-cyrussasl/DESCR:1.1
--- /dev/null Mon May 9 00:37:59 2022
+++ pkgsrc/security/lua-cyrussasl/DESCR Mon May 9 00:37:58 2022
@@ -0,0 +1 @@
+Cyrus SASL library for Lua 5.1+.
Index: pkgsrc/security/lua-cyrussasl/Makefile
diff -u /dev/null pkgsrc/security/lua-cyrussasl/Makefile:1.1
--- /dev/null Mon May 9 00:37:59 2022
+++ pkgsrc/security/lua-cyrussasl/Makefile Mon May 9 00:37:58 2022
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2022/05/09 00:37:58 khorben Exp $
+
+DISTNAME= ${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+PKGNAME= ${LUA_PKGPREFIX}-${GITHUB_PROJECT:S/lua-//}-1.1.0
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_GITHUB:=JorjBauer/}
+GITHUB_PROJECT= lua-cyrussasl
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/JorjBauer/lua-cyrussasl/
+COMMENT= Cyrus SASL library for Lua 5.1+
+LICENSE= modified-bsd
+
+USE_LANGUAGES= c
+
+.include "../../mk/bsd.prefs.mk"
+
+MAKE_FLAGS+= CPATH="${DESTDIR}${PREFIX}/${LUA_CDIR}"
+MAKE_FLAGS+= LDFLAGS="-shared -lsasl2 -L${PREFIX}/lib -L${PREFIX}/${LUA_LDIR}"
+
+.include "../../security/cyrus-sasl/buildlink3.mk"
+.include "../../lang/lua/module.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/security/lua-cyrussasl/PLIST
diff -u /dev/null pkgsrc/security/lua-cyrussasl/PLIST:1.1
--- /dev/null Mon May 9 00:37:59 2022
+++ pkgsrc/security/lua-cyrussasl/PLIST Mon May 9 00:37:58 2022
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/09 00:37:58 khorben Exp $
+${LUA_CDIR}/cyrussasl.so
Index: pkgsrc/security/lua-cyrussasl/distinfo
diff -u /dev/null pkgsrc/security/lua-cyrussasl/distinfo:1.1
--- /dev/null Mon May 9 00:37:59 2022
+++ pkgsrc/security/lua-cyrussasl/distinfo Mon May 9 00:37:58 2022
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2022/05/09 00:37:58 khorben Exp $
+
+BLAKE2s (lua-cyrussasl-1.1.0.tar.gz) = a2ced3c0ea7bef8afd61592ea7b8ab1b91c3460811cf094d256d46b99ef3030b
+SHA512 (lua-cyrussasl-1.1.0.tar.gz) = 2262dd1e403bd0825b714253dc03844aad20525b206d8fb16196b2647b642a45d137b18bdd89920d95c168b99c5e6b36d73b7cdaa6ec91d3ad2673360307e0ee
+Size (lua-cyrussasl-1.1.0.tar.gz) = 14325 bytes
+SHA1 (patch-Makefile) = 8dc1f2bbe6b507dd4c792a14925692e5d008404d
Index: pkgsrc/security/lua-cyrussasl/patches/patch-Makefile
diff -u /dev/null pkgsrc/security/lua-cyrussasl/patches/patch-Makefile:1.1
--- /dev/null Mon May 9 00:37:59 2022
+++ pkgsrc/security/lua-cyrussasl/patches/patch-Makefile Mon May 9 00:37:59 2022
@@ -0,0 +1,31 @@
+$NetBSD: patch-Makefile,v 1.1 2022/05/09 00:37:59 khorben Exp $
+
+Allow using the right compilation flags and installation path
+
+--- Makefile.orig 2015-08-21 22:24:54.000000000 +0000
++++ Makefile
+@@ -17,11 +17,11 @@
+ #CPATH=/usr/local/lib/lua/5.1
+
+ # MacOS (tested with 10.6, 10.7, 10.8)
+-CFLAGS=-g -Wall -O2
+-LDFLAGS=-bundle -undefined dynamic_lookup -lsasl2
+-MACOSX_VERSION=10.5
+-LUAPATH=/usr/local/share/lua/5.1
+-CPATH=/usr/local/lib/lua/5.1
++#CFLAGS=-g -Wall -O2
++#LDFLAGS=-bundle -undefined dynamic_lookup -lsasl2
++#MACOSX_VERSION=10.5
++#LUAPATH=/usr/local/share/lua/5.1
++#CPATH=/usr/local/lib/lua/5.1
+
+ #########################################################
+ #
+@@ -40,6 +40,7 @@ OBJS=cyrussasl.o luaabstract.o context.o
+ all: $(TARGET)
+
+ install: $(TARGET)
++ mkdir -p $(CPATH)
+ cp $(TARGET) $(CPATH)
+
+ clean:
Home |
Main Index |
Thread Index |
Old Index