pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/lua-cyrussasl lua-cyrussasl: import version 1...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f9851e6d1be3
branches:  trunk
changeset: 378895:f9851e6d1be3
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Mon May 09 00:37:58 2022 +0000

description:
lua-cyrussasl: import version 1.1.0

Cyrus SASL library for Lua 5.1+.

diffstat:

 security/lua-cyrussasl/DESCR                  |   1 +
 security/lua-cyrussasl/Makefile               |  24 ++++++++++++++++++++
 security/lua-cyrussasl/PLIST                  |   2 +
 security/lua-cyrussasl/distinfo               |   6 +++++
 security/lua-cyrussasl/patches/patch-Makefile |  31 +++++++++++++++++++++++++++
 5 files changed, 64 insertions(+), 0 deletions(-)

diffs (84 lines):

diff -r 18904f2a6c18 -r f9851e6d1be3 security/lua-cyrussasl/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/lua-cyrussasl/DESCR      Mon May 09 00:37:58 2022 +0000
@@ -0,0 +1,1 @@
+Cyrus SASL library for Lua 5.1+.
diff -r 18904f2a6c18 -r f9851e6d1be3 security/lua-cyrussasl/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/lua-cyrussasl/Makefile   Mon May 09 00:37:58 2022 +0000
@@ -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"
diff -r 18904f2a6c18 -r f9851e6d1be3 security/lua-cyrussasl/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/lua-cyrussasl/PLIST      Mon May 09 00:37:58 2022 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2022/05/09 00:37:58 khorben Exp $
+${LUA_CDIR}/cyrussasl.so
diff -r 18904f2a6c18 -r f9851e6d1be3 security/lua-cyrussasl/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/lua-cyrussasl/distinfo   Mon May 09 00:37:58 2022 +0000
@@ -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
diff -r 18904f2a6c18 -r f9851e6d1be3 security/lua-cyrussasl/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/lua-cyrussasl/patches/patch-Makefile     Mon May 09 00:37:58 2022 +0000
@@ -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