*/*: sync with upstream

Taken from: FreeBSD
This commit is contained in:
Franco Fichtner 2022-04-28 12:55:19 +02:00
parent f0bab292b7
commit f9c9f1ac9d
1337 changed files with 34285 additions and 7048 deletions

View file

@ -1,7 +1,7 @@
# Created by: Maxim Sobolev <sobomax@FreeBSD.org>
PORTNAME= atspi
PORTVERSION= 2.38.1
PORTVERSION= 2.38.2
CATEGORIES= accessibility x11-toolkits python
MASTER_SITES= GNOME/sources/pyatspi/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1633804354
SHA256 (gnome3/pyatspi-2.38.1.tar.xz) = e49f27e9e29c24ac3ccb837a7f221952532940da0344e7e8c0899924aeb98151
SIZE (gnome3/pyatspi-2.38.1.tar.xz) = 316724
TIMESTAMP = 1651006326
SHA256 (gnome3/pyatspi-2.38.2.tar.xz) = 0e7089c0b6309614b53620836b3462d7f91284e436fe4929ba1619a841cf1185
SIZE (gnome3/pyatspi-2.38.2.tar.xz) = 318596

View file

@ -25,9 +25,7 @@ MAKE_ENV+= BINDIR=${PREFIX}/bin \
MAKE_ARGS+= CC="${CC}"
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
.if !exists(/usr/include/omp.h)
USES+= compiler:gcc-c++11-lib
.endif

View file

@ -15,7 +15,6 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=${PREFIX} --sysconfdir=${PREFIX} --enable-shared=yes
USE_LDCONFIG= yes
BROKEN_powerpc= Does not compile on powerpc: invokes i386 asm
BROKEN_sparc64= Does not compile on sparc64: gcc coredump
.include <bsd.port.mk>

View file

@ -1,5 +1,5 @@
PORTNAME= dmidiplayer
DISTVERSION= 1.5.1
DISTVERSION= 1.5.3
CATEGORIES= audio
MASTER_SITES= SF/${PORTNAME}/v${DISTVERSION}/

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1632208138
SHA256 (dmidiplayer-1.5.1.tar.bz2) = 7e91f278e9c3174eb7ee1fb13ca4ca98914e961a19c005f01d8d2c2b96967261
SIZE (dmidiplayer-1.5.1.tar.bz2) = 1664559
TIMESTAMP = 1651104232
SHA256 (dmidiplayer-1.5.3.tar.bz2) = 8f6ac971f97a25f4dfb4272eac578c886fc41f58a1681e4cb23e9ef70f07ab56
SIZE (dmidiplayer-1.5.3.tar.bz2) = 1666249

View file

@ -1,5 +1,5 @@
PORTNAME= drumstick
DISTVERSION= 2.5.0
DISTVERSION= 2.6.0
CATEGORIES= audio multimedia
MASTER_SITES= SF/${PORTNAME}/${PORTVERSION}/

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1640285640
SHA256 (drumstick-2.5.0.tar.bz2) = 8709d8a7c438c1d09091827ce5fd8286d387a046a8f717a1a34546d9ca3d902a
SIZE (drumstick-2.5.0.tar.bz2) = 1472996
TIMESTAMP = 1651101904
SHA256 (drumstick-2.6.0.tar.bz2) = f2bf804b97a63f001b28eedebc87897756e222ea1fa16f26ef244fe2695ce98a
SIZE (drumstick-2.6.0.tar.bz2) = 1478043

View file

@ -36,13 +36,13 @@ lib/drumstick2/libdrumstick-rt-oss-in.so
lib/drumstick2/libdrumstick-rt-oss-out.so
lib/libdrumstick-file.so
lib/libdrumstick-file.so.2
lib/libdrumstick-file.so.2.5.0
lib/libdrumstick-file.so.2.6.0
lib/libdrumstick-rt.so
lib/libdrumstick-rt.so.2
lib/libdrumstick-rt.so.2.5.0
lib/libdrumstick-rt.so.2.6.0
lib/libdrumstick-widgets.so
lib/libdrumstick-widgets.so.2
lib/libdrumstick-widgets.so.2.5.0
lib/libdrumstick-widgets.so.2.6.0
%%QT_PLUGINDIR%%/designer/libdrumstick-vpiano-plugin.so
libdata/pkgconfig/drumstick-file.pc
libdata/pkgconfig/drumstick-rt.pc
@ -57,7 +57,7 @@ libdata/pkgconfig/drumstick-widgets.pc
%%MANPAGES%%man/man1/drumstick-playsmf.1.gz
%%MANPAGES%%man/man1/drumstick-sysinfo.1.gz
%%MANPAGES%%man/man1/drumstick-vpiano.1.gz
share/applications/drumstick-vpiano.desktop
share/applications/net.sourceforge.drumstick-vpiano.desktop
%%DATADIR%%/drumstick-vpiano_en.qm
%%DATADIR%%/drumstick-vpiano_es.qm
%%DATADIR%%/drumstick-widgets_cs.qm
@ -78,4 +78,5 @@ share/icons/hicolor/32x32/apps/drumstick.png
share/icons/hicolor/48x48/apps/drumstick.png
share/icons/hicolor/64x64/apps/drumstick.png
share/icons/hicolor/scalable/apps/drumstick.svgz
share/metainfo/net.sourceforge.drumstick-vpiano.metainfo.xml
share/mime/packages/drumstick.xml

View file

@ -1,6 +1,5 @@
PORTNAME= faustlive
DISTVERSION= 2.5.7
PORTREVISION= 2
DISTVERSION= 2.5.10
CATEGORIES= audio
MAINTAINER= yuri@FreeBSD.org
@ -25,7 +24,7 @@ USE_GL= gl
USE_GITHUB= yes
GH_ACCOUNT= grame-cncm
GH_TUPLE= grame-cncm:faustlibraries:0dce1a5:grame_cncm_faustlibraries/Resources/Libs
GH_TUPLE= grame-cncm:faustlibraries:1b09fde:grame_cncm_faustlibraries/Resources/Libs
SHEBANG_GLOB= build install makelibs

View file

@ -1,5 +1,5 @@
TIMESTAMP = 1636218983
SHA256 (grame-cncm-faustlive-2.5.7_GH0.tar.gz) = 2f0d5fcb98d3d26cecdb6923792af88062a938a2b0a5beda207759703c7cb452
SIZE (grame-cncm-faustlive-2.5.7_GH0.tar.gz) = 7989078
SHA256 (grame-cncm-faustlibraries-0dce1a5_GH0.tar.gz) = a24676bc8bf7fe82f9dbf14f4cc401c3a266deb9e13b17d080ca2a4f9c18a1d4
SIZE (grame-cncm-faustlibraries-0dce1a5_GH0.tar.gz) = 7716118
TIMESTAMP = 1651025671
SHA256 (grame-cncm-faustlive-2.5.10_GH0.tar.gz) = 8c4c1c1b3a2dda64d7109bad701e9bdc85a424a3c5c6fb154ec94b3965b8e423
SIZE (grame-cncm-faustlive-2.5.10_GH0.tar.gz) = 7957276
SHA256 (grame-cncm-faustlibraries-1b09fde_GH0.tar.gz) = b370126ee5287f1896649cf52a37d43d35ed206a7d228b7e5c1be95aad951cd2
SIZE (grame-cncm-faustlibraries-1b09fde_GH0.tar.gz) = 7731898

View file

@ -1,7 +1,7 @@
# Created by: Gustau Perez <gustau.perez@gmail.com>
PORTNAME= gnome-music
PORTVERSION= 42.0
PORTVERSION= 42.1
CATEGORIES= audio gnome
MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
DIST_SUBDIR= gnome3

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1648060634
SHA256 (gnome3/gnome-music-42.0.tar.xz) = 9d68198f9852bde0f834584b96a812897d310cb71728b6a4f098bcb29b19c5d0
SIZE (gnome3/gnome-music-42.0.tar.xz) = 1651960
TIMESTAMP = 1651002958
SHA256 (gnome3/gnome-music-42.1.tar.xz) = c7747fa6a86b56b18ad6ff950ff901e59ee7fac11c68b2a6727af86eaeed8270
SIZE (gnome3/gnome-music-42.1.tar.xz) = 1652976

View file

@ -2,7 +2,6 @@ bin/gnome-music
%%PYTHON_SITELIBDIR%%/gnomemusic/__init__.py
%%PYTHON_SITELIBDIR%%/gnomemusic/albumart.py
%%PYTHON_SITELIBDIR%%/gnomemusic/application.py
%%PYTHON_SITELIBDIR%%/gnomemusic/artcache.py
%%PYTHON_SITELIBDIR%%/gnomemusic/artistart.py
%%PYTHON_SITELIBDIR%%/gnomemusic/asyncqueue.py
%%PYTHON_SITELIBDIR%%/gnomemusic/corealbum.py
@ -13,7 +12,6 @@ bin/gnome-music
%%PYTHON_SITELIBDIR%%/gnomemusic/coreselection.py
%%PYTHON_SITELIBDIR%%/gnomemusic/coresong.py
%%PYTHON_SITELIBDIR%%/gnomemusic/coverpaintable.py
%%PYTHON_SITELIBDIR%%/gnomemusic/defaulticon.py
%%PYTHON_SITELIBDIR%%/gnomemusic/embeddedart.py
%%PYTHON_SITELIBDIR%%/gnomemusic/fileexistsasync.py
%%PYTHON_SITELIBDIR%%/gnomemusic/griloartqueue.py
@ -23,6 +21,7 @@ bin/gnome-music
%%PYTHON_SITELIBDIR%%/gnomemusic/grilowrappers/grltrackerwrapper.py
%%PYTHON_SITELIBDIR%%/gnomemusic/gstplayer.py
%%PYTHON_SITELIBDIR%%/gnomemusic/inhibitsuspend.py
%%PYTHON_SITELIBDIR%%/gnomemusic/mediaartloader.py
%%PYTHON_SITELIBDIR%%/gnomemusic/mpris.py
%%PYTHON_SITELIBDIR%%/gnomemusic/musiclogger.py
%%PYTHON_SITELIBDIR%%/gnomemusic/notificationmanager.py
@ -34,6 +33,7 @@ bin/gnome-music
%%PYTHON_SITELIBDIR%%/gnomemusic/songart.py
%%PYTHON_SITELIBDIR%%/gnomemusic/songtoast.py
%%PYTHON_SITELIBDIR%%/gnomemusic/storeart.py
%%PYTHON_SITELIBDIR%%/gnomemusic/texturecache.py
%%PYTHON_SITELIBDIR%%/gnomemusic/trackerwrapper.py
%%PYTHON_SITELIBDIR%%/gnomemusic/utils.py
%%PYTHON_SITELIBDIR%%/gnomemusic/views/__init__.py
@ -51,7 +51,6 @@ bin/gnome-music
%%PYTHON_SITELIBDIR%%/gnomemusic/widgets/artistalbumswidget.py
%%PYTHON_SITELIBDIR%%/gnomemusic/widgets/artistsearchtile.py
%%PYTHON_SITELIBDIR%%/gnomemusic/widgets/artisttile.py
%%PYTHON_SITELIBDIR%%/gnomemusic/widgets/artstack.py
%%PYTHON_SITELIBDIR%%/gnomemusic/widgets/discbox.py
%%PYTHON_SITELIBDIR%%/gnomemusic/widgets/headerbar.py
%%PYTHON_SITELIBDIR%%/gnomemusic/widgets/lastfmdialog.py
@ -371,6 +370,19 @@ share/help/uk/gnome-music/playlist-remove-songs.page
share/help/uk/gnome-music/playlist-repeat.page
share/help/uk/gnome-music/playlist-shuffle.page
share/help/uk/gnome-music/search.page
share/help/zh_CN/gnome-music/figures/org.gnome.Music.svg
share/help/zh_CN/gnome-music/index.page
share/help/zh_CN/gnome-music/introduction.page
share/help/zh_CN/gnome-music/legal.xml
share/help/zh_CN/gnome-music/play-music.page
share/help/zh_CN/gnome-music/playlist-create-albums.page
share/help/zh_CN/gnome-music/playlist-create-artists.page
share/help/zh_CN/gnome-music/playlist-create-songs.page
share/help/zh_CN/gnome-music/playlist-delete.page
share/help/zh_CN/gnome-music/playlist-remove-songs.page
share/help/zh_CN/gnome-music/playlist-repeat.page
share/help/zh_CN/gnome-music/playlist-shuffle.page
share/help/zh_CN/gnome-music/search.page
share/icons/hicolor/scalable/apps/org.gnome.Music.svg
share/icons/hicolor/symbolic/apps/org.gnome.Music-symbolic.svg
share/locale/af/LC_MESSAGES/org.gnome.Music.mo

View file

@ -89,6 +89,7 @@ MAKE_JOBS_UNSAFE=yes
post-patch:
@${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/overlay_gl/overlay_gl.pro
@${REINPLACE_CMD} -e 's|--no-add-needed|--no-copy-dt-needed-entries|' ${WRKSRC}/qmake/compiler.pri
@${RM} ${WRKSRC}/plugins/manual/.qmake.cache
do-install:

View file

@ -61,6 +61,7 @@ CONFIG+= no-pch
.endif
post-patch:
@${REINPLACE_CMD} -e 's|--no-add-needed|--no-copy-dt-needed-entries|' ${WRKSRC}/qmake/compiler.pri
@${ECHO_CMD} 'QMAKE_LFLAGS += -fstack-protector' >> ${WRKSRC}/src/murmur/murmur.pro
pre-install:

View file

@ -1,5 +1,5 @@
PORTNAME= strawberry
DISTVERSION= 1.0.3
DISTVERSION= 1.0.4
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= https://github.com/strawberrymusicplayer/${PORTNAME}/releases/download/${DISTVERSION}/ \
@ -89,4 +89,6 @@ TIDAL_CMAKE_BOOL= ENABLE_TIDAL
VLC_CMAKE_BOOL= ENABLE_VLC
VLC_LIB_DEPENDS= libvlc.so:multimedia/vlc
SUB_FILES= pkg-message
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1648617404
SHA256 (strawberry-1.0.3.tar.xz) = 5bf952efab4de4cb9569a091db359eb994bf31ad03f0677f93a40eff85eb9c6a
SIZE (strawberry-1.0.3.tar.xz) = 11197224
TIMESTAMP = 1650900880
SHA256 (strawberry-1.0.4.tar.xz) = ec68f42326b70870d1c9c0ad1182136897e299d7d187fbc2994467c19afac07e
SIZE (strawberry-1.0.4.tar.xz) = 11208992

View file

@ -0,0 +1,13 @@
[
{ type: install
message: <<EOM
You need the proper GStreamer plugin depending on what format you want to play:
gstreamer1-plugins-ogg: OGG
gstreamer1-plugins-mpg123: MP3
gstreamer1-plugins-flac: FLAC
gstreamer1-plugins-all: Meta-port of all GStreamer 1.x plugins
EOM
}
]

View file

@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= Dumbbench
PORTVERSION= 0.501
PORTVERSION= 0.503
CATEGORIES= benchmarks perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:BDFOY

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1613478329
SHA256 (Dumbbench-0.501.tar.gz) = 09690f5f1e01728c39651007dd749efaf63ac8f2ec31be1dd8da0c6641a15238
SIZE (Dumbbench-0.501.tar.gz) = 33583
TIMESTAMP = 1650970067
SHA256 (Dumbbench-0.503.tar.gz) = d016019a818313e704464f280cf641ef60e8771d07791b59b99e17a1ec801fa9
SIZE (Dumbbench-0.503.tar.gz) = 33924

View file

@ -2,7 +2,7 @@
PORTNAME= phoronix-test-suite
DISTVERSIONPREFIX= v
DISTVERSION= 10.8.2
DISTVERSION= 10.8.3
CATEGORIES= benchmarks
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1644867539
SHA256 (phoronix-test-suite-phoronix-test-suite-v10.8.2_GH0.tar.gz) = 804ff2de03166241768d2b35584aee2820a7b84dda9f697f12ab5d454f7e5624
SIZE (phoronix-test-suite-phoronix-test-suite-v10.8.2_GH0.tar.gz) = 3499625
TIMESTAMP = 1650828119
SHA256 (phoronix-test-suite-phoronix-test-suite-v10.8.3_GH0.tar.gz) = 752012b6e94897f03a219157fe1ba6c4198eb16a5ddf026811b739f1f89cfd9e
SIZE (phoronix-test-suite-phoronix-test-suite-v10.8.3_GH0.tar.gz) = 3500579

View file

@ -18,9 +18,7 @@ SHEBANG_FILES= ${WRKSRC}/*.pl
MAKE_FLAGS= openmp=yes
.include <bsd.port.options.mk>
.if ${ARCH} == armv7 || ${ARCH} == powerpc
.if !exists(/usr/include/omp.h)
USES+= compiler:gcc-c++11-lib
.endif

View file

@ -10,14 +10,10 @@ COMMENT= Approximately-maximum-likelihood phylogenetic trees from alignments
LICENSE= GPLv2+
BROKEN_armv6= fails to compile: FastTree-2.1.10.c:305:10: 'omp.h' file not found
NO_WRKSUBDIR= yes
PLIST_FILES= bin/FastTree
.include <bsd.port.options.mk>
.if ${ARCH} == armv7 || ${ARCH} == powerpc
.if !exists(/usr/include/omp.h)
USES= compiler:gcc-c++11-lib
.endif

View file

@ -20,6 +20,12 @@ GH_PROJECT= hh-suite
LDFLAGS+= -Wl,-rpath,${LOCALBASE}/mpi/openmpi/lib -L${LOCALBASE}/mpi/openmpi/lib -lmpi # force linking to openmpi, and not to mpich
.if !exists(/usr/include/omp.h)
PLIST_SUB+= OPENMP="@comment "
.else
PLIST_SUB+= OPENMP=""
.endif
.include <bsd.port.options.mk>
.if ${ARCH} == aarch64
@ -30,10 +36,4 @@ CMAKE_ON= HAVE_SSE2
CMAKE_ON= HAVE_POWER8
.endif
.if ${ARCH} == powerpc
PLIST_SUB+= OPENMP="@comment "
.else
PLIST_SUB+= OPENMP=""
.endif
.include <bsd.port.mk>

View file

@ -52,6 +52,10 @@ CONFLICTS_INSTALL= ncbi-cxx-toolkit
WRKSRC_SUBDIR= c++
.if !exists(/usr/include/omp.h)
CONFIGURE_ARGS+= --without-openmp
.endif
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc
@ -59,10 +63,6 @@ WRKSRC_SUBDIR= c++
LDFLAGS+= -latomic # Only exists in gcc libs
.endif
.if ${ARCH} == powerpc
CONFIGURE_ARGS+= --without-openmp
.endif
post-install:
@${RM} ${STAGEDIR}${PREFIX}/include/ncbi-tools++/*/*/.cvsignore.extra
@${RM} -rf ${STAGEDIR}${PREFIX}/lib/X11

