Skip to content

Commit

Permalink
Update to 1.4.0.3.910
Browse files Browse the repository at this point in the history
Validate IP to number conversion.
Minimize MySQL data storage.
Deprecate Python plugin due to memory leaks and unsupported library version, Ledokol now supports basic blacklist functionality with ability to import from blacklist.py
  • Loading branch information
1o1o1 committed Feb 27, 2023
1 parent efa2f49 commit 913edce
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 37 deletions.
40 changes: 20 additions & 20 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
#

PORTNAME= verlihub
PORTVERSION= 1.4.0.0
PORTREVISION= 1
#PORTEPOCH= 1
PORTVERSION= 1.4.0.3
#PORTREVISION= 2
PORTEPOCH= 910
CATEGORIES= net-p2p
MASTER_SITES= https://github.com/Verlihub/verlihub/archive/

DISTNAME= ${PORTVERSION}
DISTNAME= d12fde91c835a3b60ddc961c163e8ec58efedcba

MAINTAINER= [email protected]
COMMENT= VerliHub is a Direct Connect protocol server (Hub)

WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
WRKSRC= ${WRKDIR}/${PORTNAME}-d12fde91c835a3b60ddc961c163e8ec58efedcba
LICENSE= GPLv2

BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash
Expand All @@ -27,8 +27,8 @@ LIB_DEPENDS= libmaxminddb.so:net/libmaxminddb \
RUN_DEPENDS= ${BUILD_DEPENDS}

# fix your perl version:
PERL_VER= 5.32
PLIST_SUB= PERL_VER=${PERL_VER}
#PERL_VER= 5.32
#PLIST_SUB= PERL_VER=${PERL_VER}

USE_RC_SUBR= verlihub
SUB_FILES= verlihub
Expand All @@ -40,16 +40,16 @@ USE_OPENSSL= yes
#USE_GCC= any

#WITHOUT_LUA=yes
#WITHOUT_PYTHON=yes
WITH_IPLOG=yes
WITH_CHATROOM=yes
WITH_FORBID=yes
WITH_ISP=yes
WITH_FLOODPROT=yes
WITH_MESSENGER=yes
WITH_REPLACER=yes
WITH_PERL=yes
WITH_STATS=yes
#WITH_PYTHON=yes
#WITH_IPLOG=yes
#WITH_CHATROOM=yes
#WITH_FORBID=yes
#WITH_ISP=yes
#WITH_FLOODPROT=yes
#WITH_MESSENGER=yes
#WITH_REPLACER=yes
#WITH_PERL=yes
#WITH_STATS=yes

#post-patch:
# @${INPLACE_CMD} cp files/FindLua54.cmake ${WRKSRC}/cmake/Modules/FindLua54.cmake
Expand All @@ -63,7 +63,7 @@ WITH_STATS=yes
#OBJDUMP= /usr/local/bin/llvm-objdump90
#STRINGS= /usr/local/bin/llvm-strings90

USES= cmake
USES= cmake zip
#USES= cmake:noninja zip

#OPTIONS_DEFINE=LUA PYTHON IPLOG CHATROOM FORBID ISP FLOODPROT MESSENGER REPLACER PERL STATS
Expand Down Expand Up @@ -131,8 +131,8 @@ USE_LUA= 5.4
.if defined(WITH_MESSENGER)
CMAKE_ARGS+= -DWITH_MESSENGER=ON
.endif
.if defined(WITHOUT_PYTHON)
CMAKE_ARGS+= -DWITH_PYTHON=OFF
.if defined(WITH_PYTHON)
CMAKE_ARGS+= -DWITH_PYTHON=ON
.else
USE_PYTHON= 2.8
.endif
Expand Down
4 changes: 2 additions & 2 deletions distinfo
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
SHA256 (1.4.0.0.tar.gz) = 620d0fcd9860c6b46360fb4cc84ecc7107942a2eaff697ab13a78a18ae2786d3
SIZE (1.4.0.0.tar.gz) = 736844
SHA256 (d12fde91c835a3b60ddc961c163e8ec58efedcba.zip) = d9c6ce14034dba3e6909f4ace5b79e07a3ed230eaf742ee0279d4241db73a296
SIZE (d12fde91c835a3b60ddc961c163e8ec58efedcba.zip) = 1036635
15 changes: 0 additions & 15 deletions pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -86,21 +86,6 @@ include/verlihub/tpluginbase.h
include/verlihub/dirsettings.h
lib/libplug_pi.so
lib/liblua_pi.so
lib/libpython_pi.so
lib/libvh_python_wrapper.so
lib/libperl_pi.so
lib/perl5/site_perl/mach/%%PERL_VER%%/auto/vh/vh.so
lib/perl5/site_perl/mach/%%PERL_VER%%/auto/vh/autosplit.ix
lib/perl5/site_perl/mach/%%PERL_VER%%/vh.pm
lib/perl5/site_perl/mach/%%PERL_VER%%/vh/const.pm
lib/libforbid_pi.so
lib/libchatroom_pi.so
lib/libiplog_pi.so
lib/libisp_pi.so
lib/libmessenger_pi.so
lib/libstats_pi.so
lib/libreplacer_pi.so
lib/libfloodprot_pi.so
share/verlihub/sql/default_conn_types.sql
share/verlihub/sql/default_file_trigger.sql
share/verlihub/sql/default_reglist.sql
Expand Down

0 comments on commit 913edce

Please sign in to comment.