pkgsrc-Changes archive

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

CVS commit: pkgsrc/www



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jul  8 14:50:05 UTC 2020

Modified Files:
        pkgsrc/www: Makefile
Added Files:
        pkgsrc/www/lua-psl: DESCR Makefile PLIST distinfo
        pkgsrc/www/lua-psl/files: Makefile

Log Message:
www: Add lua-psl

lua-psl is a set of lua bindings to libpsl, a C library that handles the
Public Suffix List (PSL).

The PSL is a list of domains where there may be sub-domains outside of the
administrator's control, e.g. the administrator of '.org' does not manage
'NetBSD.org'.

This list has found use in many internet technologies including:

  - preventing cross-domain cookie leakage
  - allowance of issuing wildcard TLS certificates

More information can be found at publicsuffix.org


To generate a diff of this commit:
cvs rdiff -u -r1.1465 -r1.1466 pkgsrc/www/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/www/lua-psl/DESCR pkgsrc/www/lua-psl/Makefile \
    pkgsrc/www/lua-psl/PLIST pkgsrc/www/lua-psl/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/www/lua-psl/files/Makefile

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

Modified files:

Index: pkgsrc/www/Makefile
diff -u pkgsrc/www/Makefile:1.1465 pkgsrc/www/Makefile:1.1466
--- pkgsrc/www/Makefile:1.1465  Wed Jul  8 09:28:22 2020
+++ pkgsrc/www/Makefile Wed Jul  8 14:50:05 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1465 2020/07/08 09:28:22 pin Exp $
+# $NetBSD: Makefile,v 1.1466 2020/07/08 14:50:05 nia Exp $
 #
 
 COMMENT=       Packages related to the World Wide Web
@@ -194,6 +194,7 @@ SUBDIR+=    llgal
 SUBDIR+=       loggerhead
 SUBDIR+=       logswan
 SUBDIR+=       lua-curl
+SUBDIR+=       lua-psl
 SUBDIR+=       lynx
 SUBDIR+=       mMosaic
 SUBDIR+=       make_album

Added files:

Index: pkgsrc/www/lua-psl/DESCR
diff -u /dev/null pkgsrc/www/lua-psl/DESCR:1.1
--- /dev/null   Wed Jul  8 14:50:05 2020
+++ pkgsrc/www/lua-psl/DESCR    Wed Jul  8 14:50:05 2020
@@ -0,0 +1,13 @@
+lua-psl is a set of lua bindings to libpsl, a C library that handles the
+Public Suffix List (PSL).
+
+The PSL is a list of domains where there may be sub-domains outside of the
+administrator's control, e.g. the administrator of '.org' does not manage
+'NetBSD.org'.
+
+This list has found use in many internet technologies including:
+
+  - preventing cross-domain cookie leakage
+  - allowance of issuing wildcard TLS certificates
+
+More information can be found at publicsuffix.org
Index: pkgsrc/www/lua-psl/Makefile
diff -u /dev/null pkgsrc/www/lua-psl/Makefile:1.1
--- /dev/null   Wed Jul  8 14:50:05 2020
+++ pkgsrc/www/lua-psl/Makefile Wed Jul  8 14:50:05 2020
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1 2020/07/08 14:50:05 nia Exp $
+
+DISTNAME=      lua-psl-0.3
+PKGNAME=       ${LUA_PKGPREFIX}-${DISTNAME:S/^lua-//1}
+CATEGORIES=    www lua
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=daurnimator/}
+GITHUB_PROJECT=        lua-psl
+GITHUB_TAG=    v${PKGVERSION_NOREV}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://daurnimator.github.io/lua-psl/
+COMMENT=       Lua bindings to libpsl, a library that handles the Public Suffix List
+LICENSE=       mit
+
+BUILD_DIRS+=   psl
+
+INSTALLATION_DIRS+=    ${LUA_CDIR}
+
+pre-build:
+       ${CP} -f ${FILESDIR}/Makefile ${WRKSRC}/psl/Makefile
+
+do-install:
+       ${INSTALL_LIB} ${WRKSRC}/psl/psl.so ${DESTDIR}${PREFIX}/${LUA_CDIR}
+
+.include "../../lang/lua/module.mk"
+.include "../../www/libpsl/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/lua-psl/PLIST
diff -u /dev/null pkgsrc/www/lua-psl/PLIST:1.1
--- /dev/null   Wed Jul  8 14:50:05 2020
+++ pkgsrc/www/lua-psl/PLIST    Wed Jul  8 14:50:05 2020
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/07/08 14:50:05 nia Exp $
+${LUA_CDIR}/psl.so
Index: pkgsrc/www/lua-psl/distinfo
diff -u /dev/null pkgsrc/www/lua-psl/distinfo:1.1
--- /dev/null   Wed Jul  8 14:50:05 2020
+++ pkgsrc/www/lua-psl/distinfo Wed Jul  8 14:50:05 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/07/08 14:50:05 nia Exp $
+
+SHA1 (lua-psl-0.3.tar.gz) = 7487a6c9a23c6baacb786b251641ca96f08e6825
+RMD160 (lua-psl-0.3.tar.gz) = 978d648462ae6a20439ed0ae7056195340b87216
+SHA512 (lua-psl-0.3.tar.gz) = b77806f6deb4c668a7ce97583b41297494ef91a05a0f44041d17b52ef6542180f332169577195159bba554a0909fed697bd5f6e5e4de9174273b54739554f79f
+Size (lua-psl-0.3.tar.gz) = 9275 bytes

Index: pkgsrc/www/lua-psl/files/Makefile
diff -u /dev/null pkgsrc/www/lua-psl/files/Makefile:1.1
--- /dev/null   Wed Jul  8 14:50:05 2020
+++ pkgsrc/www/lua-psl/files/Makefile   Wed Jul  8 14:50:05 2020
@@ -0,0 +1,12 @@
+# $NetBSD: Makefile,v 1.1 2020/07/08 14:50:05 nia Exp $
+
+CFLAGS+=       -fPIC -Wall
+LDFLAGS+=      -shared -lpsl
+
+all: psl.so
+
+.c.o:
+       $(CC) $(CFLAGS) -c $<
+
+psl.so: psl.o
+       $(CC) $(LDFLAGS) -o $@ psl.o



Home | Main Index | Thread Index | Old Index