View file

@ -15,15 +15,12 @@ GH_ACCOUNT= ssb22
GH_PROJECT= PrimerPooler
INSTALL_TARGET= install-strip
CFLAGS+= -fopenmp
WRKSRC_SUBDIR= pooler
PLIST_FILES= bin/pooler man/man1/pooler.1.gz share/applications/pooler.desktop
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
USES+= compiler:gcc-c++11-lib
.if exists(/usr/include/omp.h)
CFLAGS+= -fopenmp
.endif
.include <bsd.port.mk>

View file

@ -1,5 +1,5 @@
PORTNAME= pysam
DISTVERSION= 0.18.0
DISTVERSION= 0.19.0
CATEGORIES= biology python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1639969328
SHA256 (pysam-0.18.0.tar.gz) = 1d6d49a0b3c626fae410a93d4c80583a8b5ddaacc9b46a080b250dbcebd30a59
SIZE (pysam-0.18.0.tar.gz) = 3780010
TIMESTAMP = 1651080270
SHA256 (pysam-0.19.0.tar.gz) = dcc052566f9509fd93b2a2664f094a13f016fd60cdd189e05fb4eafa0c89505b
SIZE (pysam-0.19.0.tar.gz) = 3843661

View file

@ -1,5 +1,5 @@
PORTNAME= resdk
DISTVERSION= 14.0.0
DISTVERSION= 14.1.0
CATEGORIES= biology python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1642614272
SHA256 (resdk-14.0.0.tar.gz) = ac2041d1cc906342825dea8f071e629bd890e481e96839d3bee87813c4dce028
SIZE (resdk-14.0.0.tar.gz) = 232249
TIMESTAMP = 1651079038
SHA256 (resdk-14.1.0.tar.gz) = 1c02f8fc2ae77442fc2453380e34db96b5bf741a9c95d07cba9fe5c8a1d85fca
SIZE (resdk-14.1.0.tar.gz) = 237474

