New package: znc-1.6.0
This commit is contained in:
parent
513601938e
commit
0f487e505a
9 changed files with 134 additions and 0 deletions
1
srcpkgs/znc-devel
Symbolic link
1
srcpkgs/znc-devel
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
znc
|
1
srcpkgs/znc-perl
Symbolic link
1
srcpkgs/znc-perl
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
znc
|
1
srcpkgs/znc-python3.4
Symbolic link
1
srcpkgs/znc-python3.4
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
znc
|
1
srcpkgs/znc-tcl
Symbolic link
1
srcpkgs/znc-tcl
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
znc
|
1
srcpkgs/znc/INSTALL.msg
Normal file
1
srcpkgs/znc/INSTALL.msg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Use 'sudo -u znc znc --makeconf' to generate your first config
|
2
srcpkgs/znc/files/znc/run
Normal file
2
srcpkgs/znc/files/znc/run
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
#!/bin/sh
|
||||||
|
exec chpst -u znc:znc znc -f 2>&1
|
46
srcpkgs/znc/patches/configure_tcl.patch
Normal file
46
srcpkgs/znc/patches/configure_tcl.patch
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
diff --git configure configure
|
||||||
|
index c4957bb..b94faba 100755
|
||||||
|
--- configure
|
||||||
|
+++ configure
|
||||||
|
@@ -5443,41 +5443,6 @@ if test "${with_tcl+set}" = set; then :
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
- # This will need to be extended in the future, but I don't think
|
||||||
|
- # it's a good idea to stuff a shitload of random stuff in here right now
|
||||||
|
- for path in $TCL_DIR /usr/lib /usr/lib/tcl8.4 /usr/lib/tcl8.5
|
||||||
|
- do
|
||||||
|
- file="${path}/tclConfig.sh"
|
||||||
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${file}" >&5
|
||||||
|
-$as_echo_n "checking for ${file}... " >&6; }
|
||||||
|
- if test -r ${file}
|
||||||
|
- then
|
||||||
|
- TCL_CONF=${file}
|
||||||
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
||||||
|
-$as_echo "yes" >&6; }
|
||||||
|
- break
|
||||||
|
- fi
|
||||||
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
||||||
|
-$as_echo "no" >&6; }
|
||||||
|
- done
|
||||||
|
-
|
||||||
|
- if test x"${TCL_CONF}" = x
|
||||||
|
- then
|
||||||
|
- # They --enable-tcl'd, so give them some sane default
|
||||||
|
- TCL_FLAGS="-I/usr/include/tcl -ltcl"
|
||||||
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not find tclConfig.sh, using some sane defaults." >&5
|
||||||
|
-$as_echo "$as_me: WARNING: Could not find tclConfig.sh, using some sane defaults." >&2;}
|
||||||
|
- else
|
||||||
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: checking modtcl flags" >&5
|
||||||
|
-$as_echo_n "checking modtcl flags... " >&6; }
|
||||||
|
- . ${TCL_CONF}
|
||||||
|
- # eval because those vars depend on other vars in there
|
||||||
|
- eval "TCL_LIB_SPEC=\"${TCL_LIB_SPEC}\""
|
||||||
|
- eval "TCL_INCLUDE_SPEC=\"${TCL_INCLUDE_SPEC}\""
|
||||||
|
- TCL_FLAGS="$TCL_INCLUDE_SPEC $TCL_LIB_SPEC"
|
||||||
|
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TCL_FLAGS" >&5
|
||||||
|
-$as_echo "$TCL_FLAGS" >&6; }
|
||||||
|
- fi
|
||||||
|
my_saved_LIBS="$LIBS"
|
||||||
|
appendLib "$TCL_FLAGS"
|
||||||
|
ac_fn_cxx_check_func "$LINENO" "Tcl_CreateInterp" "ac_cv_func_Tcl_CreateInterp"
|
12
srcpkgs/znc/patches/libressl.patch
Normal file
12
srcpkgs/znc/patches/libressl.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git src/Csocket.cpp src/Csocket.cpp
|
||||||
|
index eb1066c..eab617a 100644
|
||||||
|
--- src/Csocket.cpp
|
||||||
|
+++ src/Csocket.cpp
|
||||||
|
@@ -47,6 +47,7 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <openssl/conf.h>
|
||||||
|
#include <openssl/engine.h>
|
||||||
|
+#include <openssl/comp.h>
|
||||||
|
#endif /* HAVE_LIBSSL */
|
||||||
|
|
||||||
|
#ifdef HAVE_ICU
|
69
srcpkgs/znc/template
Normal file
69
srcpkgs/znc/template
Normal file
|
@ -0,0 +1,69 @@
|
||||||
|
# Template file for 'znc'
|
||||||
|
pkgname=znc
|
||||||
|
version=1.6.0
|
||||||
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
configure_args="
|
||||||
|
--enable-python
|
||||||
|
--enable-perl
|
||||||
|
--enable-tcl
|
||||||
|
--enable-cyrus
|
||||||
|
--sysconfdir=/etc
|
||||||
|
--localstatedir=/var"
|
||||||
|
system_accounts="znc"
|
||||||
|
znc_homedir="/var/lib/znc"
|
||||||
|
make_dirs="/var/lib/znc 0750 znc znc"
|
||||||
|
hostmakedepends="pkg-config perl"
|
||||||
|
makedepends="libressl-devel python3.4-devel tcl-devel libsasl-devel icu-devel zlib-devel perl"
|
||||||
|
short_desc="An advanced IRC Bouncer"
|
||||||
|
maintainer="Duncaen <duncaen@voidlinux.eu>"
|
||||||
|
license="Apache-2.0"
|
||||||
|
homepage="http://znc.in/"
|
||||||
|
distfiles="http://znc.in/releases/$pkgname-$version.tar.gz"
|
||||||
|
checksum=df622aeae34d26193c738dff6499e56ad669ec654484e19623738d84cc80aba7
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
export TCL_FLAGS="-I${XBPS_CROSS_BASE}/usr/include -L${XBPS_CROSS_BASE}/usr/lib -ltcl8.6"
|
||||||
|
${configure_script} ${configure_args}
|
||||||
|
}
|
||||||
|
|
||||||
|
post_install() {
|
||||||
|
vsv znc
|
||||||
|
}
|
||||||
|
|
||||||
|
znc-python3.4_package() {
|
||||||
|
depends="znc>=${version}_${revision}"
|
||||||
|
short_desc+=" - python3.4 plugin"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/znc/modpython
|
||||||
|
vmove usr/lib/znc/modpython.so
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
znc-perl_package() {
|
||||||
|
depends="znc>=${version}_${revision}"
|
||||||
|
short_desc+=" - perl plugin"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/znc/modperl
|
||||||
|
vmove usr/lib/znc/modperl.so
|
||||||
|
vmove usr/lib/znc/perleval.pm
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
znc-tcl_package() {
|
||||||
|
depends="znc>=${version}_${revision}"
|
||||||
|
short_desc+=" - tcl plugin"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/share/znc/modtcl
|
||||||
|
vmove usr/lib/znc/modtcl.so
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
znc-devel_package() {
|
||||||
|
depends="znc>=${version}_${revision}"
|
||||||
|
short_desc+=" - development files"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/include
|
||||||
|
vmove usr/lib/pkgconfig
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue