@ -8,13 +8,13 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := znc
PKG_VERSION := 1.7.5
PKG_RELEASE := 2
PKG_VERSION := 1.8.2
PKG_RELEASE := $( AUTORELEASE)
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://znc.in/releases \
https://znc.in/releases/archive
PKG_HASH := a8941e1385c8654287a4428018d93459482e9d5eeedf86bef7b020ddc5f24721
PKG_HASH := ff238aae3f2ae0e44e683c4aee17dc8e4fdd261ca9379d83b48a7d422488de0d
PKG_MAINTAINER := Jonas Gorski <jonas.gorski@gmail.com>
PKG_LICENSE := Apache-2.0
@ -22,7 +22,6 @@ PKG_LICENSE_FILES:=LICENSE
PKG_CPE_ID := cpe:/a:znc:znc
PKG_USE_MIPS16 := 0
PKG_BUILD_PARALLEL := 1
PKG_CONFIG_DEPENDS := CONFIG_ZNC_ICU
@ -58,7 +57,7 @@ endef
d e f i n e P a c k a g e / z n c / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_BIN) $( PKG_BUILD_DIR) /znc $( 1) /usr/bin/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin /znc $( 1) /usr/bin/
$( INSTALL_DIR) $( 1) /etc/init.d
$( INSTALL_BIN) ./files/znc.init $( 1) /etc/init.d/znc
$( INSTALL_DIR) $( 1) /etc/config
@ -83,11 +82,11 @@ define module
define Package/znc-mod-$( strip $( 1) ) /install
$( INSTALL_DIR) $$ ( 1) /usr/lib/znc/
$( INSTALL_BIN) $$ ( PKG_BUILD_DIR) /modules /$( subst -,_,$( strip $( 1) ) ) .so $$ ( 1) /usr/lib/znc/
$( INSTALL_BIN) $$ ( PKG_INSTALL_DIR) /usr/lib/znc /$( subst -,_,$( strip $( 1) ) ) .so $$ ( 1) /usr/lib/znc/
# include webadmin page templates if existing
if [ -d $$ ( PKG_BUILD_DIR) /modules/data /$( subst -,_,$( strip $( 1) ) ) ] ; then \
if [ -d $$ ( PKG_INSTALL_DIR) /usr/share/znc/modules /$( subst -,_,$( strip $( 1) ) ) ] ; then \
$( INSTALL_DIR) $$ ( 1) /usr/share/znc/modules ; \
$( CP) $$ ( PKG_BUILD_DIR) /modules/data /$( subst -,_,$( strip $( 1) ) ) $$ ( 1) /usr/share/znc/modules ; \
$( CP) $$ ( PKG_INSTALL_DIR) /usr/share/znc/modules /$( subst -,_,$( strip $( 1) ) ) $$ ( 1) /usr/share/znc/modules ; \
fi
endef
@ -108,11 +107,11 @@ define webadmin
define Package/znc-mod-webadmin/install
$( INSTALL_DIR) $$ ( 1) /usr/lib/znc/
$( INSTALL_BIN) $$ ( PKG_BUILD_DIR) /modules /webadmin.so $$ ( 1) /usr/lib/znc/
$( INSTALL_BIN) $$ ( PKG_INSTALL_DIR) /usr/lib/znc /webadmin.so $$ ( 1) /usr/lib/znc/
$( INSTALL_DIR) $$ ( 1) /usr/share/znc/modules
$( CP) $$ ( PKG_BUILD_DIR) /modules/data /webadmin $$ ( 1) /usr/share/znc/modules
$( CP) $$ ( PKG_INSTALL_DIR) /usr/share/znc/modules /webadmin $$ ( 1) /usr/share/znc/modules
$( INSTALL_DIR) $$ ( 1) /usr/share/znc/webskins/
$( CP) $$ ( PKG_BUILD_DIR) /webskins/_default_ $$ ( 1) /usr/share/znc/webskins/
$( CP) $$ ( PKG_INSTALL_DIR) /usr/share/znc /webskins/_default_ $$ ( 1) /usr/share/znc/webskins/
endef
ZNC_MODULES += znc-mod-webadmin
@ -132,7 +131,7 @@ define webskin
define Package/znc-webskin-$( strip $( 1) ) /install
$( INSTALL_DIR) $$ ( 1) /usr/share/znc/webskins/
$( CP) $$ ( PKG_BUILD_DIR) /webskins/$( strip $( 1) ) $$ ( 1) /usr/share/znc/webskins/
$( CP) $$ ( PKG_INSTALL_DIR) /usr/share/znc /webskins/$( strip $( 1) ) $$ ( 1) /usr/share/znc/webskins/
endef
ZNC_MODULES += znc-webskin-$( strip $( 1) )
e n d e f
@ -232,16 +231,11 @@ $(eval $(call module,notes,This modules stores and displays short notes using \
$( eval $ ( call module ,notify -connect ,Sends a notice to all admins when a user \
logs in or out.) )
$( eval $ ( call module ,partyline ,Allows ZNC users to join internal channels and \
query other ZNC users on the same ZNC.) )
$( eval $ ( call module ,perform ,Performs commands on connect .) )
$( eval $ ( call module ,playback ,Avoid repetitive playback buffers on re -connect \
with supported clients ( e.g. mutter, colluquy) ) )
$( eval $ ( call module ,q ,Auths you with Q ( and a little more ) .) )
$( eval $ ( call module ,raw ,View all of the raw traffic .) )
$( eval $ ( call module ,route -replies ,Routes back answers to the right client \
@ -278,26 +272,19 @@ $(eval $(call webskin,ice))
PKG_CONFIG_DEPENDS += $( patsubst %,CONFIG_PACKAGE_%,$( ZNC_MODULES) )
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
CONFIGURE_ARGS += \
$( if $( CONFIG_ZNC_ICU) , --enable-charset, --disable-charset) \
--disable-cyrus \
--disable-debug \
--enable-largefile \
--disable-perl \
--enable-poll \
--disable-python \
--enable-openssl \
--disable-swig \
--disable-tcl \
--enable-tdns \
--enable-zlib
d e f i n e B u i l d / C o m p i l e
$( call Build/Compile/Default,znc)
+$( MAKE_VARS) $( MAKE) $( PKG_JOBS) -C $( PKG_BUILD_DIR) /modules \
$( MAKE_FLAGS) $( ZNC_MODULE_TARGETS)
e n d e f
i n c l u d e . . / . . / d e v e l / n i n j a / n i n j a - c m a k e . m k
CMAKE_OPTIONS += \
-DWANT_ICU= O$( if $( CONFIG_ZNC_ICU) ,N,FF) \
-DWANT_I18N= OFF \
-DWANT_CYRUS= OFF \
-DWANT_PERL= OFF \
-DWANT_SYSTEMD= OFF \
-DWANT_PYTHON= OFF \
-DWANT_OPENSSL= ON \
-DWANT_SWIG= OFF \
-DWANT_TCL= OFF \
-DWANT_ZLIB= ON
$( eval $ ( call BuildPackage ,znc ) )
$( foreach m ,$ ( ZNC_MODULES ) ,$ ( eval $ ( call BuildPackage ,$ ( m ) ) ) )