Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deluge, ffsync, rutorrent and squidguard build fixes #4695

Merged
merged 47 commits into from
Oct 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
66daea9
berkleydb: Update from version 6.2.23 to 6.2.32
th0ma7 Jun 27, 2021
0f9a8ad
c_icap: Udpate from 0.2.2 to 0.5.8 and enable extra features
th0ma7 Jun 27, 2021
65cf47c
squidclamav: Update from version 6.10 to 7.1
th0ma7 Jun 27, 2021
cf69bc5
squidguard: Update from version 1.5-beta to 1.6.0 from Debian src
th0ma7 Jun 27, 2021
71f19f5
squidguard: Remove duplicate dependencies
th0ma7 Jun 27, 2021
b0e6ec4
native/squid: Update from 3.1.22 to 5.0.4
th0ma7 Jun 27, 2021
406a0b3
squid: Update from version 3.1.22 to 5.0.4
th0ma7 Jun 27, 2021
496ce0f
squidguard: Use newer and supported URL for blacklists
th0ma7 Jun 28, 2021
bb04274
squidguard: Bump version and add unsupported archs
th0ma7 Jun 28, 2021
d419678
squid+squidguard: Fix incompatible arch mgmnt
th0ma7 Jun 28, 2021
ff5a5ff
squidguard: Fix blacklists.tar.gz source URL
th0ma7 Jun 28, 2021
696580c
squidguardmanager: Update from version 1.11 to 1.14
th0ma7 Jun 28, 2021
b49ca30
squid: Fix cross-compiling for some archs
th0ma7 Jun 29, 2021
1f4b113
Update spk/squidguard/Makefile
th0ma7 Jul 4, 2021
e0ce52f
libev: Update from version 4.22 to 4.33
th0ma7 Jul 4, 2021
d9da4ae
gevent: Update from version 1.2.2 to 21.1.2
th0ma7 Jul 4, 2021
e2074e9
gevent: Do not use embed c-ares and libev (like previously)
th0ma7 Jul 4, 2021
ef0ac09
gevent: Update to version 21.8.0
th0ma7 Sep 19, 2021
3240759
squidguard: Add python38 to the build depends and depends
th0ma7 Sep 19, 2021
2766b1e
squidguard: Revert python38
th0ma7 Sep 19, 2021
ad6d608
pip_py2: Update to latest python2 compatible version
th0ma7 Sep 20, 2021
3485425
gevent: Change package download source (github not recommended)
th0ma7 Sep 21, 2021
cf01c13
greenlet: Update to version 1.1.1 and use .tar.gz extension
th0ma7 Sep 21, 2021
34d7f94
ffsync: Add cffi dependency but must be after gevent
th0ma7 Sep 21, 2021
6e8dc02
ffsync: Import requirements from PR #3849 (thnx @ymartin59)
th0ma7 Sep 21, 2021
225ebf4
libtorrent: Fix DSM6 gcc49 build issue by adding -std=c++11
th0ma7 Sep 21, 2021
735be6f
squid: Remove shell call for file & directory name
th0ma7 Sep 22, 2021
359da0d
squidguard: Use default installation path (e.g. target)
th0ma7 Sep 22, 2021
9199bae
squidguard: Fix installation path and remove redundant prefix
th0ma7 Sep 22, 2021
b5eee82
squidguard: Remove unecessary patch now that path issue is solved
th0ma7 Sep 22, 2021
2d29eba
squidguardmgr: Remove old patch no longer needed with newer version
th0ma7 Sep 22, 2021
8cc6407
squidguardmgr: Fix path to squid sbin
th0ma7 Sep 22, 2021
b962820
squidguard: Require squidclamav to test-build through cross
th0ma7 Sep 23, 2021
611c79b
squidguard: Fix path in cgi and use STAGING_INSTALL_PREFIX
th0ma7 Sep 25, 2021
910ab3a
squidguard: Image thumbnails now generated by the framework
th0ma7 Sep 26, 2021
8ecddd0
squidguard: www now located under var
th0ma7 Sep 26, 2021
6734499
c-icap: Dynamically update the default provided conf file
th0ma7 Sep 26, 2021
956255d
squidguard: Fix clamd configuration paths
th0ma7 Sep 26, 2021
dc96492
squidguard: Use the now default provided errorpage.css mime.conf
th0ma7 Sep 26, 2021
b7cd623
squidclamav: Use default provided config and fix clamd.ctl
th0ma7 Sep 26, 2021
19509c3
squidguard: Adjust squidguard.conf.tpl paths
th0ma7 Sep 26, 2021
b316087
squidguard: Fix squidguardmgr.conf paths
th0ma7 Sep 26, 2021
c7c576f
squid: Fix configuration paths
th0ma7 Sep 26, 2021
f05978e
squidguard: Add missing target in path
th0ma7 Sep 26, 2021
965337e
c-icap: Update from version 0.5.8 to 0.5.9
th0ma7 Sep 26, 2021
41d4e8c
c-icap: Forgot to update PLIST with new lib version
th0ma7 Sep 26, 2021
984c24d
libtorrent: Enable -std=c++11 by default (also fixes comcerto2k)
th0ma7 Sep 26, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion cross/berkeleydb/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME = db
PKG_VERS = 6.2.23
PKG_VERS = 6.2.32
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://download.oracle.com/berkeley-db
Expand All @@ -13,6 +13,7 @@ COMMENT = Berkeley DB is a family of embedded key-value database libraries prov
LICENSE = AGPLv3

