Modify

Opened 6 years ago

Last modified 4 years ago

#11595 new enhancement

[prosody] lua-zlib package required when enable mod_compression

Reported by: Nilfred <nilfred@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: packages Version: Trunk
Keywords: prosody lua zlib Cc:

Description

Source: https://github.com/brimworks/lua-zlib

http://prosody.im/doc/depends#lua-zlib

This dependency is optional for current Prosody 0.6+, but isn't in OpenWrt repository

Attachments (0)

Change History (5)

comment:1 Changed 5 years ago by anonymous

I'm joining this.

comment:2 Changed 4 years ago by anonymous

Yes, I would love to see this too.
Anything new so far?

comment:3 Changed 4 years ago by anonymous

I made a makefile for lua-zlib. It compiles fine, but I haven't tested it yet.

https://github.com/TheBootloader/openwrt-repo/tree/master/lua-zlib

# 
# Copyright (C) 2013 OpenWrt.org
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
# Package origin: https://github.com/TheBootloader/openwrt-repo/
#
include $(TOPDIR)/rules.mk

PKG_NAME:=lua-zlib
PKG_VERSION:=2013-11-21
PKG_RELEASE=$(PKG_SOURCE_VERSION)

PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=git://github.com/brimworks/lua-zlib.git
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=962273981badee28339fa5a25b86effb107de1ad
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
CMAKE_INSTALL:=1

include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk

define Package/lua-zlib
	SUBMENU:=Lua
	SECTION:=lang
	CATEGORY:=Languages
	TITLE:=Brimworks zlib library for Lua
	DEPENDS:=+zlib
endef

define Package/lua-zlib/install
	$(INSTALL_DIR) $(1)/usr/lib/lua/
	$(CP) $(PKG_BUILD_DIR)/zlib.so $(1)/usr/lib/lua/
endef

$(eval $(call BuildPackage,lua-zlib))

comment:4 Changed 4 years ago by anonymous

lua-zlib seems to work fine, so far. No errors in 10 hours uptime and light use with mod_compression enabled.

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.