View file

@ -1,7 +1,6 @@
PORTNAME= unikmer
DISTVERSIONPREFIX= v
DISTVERSION= 0.18.8
PORTREVISION= 1
DISTVERSION= 0.19.0
CATEGORIES= biology
MAINTAINER= yuri@FreeBSD.org

View file

@ -1,5 +1,5 @@
TIMESTAMP = 1632645188
SHA256 (go/biology_unikmer/unikmer-v0.18.8/v0.18.8.mod) = 6f5343b0e664ae8df7e07b17711d4a25ee05593031895d7502f50aec47037a13
SIZE (go/biology_unikmer/unikmer-v0.18.8/v0.18.8.mod) = 1199
SHA256 (go/biology_unikmer/unikmer-v0.18.8/v0.18.8.zip) = 36a172ba34393ca728fb37867ad6b8c8812118d2ecfa65541c7b825401a99485
SIZE (go/biology_unikmer/unikmer-v0.18.8/v0.18.8.zip) = 4279549
TIMESTAMP = 1650995040
SHA256 (go/biology_unikmer/unikmer-v0.19.0/v0.19.0.mod) = 29ad5e5abe00b3a378833a564e238003da20fafcbf40d57bfe4ae8b28e9f1eb2
SIZE (go/biology_unikmer/unikmer-v0.19.0/v0.19.0.mod) = 1308
SHA256 (go/biology_unikmer/unikmer-v0.19.0/v0.19.0.zip) = 02bda2679d3fd23ae77e43fe330e122ee7d29fcdc6a7643ce5daa43c3a84436b
SIZE (go/biology_unikmer/unikmer-v0.19.0/v0.19.0.zip) = 4284934

View file

@ -26,9 +26,7 @@ QMAKE_SOURCE_PATH= ${WRKSRC}/src/meshlab.pro
DOS2UNIX_GLOB= *.c *.cpp *.h
.include <bsd.port.options.mk>
.if ${ARCH} == powerpc
.if !exists(/usr/include/omp.h)
USES+= compiler:gcc-c++11-lib
.else
USES+= compiler:c++11-lang

View file

@ -1,5 +1,5 @@
PORTNAME= pymtl
DISTVERSION= 3.1.9
DISTVERSION= 3.1.10
CATEGORIES= cad python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1645458671
SHA256 (pymtl3-3.1.9.tar.gz) = 9982d4207e806175cf9b38ebcc4ddd01515b89217930dfb86437f80e296727c8
SIZE (pymtl3-3.1.9.tar.gz) = 348745
TIMESTAMP = 1651025375
SHA256 (pymtl3-3.1.10.tar.gz) = bd7c2e7454fde5571339aaf8aa6e3b37e9cfe97cbe9b9755f2b0b61175864df7
SIZE (pymtl3-3.1.10.tar.gz) = 348823

View file

@ -1,6 +1,6 @@
PORTNAME= tio
DISTVERSIONPREFIX= v
DISTVERSION= 1.32
DISTVERSION= 1.37
CATEGORIES= comms
MAINTAINER= dmgk@FreeBSD.org
@ -9,19 +9,20 @@ COMMENT= Simple TTY terminal I/O application
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= autoreconf
USE_GITHUB= yes
USES= meson pkgconfig
GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_TUPLE= benhoyt:inih:r55:inih/subprojects/libinih
OPTIONS_DEFINE= BASH DOCS
OPTIONS_DEFAULT= BASH
OPTIONS_SUB= yes
BASH_CONFIGURE_WITH= bash-completion-dir
BASH_MESON_ON= -Dbashcompletiondir=${PREFIX}/etc/bash_completion.d
BASH_MESON_OFF= -Dbashcompletiondir=no
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View file

@ -1,3 +1,5 @@
TIMESTAMP = 1547919943
SHA256 (tio-tio-v1.32_GH0.tar.gz) = 4b7f014e1d135521545f0f88cea1e272146b2182fd31623856c64dc64918c422
SIZE (tio-tio-v1.32_GH0.tar.gz) = 31271
TIMESTAMP = 1651077916
SHA256 (tio-tio-v1.37_GH0.tar.gz) = e533b44e2527a26d8a155ff15a514c460a9d599b50fcca17d06b233a4ba5ca7a
SIZE (tio-tio-v1.37_GH0.tar.gz) = 1858348
SHA256 (benhoyt-inih-r55_GH0.tar.gz) = ba55f8ae2a8caf0653f30f48567241e14ea916acfc13481f502d8a9c8f507f68
SIZE (benhoyt-inih-r55_GH0.tar.gz) = 18219

View file

@ -1,4 +1,4 @@
bin/tio
man/man1/tio.1.gz
%%BASH%%share/bash-completion/completions/tio
%%PORTDOCS%%%%DOCSDIR%%/README
%%BASH%%etc/bash_completion.d/tio
%%PORTDOCS%%%%DOCSDIR%%/README.md

View file

@ -16,4 +16,6 @@ LICENSE_COMB= dual
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -1,7 +1,7 @@
# Created by: Michael Johnson <ahze@FreeBSD.org>
PORTNAME= Text-Bidi
PORTVERSION= 2.15
PORTVERSION= 2.16
CATEGORIES= converters perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1600953287
SHA256 (Text-Bidi-2.15.tar.gz) = 3518676877d446f6c20a6bac7567120b3e81f6f7f08e7db366aaf04ae2eac5f0
SIZE (Text-Bidi-2.15.tar.gz) = 1029164
TIMESTAMP = 1650987244
SHA256 (Text-Bidi-2.16.tar.gz) = 2e82ce323929a3f8bc9086a375058e1216d514ade2657da48899a1fe12d0c6e5
SIZE (Text-Bidi-2.16.tar.gz) = 1036436

View file

@ -1,9 +1,14 @@
PORTNAME= pdf2djvu
DISTVERSION= 0.9.18.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= converters
MASTER_SITES= https://github.com/jwilk/${PORTNAME}/releases/download/${PORTVERSION}/
PATCH_SITES= https://github.com/jwilk/pdf2djvu/commit/
PATCHFILES= e170ad557d5f13daeeac047dfaa79347bbe5062f.diff:-p1 \
956fedc7e0831126b9006efedad5519c14201c52.diff:-p1 \
dca43e8182174bc04e107eaefcafcfdfdf9bcd61.diff:-p1
MAINTAINER= samy.mahmoudi@gmail.com
COMMENT= Creates DjVu files from PDF files

View file

@ -1,5 +1,9 @@
TIMESTAMP = 1641936020
TIMESTAMP = 1649347393
SHA256 (pdf2djvu-0.9.18.2.tar.xz) = 9ea03f21d841a336808d89d65015713c0785e7295a6559d77771dc795333a9fa
SIZE (pdf2djvu-0.9.18.2.tar.xz) = 305912
SHA256 (e528d3ab88c582e8481c9014982263d9c9e992fe.patch) = 39cd67224052205bcf65eddf30e71953b329e2775e917ebe0993bee4696590bb
SIZE (e528d3ab88c582e8481c9014982263d9c9e992fe.patch) = 1149
SHA256 (e170ad557d5f13daeeac047dfaa79347bbe5062f.diff) = 55518c001772b1956d5c833a0f206fc31b83bc7d25a8b51c5aa51aea56c87fcd
SIZE (e170ad557d5f13daeeac047dfaa79347bbe5062f.diff) = 787
SHA256 (956fedc7e0831126b9006efedad5519c14201c52.diff) = 82c675db1326ec85633376b47ecb6122d0e171dd183b0b8e6f0d6bba74442c4f
SIZE (956fedc7e0831126b9006efedad5519c14201c52.diff) = 452
SHA256 (dca43e8182174bc04e107eaefcafcfdfdf9bcd61.diff) = cf504eb1ec5a7159d965614fa62d90bccf03e0e29685881d1c3056c23a01b749
SIZE (dca43e8182174bc04e107eaefcafcfdfdf9bcd61.diff) = 860

View file