CONFIGURE_TARGET = db_configure
CONFIGURE_ARGS = --enable-compat185 --enable-dbm --disable-static --enable-cxx

include ../../mk/spksrc.cross-cc.mk

Expand Down
1 change: 1 addition & 0 deletions cross/berkeleydb/PLIST
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
bin:bin/db_archive
bin:bin/db_checkpoint
bin:bin/db_convert
bin:bin/db_deadlock
bin:bin/db_dump
bin:bin/db_hotbackup
Expand Down
6 changes: 3 additions & 3 deletions cross/berkeleydb/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
db-6.2.23.tar.gz SHA1 646c57b99799dc300207976e2270cdaca1a2f198
db-6.2.23.tar.gz SHA256 47612c8991aa9ac2f6be721267c8d3cdccf5ac83105df8e50809daea24e95dc7
db-6.2.23.tar.gz MD5 9da126afb937a48171ff1e569ce67cf1
db-6.2.32.tar.gz SHA1 51824cee0a59cdcfb11413ac4558c851dda24551
db-6.2.32.tar.gz SHA256 a9c5e2b004a5777aa03510cfe5cd766a4a3b777713406b02809c17c8e0e7a8fb
db-6.2.32.tar.gz MD5 33491b4756cb44b91c3318b727e71023
21 changes: 0 additions & 21 deletions cross/berkeleydb/patches/001-cross-compile.patch

This file was deleted.

16 changes: 12 additions & 4 deletions cross/c_icap/Makefile
Original file line number Diff line number Diff line change
@@ -1,23 +1,31 @@
PKG_NAME = c_icap
PKG_VERS = 0.2.2
PKG_VERS = 0.5.9
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://downloads.sourceforge.net/project/c-icap/c-icap/0.2.x
PKG_DIST_SITE = https://downloads.sourceforge.net/project/c-icap/c-icap/0.5.x
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS =
DEPENDS = cross/zlib cross/bzip2 cross/openssl cross/pcre cross/berkeleydb

HOMEPAGE = http://c-icap.sourceforge.net/
COMMENT = c-icap is an implementation of an ICAP server. It can be used with HTTP proxies that support the ICAP protocol to implement content adaptation and filtering services.
LICENSE = LGPLv2.1

PRE_CONFIGURE_TARGET = c_icap_pre_configure
POST_INSTALL_TARGET = c_icap_post_install

GNU_CONFIGURE = 1
CONFIGURE_ARGS = --enable-large-files --with-zlib=$(INSTALL_DIR)/$(INSTALL_PREFIX)/lib -C
CONFIGURE_ARGS = --enable-large-files --disable-static --with-zlib=$(INSTALL_DIR)/$(INSTALL_PREFIX)/lib -C

