pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/lua-copas



Module Name:    pkgsrc
Committed By:   alnsn
Date:           Tue Jul  4 22:35:03 UTC 2017

Modified Files:
        pkgsrc/net/lua-copas: Makefile distinfo
        pkgsrc/net/lua-copas/patches: patch-Makefile

Log Message:
Update net/lua-copas to version 2.0.2.
  + Added: copas.running flag
  + Fixed: fix for http request #53 (Peter Melnichenko)
  + Added: extra parameter keep_open for the removeserver()
    method (Hisham Muhammad)
  + Change: tweaked makefile with a DESTDIR variable (Richard
    Leitner)


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/net/lua-copas/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/net/lua-copas/distinfo
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/net/lua-copas/patches/patch-Makefile

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

Modified files:

Index: pkgsrc/net/lua-copas/Makefile
diff -u pkgsrc/net/lua-copas/Makefile:1.3 pkgsrc/net/lua-copas/Makefile:1.4
--- pkgsrc/net/lua-copas/Makefile:1.3   Sun Jun  5 10:06:28 2016
+++ pkgsrc/net/lua-copas/Makefile       Tue Jul  4 22:35:03 2017
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2016/06/05 10:06:28 alnsn Exp $
+# $NetBSD: Makefile,v 1.4 2017/07/04 22:35:03 alnsn Exp $
 
-DISTNAME=      copas-2.0.1
+DISTNAME=      copas-2.0.2
 PKGNAME=       ${DISTNAME:S/copas/${LUA_PKGPREFIX}-copas/}
 CATEGORIES=    net
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=keplerproject/}
@@ -17,6 +17,23 @@ DEPENDS+=    ${LUA_PKGPREFIX}-socket>=2.0:.
 DEPENDS+=      ${LUA_PKGPREFIX}-sec>=0.6:../../security/lua-sec
 
 MAKE_ENV+=     LUA_LDIR=${LUA_LDIR:Q}
+MAKE_ENV+=     LUA_INTERPRETER=${LUA_INTERPRETER:Q}
+
+NO_BUILD=      yes
+TEST_TARGET=   test
+
+INSTALLATION_DIRS+=    ${LUA_LDIR}/copas
+
+INSTALL_COPAS_FILES=   ${WRKSRC}/src/copas/ftp.lua
+INSTALL_COPAS_FILES+=  ${WRKSRC}/src/copas/smtp.lua
+INSTALL_COPAS_FILES+=  ${WRKSRC}/src/copas/http.lua
+INSTALL_COPAS_FILES+=  ${WRKSRC}/src/copas/limit.lua
+
+do-install:
+       ${INSTALL_DATA} ${WRKSRC}/src/copas.lua ${DESTDIR}${PREFIX}/${LUA_LDIR}
+       for f in ${INSTALL_COPAS_FILES}; do \
+               ${INSTALL_DATA} $$f ${DESTDIR}${PREFIX}/${LUA_LDIR}/copas/ ; \
+       done
 
 .include "../../lang/lua/module.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/lua-copas/distinfo
diff -u pkgsrc/net/lua-copas/distinfo:1.1.1.1 pkgsrc/net/lua-copas/distinfo:1.2
--- pkgsrc/net/lua-copas/distinfo:1.1.1.1       Sat Jun  4 23:15:22 2016
+++ pkgsrc/net/lua-copas/distinfo       Tue Jul  4 22:35:03 2017
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2016/06/04 23:15:22 alnsn Exp $
+$NetBSD: distinfo,v 1.2 2017/07/04 22:35:03 alnsn Exp $
 
-SHA1 (copas-2.0.1.tar.gz) = 2bf0e5a975277408af7506d97e22fd0163245bed
-RMD160 (copas-2.0.1.tar.gz) = d2ed098bc9652353544380b65ffad4c64b5c258c
-SHA512 (copas-2.0.1.tar.gz) = 3bc472c056beab4c2cf8c1733ca2b1e7fcce9866b89dc738060263456b6fe7521956cf6ca614276f99fdf42d278422dbbb0ef42f11f211c16632f04cb518ecc5
-Size (copas-2.0.1.tar.gz) = 47927 bytes
-SHA1 (patch-Makefile) = eb313622d41a9ea58540c359ce07f5664e6a23b9
+SHA1 (copas-2.0.2.tar.gz) = e14afc3577e25e4612ea7e17223216194c981f7d
+RMD160 (copas-2.0.2.tar.gz) = 9693f624911ae99bae47271dc0816fa1c28b0629
+SHA512 (copas-2.0.2.tar.gz) = dd83a513fbddb2f0164c3573b417623f5cc556413c4937be7e362f4c1667bad83391143e1bf609480726730ce488c4080e810f2ce12a98a7abb5293993c10182
+Size (copas-2.0.2.tar.gz) = 51660 bytes
+SHA1 (patch-Makefile) = 9399d8d450eb5466c8271072db2a4ee33f359e90

Index: pkgsrc/net/lua-copas/patches/patch-Makefile
diff -u pkgsrc/net/lua-copas/patches/patch-Makefile:1.1.1.1 pkgsrc/net/lua-copas/patches/patch-Makefile:1.2
--- pkgsrc/net/lua-copas/patches/patch-Makefile:1.1.1.1 Sat Jun  4 23:15:22 2016
+++ pkgsrc/net/lua-copas/patches/patch-Makefile Tue Jul  4 22:35:03 2017
@@ -1,17 +1,23 @@
-$NetBSD: patch-Makefile,v 1.1.1.1 2016/06/04 23:15:22 alnsn Exp $
+$NetBSD: patch-Makefile,v 1.2 2017/07/04 22:35:03 alnsn Exp $
 
---- Makefile.orig      2016-02-16 21:08:28.000000000 +0000
+--- Makefile.orig      2017-06-22 19:39:05.000000000 +0000
 +++ Makefile
-@@ -2,8 +2,10 @@
+@@ -3,15 +3,15 @@
+ DESTDIR ?= 
  
  # Default prefix
--PREFIX = /usr/local
-+#PREFIX = /usr/local
+-PREFIX  ?= /usr/local
++#�#PREFIX  ?= /usr/local
  
  # System's lua directory (where Lua libraries are installed)
--LUA_DIR= $(PREFIX)/share/lua/5.1
-+LUA_DIR= $(DESTDIR)$(PREFIX)/$(LUA_LDIR)
-+
-+all:
+-LUA_DIR ?= $(PREFIX)/share/lua/5.1
++LUA_DIR ?= $(DESTDIR)$(PREFIX)/$(LUA_LDIR)
+ 
+ PKGPATH=-e "package.path='src/?.lua;'..package.path"
+ 
+ # Lua interpreter
+-LUA=lua
++LUA=${LUA_INTERPRETER}
  
  install:
+       mkdir -p $(DESTDIR)$(LUA_DIR)/copas



Home | Main Index | Thread Index | Old Index