@ -0,0 +1,12 @@
--- pdf2djvu.cc.orig 2022-04-07 16:02:35 UTC
+++ pdf2djvu.cc
@@ -89,7 +89,8 @@ static int get_page_for_goto_link(pdf::link::GoTo *got
#endif
}
else
- dest.reset(orig_dest->copy());
+ // https://github.com/jwilk/pdf2djvu/commit/81b635e014ebd0240a8719cc39b6a1b759cc6a98
+ dest.reset(new pdf::link::Destination(*orig_dest));
if (dest.get() != nullptr)
{
int page;

View file

@ -410,6 +410,7 @@
SUBDIR += p5-DBIx-Skinny-Schema-Loader
SUBDIR += p5-DBIx-Sunny
SUBDIR += p5-DBIx-TableHash
SUBDIR += p5-DBIx-Tracer
SUBDIR += p5-DBIx-TransactionManager
SUBDIR += p5-DBIx-Tree
SUBDIR += p5-DBIx-VersionedDDL
@ -851,6 +852,7 @@
SUBDIR += redis
SUBDIR += redis-devel
SUBDIR += redis6
SUBDIR += redis62
SUBDIR += redis_exporter
SUBDIR += redisdesktopmanager
SUBDIR += redisjson

View file

@ -131,6 +131,10 @@ SQLITE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_F
ZSTD_CONFIGURE_WITH= zstd
ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
.if exists(/usr/include/omp.h)
CONFIGURE_ARGS+= --with-openmp
.endif
.include <bsd.port.pre.mk>
.if ${ARCH} == "i386"
@ -140,10 +144,6 @@ PLIST_SUB+= NOTONI386="@comment "
PLIST_SUB+= NOTONI386=""
.endif
.if ${ARCH} != powerpc
CONFIGURE_ARGS+= --with-openmp
.endif
.if !defined (GRASS_INST_DIR)
GRASS_INST_DIR= ${PORTNAME}${VER}
.endif

View file

@ -109,16 +109,16 @@ PDAL_LIB_DEPENDS= libpdal_base.so:math/pdal
PGSQL_USES= pgsql
PGSQL_CONFIGURE_WITH= postgres
.if exists(/usr/include/omp.h)
CONFIGURE_ARGS+= --with-openmp
.endif
.include <bsd.port.pre.mk>
.if !defined (GRASS_INST_DIR)
GRASS_INST_DIR= ${PORTNAME}${VER}
.endif
.if ${ARCH} != powerpc
CONFIGURE_ARGS+= --with-openmp
.endif
MANDIRS= ${PREFIX}/grass${VER}/docs/man/man1
post-patch:

View file

@ -2,7 +2,7 @@
PORTNAME= kbibtex
DISTVERSION= 0.9.2
PORTREVISION= 28
PORTREVISION= 29
CATEGORIES= databases kde
MASTER_SITES= KDE/stable/KBibTeX/${DISTVERSION}

View file

@ -0,0 +1,26 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= DBIx-Tracer
PORTVERSION= 0.03
CATEGORIES= databases perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Easy tracer for DBI
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-DBD-SQLite>=0:databases/p5-DBD-SQLite \
p5-DBI>=0:databases/p5-DBI
TEST_DEPENDS= p5-Test-Requires>=0:devel/p5-Test-Requires
USES= perl5
USE_PERL5= modbuildtiny
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1650970021
SHA256 (DBIx-Tracer-0.03.tar.gz) = 78ab95d780bb877b40897631deab9a443508b2518d4190d3581582950ca9b3bc
SIZE (DBIx-Tracer-0.03.tar.gz) = 13253

View file

@ -0,0 +1,6 @@
DBIx::Tracer is easy tracer for DBI. You can trace a SQL queries without
modifying configuration in your application.
You can insert snippets using DBIx::Tracer, and profile it.
WWW: https://metacpan.org/dist/DBIx-Tracer

View file

@ -0,0 +1,2 @@
%%SITE_PERL%%/DBIx/Tracer.pm
%%PERL5_MAN3%%/DBIx::Tracer.3.gz

View file

@ -1,6 +1,5 @@
PORTNAME= Test-mysqld
PORTVERSION= 0.17
PORTREVISION= 1
PORTVERSION= 1.0013
CATEGORIES= databases perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -8,14 +7,20 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Perl extension for mysqld test runner
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= \
p5-Class-Accessor-Lite>0:devel/p5-Class-Accessor-Lite \
p5-File-Copy-Recursive>0:devel/p5-File-Copy-Recursive \
p5-DBD-mysql>=0:databases/p5-DBD-mysql \
p5-Test-SharedFork>=0.06:devel/p5-Test-SharedFork
RUN_DEPENDS= p5-Class-Accessor-Lite>=0:devel/p5-Class-Accessor-Lite \
p5-DBD-mysql>=0:databases/p5-DBD-mysql \
p5-DBI>=0:databases/p5-DBI \
p5-File-Copy-Recursive>=0:devel/p5-File-Copy-Recursive
TEST_DEPENDS= p5-Test-SharedFork>=0:devel/p5-Test-SharedFork
USES= perl5
USE_PERL5= configure
USE_PERL5= modbuildtiny
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -1,2 +1,3 @@
SHA256 (Test-mysqld-0.17.tar.gz) = 824b87ab511b308ffb2f3f41f7ca5b41e39767f533a9b1a416a034362b1fd497
SIZE (Test-mysqld-0.17.tar.gz) = 22861
TIMESTAMP = 1650970281
SHA256 (Test-mysqld-1.0013.tar.gz) = 57ad41a09057c963b582c81a076efa50fa56ebae2177d830777de838605e3eef
SIZE (Test-mysqld-1.0013.tar.gz) = 16491

View file

@ -20,7 +20,7 @@ DOCSDIR= ${PREFIX}/share/doc/postgresql/extension
USE_GITHUB= yes
GH_ACCOUNT= EnterpriseDB
PORTSCOUT= limit:^[0-9]
PORTSCOUT= limit:^v[0-9]
OPTIONS_DEFINE= DOCS

View file

@ -1,5 +1,5 @@
PORTNAME= pspg
DISTVERSION= 5.5.3
DISTVERSION= 5.5.4
CATEGORIES= databases
MAINTAINER= dmgk@FreeBSD.org

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1641305299
SHA256 (okbob-pspg-5.5.3_GH0.tar.gz) = c5360f42af5f87f07c8cb894b2da622685d1d800022cf9d22bfa37f3f918447b
SIZE (okbob-pspg-5.5.3_GH0.tar.gz) = 2414665
TIMESTAMP = 1651068491
SHA256 (okbob-pspg-5.5.4_GH0.tar.gz) = 1ea5b0b8397a6ed169c6b33afbe617fe2c33820deff6395888c0c8ae2c115d30
SIZE (okbob-pspg-5.5.4_GH0.tar.gz) = 2415002

View file

@ -14,12 +14,12 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}redis>=0<4.2.0:databases/py-redis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}six>=1.12:devel/py-six@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sortedcontainers>=0:devel/py-sortedcontainers@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest-cov<3.0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}aioredis>=0:databases/py-aioredis@${PY_FLAVOR} \
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}aioredis>=0:databases/py-aioredis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}lupa>=0:lang/py-lupa@${PY_FLAVOR}
${PYTHON_PKGNAMEPREFIX}lupa>=0:lang/py-lupa@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-mock>=0:devel/py-pytest-mock@${PY_FLAVOR}
USES= python:3.6+ pytest
USE_PYTHON= autoplist concurrent distutils

View file

@ -1,5 +1,5 @@
PORTNAME= ormar
DISTVERSION= 0.10.25
DISTVERSION= 0.11.0
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -11,14 +11,14 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}databases>=0.3.2,<0.6.0:databases/py-databases@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydantic>=1.6.1,<1.8.3:devel/py-pydantic@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pydantic>=1.6.1,<1.10.0:devel/py-pydantic@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}sqlalchemy14>=1.4.0:databases/py-sqlalchemy14@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>=3.7:devel/py-typing-extensions@${PY_FLAVOR}
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}fastapi>=0:www/py-fastapi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest-asyncio>=0:devel/py-pytest-asyncio@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}
USES= python:3.6+
USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
TEST_ENV= PYTHONPATH=${WRKSRC}/src

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1646296246
SHA256 (ormar-0.10.25.tar.gz) = 27c771581417814f6933bc9ae38e1147b1435b1435b6c3f08b90301e9dc77de4
SIZE (ormar-0.10.25.tar.gz) = 125888
TIMESTAMP = 1650875111
SHA256 (ormar-0.11.0.tar.gz) = 8703e545dfd61449fc5fd55aaa82f2185841b85eeb1ed7bde41c723d996d2dfb
SIZE (ormar-0.11.0.tar.gz) = 126698

View file

@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= tiledb
PORTVERSION= 0.14.0
PORTVERSION= 0.14.1
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -19,7 +19,7 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cython>=0.27:lang/cython@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}numpy>=1.19.2,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}pybind11>=2.6.2:devel/py-pybind11@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.5.4:devel/py-setuptools_scm@${PY_FLAVOR} \
tiledb>=2.8.0:databases/tiledb
tiledb>=2.8.1:databases/tiledb
LIB_DEPENDS= libtiledb.so:databases/tiledb
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.19.2,1:math/py-numpy@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}packaging>=0:devel/py-packaging@${PY_FLAVOR}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1650228748
SHA256 (tiledb-0.14.0.tar.gz) = 2f97380d7eebbc74b3457ee95871781972334210eed36ba6d495d1a8e9f06330
SIZE (tiledb-0.14.0.tar.gz) = 268010
TIMESTAMP = 1650970095
SHA256 (tiledb-0.14.1.tar.gz) = 74638f2fe7d088ac357aee863bdc68c00cff4971424d82d902c7bd9a39d7b36d
SIZE (tiledb-0.14.1.tar.gz) = 267984

View file

@ -68,7 +68,7 @@ LDFLAGS+= -Wl,-E
LDFLAGS+= -lpthread -lm -lexecinfo
CONFLICTS?= redis-6.* redis6-6.*
CONFLICTS?= redis-[1-9].* redis6-* redis62-*
USE_RC_SUBR= redis sentinel
BIN_FILES= redis-benchmark redis-check-aof redis-check-rdb redis-cli \

View file

@ -69,7 +69,7 @@ LDFLAGS= -Wl,-E
LDFLAGS+= -lpthread -lm -lexecinfo
CONFLICTS?= redis-6.* redis-devel-6.*
CONFLICTS?= redis-[1-9].* redis-devel-* redis62-*
USE_RC_SUBR= redis sentinel
BIN_FILES= redis-benchmark redis-check-aof redis-check-rdb \

124
databases/redis62/Makefile Normal file
View file

@ -0,0 +1,124 @@
# Created by: Sergey Skvortsov <skv@protey.ru>
PORTNAME= redis62
DISTVERSION= 6.2.7
CATEGORIES= databases
MASTER_SITES= https://download.redis.io/releases/
DISTNAME= redis-${PORTVERSION}
MAINTAINER= yasu@FreeBSD.org
COMMENT= Persistent key-value database with built-in net interface
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
USES+= compiler:c11 cpe gmake
CPE_VENDOR= redislabs
MAKE_ENV= OPTIMIZATION= \
V=yo
OPTIONS_DEFINE= JEMALLOC TESTS TLS TRIB
OPTIONS_RADIO= EXTLUA
OPTIONS_RADIO_EXTLUA= LUA LUAJIT LUAJITOR
OPTIONS_SUB= yes
JEMALLOC_DESC= Use jemalloc
LUAJITOR_DESC= Use lang/luajit-openresty instead of builtin lua
LUAJIT_DESC= Use lang/luajit instead of builtin lua
LUA_DESC= Use lang/lua instead of builtin lua
TESTS_DESC= Install lang/tcl for redis unit tests
TLS_DESC= Use TLS (openssl req.)
TRIB_DESC= Install redis-trib.rb (lang/ruby req.)
JEMALLOC_MAKE_ENV= USE_JEMALLOC=yes
LUAJITOR_BROKEN= Fails to link
LUAJITOR_BUILD_DEPENDS= ${LOCALBASE}/include/luajit-2.1/lua.h:lang/luajit-openresty
LUAJITOR_LIB_DEPENDS= libluajit-5.1.so:lang/luajit-openresty
LUAJITOR_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src-Makefile.luajit-or \
${PATCHDIR}/extra-patch-deps_lua_src_lua__cjson.c
LUAJITOR_VARS= _ADDFLAGS=true
LUAJIT_BROKEN= Fails to link
LUAJIT_BUILD_DEPENDS= ${LOCALBASE}/include/luajit-2.0/lua.h:lang/luajit
LUAJIT_LIB_DEPENDS= libluajit-5.1.so:lang/luajit
LUAJIT_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src-Makefile.luajit
LUAJIT_VARS= _ADDFLAGS=true
LUA_BROKEN= Fails to link
LUA_USES= lua:51
LUA_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-src-Makefile.lua
LUA_VARS= _ADDFLAGS=true
TESTS_USES= tcl:build
TLS_USES= ssl
TLS_MAKE_ENV= BUILD_TLS=yes
TRIB_CATEGORIES= ruby
TRIB_RUN_DEPENDS= rubygem-redis>=2.2:databases/rubygem-redis
TRIB_USE= RUBY=yes
.include <bsd.port.pre.mk>
.if ${ARCH} == i386 && !${CFLAGS:M-march=*}
# Needed for __atomic_fetch_add_8
USE_GCC= yes
CFLAGS+= -march=i586
.endif
.if defined(_ADDFLAGS)
CFLAGS+= -fPIC
LDFLAGS+= -Wl,-E
.endif
LDFLAGS+= -lpthread -lm -lexecinfo
CONFLICTS?= redis-[1-9].* redis-devel-* redis6-*
USE_RC_SUBR= redis sentinel
BIN_FILES= redis-benchmark redis-check-aof redis-check-rdb redis-cli \
redis-sentinel redis-server
USERS= redis
GROUPS= redis
REDIS_DBDIR?= /var/db/redis
REDIS_RUNDIR?= /var/run/redis
REDIS_LOGDIR?= /var/log/redis
SUB_FILES= pkg-message
SUB_LIST+= PORTNAME=${PORTNAME} \
REDIS_DBDIR=${REDIS_DBDIR} \
REDIS_LOGDIR=${REDIS_LOGDIR} \
REDIS_RUNDIR=${REDIS_RUNDIR} \
REDIS_USER=${USERS}
PLIST_SUB+= REDIS_DBDIR=${REDIS_DBDIR} \
REDIS_GROUP=${GROUPS} \
REDIS_LOGDIR=${REDIS_LOGDIR} \
REDIS_RUNDIR=${REDIS_RUNDIR} \
REDIS_USER=${USERS}
post-patch-JEMALLOC-on:
@${REINPLACE_CMD} '35s!Linux!FreeBSD!g' ${WRKSRC}/src/Makefile
post-patch-LUA-on:
@cd ${WRKSRC}/deps/lua/src && ${CP} fpconv.* lua_* strbuf.* ${WRKSRC}/src/
post-patch-LUAJIT-on: post-patch-LUA-on
post-patch-LUAJITOR-on: post-patch-LUA-on
post-build:
${SED} ${SUB_LIST:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
${WRKSRC}/redis.conf > ${WRKDIR}/redis.conf
do-install:
${INSTALL_PROGRAM} ${BIN_FILES:C!^!${WRKSRC}/src/!} ${STAGEDIR}${PREFIX}/bin/
${INSTALL_DATA} ${WRKDIR}/redis.conf ${STAGEDIR}${PREFIX}/etc/redis.conf.sample
${INSTALL_DATA} ${WRKSRC}/sentinel.conf ${STAGEDIR}${PREFIX}/etc/sentinel.conf.sample
${MKDIR} ${STAGEDIR}${REDIS_LOGDIR} \
${STAGEDIR}${REDIS_DBDIR} \
${STAGEDIR}${REDIS_RUNDIR}
do-install-TRIB-on:
${INSTALL_SCRIPT} ${WRKSRC}/src/redis-trib.rb ${STAGEDIR}${PREFIX}/bin/
do-test:
@cd ${WRKSRC} && ${TCLSH} tests/test_helper.tcl
.include <bsd.port.post.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1651088414
SHA256 (redis-6.2.7.tar.gz) = b7a79cc3b46d3c6eb52fa37dde34a4a60824079ebdfb3abfbbfa035947c55319
SIZE (redis-6.2.7.tar.gz) = 2487287

View file

@ -0,0 +1,11 @@
--- deps/lua/src/lua_cjson.c.orig 2019-12-08 07:56:31.419672000 -0500
+++ deps/lua/src/lua_cjson.c 2019-12-08 07:56:52.389362000 -0500
@@ -1299,7 +1299,7 @@
*
* luaL_setfuncs() is used to create a module table where the functions have
* json_config_t as their first upvalue. Code borrowed from Lua 5.2 source. */
-static void luaL_setfuncs (lua_State *l, const luaL_Reg *reg, int nup)
+void luaL_setfuncs (lua_State *l, const luaL_Reg *reg, int nup)
{
int i;

View file

@ -0,0 +1,58 @@
--- src/Makefile.orig 2021-01-12 09:21:03.000000000 -0500
+++ src/Makefile 2021-01-13 11:52:33.070529000 -0500
@@ -16,7 +16,7 @@
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
OPTIMIZATION?=-O2
-DEPENDENCY_TARGETS=hiredis linenoise lua hdr_histogram
+DEPENDENCY_TARGETS=hiredis linenoise hdr_histogram
NODEPS:=clean distclean
# Default settings
@@ -83,8 +83,8 @@
# Override default settings if possible
-include .make-settings
-FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
-FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
+FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS)
+FINAL_LDFLAGS=$(LDFLAGS) $(DEBUG)
FINAL_LIBS=-lm
DEBUG=-g -ggdb
@@ -188,7 +188,7 @@
endif
endif
# Include paths to dependencies
-FINAL_CFLAGS+= -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram
+FINAL_CFLAGS+= -I../deps/hiredis -I../deps/linenoise -I../deps/hdr_histogram
# Determine systemd support and/or build preference (defaulting to auto-detection)
BUILD_WITH_SYSTEMD=no
@@ -251,6 +251,9 @@
FINAL_LIBS += ../deps/hiredis/libhiredis_ssl.a $(LIBSSL_LIBS) $(LIBCRYPTO_LIBS)
endif
+FINAL_CFLAGS+=-I${PREFIX}/include/lua51
+FINAL_LIBS+= -L${PREFIX}/lib -llua-5.1
+
REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS)
REDIS_LD=$(QUIET_LINK)$(CC) $(FINAL_LDFLAGS)
REDIS_INSTALL=$(QUIET_INSTALL)$(INSTALL)
@@ -271,6 +274,7 @@
REDIS_SERVER_NAME=redis-server$(PROG_SUFFIX)
REDIS_SENTINEL_NAME=redis-sentinel$(PROG_SUFFIX)
REDIS_SERVER_OBJ=adlist.o quicklist.o ae.o anet.o dict.o server.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o intset.o syncio.o cluster.o crc16.o endianconv.o slowlog.o scripting.o bio.o rio.o rand.o memtest.o crcspeed.o crc64.o bitops.o sentinel.o notify.o setproctitle.o blocked.o hyperloglog.o latency.o sparkline.o redis-check-rdb.o redis-check-aof.o geo.o lazyfree.o module.o evict.o expire.o geohash.o geohash_helper.o childinfo.o defrag.o siphash.o rax.o t_stream.o listpack.o localtime.o lolwut.o lolwut5.o lolwut6.o acl.o gopher.o tracking.o connection.o tls.o sha256.o timeout.o setcpuaffinity.o monotonic.o mt19937-64.o
+REDIS_SERVER_OBJ+=fpconv.o lua_bit.o lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o
REDIS_CLI_NAME=redis-cli$(PROG_SUFFIX)
REDIS_CLI_OBJ=anet.o adlist.o dict.o redis-cli.o zmalloc.o release.o ae.o crcspeed.o crc64.o siphash.o crc16.o monotonic.o cli_common.o mt19937-64.o
REDIS_BENCHMARK_NAME=redis-benchmark$(PROG_SUFFIX)
@@ -324,7 +328,7 @@
# redis-server
$(REDIS_SERVER_NAME): $(REDIS_SERVER_OBJ)
- $(REDIS_LD) -o $@ $^ ../deps/hiredis/libhiredis.a ../deps/lua/src/liblua.a $(FINAL_LIBS)
+ $(REDIS_LD) -o $@ $^ ../deps/hiredis/libhiredis.a $(FINAL_LIBS)
# redis-sentinel
$(REDIS_SENTINEL_NAME): $(REDIS_SERVER_NAME)

View file

