debian/0000755000000000000000000000000011766327674007211 5ustar debian/compat0000644000000000000000000000000211733402214010361 0ustar 7 debian/watch0000644000000000000000000000026211273331464010223 0ustar # test this watch file using: # uscan --watchfile debian/watch --upstream-version 0.0.1 --package luarocks # version=3 http://www.luarocks.org/releases/luarocks-([\d\.]*).tar.gz debian/NEWS0000644000000000000000000000171211273333053007666 0ustar luarocks (0.5-1) unstable; urgency=low * Support for multiple local repositories has been added in version 0.5: it installs rocks to /usr/local/lib/luarocks if you have the permission to write to that directory, and to $HOME/.luarocks if you don't. * Flags --from=, --only-from= and --to=, to allow specifying exactly where to get rocks from and where to install them to. * The configuration file format has changed: remote servers are now listed in the 'rocks_servers' array (superseding 'repositories') and the local rocks trees are listed in the 'rocks_trees' array (superseding the 'root_dir'/ 'repo_dir' entries, which were single strings when a single local tree was supported). * The manifest file format has changed. Rebuild your manifests with the following command: luarocks-admin make-manifest /path/to/your/rocks -- Enrico Tassi Sat, 05 Apr 2008 14:28:39 +0200 debian/luarocks-admin.1.txt0000644000000000000000000000160511273342414013002 0ustar NAME luarocks-admin - LuaRocks repository administration interface SYNOPSIS luarocks-admin [options] command DESCRIPTION LuaRocks repository administration interface Variables from the "variables" table of the configuration file can be overriden with VAR=VALUE assignments. Options: --from= Fetch rocks/rockspecs from this server (takes priority over config file) --only-from= Fetch rocks/rockspecs from this server only (overrides any entries in the config file) --to= Which tree to operate on. Commands: add Add a rock or rockspec to a rocks server. help Help on commands. make_manifest Compile a manifest file for a repository. refresh_cache Refresh local cache of a remote rocks server. SEE ALSO luarocks(1) FILES /etc/luarocks/config.lua AUTHOR Enrico Tassi debian/rules0000755000000000000000000000404611766327236010267 0ustar #!/usr/bin/make -f DEB_DESTDIR=debian/tmp %: dh $@ override_dh_auto_configure: ./configure \ --prefix=/usr \ --sysconfdir=/etc/luarocks \ --with-lua=/usr \ --with-lua-include=/usr/include/lua5.1 \ --with-lua-lib=/usr/local/lib \ --rocks-tree=/usr/local/ \ --with-downloader=wget \ --with-md5-checker=md5sum override_dh_auto_build: make txt2man -t "luarocks 1" -r "LuaRocks" -v "" debian/luarocks.1.txt \ > luarocks.1 txt2man -t "luarocks-admin 1" -r "LuaRocks repository administration"\ -v "" debian/luarocks-admin.1.txt > luarocks-admin.1 override_dh_auto_install: mkdir -p $(DEB_DESTDIR)/etc/luarocks/ mkdir -p $(DEB_DESTDIR)/usr/bin/ mkdir -p $(DEB_DESTDIR)/usr/share/lua/5.1/ mkdir -p $(DEB_DESTDIR)/usr/share/doc/luarocks/doc/ cp -r src/luarocks $(DEB_DESTDIR)/usr/share/lua/5.1/ sed -i -e '1i\local popen = io.popen' $(DEB_DESTDIR)/usr/share/lua/5.1/luarocks/site_config.lua sed -i -e 's/^LUAROCKS_UNAME_S.*/LUAROCKS_UNAME_S=(popen("uname -s"):read("*a"):gsub("\\n",""))/' $(DEB_DESTDIR)/usr/share/lua/5.1/luarocks/site_config.lua sed -i -e 's/^LUAROCKS_UNAME_M.*/LUAROCKS_UNAME_M=(popen("uname -m"):read("*a"):gsub("\\n",""))/' $(DEB_DESTDIR)/usr/share/lua/5.1/luarocks/site_config.lua cp src/bin/luarocks $(DEB_DESTDIR)/usr/bin/ cp src/bin/luarocks-admin $(DEB_DESTDIR)/usr/bin/ sed -i -e '1c\#!/usr/bin/env lua5.1' $(DEB_DESTDIR)/usr/bin/* make luadoc cp -r doc/luadoc/* $(DEB_DESTDIR)/usr/share/doc/luarocks/doc/ echo 'rocks_servers = {' > $(DEB_DESTDIR)/etc/luarocks/config.lua echo ' [[http://luarocks.org/repositories/rocks]]' >> $(DEB_DESTDIR)/etc/luarocks/config.lua echo '}' >> $(DEB_DESTDIR)/etc/luarocks/config.lua echo '' >> $(DEB_DESTDIR)/etc/luarocks/config.lua echo 'rocks_trees = {' >> $(DEB_DESTDIR)/etc/luarocks/config.lua echo ' home..[[/.luarocks]],' >> $(DEB_DESTDIR)/etc/luarocks/config.lua echo ' [[/usr/local]]' >> $(DEB_DESTDIR)/etc/luarocks/config.lua echo '}' >> $(DEB_DESTDIR)/etc/luarocks/config.lua override_dh_auto_clean: rm -f luarocks.1 luarocks-admin.1 make clean || true debian/luarocks.install0000644000000000000000000000005411275375460012412 0ustar usr/bin/ usr/share/doc/ usr/share/lua/ etc/ debian/copyright0000644000000000000000000000231011273335033011115 0ustar This package was debianized by Enrico Tassi Mon Mar 3 23:42:23 CET 2008 It was downloaded from http://www.luarocks.org/releases/. Copyright © 2007-2009 Kepler Project. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. debian/luarocks.manpages0000644000000000000000000000003411273336644012534 0ustar luarocks.1 luarocks-admin.1 debian/source/0000755000000000000000000000000011766327673010510 5ustar debian/source/format0000644000000000000000000000001411733401546011700 0ustar 3.0 (quilt) debian/luarocks.postinst0000644000000000000000000000024311323175167012623 0ustar #!/bin/sh set -e if [ ! -e /usr/local/lib/luarocks/rocks/manifest ]; then mkdir -p /usr/local/lib/luarocks/rocks/ luarocks-admin make_manifest fi #DEBHELPER# debian/control0000644000000000000000000000233411733403626010600 0ustar Source: luarocks Section: interpreters Priority: optional Maintainer: Enrico Tassi Build-Depends: debhelper (>= 8), luadoc, liblua5.1-dev, wget, txt2man Standards-Version: 3.9.3 Vcs-Svn: svn://svn.debian.org/pkg-lua/packages/luarocks Vcs-Browser: http://svn.debian.org/viewsvn/pkg-lua/packages/luarocks Homepage: http://luarocks.org/ Package: luarocks Architecture: all Depends: lua5.1, liblua5.1-dev, wget, ${misc:Depends}, zip Description: deployment and management system for Lua modules This package contains LuaRocks, a tool for managing rocks. A Lua rock is a bundle containing a module and some metadata like compilation instructions and copyright. The command line utility luarocks can download, build, install and remove rocks, properly handling dependencies among them and allowing multiple versions of the same rock to coexist. . The tool installs system-wide rocks in /usr/local when run by the superuser, but a regular user can easily tune it to install rocks in his home directory. . This package also provides the luarocks-admin tool, needed to create a rocks repository, and the documentation for luarocks, describing the command line tools as well as the library to manipulate rocks. debian/changelog0000644000000000000000000000717211766327317011064 0ustar luarocks (2.0.9-1) unstable; urgency=low * New upstream release with some support for Lua 5.2 -- Enrico Tassi Sun, 15 Apr 2012 14:19:13 +0200 luarocks (2.0.8-2) unstable; urgency=low * Clen up luarocks manifest files in postrm script (Closes: #668660) -- Enrico Tassi Sun, 15 Apr 2012 14:14:22 +0200 luarocks (2.0.8-1) unstable; urgency=low * Moved from CDBS to dh7 * Source format 3.0 (quilt) * Set debian/compat to 7 * Bumped standards-version to 3.9.3 * New upstream release (Closes: #656194) * Hardcode lua interpreter to lua5.1 (Closes: #6508660) * Probe system at run time calling io.popen('uname') (Closes: #663695) -- Enrico Tassi Sat, 24 Mar 2012 19:06:24 +0100 luarocks (2.0.2-1) unstable; urgency=low * New upstream release * updated debian/rules not to install rcluancher * updated standards version to 3.8.4, no changes * added debian/source/format -- stil 1.0 -- Enrico Tassi Tue, 20 Apr 2010 09:34:55 +0200 luarocks (2.0.1-3) unstable; urgency=low * create /usr/local/lib/luarocks/rocks during postinst (Closes: #564153) -- Enrico Tassi Tue, 12 Jan 2010 23:41:05 +0100 luarocks (2.0.1-2) unstable; urgency=low * do not install empty directory /usr/lib/luarocks (Closes: #555008) * run luarocks-admin make_manifest in postinst (Closes: #555007) -- Enrico Tassi Sun, 08 Nov 2009 00:01:44 +0100 luarocks (2.0.1-1) unstable; urgency=low [ Duboucher Thomas ] * new upstream release * updated watch to http://www.luarocks.org/releases/ * changed lua to Lua in package description * changed luarocks to LuaRocks in package description [ Enrico Tassi ] * bumped standards-version to 3.8.3, no changes * install rocks in /usr/local * added manpages for luarocks and luarocks-admin -- Enrico Tassi Sun, 01 Nov 2009 17:33:21 +0100 luarocks (1.0.1-1) unstable; urgency=low * new upstream release * added misc:Depends to Depends: * bumped standards-version to 3.8.1, no changes needed * added dependency over zip package (Closes: #497830) -- Enrico Tassi Mon, 23 Mar 2009 11:14:11 +0100 luarocks (1.0-2) unstable; urgency=low * upload to unstable -- Enrico Tassi Sun, 15 Mar 2009 10:23:03 +0100 luarocks (1.0-1) experimental; urgency=low * New upstream release * Bumped Standards-Version to 3.8.0, no changes needed -- Enrico Tassi Wed, 03 Sep 2008 18:02:21 +0200 luarocks (0.6.0.2-1) unstable; urgency=low * New upstream release -- Enrico Tassi Wed, 02 Jul 2008 10:22:44 +0200 luarocks (0.5.2-1) unstable; urgency=low * New upstream release -- Enrico Tassi Wed, 14 May 2008 11:55:11 +0200 luarocks (0.5.1-1) unstable; urgency=low * New upstream release featuring minor bugfixes -- Enrico Tassi Sat, 26 Apr 2008 11:52:15 +0200 luarocks (0.5-1) unstable; urgency=low * New upstream release -- Enrico Tassi Fri, 04 Apr 2008 10:57:58 +0200 luarocks (0.4.3-2) unstable; urgency=low * Added build dependency on liblua5.1-dev, that is not actually used, but the configure script checks its existence (Closes: #470267) -- Enrico Tassi Mon, 10 Mar 2008 13:17:03 +0100 luarocks (0.4.3-1) unstable; urgency=low * Initial release. (Closes: #465124) -- Enrico Tassi Mon, 03 Mar 2008 23:40:03 +0100 debian/luarocks.1.txt0000644000000000000000000000210711273342400011705 0ustar NAME luarocks - module deployment system for Lua SYNOPSIS luarocks [options] command DESCRIPTION LuaRocks is a module deployment system for Lua Variables from the "variables" table of the configuration file can be overriden with VAR=VALUE assignments. Options: --from= Fetch rocks/rockspecs from this server (takes priority over config file) --only-from= Fetch rocks/rockspecs from this server only (overrides any entries in the config file) --to= Which tree to operate on. Commands: build Build/compile a rock. download Download a specific rock file from a rocks server. help Help on commands. install Install a rock. list Lists currently installed rocks. make Compile package in current directory using a rockspec. pack Create a rock, packing sources or binaries. remove Uninstall a rock. search Query the LuaRocks servers. unpack Unpack the contents of a rock. SEE ALSO luarocks-admin(1) FILES /etc/luarocks/config.lua AUTHOR Enrico Tassi debian/luarocks.postrm0000644000000000000000000000014511742535630012265 0ustar #!/bin/sh set -e case $1 in remove|purge) rm -rf /usr/local/lib/luarocks/ ;; esac #DEBHELPER#