pkgsrc-WIP-changes archive

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

wip/luasocket: remove (mechanical cleanup)



Module Name:	pkgsrc-wip
Committed By:	Tobias Nygren <tnn%NetBSD.org@localhost>
Pushed By:	tnn
Date:		Wed Sep 23 05:16:23 2015 +0200
Changeset:	8a2dbb6bd89f79cf7107f05de811df29fb2abd51

Removed Files:
	luasocket/DESCR
	luasocket/Makefile
	luasocket/PLIST
	luasocket/distinfo
	luasocket/files/luasocket.lua
	luasocket/patches/patch-aa

Log Message:
wip/luasocket: remove (mechanical cleanup)

- pkgsrc/net/lua-socket exists
- pkgsrc (3.0rc1nb4) >= wip (2.0.2)
- doc/CHANGES-2013: Updated to 3.0rc1 [ryoon 2013-09-01]
- doc/CHANGES-2014: Updated to 3.0rc1nb2 [jperkin 2014-01-22]
- wip/luasocket last touched [rodent 2012-11-25]
- package does not appear to be actively used to stage updates
- manual inspection of diff revealed no uncommitted improvements

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8a2dbb6bd89f79cf7107f05de811df29fb2abd51

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

diffstat:
 luasocket/DESCR               |  6 ------
 luasocket/Makefile            | 23 -----------------------
 luasocket/PLIST               | 11 -----------
 luasocket/distinfo            |  6 ------
 luasocket/files/luasocket.lua | 33 ---------------------------------
 luasocket/patches/patch-aa    | 20 --------------------
 6 files changed, 99 deletions(-)

diffs:
diff --git a/luasocket/DESCR b/luasocket/DESCR
deleted file mode 100644
index ceeb5cc..0000000
--- a/luasocket/DESCR
+++ /dev/null
@@ -1,6 +0,0 @@
-This release is work in progress. It has been tested on WinXP, Mac OS X,
-SunOS and Linux.
-
-In this version, all Lua code should be built into the binary. For that, you
-will need a working versions of luac and bin2c, both available with your
-Lua distribution. Check the makefile for details.
diff --git a/luasocket/Makefile b/luasocket/Makefile
deleted file mode 100644
index 84b107e..0000000
--- a/luasocket/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# $NetBSD: Makefile,v 1.19 2012/11/25 23:32:27 othyro Exp $
-#
-
-DISTNAME=		luasocket-2.0.2
-PKGNAME=		${LUA_PKGPREFIX}-${DISTNAME:S/lua//}
-CATEGORIES=		net
-MASTER_SITES=		http://luaforge.net/frs/download.php/2664/
-
-MAINTAINER=		pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=		http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
-COMMENT=		Gives socket capabilities to lua
-LICENSE=		mit
-
-MAKE_FILE=		makefile
-USE_TOOLS+=		gmake
-
-LDFLAGS.SunOS=		-lrt -lresolv
-
-INSTALL_MAKE_FLAGS+=	INSTALL_TOP_SHARE=${DESTDIR}${PREFIX}/${LUA_LDIR}
-INSTALL_MAKE_FLAGS+=	INSTALL_TOP_LIB=${DESTDIR}${PREFIX}/${LUA_CDIR}
-
-.include "../../lang/lua/module.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/luasocket/PLIST b/luasocket/PLIST
deleted file mode 100644
index 52041e1..0000000
--- a/luasocket/PLIST
+++ /dev/null
@@ -1,11 +0,0 @@
-@comment $NetBSD: PLIST,v 1.6 2010/05/08 05:54:52 obache Exp $
-lib/lua/5.1/mime/core.so
-lib/lua/5.1/socket/core.so
-share/lua/5.1/ltn12.lua
-share/lua/5.1/mime.lua
-share/lua/5.1/socket.lua
-share/lua/5.1/socket/ftp.lua
-share/lua/5.1/socket/http.lua
-share/lua/5.1/socket/smtp.lua
-share/lua/5.1/socket/tp.lua
-share/lua/5.1/socket/url.lua
diff --git a/luasocket/distinfo b/luasocket/distinfo
deleted file mode 100644
index dd4baa8..0000000
--- a/luasocket/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.7 2009/10/08 09:48:34 fhajny Exp $
-
-SHA1 (luasocket-2.0.2.tar.gz) = 5ce521fc5c6efb7c1eba7f36dfeafa9e4d745464
-RMD160 (luasocket-2.0.2.tar.gz) = 24d7e4fb1c9cf0c3d94f8b36e82d494ae922e268
-Size (luasocket-2.0.2.tar.gz) = 115443 bytes
-SHA1 (patch-aa) = f4e4af32fea1b12f39aba9fe92989cfe57f8d039
diff --git a/luasocket/files/luasocket.lua b/luasocket/files/luasocket.lua
deleted file mode 100644
index 9138abe..0000000
--- a/luasocket/files/luasocket.lua
+++ /dev/null
@@ -1,33 +0,0 @@
--- Lua socket autoloader for Debian
--- Use this with require "luasocket";
-
-if( loadlib == nil ) then
-   error( "Unable to load LuaSocket library. No Loadlib found" );
-end
-
-local libfile = "/usr/pkg/lib/libluasocket.so.2.0";
-local funcname = "luaopen_socket";
-
-local func,os_err,canonical_err;
-
-func, os_err, canonical_err = loadlib( libfile, funcname );
-
-if( not func ) then
-   if( canonical_err == "absent" ) then
-      error( "Unable to load LuaSocket library. Lua built without loadlib." );
-   end
-   if( canonical_err == "init" ) then
-      error( "Luasocket library ("..libfile..") is missing init function ("..funcname..")\nOS said: "..os_err);
-   end
-   if( canonical_err == "open" ) then
-      error( "Luasocket library ("..libfile..") cannot be loaded.\nOS said: "..os_err);
-   end
-end
-
--- Luasocket library loaded, call it...
-
-func();
-
-if not LUASOCKET_LIBNAME then 
-   error("LuaSocket initialisation failed")
-end
diff --git a/luasocket/patches/patch-aa b/luasocket/patches/patch-aa
deleted file mode 100644
index d176438..0000000
--- a/luasocket/patches/patch-aa
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-aa,v 1.6 2009/10/08 09:45:19 fhajny Exp $
-
-Let CFLAGS/LDFLAGS merge with pkgsrc's ones
-
---- config.orig	2007-10-15 04:21:05.000000000 +0000
-+++ config
-@@ -49,10 +49,10 @@ INSTALL_EXEC=cp
- #------
- # Compiler and linker settings
- # for Linux
--CC=gcc
-+CC?=gcc
- DEF=-DLUASOCKET_DEBUG 
--CFLAGS= $(LUAINC) $(DEF) -pedantic -Wall -O2 -fpic
--LDFLAGS=-O -shared -fpic
-+CFLAGS+= $(LUAINC) $(DEF) -pedantic -Wall -O2 -fpic
-+LDFLAGS+=-O -shared -fpic
- LD=gcc 
- 
- #------


Home | Main Index | Thread Index | Old Index