include ../../mk/spksrc.cross-cc.mk

.PHONY: c_icap_pre_configure
c_icap_pre_configure:
cp src/config.cache $(WORK_DIR)/$(PKG_DIR)
$(RUN) ; autoconf

.PHONY: c_icap_post_install
c_icap_post_install:
@$(RUN) sed -i 's?^PidFile .*?PidFile $(INSTALL_PREFIX)/var/run/c-icap/c-icap.pid?' $(STAGING_INSTALL_PREFIX)/etc/c-icap.conf
@$(RUN) sed -i 's?^CommandsSocket .*?CommandsSocket $(INSTALL_PREFIX)/var/run/c-icap/c-icap.ctl?' $(STAGING_INSTALL_PREFIX)/etc/c-icap.conf
@$(RUN) sed -i 's?^Port .*?Port 10344?' $(STAGING_INSTALL_PREFIX)/etc/c-icap.conf
11 changes: 8 additions & 3 deletions cross/c_icap/PLIST
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@ bin:bin/c-icap-client
bin:bin/c-icap-config
bin:bin/c-icap-libicapapi-config
bin:bin/c-icap-stretch
rsc:etc/c-icap.conf
rsc:etc/c-icap.conf.default
rsc:etc/c-icap.magic
rsc:etc/c-icap.magic.default
lnk:lib/libicapapi.so
lnk:lib/libicapapi.so.5
lib:lib/libicapapi.so.5.0.9
lib:lib/c_icap/bdb_tables.so
lib:lib/c_icap/dnsbl_tables.so
lib:lib/c_icap/shared_cache.so
lib:lib/c_icap/srv_echo.so
lib:lib/c_icap/srv_ex206.so
lib:lib/c_icap/sys_logger.so
lnk:lib/libicapapi.so
lnk:lib/libicapapi.so.2
lib:lib/libicapapi.so.2.0.2
6 changes: 3 additions & 3 deletions cross/c_icap/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
c_icap-0.2.2.tar.gz SHA1 104be659978e56bc50f04c9cde60253175d59464
c_icap-0.2.2.tar.gz SHA256 3236fb63b7cb08df46f591d4a5b0cd6c3806fcd8a9831aa01915acc9435f6ed1
c_icap-0.2.2.tar.gz MD5 ac8c8462fc456aa0e1ab130ecfa68311
c_icap-0.5.9.tar.gz SHA1 f6271f367d4e8c44c1da657efc43b7ff7d5765e2
c_icap-0.5.9.tar.gz SHA256 5137d8b6b79581613b5901c2620c7fed8266f61cc00b3561316e9097e5f0352c
c_icap-0.5.9.tar.gz MD5 de74dbfb023869a9a6424a8f0d650cc6
72 changes: 0 additions & 72 deletions cross/c_icap/patches/001-configure.in.patch

This file was deleted.

15 changes: 5 additions & 10 deletions cross/gevent/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
PKG_NAME = gevent
PKG_VERS = 1.2.2
PKG_VERS = 21.8.0
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/$(PKG_NAME)/$(PKG_NAME)/archive
PKG_DIST_FILE = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://files.pythonhosted.org/packages/source/g/$(PKG_NAME)
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/libev cross/c-ares
Expand All @@ -12,11 +11,7 @@ HOMEPAGE = https://www.gevent.org
COMMENT = gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libev event loop
LICENSE = MIT

INSTALL_TARGET = gevent_install
ENV += GEVENTSETUP_EMBED_CARES=FALSE
ENV += GEVENTSETUP_EMBED_LIBEV=FALSE

include ../../mk/spksrc.python-wheel.mk