@ -0,0 +1,58 @@
--- src/Makefile.orig 2021-01-12 09:21:03.000000000 -0500
+++ src/Makefile 2021-01-13 12:25:07.823451000 -0500
@@ -16,7 +16,7 @@
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
OPTIMIZATION?=-O2
-DEPENDENCY_TARGETS=hiredis linenoise lua hdr_histogram
+DEPENDENCY_TARGETS=hiredis linenoise hdr_histogram
NODEPS:=clean distclean
# Default settings
@@ -83,8 +83,8 @@
# Override default settings if possible
-include .make-settings
-FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
-FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
+FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS)
+FINAL_LDFLAGS=$(LDFLAGS) $(DEBUG)
FINAL_LIBS=-lm
DEBUG=-g -ggdb
@@ -188,7 +188,7 @@
endif
endif
# Include paths to dependencies
-FINAL_CFLAGS+= -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram
+FINAL_CFLAGS+= -I../deps/hiredis -I../deps/linenoise -I../deps/hdr_histogram
# Determine systemd support and/or build preference (defaulting to auto-detection)
BUILD_WITH_SYSTEMD=no
@@ -251,6 +251,9 @@
FINAL_LIBS += ../deps/hiredis/libhiredis_ssl.a $(LIBSSL_LIBS) $(LIBCRYPTO_LIBS)
endif
+FINAL_CFLAGS+=-I${PREFIX}/include/luajit-2.0
+FINAL_LIBS+= -L${PREFIX}/lib -lluajit-5.1
+
REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS)
REDIS_LD=$(QUIET_LINK)$(CC) $(FINAL_LDFLAGS)
REDIS_INSTALL=$(QUIET_INSTALL)$(INSTALL)
@@ -271,6 +274,7 @@
REDIS_SERVER_NAME=redis-server$(PROG_SUFFIX)
REDIS_SENTINEL_NAME=redis-sentinel$(PROG_SUFFIX)
REDIS_SERVER_OBJ=adlist.o quicklist.o ae.o anet.o dict.o server.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o intset.o syncio.o cluster.o crc16.o endianconv.o slowlog.o scripting.o bio.o rio.o rand.o memtest.o crcspeed.o crc64.o bitops.o sentinel.o notify.o setproctitle.o blocked.o hyperloglog.o latency.o sparkline.o redis-check-rdb.o redis-check-aof.o geo.o lazyfree.o module.o evict.o expire.o geohash.o geohash_helper.o childinfo.o defrag.o siphash.o rax.o t_stream.o listpack.o localtime.o lolwut.o lolwut5.o lolwut6.o acl.o gopher.o tracking.o connection.o tls.o sha256.o timeout.o setcpuaffinity.o monotonic.o mt19937-64.o
+REDIS_SERVER_OBJ+=fpconv.o lua_bit.o lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o
REDIS_CLI_NAME=redis-cli$(PROG_SUFFIX)
REDIS_CLI_OBJ=anet.o adlist.o dict.o redis-cli.o zmalloc.o release.o ae.o crcspeed.o crc64.o siphash.o crc16.o monotonic.o cli_common.o mt19937-64.o
REDIS_BENCHMARK_NAME=redis-benchmark$(PROG_SUFFIX)
@@ -324,7 +328,7 @@
# redis-server
$(REDIS_SERVER_NAME): $(REDIS_SERVER_OBJ)
- $(REDIS_LD) -o $@ $^ ../deps/hiredis/libhiredis.a ../deps/lua/src/liblua.a $(FINAL_LIBS)
+ $(REDIS_LD) -o $@ $^ ../deps/hiredis/libhiredis.a $(FINAL_LIBS)
# redis-sentinel
$(REDIS_SENTINEL_NAME): $(REDIS_SERVER_NAME)

View file

@ -0,0 +1,58 @@
--- src/Makefile.orig 2021-01-12 09:21:03.000000000 -0500
+++ src/Makefile 2021-01-13 12:27:19.444193000 -0500
@@ -16,7 +16,7 @@
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
OPTIMIZATION?=-O2
-DEPENDENCY_TARGETS=hiredis linenoise lua hdr_histogram
+DEPENDENCY_TARGETS=hiredis linenoise hdr_histogram
NODEPS:=clean distclean
# Default settings
@@ -83,8 +83,8 @@
# Override default settings if possible
-include .make-settings
-FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
-FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
+FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS)
+FINAL_LDFLAGS=$(LDFLAGS) $(DEBUG)
FINAL_LIBS=-lm
DEBUG=-g -ggdb
@@ -188,7 +188,7 @@
endif
endif
# Include paths to dependencies
-FINAL_CFLAGS+= -I../deps/hiredis -I../deps/linenoise -I../deps/lua/src -I../deps/hdr_histogram
+FINAL_CFLAGS+= -I../deps/hiredis -I../deps/linenoise -I../deps/hdr_histogram
# Determine systemd support and/or build preference (defaulting to auto-detection)
BUILD_WITH_SYSTEMD=no
@@ -251,6 +251,9 @@
FINAL_LIBS += ../deps/hiredis/libhiredis_ssl.a $(LIBSSL_LIBS) $(LIBCRYPTO_LIBS)
endif
+FINAL_CFLAGS+=-I${PREFIX}/include/luajit-2.1
+FINAL_LIBS+= -L${PREFIX}/lib -lluajit-5.1
+
REDIS_CC=$(QUIET_CC)$(CC) $(FINAL_CFLAGS)
REDIS_LD=$(QUIET_LINK)$(CC) $(FINAL_LDFLAGS)
REDIS_INSTALL=$(QUIET_INSTALL)$(INSTALL)
@@ -271,6 +274,7 @@
REDIS_SERVER_NAME=redis-server$(PROG_SUFFIX)
REDIS_SENTINEL_NAME=redis-sentinel$(PROG_SUFFIX)
REDIS_SERVER_OBJ=adlist.o quicklist.o ae.o anet.o dict.o server.o sds.o zmalloc.o lzf_c.o lzf_d.o pqsort.o zipmap.o sha1.o ziplist.o release.o networking.o util.o object.o db.o replication.o rdb.o t_string.o t_list.o t_set.o t_zset.o t_hash.o config.o aof.o pubsub.o multi.o debug.o sort.o intset.o syncio.o cluster.o crc16.o endianconv.o slowlog.o scripting.o bio.o rio.o rand.o memtest.o crcspeed.o crc64.o bitops.o sentinel.o notify.o setproctitle.o blocked.o hyperloglog.o latency.o sparkline.o redis-check-rdb.o redis-check-aof.o geo.o lazyfree.o module.o evict.o expire.o geohash.o geohash_helper.o childinfo.o defrag.o siphash.o rax.o t_stream.o listpack.o localtime.o lolwut.o lolwut5.o lolwut6.o acl.o gopher.o tracking.o connection.o tls.o sha256.o timeout.o setcpuaffinity.o monotonic.o mt19937-64.o
+REDIS_SERVER_OBJ+=fpconv.o lua_bit.o lua_cjson.o lua_cmsgpack.o lua_struct.o strbuf.o
REDIS_CLI_NAME=redis-cli$(PROG_SUFFIX)
REDIS_CLI_OBJ=anet.o adlist.o dict.o redis-cli.o zmalloc.o release.o ae.o crcspeed.o crc64.o siphash.o crc16.o monotonic.o cli_common.o mt19937-64.o
REDIS_BENCHMARK_NAME=redis-benchmark$(PROG_SUFFIX)
@@ -324,7 +328,7 @@
# redis-server
$(REDIS_SERVER_NAME): $(REDIS_SERVER_OBJ)
- $(REDIS_LD) -o $@ $^ ../deps/hiredis/libhiredis.a ../deps/lua/src/liblua.a $(FINAL_LIBS)
+ $(REDIS_LD) -o $@ $^ ../deps/hiredis/libhiredis.a $(FINAL_LIBS)
# redis-sentinel
$(REDIS_SENTINEL_NAME): $(REDIS_SERVER_NAME)

View file

@ -0,0 +1,20 @@
--- deps/Makefile.orig 2021-01-12 09:21:03.000000000 -0500
+++ deps/Makefile 2021-01-13 11:37:45.979445000 -0500
@@ -69,7 +69,7 @@
LUA_CFLAGS= -D__C99FEATURES__=1
endif
-LUA_CFLAGS+= -O2 -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP $(CFLAGS)
+LUA_CFLAGS+= -Wall -DLUA_ANSI -DENABLE_CJSON_GLOBAL -DREDIS_STATIC='' -DLUA_USE_MKSTEMP $(CFLAGS)
LUA_LDFLAGS+= $(LDFLAGS)
# lua's Makefile defines AR="ar rcu", which is unusual, and makes it more
# challenging to cross-compile lua (and redis). These defines make it easier
@@ -79,7 +79,7 @@
lua: .make-prerequisites
@printf '%b %b\n' $(MAKECOLOR)MAKE$(ENDCOLOR) $(BINCOLOR)$@$(ENDCOLOR)
- cd lua/src && $(MAKE) all CFLAGS="$(LUA_CFLAGS)" MYLDFLAGS="$(LUA_LDFLAGS)" AR="$(AR) $(ARFLAGS)"
+ cd lua/src && $(MAKE) all CC="$(CC)" CFLAGS="$(LUA_CFLAGS)" MYLDFLAGS="$(LUA_LDFLAGS)" AR="$(AR) $(ARFLAGS)"
.PHONY: lua

View file

@ -0,0 +1,41 @@
--- deps/hiredis/Makefile.orig 2021-01-12 09:21:03.000000000 -0500
+++ deps/hiredis/Makefile 2021-01-13 11:40:26.109827000 -0500
@@ -21,7 +21,7 @@
HIREDIS_SONAME=$(shell grep HIREDIS_SONAME hiredis.h | awk '{print $$3}')
# Installation related variables and target
-PREFIX?=/usr/local
+PREFIX?=${PREFIX}
INCLUDE_PATH?=include/hiredis
LIBRARY_PATH?=lib
PKGCONF_PATH?=pkgconfig
@@ -44,10 +44,8 @@
# Fallback to gcc when $CC is not in $PATH.
CC:=$(shell sh -c 'type $${CC%% *} >/dev/null 2>/dev/null && echo $(CC) || echo gcc')
CXX:=$(shell sh -c 'type $${CXX%% *} >/dev/null 2>/dev/null && echo $(CXX) || echo g++')
-OPTIMIZATION?=-O3
WARNINGS=-Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers
-DEBUG_FLAGS?= -g -ggdb
-REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CPPFLAGS) $(CFLAGS) $(WARNINGS) $(DEBUG_FLAGS)
+REAL_CFLAGS=$(OPTIMIZATION) -fPIC $(CFLAGS) $(WARNINGS) $(DEBUG_FLAGS)
REAL_LDFLAGS=$(LDFLAGS)
DYLIBSUFFIX=so
@@ -83,7 +81,16 @@
CFLAGS+=-I$(OPENSSL_PREFIX)/include
SSL_LDFLAGS+=-L$(OPENSSL_PREFIX)/lib -lssl -lcrypto
endif
-
+ifeq ($(uname_S),FreeBSD)
+ CFLAGS?=$(CFLAGS)
+ CCLINK?=pthread
+ LDFLAGS?=-L. -Wl,-rpath,.
+ DYLIBNAME?=libhiredis.so
+ DYLIB_MAKE_CMD?=$(CC) -o ${DYLIBNAME} ${OBJ}
+ STLIBNAME?=libhiredis.a
+ STLIB_MAKE_CMD?=ar rcs ${STLIBNAME} ${OBJ}
+ SSL_LDFLAGS+=${OPENSSL_LDFLAGS}
+endif
ifeq ($(uname_S),SunOS)
IS_SUN_CC=$(shell sh -c '$(CC) -V 2>&1 |egrep -i -c "sun|studio"')
ifeq ($(IS_SUN_CC),1)

