svn commit: r470802 - in head: . devel devel/lua-rds-parser devel/lua-rds-parser/files
Kurt Jaeger
pi at FreeBSD.org
Thu May 24 18:49:20 UTC 2018
Author: pi
Date: Thu May 24 18:49:17 2018
New Revision: 470802
URL: https://svnweb.freebsd.org/changeset/ports/470802
Log:
New (resurrected) port: devel/lua-rds-parser
The lua-rds-parser can be used to parse the Resty-DBD-Stream formatted data
generated by drizzle and/or postgres nginx modules into lua data structures.
In the past, we have to use JSON as the intermediate data format which is
quite inefficient in terms of both memory and CPU time.
To maximize speed and minimize memory footprint, this library is implemented
in pure C.
WWW: https://github.com/agentzh/lua-rds-parser/
PR: 191526
Submitted by: arcade at b1t.name
Added:
head/devel/lua-rds-parser/
- copied from r350743, head/devel/lua-rds-parser/
Modified:
head/MOVED
head/devel/Makefile
head/devel/lua-rds-parser/Makefile
head/devel/lua-rds-parser/distinfo
head/devel/lua-rds-parser/files/patch-Makefile
Modified: head/MOVED
==============================================================================
--- head/MOVED Thu May 24 18:44:04 2018 (r470801)
+++ head/MOVED Thu May 24 18:49:17 2018 (r470802)
@@ -5854,7 +5854,6 @@ net/pcnfsd||2014-04-11|Has expired: Unmaintained since
cad/chipmunk||2014-04-11|Has expired: Unmaintained since 1999
graphics/comix||2014-04-11|Has expired: Insists on installing in /usr/local, and uses nautilus2 which is deprecated
www/mambo||2014-04-11|Has expired: Broken for more than 6 months
-devel/lua-rds-parser||2014-04-11|Has expired: Broken for more than 6 months
japanese/exmh2||2014-04-11|Has expired: Unmaintained since 1999
net/freewais-sf||2014-04-11|Has expired: Unmaintained since 1999
editors/elvis||2014-04-11|Has expired: Unmaintained since 1999
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Thu May 24 18:44:04 2018 (r470801)
+++ head/devel/Makefile Thu May 24 18:49:17 2018 (r470802)
@@ -1696,6 +1696,7 @@
SUBDIR += lua-lunit
SUBDIR += lua-posix
SUBDIR += lua-pty
+ SUBDIR += lua-rds-parser
SUBDIR += lua-stdlib
SUBDIR += lua-stdlib-debug
SUBDIR += lua-stdlib-normalize
Modified: head/devel/lua-rds-parser/Makefile
==============================================================================
--- head/devel/lua-rds-parser/Makefile Wed Apr 9 21:34:25 2014 (r350743)
+++ head/devel/lua-rds-parser/Makefile Thu May 24 18:49:17 2018 (r470802)
@@ -1,29 +1,20 @@
# Created by: osa
# $FreeBSD$
-PORTNAME= rds-parser
-PORTVERSION= 0.0.4
+PORTNAME= lua-rds-parser
+PORTVERSION= 0.06
+DISTVERSIONPREFIX= v
CATEGORIES= devel
-MASTER_SITES= https://github.com/agentzh/lua-rds-parser/tarball/master/
-PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
-DISTNAME= lua-${PORTNAME}-${PORTVERSION}-${GITVERSION}
-MAINTAINER= osa at FreeBSD.org
+MAINTAINER= arcade at b1t.name
COMMENT= Resty-DBD-Stream (RDS) parser for Lua written in C
-BROKEN= Unfetchable due to checksum mismatch
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2014-04-10
-USE_LUA?= 5.1
-GITVERSION= 0-gb46bbd8
-WRKSRC= ${WRKDIR}/agentzh-lua-rds-parser-${GITVERSION:S/^0-g//}
+LICENSE= BSD2CLAUSE
-PLIST_FILES= %%LUA_MODLIBDIR%%/rds/parser.so
-PLIST_DIRS= %%LUA_MODLIBDIR%%/rds
+USES= lua:51
+USE_GITHUB= yes
+GH_ACCOUNT= openresty
-NO_STAGE= yes
-do-install:
- ${MKDIR} ${LUA_MODLIBDIR}/rds
- ${INSTALL_PROGRAM} ${WRKSRC}/parser.so ${LUA_MODLIBDIR}/rds
+PLIST_FILES= ${LUA_MODLIBDIR}/rds/parser.so
.include <bsd.port.mk>
Modified: head/devel/lua-rds-parser/distinfo
==============================================================================
--- head/devel/lua-rds-parser/distinfo Wed Apr 9 21:34:25 2014 (r350743)
+++ head/devel/lua-rds-parser/distinfo Thu May 24 18:49:17 2018 (r470802)
@@ -1,2 +1,3 @@
-SHA256 (lua-rds-parser-0.0.4-0-gb46bbd8.tar.gz) = e17ce18f752fdc857b7680669238e65520229f75caab168357eb5845308ca6ae
-SIZE (lua-rds-parser-0.0.4-0-gb46bbd8.tar.gz) = 8547
+TIMESTAMP = 1527187733
+SHA256 (openresty-lua-rds-parser-v0.06_GH0.tar.gz) = 842a810507167167af9d3f65d02972e80adbac35266301e81eefa080c2844bd1
+SIZE (openresty-lua-rds-parser-v0.06_GH0.tar.gz) = 8537
Modified: head/devel/lua-rds-parser/files/patch-Makefile
==============================================================================
--- head/devel/lua-rds-parser/files/patch-Makefile Wed Apr 9 21:34:25 2014 (r350743)
+++ head/devel/lua-rds-parser/files/patch-Makefile Thu May 24 18:49:17 2018 (r470802)
@@ -1,6 +1,6 @@
---- Makefile.orig 2012-01-12 14:27:24.000000000 +0400
-+++ Makefile 2012-01-12 14:28:02.000000000 +0400
-@@ -16,12 +16,12 @@
+--- Makefile.orig 2015-10-30 14:05:55 UTC
++++ Makefile
+@@ -16,12 +16,12 @@ LDFLAGS += -shared
#PREFIX ?= /opt/local
#LDFLAGS += -bundle -undefined dynamic_lookup
@@ -15,12 +15,12 @@
INSTALL ?= install
-@@ -35,7 +35,7 @@
- src/rds_parser.o: src/ddebug.h src/rds_parser.h src/resty_dbd_stream.h
+@@ -38,7 +38,7 @@ src/rds_parser.o: src/ddebug.h src/rds_p
+ $(CC) -c $(CFLAGS) $(CPPFLAGS) $(BUILD_CFLAGS) -o $@ $<
parser.so: src/rds_parser.o
- $(CC) $(LDFLAGS) -o $@ $^
-+ $(CC) $(LDFLAGS) -o $@ rds_parser.o
++ $(CC) $(LDFLAGS) -o $@ src/rds_parser.o
install:
- $(INSTALL) -d $(DESTDIR)/$(LUA_LIB_DIR)/rds
+ $(INSTALL) -d $(DESTDIR)$(LUA_LIB_DIR)/rds
More information about the svn-ports-all
mailing list