.PHONY: gevent_install
gevent_install:
@$(RUN) LIBEV_EMBED=FALSE CARES_EMBED=FALSE PYTHONPATH=$(PYTHONPATH) $(HOSTPYTHON) -c "import setuptools;__file__='setup.py';exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d $(WORK_DIR)/wheelhouse
@rename -f 's/linux_i686/any/g' $(WORK_DIR)/wheelhouse/*.whl
6 changes: 3 additions & 3 deletions cross/gevent/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
gevent-1.2.2.tar.gz SHA1 6494cbb2660538fef476b80a071ef680c6cb8455
gevent-1.2.2.tar.gz SHA256 c59072a2bac1829c6e0f19814b4b9fe726f9162a1762831a0c316ae27fa69eb2
gevent-1.2.2.tar.gz MD5 594c1d2cb679fafaa3e5f6116907bc20
gevent-21.8.0.tar.gz SHA1 0aad0632ab8a0b7fd9f9858b196f1d9663de5441
gevent-21.8.0.tar.gz SHA256 43e93e1a4738c922a2416baf33f0afb0a20b22d3dba886720bc037cd02a98575
gevent-21.8.0.tar.gz MD5 cd15fb75e67892514fbba2111af5cd50
4 changes: 2 additions & 2 deletions cross/greenlet/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PKG_NAME = greenlet
PKG_VERS = 0.4.5
PKG_EXT = zip
PKG_VERS = 1.1.1
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://files.pythonhosted.org/packages/source/g/${PKG_NAME}
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)
Expand Down
6 changes: 3 additions & 3 deletions cross/greenlet/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
greenlet-0.4.5.zip SHA1 97f18d651595bd30243ad2f4702764791e57fa6e
greenlet-0.4.5.zip SHA256 b990f00f120c4cfb6672eec2acd32210990a2c7b70b815c034d1d8cbf08e2dbe
greenlet-0.4.5.zip MD5 ce383f6475e6311cf8932ea779938703
greenlet-1.1.1.tar.gz SHA1 b4b03918da4bc5e50d3afc539151118e4a9e0550
greenlet-1.1.1.tar.gz SHA256 c0f22774cd8294078bdf7392ac73cf00bfa1e5e0ed644bd064fdabc5f2a2f481
greenlet-1.1.1.tar.gz MD5 a3fbf41851a6b5e1e823e8c18905877c
2 changes: 1 addition & 1 deletion cross/libev/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PKG_NAME = libev
PKG_VERS = 4.22
PKG_VERS = 4.33
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = http://dist.schmorp.de/$(PKG_NAME)/Attic
Expand Down
6 changes: 3 additions & 3 deletions cross/libev/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
libev-4.22.tar.gz SHA1 4affcba78dc17239f2ccd84d6e3e6dec2bd1f8ba
libev-4.22.tar.gz SHA256 736079e8ac543c74d59af73f9c52737b3bfec9601f020bf25a87a4f4d0f01bd6
libev-4.22.tar.gz MD5 bf0007e37240103d3c2be80ca9bee3f9
libev-4.33.tar.gz SHA1 133587b89c34dba0b3a2d2a90ba59f6748f6c368
libev-4.33.tar.gz SHA256 507eb7b8d1015fbec5b935f34ebed15bf346bed04a11ab82b8eee848c4205aea
libev-4.33.tar.gz MD5 a3433f23583167081bf4acdd5b01b34f
6 changes: 6 additions & 0 deletions cross/libtorrent/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ CONFIGURE_TARGET = configure_target
COMPILE_TARGET = compile_target build_python_wheel
INSTALL_TARGET = install_destdir_target install_python_wheel

include ../../mk/spksrc.common.mk

GNU_CONFIGURE = 1
-include $(WORK_DIR)/python-cc.mk
CONFIGURE_ARGS = --enable-python-binding --with-libiconv
Expand All @@ -35,6 +37,10 @@ ADDITIONAL_CFLAGS = -I$(STAGING_INSTALL_PREFIX)/$(PYTHON_INC_DIR)
ADDITIONAL_CXXFLAGS = -I$(STAGING_INSTALL_PREFIX)/$(PYTHON_INC_DIR)
ADDITIONAL_LDFLAGS = "-Wl,-Bsymbolic"

# Only required for DSM <= 6.* using gcc-4.9 along with comcerto2k-7.0
# Leaving enabled by default for all as no negative impact
ADDITIONAL_CXXFLAGS += -std=c++11

BOOST_LIBRARIES += system python chrono random
ENV += BOOST_LIBRARIES="$(BOOST_LIBRARIES)"

Expand Down
2 changes: 1 addition & 1 deletion cross/pip_py2/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
PKG_NAME = pip
# only pip<21.0 is compatible with python2
PKG_VERS = 20.2.4
PKG_VERS = 20.3.4
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = https://files.pythonhosted.org/packages/source/p/$(PKG_NAME)
Expand Down
6 changes: 3 additions & 3 deletions cross/pip_py2/digests
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
pip-20.2.4.tar.gz SHA1 feff6f85f624602444600c4de8e55abea9d96bc9
pip-20.2.4.tar.gz SHA256 85c99a857ea0fb0aedf23833d9be5c40cf253fe24443f0829c7b472e23c364a1
pip-20.2.4.tar.gz MD5 ff2a91a3ad7206e5a65422c1c4b48655
pip-20.3.4.tar.gz SHA1 6b9b6f5e507773c592606f304ff8727c86cc7290
pip-20.3.4.tar.gz SHA256 6773934e5f5fc3eaa8c5a44949b5b924fc122daa0a8aa9f80c835b4ca2a543fc
pip-20.3.4.tar.gz MD5 577a375b66ec109e0ac6a4c4aa99bbd0
45 changes: 31 additions & 14 deletions cross/squid/Makefile
Original file line number Diff line number Diff line change
@@ -1,28 +1,45 @@
PKG_NAME = squid
PKG_VERS = 3.1.22
PKG_VERS = 5.0.4
PKG_EXT = tar.gz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = http://www.squid-cache.org/Versions/v3/3.1/
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)
PKG_DIST_NAME = SQUID_$(subst .,_,$(PKG_VERS)).$(PKG_EXT)
PKG_DIST_SITE = https://github.com/squid-cache/squid/archive
PKG_DIR = $(PKG_NAME)-SQUID_$(subst .,_,$(PKG_VERS))

DEPENDS = native/$(PKG_NAME)
DEPENDS = cross/openssl

HOMEPAGE = http://www.squid-cache.org/
COMMENT = Squid is a fully-featured HTTP/1.0 proxy which is almost HTTP/1.1 compliant.
LICENSE =
LICENSE = GPLv2

GNU_CONFIGURE = 1
CONFIGURE_ARGS = $(TC_CONFIGURE_ARGS)
CONFIGURE_ARGS += --prefix=$(INSTALL_PREFIX)
CONFIGURE_ARGS += --enable-icap-client
CONFIGURE_ARGS += --disable-strict-error-checking
CONFIGURE_ARGS += --enable-ssl
CONFIGURE_ARGS += --enable-arp-acl
CONFIGURE_ARGS += --enable-delay-pools

CONFIGURE_ARGS = $(TC_CONFIGURE_ARGS) --prefix=$(INSTALL_PREFIX) --enable-icap-client --disable-strict-error-checking
include ../../mk/spksrc.common.mk

HOSTCFGEN_NATIVE = $(WORK_DIR)/../../../native/$(PKG_NAME)/work-native/$(PKG_DIR)/src/cf_gen
HOSTCFGEN = $(WORK_DIR)/$(PKG_DIR)/src/cf_gen
# Toolchains lacking c++11 in conjunction with
# march=native compiler are not supported
UNSUPPORTED_ARCHS = $(ARMv5_ARCHS) $(OLD_PPC_ARCHS)

# Compile
PRE_COMPILE_TARGET = squid_pre_compile
ifeq ($(findstring $(ARCH),$(ARMv7_ARCHS)),$(ARCH))
ADDITIONAL_CXXFLAGS = -mfloat-abi=hard
ADDITIONAL_CXXFLAGS += -mfpu=neon
endif

# Use native g++ compiler to build a
# host compatible working cf_gen binary
ENV += BUILDCXX=g++
ENV += BUILDCXXFLAGS=-march=native

PRE_CONFIGURE_TARGET = squid_pre_configure

include ../../mk/spksrc.cross-cc.mk

.PHONY: squid_pre_compile
squid_pre_compile:
cp $(HOSTCFGEN_NATIVE) $(HOSTCFGEN)
.PHONY: squid_pre_configure
squid_pre_configure:
$(RUN) ./bootstrap.sh
Loading