View file

@ -0,0 +1,39 @@
--- deps/hiredis/net.c.orig 2019-11-28 14:32:05.942453000 -0500
+++ deps/hiredis/net.c 2019-11-28 14:39:08.326408000 -0500
@@ -178,14 +178,34 @@
__redisSetError(c,REDIS_ERR_OTHER,strerror(errno));
return REDIS_ERR;
}
-#else
-#if defined(__GLIBC__) && !defined(__FreeBSD_kernel__)
+#elif defined(__GLIBC__)
if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &val, sizeof(val)) < 0) {
__redisSetError(c,REDIS_ERR_OTHER,strerror(errno));
return REDIS_ERR;
}
val = interval/3;
+ if (val == 0) val = 1;
+ if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPINTVL, &val, sizeof(val)) < 0) {
+ __redisSetError(c,REDIS_ERR_OTHER,strerror(errno));
+ return REDIS_ERR;
+ }
+
+ val = 3;
+ if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPCNT, &val, sizeof(val)) < 0) {
+ __redisSetError(c,REDIS_ERR_OTHER,strerror(errno));
+ return REDIS_ERR;
+ }
+#else
+#if !defined(__sun) && defined(TCP_KEEPIDLE) && defined(TCP_KEEPINTL) && \
+ defined(TCP_KEEPCNT)
+ val = interval;
+ if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPIDLE, &val, sizeof(val)) < 0) {
+ __redisSetError(c,REDIS_ERR_OTHER,strerror(errno));
+ return REDIS_ERR;
+ }
+
+ val = internal/3;
if (val == 0) val = 1;
if (setsockopt(fd, IPPROTO_TCP, TCP_KEEPINTVL, &val, sizeof(val)) < 0) {
__redisSetError(c,REDIS_ERR_OTHER,strerror(errno));

View file

@ -0,0 +1,15 @@
--- deps/linenoise/Makefile.orig 2019-09-25 10:40:18 UTC
+++ deps/linenoise/Makefile
@@ -1,10 +1,10 @@
STD=
WARN= -Wall
-OPT= -Os
+#OPT= -Os
R_CFLAGS= $(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS)
R_LDFLAGS= $(LDFLAGS)
-DEBUG= -g
+#DEBUG= -g
R_CC=$(CC) $(R_CFLAGS)
R_LD=$(CC) $(R_LDFLAGS)

View file

@ -0,0 +1,18 @@
--- deps/Makefile.orig 2021-01-13 11:43:05.174197000 -0500
+++ deps/Makefile 2021-01-13 11:44:13.744658000 -0500
@@ -83,12 +83,12 @@
.PHONY: lua
-JEMALLOC_CFLAGS= -std=gnu99 -Wall -pipe -g3 -O3 -funroll-loops $(CFLAGS)
+JEMALLOC_CFLAGS= -std=gnu99 -Wall -pipe -funroll-loops $(CFLAGS)
JEMALLOC_LDFLAGS= $(LDFLAGS)
jemalloc: .make-prerequisites
@printf '%b %b\n' $(MAKECOLOR)MAKE$(ENDCOLOR) $(BINCOLOR)$@$(ENDCOLOR)
- cd jemalloc && ./configure --with-version=5.1.0-0-g0 --with-lg-quantum=3 --with-jemalloc-prefix=je_ CFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)"
- cd jemalloc && $(MAKE) CFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)" lib/libjemalloc.a
+ cd jemalloc && ./configure --with-version=5.1.0-0-g0 --with-lg-quantum=3 --with-jemalloc-prefix=je_ CFLAGS="$(JEMALLOC_CFLAGS)" CXXFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)"
+ cd jemalloc && $(MAKE) CFLAGS="$(JEMALLOC_CFLAGS)" CXXFLAGS="$(JEMALLOC_CFLAGS)" LDFLAGS="$(JEMALLOC_LDFLAGS)" lib/libjemalloc.a
.PHONY: jemalloc

View file

@ -0,0 +1,12 @@
--- deps/lua/src/lua_cjson.c.orig 2019-09-25 10:40:18 UTC
+++ deps/lua/src/lua_cjson.c
@@ -46,7 +46,9 @@
#include "strbuf.h"
#include "fpconv.h"
+#if defined(__sun)
#include "../../../src/solarisfixes.h"
+#endif
#ifndef CJSON_MODNAME
#define CJSON_MODNAME "cjson"

View file

@ -0,0 +1,38 @@
--- redis.conf.orig 2021-01-12 09:21:03.000000000 -0500
+++ redis.conf 2021-01-13 11:46:40.445746000 -0500
@@ -244,7 +244,7 @@
# By default Redis does not run as a daemon. Use 'yes' if you need it.
# Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
# When Redis is supervised by upstart or systemd, this parameter has no impact.
-daemonize no
+daemonize yes
# If you run Redis from upstart or systemd, Redis can interact with your
# supervision tree. Options:
@@ -276,7 +276,7 @@
#
# Note that on modern Linux systems "/run/redis.pid" is more conforming
# and should be used instead.
-pidfile /var/run/redis_6379.pid
+pidfile %%REDIS_RUNDIR%%/redis.pid
# Specify the server verbosity level.
# This can be one of:
@@ -289,7 +289,7 @@
# Specify the log file name. Also the empty string can be used to force
# Redis to log on the standard output. Note that if you use standard
# output for logging but daemonize, logs will be sent to /dev/null
-logfile ""
+logfile %%REDIS_LOGDIR%%/redis.log
# To enable logging to the system logger, just set 'syslog-enabled' to yes,
# and optionally update the other syslog parameters to suit your needs.
@@ -420,7 +420,7 @@
# The Append Only File will also be created inside this directory.
#
# Note that you must specify a directory here, not a file name.
-dir ./
+dir %%REDIS_DBDIR%%/
################################# REPLICATION #################################

View file

@ -0,0 +1,39 @@
--- src/Makefile.orig 2019-11-29 16:35:59 UTC
+++ src/Makefile
@@ -29,7 +29,7 @@ endif
WARN=-Wall -W -Wno-missing-field-initializers
OPT=$(OPTIMIZATION)
-PREFIX?=/usr/local
+PREFIX:=$(PREFIX)
INSTALL_BIN=$(PREFIX)/bin
INSTALL=install
@@ -75,7 +75,6 @@ endif
FINAL_CFLAGS=$(STD) $(WARN) $(OPT) $(DEBUG) $(CFLAGS) $(REDIS_CFLAGS)
FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG)
FINAL_LIBS=-lm
-DEBUG=-g -ggdb
# Linux ARM needs -latomic at linking time
ifneq (,$(filter aarch64 armv,$(uname_M)))
@@ -105,6 +104,11 @@ ifeq ($(uname_S),Darwin)
OPENSSL_CFLAGS=-I/usr/local/opt/openssl/include
OPENSSL_LDFLAGS=-L/usr/local/opt/openssl/lib
else
+ifeq ($(uname_S),FreeBSD)
+ # FreeBSD
+ FINAL_CFLAGS?= $(CFLAGS) $(REDIS_CFLAGS) -I${PREFIX}/include
+ FINAL_LDFLAGS= $(LDFLAGS) -pthread
+else
ifeq ($(uname_S),AIX)
# AIX
FINAL_LDFLAGS+= -Wl,-bexpall
@@ -131,6 +135,7 @@ else
# All the other OSes (notably Linux)
FINAL_LDFLAGS+= -rdynamic
FINAL_LIBS+=-ldl -pthread -lrt
+endif
endif
endif
endif

View file

