Page MenuHomeFreeBSD

D33771.id101097.diff
No OneTemporary

D33771.id101097.diff

Index: Mk/Uses/minizip.mk
===================================================================
--- /dev/null
+++ Mk/Uses/minizip.mk
@@ -0,0 +1,19 @@
+# handle minizip version
+#
+# Feature: minizip
+# Usage: USES=minizip[:ng]
+#
+# MAINTAINER: lbartoletti@FreeBSD.org
+
+.if !defined(_INCLUDE_USES_MINIZIP_MK)
+_INCLUDE_USES_MINIZIP_MK= yes
+
+. if empty(minizip_ARGS)
+LIB_DEPENDS+= libminizip.so:archivers/minizip
+. elif ${minizip_ARGS} == "ng"
+LIB_DEPENDS+= libminizip-ng.so:archivers/minizip-ng
+. else
+IGNORE= Incorrect 'USES+=minizip:${minizip_ARGS}' expecting 'USES+=minizip[:ng]'
+. endif
+
+.endif
Index: archivers/Makefile
===================================================================
--- archivers/Makefile
+++ archivers/Makefile
@@ -88,6 +88,7 @@
SUBDIR += mar
SUBDIR += maxcso
SUBDIR += minizip
+ SUBDIR += minizip-ng
SUBDIR += mscompress
SUBDIR += mtf
SUBDIR += nfpm
@@ -265,6 +266,7 @@
SUBDIR += zip-ada
SUBDIR += zipmix
SUBDIR += zipper
+ SUBDIR += zlib-ng
SUBDIR += zoo
SUBDIR += zopfli
SUBDIR += zstd
Index: archivers/minizip-ng/Makefile
===================================================================
--- /dev/null
+++ archivers/minizip-ng/Makefile
@@ -0,0 +1,21 @@
+PORTNAME= minizip-ng
+DISTVERSION= 3.0.4
+CATEGORIES= archivers
+
+MAINTAINER= lbartoletti@FreeBSD.org
+COMMENT= Fork of the popular minizip found in the zlib distribution
+
+LICENSE= ZLIB
+
+LIB_DEPENDS= libzstd.so:archivers/zstd
+
+USES= cmake:testing iconv pkgconfig ssl
+USE_LDCONFIG= yes
+USE_GITHUB= yes
+GH_ACCOUNT= zlib-ng
+
+CMAKE_ON= BUILD_SHARED_LIBS
+CMAKE_ARGS= -DMZ_PROJECT_SUFFIX=-ng
+CMAKE_TESTING_ON= MZ_BUILD_TEST MZ_BUILD_UNIT_TEST
+
+.include <bsd.port.mk>
Index: archivers/minizip-ng/distinfo
===================================================================
--- /dev/null
+++ archivers/minizip-ng/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641396331
+SHA256 (zlib-ng-minizip-ng-3.0.4_GH0.tar.gz) = 2ab219f651901a337a7d3c268128711b80330a99ea36bdc528c76b591a624c3c
+SIZE (zlib-ng-minizip-ng-3.0.4_GH0.tar.gz) = 638956
Index: archivers/minizip-ng/pkg-descr
===================================================================
--- /dev/null
+++ archivers/minizip-ng/pkg-descr
@@ -0,0 +1,14 @@
+Minizip was originally developed in 1998. It was first included in the zlib
+distribution as an additional code contribution starting in zlib 1.1.2. Since
+that time, it has been continually improved upon and contributed to by many
+people.
+
++ Creating and extracting zip archives.
++ Adding and removing entries from zip archives.
++ Read and write raw zip entry data.
++ Reading and writing zip archives from memory.
++ Zlib, BZIP2, LZMA, and ZSTD compression methods.
++ Password protection through Traditional PKWARE and WinZIP AES encryption.
++ Buffered streaming for improved I/O performance.
+
+WWW: https://github.com/zlib-ng/minizip-ng
Index: archivers/minizip-ng/pkg-plist
===================================================================
--- /dev/null
+++ archivers/minizip-ng/pkg-plist
@@ -0,0 +1,27 @@
+include/mz.h
+include/mz_compat.h
+include/mz_crypt.h
+include/mz_os.h
+include/mz_strm.h
+include/mz_strm_buf.h
+include/mz_strm_bzip.h
+include/mz_strm_lzma.h
+include/mz_strm_mem.h
+include/mz_strm_os.h
+include/mz_strm_pkcrypt.h
+include/mz_strm_split.h
+include/mz_strm_wzaes.h
+include/mz_strm_zlib.h
+include/mz_strm_zstd.h
+include/mz_zip.h
+include/mz_zip_rw.h
+include/unzip.h
+include/zip.h
+lib/cmake/minizip-ng/minizip-ng-config-version.cmake
+lib/cmake/minizip-ng/minizip-ng-config.cmake
+lib/cmake/minizip-ng/minizip-ng-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/minizip-ng/minizip-ng.cmake
+lib/libminizip-ng.so
+lib/libminizip-ng.so.3
+lib/libminizip-ng.so.3.0.4
+libdata/pkgconfig/minizip-ng.pc
Index: archivers/zlib-ng/Makefile
===================================================================
--- /dev/null
+++ archivers/zlib-ng/Makefile
@@ -0,0 +1,16 @@
+PORTNAME= zlib-ng
+DISTVERSION= 2.0.6
+CATEGORIES= archivers
+
+MAINTAINER= lbartoletti@FreeBSD.org
+COMMENT= Fork of the zlib data compression library
+
+LICENSE= ZLIB
+
+USES= cmake:testing
+USE_LDCONFIG= yes
+USE_GITHUB= yes
+
+CMAKE_TESTING_ON= ZLIB_ENABLE_TESTS
+
+.include <bsd.port.mk>
Index: archivers/zlib-ng/distinfo
===================================================================
--- /dev/null
+++ archivers/zlib-ng/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641394914
+SHA256 (zlib-ng-zlib-ng-2.0.6_GH0.tar.gz) = 8258b75a72303b661a238047cb348203d88d9dddf85d480ed885f375916fcab6
+SIZE (zlib-ng-zlib-ng-2.0.6_GH0.tar.gz) = 817951
Index: archivers/zlib-ng/pkg-descr
===================================================================
--- /dev/null
+++ archivers/zlib-ng/pkg-descr
@@ -0,0 +1,13 @@
+Zlib replacement with optimizations for next generation systems.
+
+The motivation for this fork came after seeing several 3rd party contributions
+containing new optimizations not getting implemented into the official zlib
+repository.
+
+Mark Adler has been maintaining zlib for a very long time, and he has done a
+great job and hopefully he will continue for a long time yet.
+
+The idea of zlib-ng is not to replace zlib, but to co-exist as a drop-in
+replacement with a lower threshold for code change.
+
+WWW: https://github.com/zlib-ng/zlib-ng
Index: archivers/zlib-ng/pkg-plist
===================================================================
--- /dev/null
+++ archivers/zlib-ng/pkg-plist
@@ -0,0 +1,7 @@
+include/zconf-ng.h
+include/zlib-ng.h
+lib/libz-ng.a
+lib/libz-ng.so
+lib/libz-ng.so.2
+lib/libz-ng.so.2.0.6
+libdata/pkgconfig/zlib-ng.pc
Index: databases/spatialite-tools/Makefile
===================================================================
--- databases/spatialite-tools/Makefile
+++ databases/spatialite-tools/Makefile
@@ -14,7 +14,7 @@
libexpat.so:textproc/expat2 \
libspatialite.so:databases/spatialite \
libreadosm.so:astro/readosm \
- libminizip.so:archivers/minizip
+ libminizip-ng.so:archivers/minizip-ng
GNU_CONFIGURE= yes
USES= gmake gnome pkgconfig iconv sqlite
Index: databases/spatialite/Makefile
===================================================================
--- databases/spatialite/Makefile
+++ databases/spatialite/Makefile
@@ -15,11 +15,10 @@
LIB_DEPENDS= libgeos_c.so:graphics/geos \
libproj.so:graphics/proj \
libfreexl.so:textproc/freexl \
- libminizip.so:archivers/minizip \
librttopo.so:devel/librttopo
GNU_CONFIGURE= yes
-USES= gmake gnome iconv libtool pathfix pkgconfig sqlite
+USES= gmake gnome iconv libtool pathfix minizip pkgconfig sqlite
USE_GNOME= libxml2
CFLAGS+= -I${WRKSRC}/src/headers -I${LOCALBASE}/include
Index: deskutils/anydesk/Makefile
===================================================================
--- deskutils/anydesk/Makefile
+++ deskutils/anydesk/Makefile
@@ -19,9 +19,8 @@
libinotify.so:devel/libinotify \
libpolkit-gobject-1.so:sysutils/polkit \
libxkbfile.so:x11/libxkbfile \
- libminizip.so:archivers/minizip \
-USES= cpe gl gnome xorg
+USES= cpe gl gnome minizip:ng xorg
USE_GL= gl glu
USE_GNOME= cairo gdkpixbuf2 glib20 gtk20 pangox-compat
Index: devel/axmldec/Makefile
===================================================================
--- devel/axmldec/Makefile
+++ devel/axmldec/Makefile
@@ -12,10 +12,9 @@
LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/LICENSE.md
-LIB_DEPENDS= libminizip.so:archivers/minizip \
- libboost_system.so:devel/boost-libs
+LIB_DEPENDS= libboost_system.so:devel/boost-libs
-USES= cmake compiler:c++14-lang cpe pkgconfig
+USES= cmake compiler:c++14-lang cpe minizip pkgconfig
CPE_VENDOR= ${PORTNAME}_project
USE_GITHUB= yes
GH_ACCOUNT= ytsutano
Index: devel/collada-dom/Makefile
===================================================================
--- devel/collada-dom/Makefile
+++ devel/collada-dom/Makefile
@@ -9,12 +9,11 @@
LICENSE= MIT
-LIB_DEPENDS= libminizip.so:archivers/minizip \
- libpcre.so:devel/pcre \
+LIB_DEPENDS= libpcre.so:devel/pcre \
libboost_filesystem.so:devel/boost-libs \
libboost_system.so:devel/boost-libs
-USES= cmake gnome
+USES= cmake gnome minizip
USE_LDCONFIG= yes
USE_GNOME= libxml2
USE_GITHUB= yes
Index: emulators/mupen64plus-core/Makefile.common
===================================================================
--- emulators/mupen64plus-core/Makefile.common
+++ emulators/mupen64plus-core/Makefile.common
@@ -11,8 +11,8 @@
.if ${PKGNAMESUFFIX} == "-core"
LIB_DEPENDS+= libfreetype.so:print/freetype2 \
- libpng.so:graphics/png \
- libminizip.so:archivers/minizip
+ libpng.so:graphics/png
+USES+= minizip:ng
.else
PLIST= ${WRKDIR}/pkg-plist
.endif
Index: games/mrboom/Makefile
===================================================================
--- games/mrboom/Makefile
+++ games/mrboom/Makefile
@@ -12,10 +12,9 @@
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libminizip.so:archivers/minizip \
- libmodplug.so:audio/libmodplug
+LIB_DEPENDS= libmodplug.so:audio/libmodplug
-USES= compiler:c++11-lang gmake sdl
+USES= compiler:c++11-lang gmake minizip sdl
USE_SDL= mixer2 sdl2
MAKE_ENV+= LIBSDL2=1
Index: games/oolite/Makefile
===================================================================
--- games/oolite/Makefile
+++ games/oolite/Makefile
@@ -19,9 +19,8 @@
libnspr4.so:devel/nspr \
libvorbisfile.so:audio/libvorbis \
libpng.so:graphics/png \
- libminizip.so:archivers/minizip
-USES= gl gnustep openal:al perl5 python:3.5+,build sdl \
+USES= gl gnustep openal:al minizip perl5 python:3.5+,build sdl \
tar:bzip2 xorg
USE_CXXSTD= gnu++98
USE_GL= gl glu
Index: graphics/comical/Makefile
===================================================================
--- graphics/comical/Makefile
+++ graphics/comical/Makefile
@@ -12,10 +12,9 @@
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
-LIB_DEPENDS= libminizip.so:archivers/minizip \
- libunrar.so.6:archivers/libunrar6
+LIB_DEPENDS= libunrar.so.6:archivers/libunrar6
-USES= compiler:c++11-lang gmake
+USES= compiler:c++11-lang gmake minizip
USE_WX= 2.8+
MAKE_ENV= WX_CONFIG=${WX_CONFIG}
Index: misc/xiphos/Makefile
===================================================================
--- misc/xiphos/Makefile
+++ misc/xiphos/Makefile
@@ -22,14 +22,13 @@
libdbus-glib-1.so:devel/dbus-glib \
libenchant.so:textproc/enchant \
libicui18n.so:devel/icu \
- libminizip.so:archivers/minizip \
libsoup-2.4.so:devel/libsoup \
libsword.so:misc/sword \
libuuid.so:misc/e2fsprogs-libuuid \
libwebkit2gtk-4.0.so:www/webkit2-gtk3
# gettext is always needed, even if NLS is off
-USES= cmake compiler:c11 gettext gnome pkgconfig
+USES= cmake compiler:c11 gettext gnome minizip pkgconfig
USE_GNOME= cairo gconf2 gtk30 gtkhtml4 intltool libgsf
CMAKE_OFF= EPUB
Index: multimedia/assimp/Makefile
===================================================================
--- multimedia/assimp/Makefile
+++ multimedia/assimp/Makefile
@@ -9,9 +9,7 @@
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libminizip.so:archivers/minizip
-
-USES= cmake:testing compiler:c++11-lib localbase:ldflags pkgconfig
+USES= cmake:testing compiler:c++11-lib localbase:ldflags minizip:ng pkgconfig
USE_GITHUB= yes
USE_LDCONFIG= yes
Index: multimedia/vlc/Makefile
===================================================================
--- multimedia/vlc/Makefile
+++ multimedia/vlc/Makefile
@@ -299,9 +299,8 @@
SIDPLAY_CONFIGURE_ENABLE= sid
CONFIGURE_ARGS+= --disable-sid
-SKINS_USE= XORG=xext,xinerama,xpm
-SKINS_LIB_DEPENDS= libminizip.so:archivers/minizip \
- libtar.so:devel/libtar
+SKINS_USE= XORG=xext,xinerama,xpm minizip:ng
+SKINS_LIB_DEPENDS= libtar.so:devel/libtar
SKINS_CONFIGURE_ENABLE= skins2 libtar
SKINS_IMPLIES= QT5
Index: net-im/psi/Makefile
===================================================================
--- net-im/psi/Makefile
+++ net-im/psi/Makefile
@@ -10,10 +10,9 @@
LICENSE= GPLv2+
-LIB_DEPENDS= libidn.so:dns/libidn \
- libminizip.so:archivers/minizip
+LIB_DEPENDS= libidn.so:dns/libidn
-USES= cmake compiler:c++11-lang desktop-file-utils pkgconfig \
+USES= cmake compiler:c++11-lang desktop-file-utils minizip:ng pkgconfig \
qca qt:5 tar:xz xorg
USE_QT= concurrent core dbus gui multimedia network svg widgets \
x11extras xml buildtools_build qmake_build imageformats_run
Index: net-im/telegram-desktop/Makefile
===================================================================
--- net-im/telegram-desktop/Makefile
+++ net-im/telegram-desktop/Makefile
@@ -31,7 +31,6 @@
libhunspell-1.7.so:textproc/hunspell \
libjpeg.so:graphics/jpeg-turbo \
liblz4.so:archivers/liblz4 \
- libminizip.so:archivers/minizip \
librnnoise.so:audio/rnnoise \
libopenal.so:audio/openal-soft \
libopenh264.so:multimedia/openh264 \
@@ -45,7 +44,7 @@
libvpx.so:multimedia/libvpx
USES= cmake compiler:c++17-lang desktop-file-utils gl \
- gnome pkgconfig python:3.7+,build qt:5 ssl xorg
+ gnome minizip:ng pkgconfig python:3.7+,build qt:5 ssl xorg
USE_GITHUB= nodefault
GH_ACCOUNT= telegramdesktop
Index: science/libkml/Makefile
===================================================================
--- science/libkml/Makefile
+++ science/libkml/Makefile
@@ -12,17 +12,15 @@
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= boost-libs>=1.44.0:devel/boost-libs \
- googletest>=1.7.0:devel/googletest \
- minizip>=1.2.8:archivers/minizip
+ googletest>=1.7.0:devel/googletest
LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
libexpat.so:textproc/expat2 \
libgtest.so:devel/googletest \
- libminizip.so:archivers/minizip \
liburiparser.so:net/uriparser
OPTIONS_DEFINE= EXAMPLES
-USES= cmake compiler:c11 pathfix
+USES= cmake compiler:c11 minizip pathfix
CMAKE_OFF= WITH_JAVA WITH_PYTHON WITH_SWIG
USE_CXXSTD= gnu++98
Index: textproc/sigil/Makefile
===================================================================
--- textproc/sigil/Makefile
+++ textproc/sigil/Makefile
@@ -13,14 +13,13 @@
DEPRECATED= Uses EOL Python 2.7 via www/qt5-webengine
EXPIRATION_DATE=2021-06-23
-LIB_DEPENDS= libminizip.so:archivers/minizip \
- libpcre.so:devel/pcre \
+LIB_DEPENDS= libpcre.so:devel/pcre \
libhunspell-1.7.so:textproc/hunspell
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dulwich>=0.15.0:devel/dulwich@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR}
USES= cmake compiler:c++11-lib cpe desktop-file-utils \
- pkgconfig python:3.4+ qt:5 shebangfix
+ minizip pkgconfig python:3.4+ qt:5 shebangfix
CPE_VENDOR= ${PORTNAME}-ebook
USE_GITHUB= yes
Index: www/domoticz/Makefile
===================================================================
--- www/domoticz/Makefile
+++ www/domoticz/Makefile
@@ -10,10 +10,10 @@
LICENSE_FILE= ${WRKSRC}/License.txt
LIB_DEPENDS= libcurl.so:ftp/curl libboost_system.so:devel/boost-libs \
- libminizip.so:archivers/minizip libjsoncpp.so:devel/jsoncpp
+ libjsoncpp.so:devel/jsoncpp
BUILD_DEPENDS= cereal>=1.2.2:devel/cereal
-USES= cmake compiler:c++11-lang cpe pkgconfig ssl lua:53 sqlite
+USES= cmake compiler:c++11-lang cpe minizip pkgconfig ssl lua:53 sqlite
OPTIONS_SUB= YES
OPTIONS_DEFINE= SMQTT PYTHON TELLDUS OPENZWAVE PRECOMP

File Metadata

Mime Type
text/plain
Expires
Fri, Jan 30, 4:42 PM (16 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28102618
Default Alt Text
D33771.id101097.diff (14 KB)

Event Timeline