@ -0,0 +1,11 @@
--- src/mkreleasehdr.sh.orig 2019-11-22 16:54:22 UTC
+++ src/mkreleasehdr.sh
@@ -1,6 +1,6 @@
#!/bin/sh
-GIT_SHA1=`(git show-ref --head --hash=8 2> /dev/null || echo 00000000) | head -n1`
-GIT_DIRTY=`git diff --no-ext-diff 2> /dev/null | wc -l`
+GIT_SHA1="00000000"
+GIT_DIRTY="0"
BUILD_ID=`uname -n`"-"`date +%s`
if [ -n "$SOURCE_DATE_EPOCH" ]; then
BUILD_ID=$(date -u -d "@$SOURCE_DATE_EPOCH" +%s 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" +%s 2>/dev/null || date -u +%s)

View file

@ -0,0 +1,11 @@
[
{ type: install
message: <<EOM
To setup "%%PORTNAME%%" you need to edit the configuration file:
%%PREFIX%%/etc/%%PORTNAME%%.conf
To run redis from startup, add %%PORTNAME%%_enable="YES"
in your /etc/rc.conf.
EOM
}
]

View file

@ -0,0 +1,67 @@
#!/bin/sh
# PROVIDE: redis
# REQUIRE: LOGIN
# BEFORE: securelevel
# KEYWORD: shutdown
# Add the following line to /etc/rc.conf to enable `redis':
#
#redis_enable="YES"
#
# Define profiles here to run separate redis instances:
#
#redis_profiles="foo bar" # Script uses %%PREFIX%%/etc/redis-NAME.conf respectively.
# For correct script working please update pidfile entries in
# redis-NAME.conf files.
. /etc/rc.subr
name="redis"
rcvar="${name}_enable"
extra_commands="reload"
command="%%PREFIX%%/bin/redis-server"
pidfile="%%REDIS_RUNDIR%%/$name.pid"
# read configuration and set defaults
load_rc_config "$name"
: ${redis_enable="NO"}
: ${redis_user="%%REDIS_USER%%"}
: ${redis_config="%%PREFIX%%/etc/$name.conf"}
command_args="${redis_config}"
required_files="${redis_config}"
_profile_exists() {
for _p in ${redis_profiles}; do
[ "${_p}" = "$1" ] && return 1;
done
return 0
}
if [ $# -eq 2 ]; then
_profile=$2
_profile_exists $_profile
_exists=$?
[ ${_exists} -ne 1 ] && {
echo "`basename %%PREFIX%%/etc/rc.d/redis`: no '$2' in 'redis_profiles'"
exit 1
};
echo "-- Profile: ${_profile} --"
config_file="%%PREFIX%%/etc/${name}-${_profile}.conf"
command_args="${config_file}"
pidfile="%%REDIS_RUNDIR%%/${_profile}.pid"
required_files="${config_file}"
elif [ -n "${redis_profiles}" ]; then
_swap=$*; shift; _profiles=$*
_profiles=${_profiles:-${redis_profiles}}
set -- ${_swap}
for _profile in ${_profiles}; do
%%PREFIX%%/etc/rc.d/redis $1 ${_profile}
done
exit 0
fi
run_rc_command "$1"

View file

@ -0,0 +1,39 @@
#!/bin/sh
# PROVIDE: sentinel
# REQUIRE: LOGIN
# BEFORE: securelevel
# KEYWORD: shutdown
# Add the following line to /etc/rc.conf to enable `sentinel':
#
#sentinel_enable="YES"
#
. /etc/rc.subr
name="sentinel"
rcvar="${name}_enable"
command="/usr/local/bin/redis-sentinel"
pidfile="/var/run/redis/$name.pid"
# read configuration and set defaults
load_rc_config "$name"
: ${sentinel_enable="NO"}
: ${sentinel_user="redis"}
: ${sentinel_config="/usr/local/etc/$name.conf"}
command_args="${sentinel_config} --daemonize yes --pidfile ${pidfile}"
required_files="${sentinel_config}"
start_precmd="${name}_checks"
restart_precmd="${name}_checks"
sentinel_checks()
{
if [ x`id -u ${sentinel_user}` != x`stat -f %u ${sentinel_config}` ]; then
err 1 "${sentinel_config} must be owned by user ${sentinel_user}"
fi
}
run_rc_command "$1"

View file

@ -0,0 +1,19 @@
Redis is an open source, advanced key-value store. It is often referred
to as a data structure server since keys can contain strings, hashes,
lists, sets and sorted sets.
You can run atomic operations on these types, like appending to a string;
incrementing the value in a hash; pushing to a list; computing set
intersection, union and difference; or getting the member with highest
ranking in a sorted set.
In order to achieve its outstanding performance, Redis works with an
in-memory dataset. Depending on your use case, you can persist it either
by dumping the dataset to disk every once in a while, or by appending each
command to a log.
Redis also supports trivial-to-setup master-slave replication, with very
fast non-blocking first synchronization, auto-reconnection on net split
and so forth.
WWW: https://redis.io/

View file

@ -0,0 +1,12 @@
bin/redis-benchmark
bin/redis-check-aof
bin/redis-check-rdb
bin/redis-cli
bin/redis-sentinel
bin/redis-server
%%TRIB%%bin/redis-trib.rb
@sample etc/redis.conf.sample
@sample(%%REDIS_USER%%,%%REDIS_GROUP%%,) etc/sentinel.conf.sample
@dir(%%REDIS_USER%%,%%REDIS_GROUP%%,) %%REDIS_DBDIR%%
@dir(%%REDIS_USER%%,%%REDIS_GROUP%%,) %%REDIS_LOGDIR%%
@dir(%%REDIS_USER%%,%%REDIS_GROUP%%,) %%REDIS_RUNDIR%%

View file

@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= rocksdb
PORTVERSION= 7.1.1
PORTVERSION= 7.1.2
DISTVERSIONPREFIX= v
CATEGORIES= databases

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1650228668
SHA256 (facebook-rocksdb-v7.1.1_GH0.tar.gz) = a6dce3e1c73bfc9f526709339bd200055225a0e877837f9beecdfab00f861856
SIZE (facebook-rocksdb-v7.1.1_GH0.tar.gz) = 9585187
TIMESTAMP = 1650970031
SHA256 (facebook-rocksdb-v7.1.2_GH0.tar.gz) = 4dded5503a87098d55084dbb1f88eebbf1078ea4b827e9508fdb4c9fccb98977
SIZE (facebook-rocksdb-v7.1.2_GH0.tar.gz) = 9587095

View file

@ -18,4 +18,6 @@ USE_RUBY= yes
NO_ARCH= yes
PORTSCOUT= limit:^0\.
.include <bsd.port.mk>

View file

@ -1,8 +1,7 @@
# Created by: Veniamin Gvozdikov <vg@FreeBSD.org>
PORTNAME= tarantool
PORTVERSION= 2.8.3
PORTREVISION= 1
PORTVERSION= 2.8.4
CATEGORIES= databases
MAINTAINER= sunpoet@FreeBSD.org

View file

@ -1,6 +1,6 @@
TIMESTAMP = 1642102131
SHA256 (tarantool-tarantool-2.8.3_GH0.tar.gz) = deba7256cdf4c21d154f298f1c3135b5144df71806665900159eb10bd521a7fa
SIZE (tarantool-tarantool-2.8.3_GH0.tar.gz) = 7544871
TIMESTAMP = 1650970033
SHA256 (tarantool-tarantool-2.8.4_GH0.tar.gz) = aba51a9e173b875898b2ac601e8940444f6fa22ad508d8fe898dc977742a4f11
SIZE (tarantool-tarantool-2.8.4_GH0.tar.gz) = 7559481
SHA256 (luafun-luafun-f126f9c_GH0.tar.gz) = 406213098afe81f8621c136e1efedc72f59bd9ffbfbfdb081c1dd722cbf12c4a
SIZE (luafun-luafun-f126f9c_GH0.tar.gz) = 63029
SHA256 (tarantool-decNumber-5ddfde1_GH0.tar.gz) = 3518875bff0e0a4d5751d72b52152163c894a1e9c0a6311ae637bece338ede65

View file

@ -1,7 +1,7 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
PORTNAME= tiledb
PORTVERSION= 2.8.0
PORTVERSION= 2.8.1
CATEGORIES= databases
MAINTAINER= sunpoet@FreeBSD.org

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1650228670
SHA256 (TileDB-Inc-TileDB-2.8.0_GH0.tar.gz) = 5c26f6732b8686ec4aa95299e910b9eac8c4c6aafd2f430b2e438d1abf252149
SIZE (TileDB-Inc-TileDB-2.8.0_GH0.tar.gz) = 2327965
TIMESTAMP = 1650970035
SHA256 (TileDB-Inc-TileDB-2.8.1_GH0.tar.gz) = ffb69528369065971a65bc416886d4d3b65b8af614e21403975bc3d033e873a5
SIZE (TileDB-Inc-TileDB-2.8.1_GH0.tar.gz) = 2328231

View file

@ -1,6 +1,6 @@
PORTNAME= bookworm
DISTVERSION= 1.1.2
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= deskutils
MAINTAINER= miguel@gocobachi.dev

View file

@ -2,6 +2,7 @@
PORTNAME= calibre
PORTVERSION= 5.41.0
PORTREVISION= 1
CATEGORIES= deskutils python
MASTER_SITES= http://download.calibre-ebook.com/${PORTVERSION}/

View file

@ -1,8 +1,7 @@
# Created by: Gustau Perez <gustau.perez@gmail.com>
PORTNAME= gnome-maps
DISTVERSION= 42.0
PORTREVISION= 2
DISTVERSION= 42.1
CATEGORIES= deskutils gnome
MASTER_SITES= GNOME/sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+)\..*/\1/}
DIST_SUBDIR= gnome
@ -22,6 +21,7 @@ LIB_DEPENDS= libchamplain-0.12.so:graphics/libchamplain \
libgeocode-glib.so:net/geocode-glib \
libgfbgraph-0.2.so:net/gfbgraph \
libgjs.so:lang/gjs \
libgweather-4.so:net/libgweather4 \
libhandy-1.so:x11-toolkits/libhandy \
libjson-glib-1.0.so:devel/json-glib \
librest-0.7.so:devel/librest \

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1648058560
SHA256 (gnome/gnome-maps-42.0.tar.xz) = 054486d3774073706a76a981417978d151be3b7224d723775bbe316efa2479df
SIZE (gnome/gnome-maps-42.0.tar.xz) = 2315828
TIMESTAMP = 1650998321
SHA256 (gnome/gnome-maps-42.1.tar.xz) = 082f8494101fd3cd31bd4f1ae9881710e32a533fb2ddb7a57122796c9466d2ae
SIZE (gnome/gnome-maps-42.1.tar.xz) = 2315924

View file

@ -1,6 +1,6 @@
PORTNAME= lumina-pdf
DISTVERSION= 1.6.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= deskutils
MAINTAINER= lbartoletti@FreeBSD.org

View file

@ -1,6 +1,6 @@
PORTNAME= paperless
PORTVERSION= 2.7.0
PORTREVISION= 10
PORTREVISION= 11
CATEGORIES= deskutils python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -104,6 +104,7 @@ do-install:
@${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR} -name '*.orig' -delete
@${RLN} ${STAGEDIR}${PYTHON_SITELIBDIR}/paperless/manage.py \
${STAGEDIR}${PREFIX}/bin/paperless
@${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/paperless
@${MKDIR} ${STAGEDIR}${WWWDIR}
@cd ${WRKSRC} && \
${COPYTREE_SHARE} static ${STAGEDIR}${WWWDIR}

View file

@ -35,3 +35,10 @@
# Specify for how many years a correspondent is considered recent. Recent
# correspondents will be shown in a separate "Recent correspondents" filter as
# well. Set to 0 to disable this filter.
@@ -330,3 +330,6 @@ if _filename_parse_transforms:
# well. Set to 0 to disable this filter.
PAPERLESS_RECENT_CORRESPONDENT_YEARS = int(os.getenv(
"PAPERLESS_RECENT_CORRESPONDENT_YEARS", 0))
+
+# As hinted by django 3.2
+DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'

Some files were not shown because too many files have changed in this diff Show more