*/*: sync with upstream
Taken from: HardenedBSD
This commit is contained in:
parent
7a053a417c
commit
5aeba00a0c
165 changed files with 1852 additions and 2120 deletions
|
|
@ -1,26 +1,24 @@
|
|||
# Created by: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= wmMoonClock
|
||||
PORTVERSION= 1.27
|
||||
PORTREVISION= 3
|
||||
PORTNAME= wmmoonclock
|
||||
PORTVERSION= 1.29
|
||||
CATEGORIES= astro windowmaker
|
||||
MASTER_SITES= http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/files/
|
||||
MASTER_SITES= https://www.dockapps.net/download/
|
||||
|
||||
MAINTAINER= mbeis@xs4all.nl
|
||||
COMMENT= Displays the phase of the moon, plus orbital data
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
WRKSRC= ${WRKDIR}/${DISTNAME}/Src
|
||||
|
||||
USES= gmake xorg
|
||||
USE_XORG= xpm
|
||||
GNU_CONFIGURE= yes
|
||||
USES= autoreconf:build pkgconfig xorg
|
||||
USE_XORG+= x11 xext xpm
|
||||
|
||||
PLIST_FILES= bin/wmmoonclock man/man1/wmmoonclock.1.gz
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/wmMoonClock ${STAGEDIR}${PREFIX}/bin/wmmoonclock
|
||||
${INSTALL_MAN} ${WRKSRC}/wmMoonClock.1 ${STAGEDIR}${PREFIX}/man/man1/wmmoonclock.1
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/wmmoonclock ${STAGEDIR}${PREFIX}/bin/wmmoonclock
|
||||
${INSTALL_MAN} ${WRKSRC}/src/wmMoonClock.1 ${STAGEDIR}${PREFIX}/man/man1/wmmoonclock.1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (wmMoonClock-1.27.tar.gz) = 439d330a30ee1cb084e0512e894f5e1a2e9869745a2274fbd9a56832c1527c77
|
||||
SIZE (wmMoonClock-1.27.tar.gz) = 155197
|
||||
TIMESTAMP = 1586605073
|
||||
SHA256 (wmmoonclock-1.29.tar.gz) = beb9e108d90027df4bf2252b3669c153c858976c1099be3462d536073435203a
|
||||
SIZE (wmmoonclock-1.29.tar.gz) = 234991
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
--- Makefile.orig 1999-03-23 02:20:32 UTC
|
||||
+++ Makefile
|
||||
@@ -1,8 +1,8 @@
|
||||
-CC = gcc
|
||||
-CFLAGS = -O2
|
||||
-INCDIR = -I/usr/X11R6/include/X11
|
||||
-DESTDIR= /usr/X11R6
|
||||
-LIBDIR = -L/usr/X11R6/lib
|
||||
+CC ?= gcc
|
||||
+CFLAGS ?= -O2
|
||||
+INCDIR = -I${LOCALBASE}/include
|
||||
+DESTDIR= ${PREFIX}
|
||||
+LIBDIR = -L${LOCALBASE}/lib
|
||||
|
||||
# for Linux
|
||||
LIBS = -lXpm -lX11 -lXext
|
||||
12
astro/wmmoonclock/files/patch-src_wmMoonClock.c
Normal file
12
astro/wmmoonclock/files/patch-src_wmMoonClock.c
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
--- src/wmMoonClock.c.orig 2017-08-14 22:31:05 UTC
|
||||
+++ src/wmMoonClock.c
|
||||
@@ -157,7 +157,8 @@ int main(int argc, char *argv[]) {
|
||||
struct tm *GMTTime, *LocalTime;
|
||||
XEvent event;
|
||||
int i, n, j, ImageNumber, Year, Month, DayOfMonth, digit;
|
||||
- long CurrentLocalTime, CurrentGMTTime, date;
|
||||
+ time_t CurrentLocalTime, CurrentGMTTime;
|
||||
+ long date;
|
||||
double UT, val, RA, DEC, UTRise, UTSet, LocalHour, hour24();
|
||||
int D, H, M, S, sgn, A, B, q;
|
||||
CTrans c;
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
--- wmMoonClock.c.orig 1999-06-07 14:27:18 UTC
|
||||
+++ wmMoonClock.c
|
||||
@@ -162,7 +162,8 @@ int main(int argc, char *argv[]) {
|
||||
int i, n, k, j, ImageNumber;
|
||||
int Year, Month, DayOfWeek, DayOfMonth;
|
||||
int Hours, Mins, Secs, OldSecs, digit, xoff, xsize;
|
||||
- long CurrentLocalTime, CurrentGMTTime, date;
|
||||
+ time_t CurrentLocalTime, CurrentGMTTime;
|
||||
+ long date;
|
||||
double UT, val, RA, DEC, UTRise, UTSet, LocalHour, hour24();
|
||||
int D, H, M, S, sgn, A, B, q;
|
||||
char str[10];
|
||||
|
|
@ -5,4 +5,4 @@ image multiple times).
|
|||
|
||||
Probably most of the data is not that useful, but what the heck :)
|
||||
|
||||
WWW: http://www.cs.mun.ca/~gstarkes/wmaker/dockapps/time.html#wmmoonclock
|
||||
WWW: https://www.dockapps.net/wmmoonclock
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@
|
|||
35.64, 139.65, "tota" # Setagaya, Tokyo, Japan
|
||||
35.342838, 139.621633, "onoe" # Yokohama, Japan
|
||||
35.7, 139.6, " knu,simokawa" # Tokyo, Japan
|
||||
35.59, 139.59, "tagattie" # Kawasaki, Kanagawa, Japan
|
||||
35.650, 139.567, " ,max" # Chofu, Tokyo, Japan
|
||||
35.54, 139.53, " ,nyan,ume" # Yokohama, Kanagawa, Japan
|
||||
35.38, 139.31, "shige" # Fuchu, Tokyo, Japan
|
||||
|
|
|
|||
|
|
@ -770,6 +770,7 @@
|
|||
SUBDIR += stymulator
|
||||
SUBDIR += suil
|
||||
SUBDIR += supercollider
|
||||
SUBDIR += surge-synthesizer-lv2
|
||||
SUBDIR += sweep
|
||||
SUBDIR += swh-lv2
|
||||
SUBDIR += swhplugins
|
||||
|
|
|
|||
55
audio/surge-synthesizer-lv2/Makefile
Normal file
55
audio/surge-synthesizer-lv2/Makefile
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= surge-synthesizer
|
||||
DISTVERSIONPREFIX= release_
|
||||
DISTVERSION= 1.6.6-58
|
||||
DISTVERSIONSUFFIX= -g3dbd1be
|
||||
CATEGORIES= audio
|
||||
PKGNAMESUFFIX= -lv2
|
||||
|
||||
MAINTAINER= yuri@FreeBSD.org
|
||||
COMMENT= Surge Synthesizer LV2 and VST plug-in
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= lv2>0:audio/lv2 \
|
||||
${LOCALBASE}/include/nanosvg.h:graphics/nanosvg \
|
||||
xcb-util-keysyms>0:x11/xcb-util-keysyms
|
||||
LIB_DEPENDS= libxkbcommon.so:x11/libxkbcommon \
|
||||
libxcb-cursor.so:x11/xcb-util-cursor \
|
||||
libxcb-util.so:x11/xcb-util
|
||||
|
||||
USES= cmake compiler:c++17-lang gnome pkgconfig python:build shebangfix xorg
|
||||
SHEBANG_FILES= build-linux.sh
|
||||
USE_GNOME= cairo
|
||||
USE_XORG= xcb
|
||||
USE_GITHUB= yes
|
||||
GH_PROJECT= surge
|
||||
GH_TUPLE= \
|
||||
surge-synthesizer:vst3sdk:10287bc37bbb34324b8097369e2ec4eb73a51d65:surge_synthesizer_vst3sdk/vst3sdk \
|
||||
surge-synthesizer:vstgui:313faee9db026b1d6254c91d8650e7da58e005a5:surge_synthesizer_vstgui/vstgui.surge \
|
||||
craigsapp:midifile:41e450bcd5ba1c0419f69664944434b0abf9d7ba:craigsapp_midifile/libs/midifile \
|
||||
steinbergmedia:vst3_base:37dbdb6ff7af29e518877f57f14050594164a0d6:steinbergmedia_vst3_base/vst3sdk/base \
|
||||
steinbergmedia:vst3_cmake:f7ae22417019aa355de6f7ec46ecf890d3c2a76f:steinbergmedia_vst3_cmake/vst3sdk/cmake \
|
||||
steinbergmedia:vst3_pluginterfaces:6c6bb30d18c3d5a553e55aa74afc5d146571be0a:steinbergmedia_vst3_pluginterfaces/vst3sdk/pluginterfaces \
|
||||
steinbergmedia:vst3_public_sdk:ced72c00d5c1365a4cca16cdbfb871be2496848b:steinbergmedia_vst3_public_sdk/vst3sdk/public.sdk \
|
||||
|
||||
BINARY_ALIAS= python=${PYTHON_CMD}
|
||||
|
||||
PLIST_FILES= lib/lv2/Surge.lv2/Surge.so \
|
||||
lib/lv2/Surge.lv2/Surge_dsp.ttl \
|
||||
lib/lv2/Surge.lv2/Surge_ui.ttl \
|
||||
lib/lv2/Surge.lv2/manifest.ttl \
|
||||
lib/vst/Surge.so
|
||||
|
||||
do-install:
|
||||
# LV2 plugin
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/lv2
|
||||
cd ${WRKSRC}/products && ${COPYTREE_SHARE} Surge.lv2 ${STAGEDIR}${PREFIX}/lib/lv2
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/Surge.lv2/Surge.so
|
||||
# VST plugin
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/vst
|
||||
${INSTALL_LIB} ${WRKSRC}/products/Surge.vst3/Contents/*/Surge.so ${STAGEDIR}${PREFIX}/lib/vst
|
||||
|
||||
.include <bsd.port.mk>
|
||||
17
audio/surge-synthesizer-lv2/distinfo
Normal file
17
audio/surge-synthesizer-lv2/distinfo
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
TIMESTAMP = 1586972142
|
||||
SHA256 (surge-synthesizer-surge-release_1.6.6-58-g3dbd1be_GH0.tar.gz) = bcd54076adac3ae1d3d13e9b068b1cece0b262b0c45323fed52b69da2ee53cd9
|
||||
SIZE (surge-synthesizer-surge-release_1.6.6-58-g3dbd1be_GH0.tar.gz) = 79161919
|
||||
SHA256 (surge-synthesizer-vst3sdk-10287bc37bbb34324b8097369e2ec4eb73a51d65_GH0.tar.gz) = b1eb4d7a5fc714ebb058c77bf7250254ee310a6ffd2b77ef702a12ab4bf9ec10
|
||||
SIZE (surge-synthesizer-vst3sdk-10287bc37bbb34324b8097369e2ec4eb73a51d65_GH0.tar.gz) = 266390
|
||||
SHA256 (surge-synthesizer-vstgui-313faee9db026b1d6254c91d8650e7da58e005a5_GH0.tar.gz) = 797051fe2e28b096c9a890f10eca44440eae4da58b83227595db5bc871c1e57d
|
||||
SIZE (surge-synthesizer-vstgui-313faee9db026b1d6254c91d8650e7da58e005a5_GH0.tar.gz) = 1914445
|
||||
SHA256 (craigsapp-midifile-41e450bcd5ba1c0419f69664944434b0abf9d7ba_GH0.tar.gz) = 6723c1be730dd73ba1c2903e59a044d26b702c07bec6f567d86f1ee77ab8607e
|
||||
SIZE (craigsapp-midifile-41e450bcd5ba1c0419f69664944434b0abf9d7ba_GH0.tar.gz) = 147607
|
||||
SHA256 (steinbergmedia-vst3_base-37dbdb6ff7af29e518877f57f14050594164a0d6_GH0.tar.gz) = 1826460d36c2c6a461d29b1b8db9a142c5a621038d15e24812c46343a26dee7a
|
||||
SIZE (steinbergmedia-vst3_base-37dbdb6ff7af29e518877f57f14050594164a0d6_GH0.tar.gz) = 61067
|
||||
SHA256 (steinbergmedia-vst3_cmake-f7ae22417019aa355de6f7ec46ecf890d3c2a76f_GH0.tar.gz) = bdfba137d724c69a4ee0852a82a94008feca0d4b1e157ce8559321cdebdb0e86
|
||||
SIZE (steinbergmedia-vst3_cmake-f7ae22417019aa355de6f7ec46ecf890d3c2a76f_GH0.tar.gz) = 13355
|
||||
SHA256 (steinbergmedia-vst3_pluginterfaces-6c6bb30d18c3d5a553e55aa74afc5d146571be0a_GH0.tar.gz) = 67f97965c5080e8031192504d90df43b3225b71abf678283569b1f30d2ece3f3
|
||||
SIZE (steinbergmedia-vst3_pluginterfaces-6c6bb30d18c3d5a553e55aa74afc5d146571be0a_GH0.tar.gz) = 84830
|
||||
SHA256 (steinbergmedia-vst3_public_sdk-ced72c00d5c1365a4cca16cdbfb871be2496848b_GH0.tar.gz) = 38f589ce1a430cc3d93671e28337968b6d8998eda83216943b5546136edd3e47
|
||||
SIZE (steinbergmedia-vst3_public_sdk-ced72c00d5c1365a4cca16cdbfb871be2496848b_GH0.tar.gz) = 5861222
|
||||
27
audio/surge-synthesizer-lv2/files/patch-CMakeLists.txt
Normal file
27
audio/surge-synthesizer-lv2/files/patch-CMakeLists.txt
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
--- CMakeLists.txt.orig 2020-04-15 15:01:57 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -334,7 +334,6 @@ elseif( UNIX AND NOT APPLE )
|
||||
|
||||
set(OS_LINK_LIBRARIES
|
||||
pthread
|
||||
- stdc++fs
|
||||
gcc_s
|
||||
gcc
|
||||
dl
|
||||
@@ -689,7 +688,7 @@ if( BUILD_LV2 )
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
COMMAND echo "Packaging up LV2 component"
|
||||
COMMAND mkdir -p products/Surge.lv2
|
||||
- COMMAND cp build/libsurge-lv2.so products/Surge.lv2/Surge.so
|
||||
+ COMMAND cp ../.build/libsurge-lv2.so products/Surge.lv2/Surge.so
|
||||
COMMAND python scripts/linux/generate-lv2-ttl.py products/Surge.lv2/Surge.so
|
||||
)
|
||||
|
||||
@@ -759,7 +758,6 @@ if( BUILD_HEADLESS )
|
||||
target_sources( surge-headless PUBLIC src/linux/ConfigurationXml.S )
|
||||
target_link_libraries(surge-headless
|
||||
PRIVATE
|
||||
- stdc++fs
|
||||
Threads::Threads
|
||||
)
|
||||
endif()
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
--- scripts/linux/package-vst3.sh.orig 2020-04-15 18:28:12 UTC
|
||||
+++ scripts/linux/package-vst3.sh
|
||||
@@ -15,4 +15,6 @@ fi
|
||||
|
||||
VST_SO_DIR="$BUNDLE_DIR/Contents/x86_64-linux"
|
||||
mkdir -p "$VST_SO_DIR"
|
||||
-cp build/libsurge-vst3.so "$VST_SO_DIR"/Surge.so
|
||||
+cp ../.build/libsurge-vst3.so "$VST_SO_DIR"/Surge.so
|
||||
+
|
||||
+echo "package-vst3.sh is done"
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
--- src/linux/UserInteractionsLinux.cpp.orig 2020-04-15 17:52:26 UTC
|
||||
+++ src/linux/UserInteractionsLinux.cpp
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <unistd.h>
|
||||
#include <string.h>
|
||||
#include <thread>
|
||||
+#include <sstream>
|
||||
|
||||
/*
|
||||
** In June 2019, @baconpaul chose to implement these with an attempt
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
--- vst3sdk/cmake/modules/PlatformToolset.cmake.orig 2020-04-15 18:18:33 UTC
|
||||
+++ vst3sdk/cmake/modules/PlatformToolset.cmake
|
||||
@@ -32,7 +32,7 @@ macro(setupPlatformToolset)
|
||||
else()
|
||||
set(CMAKE_POSITION_INDEPENDENT_CODE TRUE)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -Wno-multichar")
|
||||
- link_libraries(stdc++fs pthread dl)
|
||||
+ link_libraries(pthread dl)
|
||||
endif()
|
||||
#------------
|
||||
elseif(SMTG_WIN)
|
||||
|
|
@ -0,0 +1,19 @@
|
|||
--- vst3sdk/pluginterfaces/base/fplatform.h.orig 2020-04-15 17:42:41 UTC
|
||||
+++ vst3sdk/pluginterfaces/base/fplatform.h
|
||||
@@ -76,14 +76,14 @@
|
||||
#endif
|
||||
//-----------------------------------------------------------------------------
|
||||
// LINUX
|
||||
-#elif __gnu_linux__
|
||||
+#elif __gnu_linux__ || defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
#define SMTG_OS_LINUX 1
|
||||
#define SMTG_OS_MACOS 0
|
||||
#define SMTG_OS_WINDOWS 0
|
||||
#define SMTG_OS_IOS 0
|
||||
#define SMTG_OS_OSX 0
|
||||
|
||||
- #include <endian.h>
|
||||
+ #include <sys/endian.h>
|
||||
#if __BYTE_ORDER == __LITTLE_ENDIAN
|
||||
#define BYTEORDER kLittleEndian
|
||||
#else
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
--- vst3sdk/pluginterfaces/base/funknown.cpp.orig 2020-04-15 17:56:07 UTC
|
||||
+++ vst3sdk/pluginterfaces/base/funknown.cpp
|
||||
@@ -36,8 +36,13 @@
|
||||
#endif
|
||||
|
||||
#if SMTG_OS_LINUX
|
||||
-#include <ext/atomicity.h>
|
||||
+#if defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
+# include <sys/types.h>
|
||||
+# include <machine/atomic.h>
|
||||
+#else
|
||||
+# include <ext/atomicity.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
namespace Steinberg {
|
||||
|
||||
@@ -72,7 +77,11 @@ int32 PLUGIN_API atomicAdd (int32& var, int32 d)
|
||||
#elif SMTG_OS_MACOS
|
||||
return OSAtomicAdd32Barrier (d, (int32_t*)&var);
|
||||
#elif SMTG_OS_LINUX
|
||||
+#if defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
+ (*(u_int *)(&var) += (d));
|
||||
+#else
|
||||
__gnu_cxx::__atomic_add (&var, d);
|
||||
+#endif
|
||||
return var;
|
||||
#else
|
||||
#warning implement me!
|
||||
|
|
@ -0,0 +1,11 @@
|
|||
--- vstgui.surge/vstgui/lib/vstguibase.h.orig 2020-04-15 17:36:33 UTC
|
||||
+++ vstgui.surge/vstgui/lib/vstguibase.h
|
||||
@@ -121,7 +121,7 @@
|
||||
using std::min;
|
||||
using std::max;
|
||||
|
||||
-#elif defined(__linux__)
|
||||
+#elif defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__)
|
||||
#include <cstdint>
|
||||
#include <type_traits>
|
||||
#include <algorithm>
|
||||
6
audio/surge-synthesizer-lv2/pkg-descr
Normal file
6
audio/surge-synthesizer-lv2/pkg-descr
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
Surge is an Open Source Digital Synthesizer, originally written and sold as
|
||||
a commercial product by @kurasu/Claes Johanson at vember audio. In September
|
||||
of 2018, Claes released a partially completed version of Surge 1.6 under GPL3,
|
||||
and a group of developers have been improving it since.
|
||||
|
||||
WWW: https://surge-synthesizer.github.io/
|
||||
|
|
@ -43,6 +43,7 @@
|
|||
SUBDIR += freebayes
|
||||
SUBDIR += garlic
|
||||
SUBDIR += gatk
|
||||
SUBDIR += gcta
|
||||
SUBDIR += gemma
|
||||
SUBDIR += gff2ps
|
||||
SUBDIR += gmap
|
||||
|
|
|
|||
35
biology/gcta/Makefile
Normal file
35
biology/gcta/Makefile
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gcta
|
||||
DISTVERSION= 1.26.0
|
||||
CATEGORIES= biology
|
||||
MASTER_SITES= https://cnsgenomics.com/software/gcta/pre_gcta/
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}_src
|
||||
|
||||
MAINTAINER= jwb@FreeBSD.org
|
||||
COMMENT= Genome-wide Complex Trait Analysis
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/GNU_General_Public_License_v3.txt
|
||||
|
||||
BUILD_DEPENDS= eigen>=3:math/eigen3
|
||||
LIB_DEPENDS+= libopenblas.so:math/openblas
|
||||
|
||||
USES= compiler:openmp dos2unix gmake localbase zip
|
||||
|
||||
CXXFLAGS+= -I${LOCALBASE}/include/eigen3 -fopenmp
|
||||
LDFLAGS+= -lopenblas
|
||||
|
||||
INSTALL_TARGET= install-strip
|
||||
PLIST_FILES= bin/gcta
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
|
||||
USE_GCC= yes
|
||||
.endif
|
||||
|
||||
do-extract:
|
||||
${UNZIP_NATIVE_CMD} -d ${WRKSRC} ${DISTDIR}/${DISTFILES}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
3
biology/gcta/distinfo
Normal file
3
biology/gcta/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1489125670
|
||||
SHA256 (gcta_1.26.0_src.zip) = 554c48f421c93cbaf64b1c300ca507d8e7a56086b5c7d857227fbd4048f42acf
|
||||
SIZE (gcta_1.26.0_src.zip) = 198045
|
||||
59
biology/gcta/files/patch-Makefile
Normal file
59
biology/gcta/files/patch-Makefile
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
--- Makefile.orig 2020-04-15 01:43:44 UTC
|
||||
+++ Makefile
|
||||
@@ -6,21 +6,27 @@
|
||||
# ---------------------------------------------------------------------
|
||||
|
||||
# Directory of the target
|
||||
-OUTPUT = gcta64
|
||||
+OUTPUT = gcta
|
||||
|
||||
# Compiler
|
||||
-CXX = g++
|
||||
+CXX ?= g++
|
||||
|
||||
# EIGEN library
|
||||
-EIGEN_PATH = ../../../Lib/eigen
|
||||
+EIGEN_PATH ?= ../../../Lib/eigen
|
||||
|
||||
# Intel MKL library
|
||||
-MKL_PATH = /opt/intel/mkl
|
||||
+MKL_PATH ?= /opt/intel/mkl
|
||||
|
||||
# Compiler flags
|
||||
-CXXFLAGS = -w -O3 -m64 -static -fopenmp -I $(EIGEN_PATH) -DEIGEN_NO_DEBUG -I $(MKL_PATH)/include
|
||||
-LIB += -static -lz -Wl,--start-group $(MKL_PATH)/lib/intel64/libmkl_intel_lp64.a $(MKL_PATH)/lib/intel64/libmkl_gnu_thread.a $(MKL_PATH)/lib/intel64/libmkl_core.a -Wl,--end-group -lpthread -lm -ldl
|
||||
+CXXFLAGS ?= -w -O3 -m64 -static -fopenmp -I $(EIGEN_PATH) -DEIGEN_NO_DEBUG -I $(MKL_PATH)/include
|
||||
+LDFLAGS += -lz -Wl,--start-group -lpthread -lm -ldl
|
||||
|
||||
+MKDIR ?= mkdir
|
||||
+DESTDIR ?= .
|
||||
+PREFIX ?= /usr/local
|
||||
+INSTALL ?= install
|
||||
+STRIP ?= strip
|
||||
+
|
||||
HDR += CommFunc.h \
|
||||
cdflib.h \
|
||||
dcdflib.h \
|
||||
@@ -58,7 +64,7 @@ OBJ = $(SRC:.cpp=.o)
|
||||
all : $(OUTPUT)
|
||||
|
||||
$(OUTPUT) :
|
||||
- $(CXX) $(CXXFLAGS) -o $(OUTPUT) $(OBJ) $(LIB)
|
||||
+ $(CXX) $(CXXFLAGS) -o $(OUTPUT) $(OBJ) $(LDFLAGS)
|
||||
|
||||
$(OBJ) : $(HDR)
|
||||
|
||||
@@ -69,6 +75,13 @@ $(OBJ) : $(HDR)
|
||||
$(OUTPUT) : $(OBJ)
|
||||
|
||||
FORCE:
|
||||
+
|
||||
+install:
|
||||
+ ${MKDIR} -p ${DESTDIR}${PREFIX}/bin
|
||||
+ ${INSTALL} -c ${OUTPUT} ${DESTDIR}${PREFIX}/bin
|
||||
+
|
||||
+install-strip: install
|
||||
+ ${STRIP} ${DESTDIR}${PREFIX}/bin/${OUTPUT}
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
||||
15
biology/gcta/files/patch-eigen__func.h
Normal file
15
biology/gcta/files/patch-eigen__func.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
--- eigen_func.h.orig 2016-06-22 03:11:01 UTC
|
||||
+++ eigen_func.h
|
||||
@@ -12,9 +12,9 @@
|
||||
#ifndef _EIGENFUNC_H
|
||||
#define _EIGENFUNC_H
|
||||
|
||||
-#ifndef EIGEN_USE_MKL_ALL
|
||||
-#define EIGEN_USE_MKL_ALL
|
||||
-#endif
|
||||
+//#ifndef EIGEN_USE_MKL_ALL
|
||||
+//#define EIGEN_USE_MKL_ALL
|
||||
+//#endif
|
||||
|
||||
#include "CommFunc.h"
|
||||
#include "StatFunc.h"
|
||||
29
biology/gcta/files/patch-gcta.h
Normal file
29
biology/gcta/files/patch-gcta.h
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
--- gcta.h.orig 2016-06-22 03:11:01 UTC
|
||||
+++ gcta.h
|
||||
@@ -17,9 +17,9 @@
|
||||
#define EIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET
|
||||
#endif
|
||||
|
||||
-#ifndef EIGEN_USE_MKL_ALL
|
||||
-#define EIGEN_USE_MKL_ALL
|
||||
-#endif
|
||||
+//#ifndef EIGEN_USE_MKL_ALL
|
||||
+//#define EIGEN_USE_MKL_ALL
|
||||
+//#endif
|
||||
|
||||
#include "CommFunc.h"
|
||||
#include "StrFunc.h"
|
||||
@@ -36,8 +36,11 @@
|
||||
#include <unsupported/Eigen/SparseExtra>
|
||||
#include <unsupported/Eigen/IterativeSolvers>
|
||||
#include <omp.h>
|
||||
-#include <mkl_cblas.h>
|
||||
-#include <mkl_lapack.h>
|
||||
+#include <cblas.h>
|
||||
+#include <lapacke.h>
|
||||
+// Looks like openblas, cblas and lapacke are all that's needed
|
||||
+//#include <blaspp.h>
|
||||
+//#include <lapackpp.h>
|
||||
|
||||
using namespace Eigen;
|
||||
using namespace std;
|
||||
13
biology/gcta/files/patch-ld.cpp
Normal file
13
biology/gcta/files/patch-ld.cpp
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
--- ld.cpp.orig 2020-04-15 12:56:27 UTC
|
||||
+++ ld.cpp
|
||||
@@ -1004,7 +1004,9 @@ void gcta::calcu_max_ld_rsq_blk(eigenVector &multi_rsq
|
||||
}
|
||||
|
||||
|
||||
- SelfAdjointEigenSolver<MatrixXf> pca(rsq_sub.array());
|
||||
+ // Fixed compile by removing .array(). Not sure about the validity
|
||||
+ // of this change, but it seemed reasonable based on constructor docs.
|
||||
+ SelfAdjointEigenSolver<MatrixXf> pca(rsq_sub);
|
||||
|
||||
// debug
|
||||
// ofstream tmp("tmp_R.txt");
|
||||
56
biology/gcta/files/patch-mkl.cpp
Normal file
56
biology/gcta/files/patch-mkl.cpp
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
--- mkl.cpp.orig 2020-04-15 00:54:40 UTC
|
||||
+++ mkl.cpp
|
||||
@@ -357,7 +357,7 @@ bool gcta::comput_inverse_logdet_LDLT_mkl(eigenMatrix
|
||||
// MKL's Cholesky decomposition
|
||||
int info = 0, int_n = (int) n;
|
||||
char uplo = 'L';
|
||||
- dpotrf(&uplo, &int_n, Vi_mkl, &int_n, &info);
|
||||
+ dpotrf_(&uplo, &int_n, Vi_mkl, &int_n, &info);
|
||||
//spotrf( &uplo, &n, Vi_mkl, &n, &info );
|
||||
if (info < 0) throw ("Error: Cholesky decomposition failed. Invalid values found in the matrix.\n");
|
||||
else if (info > 0) return false;
|
||||
@@ -369,7 +369,7 @@ bool gcta::comput_inverse_logdet_LDLT_mkl(eigenMatrix
|
||||
}
|
||||
|
||||
// Calcualte V inverse
|
||||
- dpotri(&uplo, &int_n, Vi_mkl, &int_n, &info);
|
||||
+ dpotri_(&uplo, &int_n, Vi_mkl, &int_n, &info);
|
||||
//spotri( &uplo, &n, Vi_mkl, &n, &info );
|
||||
if (info < 0) throw ("Error: invalid values found in the varaince-covaraince (V) matrix.\n");
|
||||
else if (info > 0) return false;
|
||||
@@ -405,7 +405,7 @@ bool gcta::comput_inverse_logdet_LU_mkl(eigenMatrix &V
|
||||
int LWORK = N*N;
|
||||
double *WORK = new double[n * n];
|
||||
int INFO;
|
||||
- dgetrf(&N, &N, Vi_mkl, &N, IPIV, &INFO);
|
||||
+ dgetrf_(&N, &N, Vi_mkl, &N, IPIV, &INFO);
|
||||
if (INFO < 0) throw ("Error: LU decomposition failed. Invalid values found in the matrix.\n");
|
||||
else if (INFO > 0) {
|
||||
delete[] Vi_mkl;
|
||||
@@ -418,7 +418,7 @@ bool gcta::comput_inverse_logdet_LU_mkl(eigenMatrix &V
|
||||
}
|
||||
|
||||
// Calcualte V inverse
|
||||
- dgetri(&N, Vi_mkl, &N, IPIV, WORK, &LWORK, &INFO);
|
||||
+ dgetri_(&N, Vi_mkl, &N, IPIV, WORK, &LWORK, &INFO);
|
||||
if (INFO < 0) throw ("Error: invalid values found in the varaince-covaraince (V) matrix.\n");
|
||||
else if (INFO > 0) return false;
|
||||
else {
|
||||
@@ -453,7 +453,7 @@ bool gcta::comput_inverse_logdet_LU_mkl_array(int n, f
|
||||
int LWORK = N*N;
|
||||
double *WORK = new double[n * n];
|
||||
int INFO;
|
||||
- dgetrf(&N, &N, Vi_mkl, &N, IPIV, &INFO);
|
||||
+ dgetrf_(&N, &N, Vi_mkl, &N, IPIV, &INFO);
|
||||
if (INFO < 0) throw ("Error: LU decomposition failed. Invalid values found in the matrix.\n");
|
||||
else if (INFO > 0) {
|
||||
delete[] Vi_mkl;
|
||||
@@ -467,7 +467,7 @@ bool gcta::comput_inverse_logdet_LU_mkl_array(int n, f
|
||||
}
|
||||
|
||||
// Calcualte V inverse
|
||||
- dgetri(&N, Vi_mkl, &N, IPIV, WORK, &LWORK, &INFO);
|
||||
+ dgetri_(&N, Vi_mkl, &N, IPIV, WORK, &LWORK, &INFO);
|
||||
if (INFO < 0) throw ("Error: invalid values found in the varaince-covaraince (V) matrix.\n");
|
||||
else if (INFO > 0) return (false); // Vi.diagonal()=Vi.diagonal().array()+Vi.diagonal().mean()*1e-3;
|
||||
else {
|
||||
7
biology/gcta/pkg-descr
Normal file
7
biology/gcta/pkg-descr
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
GCTA (Genome-wide Complex Trait Analysis) was originally designed to estimate
|
||||
the proportion of phenotypic variance explained by genome- or chromosome-wide
|
||||
SNPs for complex traits (the GREML method), and has subsequently extended for
|
||||
many other analyses to better understand the genetic architecture of complex
|
||||
traits.
|
||||
|
||||
WWW: http://cnsgenomics.com/software/gcta/index.html
|
||||
|
|
@ -4,6 +4,7 @@
|
|||
PORTNAME= mrbayes
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 3.2.7
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= biology
|
||||
|
||||
MAINTAINER= mzaki@e-mail.ne.jp
|
||||
|
|
@ -40,9 +41,9 @@ FMA_CONFIGURE_OFF= --disable-fma
|
|||
MPICH_LIB_DEPENDS= libmpich.so:net/mpich
|
||||
MPICH_CONFIGURE_ON= --with-mpi
|
||||
MPICH_CONFIGURE_ENV= CC="${LOCALBASE}/bin/mpicc"
|
||||
OPENMPI_LIB_DEPENDS= libmpi.so:net/openmpi
|
||||
OPENMPI_LIB_DEPENDS= libmpi.so:net/openmpi3
|
||||
OPENMPI_CONFIGURE_ON= --with-mpi
|
||||
OPENMPI_CONFIGURE_ENV= CC="${LOCALBASE}/mpi/openmpi/bin/mpicc"
|
||||
OPENMPI_CONFIGURE_ENV= CC="${LOCALBASE}/mpi/openmpi3/bin/mpicc"
|
||||
SSE_CONFIGURE_OFF= --disable-sse
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= minicom
|
||||
PORTVERSION= 2.7.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= comms
|
||||
MASTER_SITES= https://fossies.org/linux/misc/
|
||||
|
||||
|
|
@ -11,37 +11,34 @@ MAINTAINER= ports@FreeBSD.org
|
|||
COMMENT= MS-DOS Telix serial communication program "workalike"
|
||||
|
||||
LICENSE= GPLv2+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
RUN_DEPENDS= lrz:comms/lrzsz
|
||||
|
||||
USES= iconv ncurses
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB} -lncurses
|
||||
USES= iconv localbase ncurses
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --enable-dfl-baud=57600 \
|
||||
--sysconfdir=${PREFIX}/etc/minicom \
|
||||
--enable-lock-dir=/var/spool/lock \
|
||||
--enable-dfl-port=/dev/cuau0
|
||||
CONFIGURE_ARGS= --enable-dfl-baud=57600 \
|
||||
--enable-dfl-port=/dev/cuau0 \
|
||||
--enable-lock-dir=/var/spool/lock \
|
||||
--sysconfdir=${PREFIX}/etc/minicom
|
||||
LIBS+= ${ICONV_LIB} -lncurses
|
||||
|
||||
OPTIONS_DEFINE= DOCS NLS
|
||||
OPTIONS_SUB= yes
|
||||
NLS_USES= gettext
|
||||
OPTIONS_DEFINE= DOCS NLS
|
||||
OPTIONS_SUB= yes
|
||||
NLS_USES= gettext
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e "s@/usr/local/bin/@${LOCALBASE}/bin/@; \
|
||||
s@/sz@/lsz@;s@/sb@/lsb@;s@/sx@/lsx@;s@/rz@/lrz@; \
|
||||
s@/rb@/lrb@;s@/rx@/lrx@" ${WRKSRC}/src/rwconf.c
|
||||
${REINPLACE_CMD} -E -e "s@^(SUBDIRS = .*) intl@\1@" \
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
${INSTALL} -d -m 0755 ${STAGEDIR}${PREFIX}/etc/minicom
|
||||
${MKDIR} ${STAGEDIR}${ETCDIR}
|
||||
|
||||
post-install-DOCS-on:
|
||||
${INSTALL} -d -m 0755 ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}/
|
||||
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}/
|
||||
(umask 022 && cd ${WRKSRC} && ${TAR} --exclude '*/Makefile*' \
|
||||
--exclude '*.orig' -chf - extras doc | ${TAR} -xf - -C \
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ man/man1/xminicom.1.gz
|
|||
%%NLS%%share/locale/vi/LC_MESSAGES/minicom.mo
|
||||
%%NLS%%share/locale/zh_TW/LC_MESSAGES/minicom.mo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/doc/Announce-1.78
|
||||
%%PORTDOCS%%%%DOCSDIR%%/doc/Announce-1.82
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pum
|
||||
DISTVERSION= 0.9.8
|
||||
DISTVERSION= 0.9.10
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
@ -15,7 +15,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}psycopg2>=2.7.3:databases/py-psycopg2@${PY_F
|
|||
${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.4+
|
||||
USE_PYTHON= distutils concurrent autoplist
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1564158007
|
||||
SHA256 (pum-0.9.8.tar.gz) = ef266296cefc8db9418fd8aeaafae9fec7488b09f37f62d435394ef8a0a71717
|
||||
SIZE (pum-0.9.8.tar.gz) = 21141
|
||||
TIMESTAMP = 1586587055
|
||||
SHA256 (pum-0.9.10.tar.gz) = ff80e4d43a0525aa889765815504606b5079c2aa64ee7a142d34b30eb90e3b93
|
||||
SIZE (pum-0.9.10.tar.gz) = 21578
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= easystroke
|
||||
PORTVERSION= 0.6.0
|
||||
PORTREVISION= 21
|
||||
PORTREVISION= 22
|
||||
CATEGORIES= deskutils
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
|
|
|||
20
deskutils/easystroke/files/patch-actiondb.cc
Normal file
20
deskutils/easystroke/files/patch-actiondb.cc
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
--- actiondb.cc.orig 2013-03-27 15:52:38 UTC
|
||||
+++ actiondb.cc
|
||||
@@ -118,14 +118,9 @@ template<class Archive> void StrokeInfo::serialize(Arc
|
||||
using namespace std;
|
||||
|
||||
void Command::run() {
|
||||
- pid_t pid = fork();
|
||||
- switch (pid) {
|
||||
- case 0:
|
||||
- execlp("/bin/sh", "sh", "-c", cmd.c_str(), NULL);
|
||||
- exit(1);
|
||||
- case -1:
|
||||
- printf(_("Error: can't execute command \"%s\": fork() failed\n"), cmd.c_str());
|
||||
- }
|
||||
+ gchar* argv[] = {(gchar*) "/bin/sh", (gchar*) "-c", NULL, NULL};
|
||||
+ argv[2] = (gchar *) cmd.c_str();
|
||||
+ g_spawn_async(NULL, argv, NULL, G_SPAWN_SEARCH_PATH, NULL, NULL, NULL, NULL);
|
||||
}
|
||||
|
||||
ButtonInfo Button::get_button_info() const {
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
PORTNAME= android-tools-adb
|
||||
DISTVERSIONPREFIX= platform-tools-
|
||||
DISTVERSION?= 29.0.6
|
||||
PORTREVISION?= 0
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES= devel comms
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
--- adb/socket_spec_test.cpp.orig 2020-02-11 20:44:45 UTC
|
||||
+++ adb/socket_spec_test.cpp
|
||||
@@ -98,7 +98,11 @@ TEST(socket_spec, get_host_socket_spec_port) {
|
||||
EXPECT_EQ(5555, get_host_socket_spec_port("tcp:5555", &error));
|
||||
EXPECT_EQ(5555, get_host_socket_spec_port("tcp:localhost:5555", &error));
|
||||
EXPECT_EQ(5555, get_host_socket_spec_port("tcp:[::1]:5555", &error));
|
||||
+#if ADB_LINUX
|
||||
EXPECT_EQ(5555, get_host_socket_spec_port("vsock:5555", &error));
|
||||
+#else
|
||||
+ EXPECT_EQ(-1, get_host_socket_spec_port("vsock:5555", &error));
|
||||
+#endif
|
||||
}
|
||||
|
||||
TEST(socket_spec, get_host_socket_spec_port_no_port) {
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
--- base/file_test.cpp.orig 2017-06-20 10:50:27 UTC
|
||||
--- base/file_test.cpp.orig 2020-02-11 20:44:45 UTC
|
||||
+++ base/file_test.cpp
|
||||
@@ -52,12 +52,20 @@ TEST(file, ReadFileToString_WriteStringToFile_symlink)
|
||||
@@ -61,12 +61,20 @@ TEST(file, ReadFileToString_WriteStringToFile_symlink)
|
||||
ASSERT_EQ(0, unlink(link.path));
|
||||
ASSERT_EQ(0, symlink(target.path, link.path));
|
||||
ASSERT_FALSE(android::base::WriteStringToFile("foo", link.path, false));
|
||||
|
|
@ -21,7 +21,16 @@
|
|||
ASSERT_TRUE(android::base::ReadFileToString(link.path, &s, true));
|
||||
ASSERT_EQ("foo", s);
|
||||
}
|
||||
@@ -131,6 +139,7 @@ TEST(file, RemoveFileIfExist) {
|
||||
@@ -235,7 +243,7 @@ TEST(file, RemoveFileIfExists_EACCES) {
|
||||
// EACCES -- one of the directories in the path has no search permission
|
||||
// root can bypass permission restrictions, so drop root.
|
||||
if (getuid() == 0) {
|
||||
- passwd* shell = getpwnam("shell");
|
||||
+ passwd* shell = getpwnam("nobody");
|
||||
setgid(shell->pw_gid);
|
||||
setuid(shell->pw_uid);
|
||||
}
|
||||
@@ -257,6 +265,7 @@ TEST(file, RemoveFileIfExists_EACCES) {
|
||||
|
||||
TEST(file, Readlink) {
|
||||
#if !defined(_WIN32)
|
||||
|
|
@ -29,7 +38,7 @@
|
|||
// Linux doesn't allow empty symbolic links.
|
||||
std::string min("x");
|
||||
// ext2 and ext4 both have PAGE_SIZE limits.
|
||||
@@ -139,6 +148,10 @@ TEST(file, Readlink) {
|
||||
@@ -265,6 +274,10 @@ TEST(file, Readlink) {
|
||||
// in current kernels (and marlin/sailfish where we're seeing this
|
||||
// failure are still on 3.18, far from current). http://b/33306057.
|
||||
std::string max(static_cast<size_t>(4096 - 2 - 1 - 1), 'x');
|
||||
|
|
|
|||
36
devel/android-tools-adb/files/patch-liblog_logger__write.cpp
Normal file
36
devel/android-tools-adb/files/patch-liblog_logger__write.cpp
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
--- liblog/logger_write.cpp.orig 2020-02-11 20:44:45 UTC
|
||||
+++ liblog/logger_write.cpp
|
||||
@@ -51,6 +51,16 @@
|
||||
#include <syscall.h>
|
||||
#elif defined(_WIN32)
|
||||
#include <windows.h>
|
||||
+#elif defined(__DragonFly__) || defined(__FreeBSD__)
|
||||
+#include <pthread_np.h>
|
||||
+#elif defined(__NetBSD__)
|
||||
+#include <lwp.h>
|
||||
+#elif defined(__OpenBSD__)
|
||||
+#include <unistd.h>
|
||||
+#elif defined(__sun)
|
||||
+#include <thread.h>
|
||||
+#else // fallback
|
||||
+#include <stdint.h>
|
||||
#endif
|
||||
|
||||
using android::base::ErrnoRestorer;
|
||||
@@ -248,6 +258,16 @@ static uint64_t GetThreadId() {
|
||||
return syscall(__NR_gettid);
|
||||
#elif defined(_WIN32)
|
||||
return GetCurrentThreadId();
|
||||
+#elif defined(__DragonFly__) || defined(__FreeBSD__)
|
||||
+ return pthread_getthreadid_np();
|
||||
+#elif defined(__NetBSD__)
|
||||
+ return _lwp_self();
|
||||
+#elif defined(__OpenBSD__)
|
||||
+ return getthrid();
|
||||
+#elif defined(__sun)
|
||||
+ return thr_self();
|
||||
+#else // fallback
|
||||
+ return (intptr_t) pthread_self();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
PORTNAME= android-tools-fastboot
|
||||
DISTVERSIONPREFIX= platform-tools-
|
||||
DISTVERSION?= 29.0.6
|
||||
PORTREVISION?= 0
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES= devel sysutils
|
||||
MASTER_SITES= https://salsa.debian.org/android-tools-team/android-tools/raw/706e754/debian/:manpage
|
||||
DISTFILES= fastboot.1:manpage
|
||||
|
|
|
|||
|
|
@ -0,0 +1,36 @@
|
|||
--- liblog/logger_write.cpp.orig 2020-02-11 20:44:45 UTC
|
||||
+++ liblog/logger_write.cpp
|
||||
@@ -51,6 +51,16 @@
|
||||
#include <syscall.h>
|
||||
#elif defined(_WIN32)
|
||||
#include <windows.h>
|
||||
+#elif defined(__DragonFly__) || defined(__FreeBSD__)
|
||||
+#include <pthread_np.h>
|
||||
+#elif defined(__NetBSD__)
|
||||
+#include <lwp.h>
|
||||
+#elif defined(__OpenBSD__)
|
||||
+#include <unistd.h>
|
||||
+#elif defined(__sun)
|
||||
+#include <thread.h>
|
||||
+#else // fallback
|
||||
+#include <stdint.h>
|
||||
#endif
|
||||
|
||||
using android::base::ErrnoRestorer;
|
||||
@@ -248,6 +258,16 @@ static uint64_t GetThreadId() {
|
||||
return syscall(__NR_gettid);
|
||||
#elif defined(_WIN32)
|
||||
return GetCurrentThreadId();
|
||||
+#elif defined(__DragonFly__) || defined(__FreeBSD__)
|
||||
+ return pthread_getthreadid_np();
|
||||
+#elif defined(__NetBSD__)
|
||||
+ return _lwp_self();
|
||||
+#elif defined(__OpenBSD__)
|
||||
+ return getthrid();
|
||||
+#elif defined(__sun)
|
||||
+ return thr_self();
|
||||
+#else // fallback
|
||||
+ return (intptr_t) pthread_self();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gitaly
|
||||
DISTVERSION= 12.9.2
|
||||
DISTVERSION= 12.9.3
|
||||
PORTREVISION= 0
|
||||
CATEGORIES= devel
|
||||
|
||||
|
|
@ -21,11 +21,11 @@ MY_DEPENDS= git>=2.22:devel/git \
|
|||
rubygem-rdoc>=6.1<7.0:devel/rubygem-rdoc \
|
||||
rubygem-gitlab-gollum-lib>=4.2.7.8<4.2.8.0:www/rubygem-gitlab-gollum-lib \
|
||||
rubygem-gitlab-gollum-rugged_adapter>=0.4.4.2<0.4.5.0:www/rubygem-gitlab-gollum-rugged_adapter \
|
||||
rubygem-grpc>=1.24.0<1.25.0:net/rubygem-grpc \
|
||||
rubygem-grpc124>=1.24.0<1.25.0:net/rubygem-grpc124 \
|
||||
rubygem-sentry-raven29>=2.9.0<2.10.0:devel/rubygem-sentry-raven29 \
|
||||
rubygem-faraday>=0.12<1.0:www/rubygem-faraday \
|
||||
rubygem-rbtrace>0:devel/rubygem-rbtrace \
|
||||
rubygem-gitlab-labkit=0.11.0:devel/rubygem-gitlab-labkit \
|
||||
rubygem-gitlab-labkit>=0.11.0<0.11.1:devel/rubygem-gitlab-labkit \
|
||||
rubygem-licensee8>=8.9.0<8.10.0:devel/rubygem-licensee8 \
|
||||
rubygem-google-protobuf38>=3.8.0<3.9.0:devel/rubygem-google-protobuf38
|
||||
BUILD_DEPENDS= gem:devel/ruby-gems \
|
||||
|
|
@ -41,7 +41,7 @@ MAKE_ENV= GOFLAGS="${GO_BUILDFLAGS}"
|
|||
USE_GITLAB= yes
|
||||
GL_ACCOUNT= gitlab-org
|
||||
# Find this here: https://gitlab.com/gitlab-org/gitaly/tags
|
||||
GL_COMMIT= 4504357d3dd7ef5aef2e9ef3990ce677b8958773
|
||||
GL_COMMIT= d6c8a3d730ebb1f00572914e502285fd7729ead3
|
||||
|
||||
# for go dependencies
|
||||
USE_GITHUB= nodefault
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
TIMESTAMP = 1586165625
|
||||
TIMESTAMP = 1586982000
|
||||
SHA256 (BurntSushi-toml-v0.3.1_GH0.tar.gz) = 6593da894578ba510a470735ffbdc88ce88033094dc5a8f4d3957ab87e18803f
|
||||
SIZE (BurntSushi-toml-v0.3.1_GH0.tar.gz) = 42077
|
||||
SHA256 (DataDog-dd-trace-go-v1.7.0_GH0.tar.gz) = d81bd47683ef9cbd228691b077373d3e15ca5fa5b9e7919099c4e87779040e84
|
||||
|
|
@ -97,7 +97,7 @@ SHA256 (uber-jaeger-client-go-v2.15.0_GH0.tar.gz) = 6b89d1a6684475fcbaed3f9d2137
|
|||
SIZE (uber-jaeger-client-go-v2.15.0_GH0.tar.gz) = 164460
|
||||
SHA256 (uber-jaeger-lib-v1.5.0_GH0.tar.gz) = 98901cc41df77858a2f601ad48b45bdf72af40c56f15bc5182416b15db0daac3
|
||||
SIZE (uber-jaeger-lib-v1.5.0_GH0.tar.gz) = 31655
|
||||
SHA256 (gitlab-org-gitaly-4504357d3dd7ef5aef2e9ef3990ce677b8958773_GL0.tar.gz) = ec263fd979dcc50e8a5cac5ca4c89a7725734f1710559bb74a56d54b0d647419
|
||||
SIZE (gitlab-org-gitaly-4504357d3dd7ef5aef2e9ef3990ce677b8958773_GL0.tar.gz) = 2909686
|
||||
SHA256 (gitlab-org-gitaly-d6c8a3d730ebb1f00572914e502285fd7729ead3_GL0.tar.gz) = 5ab35f6c43662ec75fa8e45c03ec74842099065ab109223607be64b776fbeee1
|
||||
SIZE (gitlab-org-gitaly-d6c8a3d730ebb1f00572914e502285fd7729ead3_GL0.tar.gz) = 2909844
|
||||
SHA256 (gitlab-org-labkit-9cb7801f7feafecc53f5a061ffeae5c11567da9b_GL0.tar.gz) = 03473dec168ecb298a1733fc8b5016f1e09f47214b5080dc4986dda73227788b
|
||||
SIZE (gitlab-org-labkit-9cb7801f7feafecc53f5a061ffeae5c11567da9b_GL0.tar.gz) = 3619617
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= intel-graphics-compiler
|
||||
DISTVERSIONPREFIX= igc-
|
||||
DISTVERSION= 1.0.3698
|
||||
DISTVERSION= 1.0.3771
|
||||
CATEGORIES= devel
|
||||
|
||||
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
TIMESTAMP = 1585521791
|
||||
SHA256 (intel-intel-graphics-compiler-igc-1.0.3698_GH0.tar.gz) = ace4973832b349fc86ebceb7ebb0e3968e0c9ad6bffdf5d4f7df4e35a721b6eb
|
||||
SIZE (intel-intel-graphics-compiler-igc-1.0.3698_GH0.tar.gz) = 6001432
|
||||
TIMESTAMP = 1586326647
|
||||
SHA256 (intel-intel-graphics-compiler-igc-1.0.3771_GH0.tar.gz) = 40002f55b0886d9ccdb606684903f8e4cb7f4abde3e5cde8a02815c0907c2778
|
||||
SIZE (intel-intel-graphics-compiler-igc-1.0.3771_GH0.tar.gz) = 6008287
|
||||
SHA256 (b4e40a433077.patch) = 56950deb485a4c1dc844f4864f42b80907919b61132b0e797f7955989fed0597
|
||||
SIZE (b4e40a433077.patch) = 9585
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libsearpc
|
||||
PORTVERSION= 3.1.0
|
||||
PORTVERSION= 3.2.0
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= devel
|
||||
|
||||
|
|
@ -16,9 +16,9 @@ LIB_DEPENDS= libjansson.so:devel/jansson \
|
|||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= haiwen
|
||||
GH_TAGNAME= 85127bef
|
||||
GH_TAGNAME= d1fd751
|
||||
|
||||
USES= autoreconf gettext libtool pathfix pkgconfig python:2.7 shebangfix
|
||||
USES= autoreconf gettext libtool pathfix pkgconfig python:3.6+ shebangfix
|
||||
SHEBANG_FILES= lib/searpc-codegen.py
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1546115031
|
||||
SHA256 (haiwen-libsearpc-3.1.0-85127bef_GH0.tar.gz) = ae28916463679fe0be8008a58c458c3264dbc60cd9f1e31b2926f04e842a8b4e
|
||||
SIZE (haiwen-libsearpc-3.1.0-85127bef_GH0.tar.gz) = 51786
|
||||
TIMESTAMP = 1585266520
|
||||
SHA256 (haiwen-libsearpc-3.2.0-d1fd751_GH0.tar.gz) = 12670d3f1dbbc035800985e85f03dc45da51e63502b2ba245c00689e490aa2cc
|
||||
SIZE (haiwen-libsearpc-3.2.0-d1fd751_GH0.tar.gz) = 53972
|
||||
|
|
|
|||
|
|
@ -1,15 +1,11 @@
|
|||
--- Makefile.am.orig 2015-02-16 05:30:39 UTC
|
||||
--- Makefile.am.orig 2020-02-08 21:24:39 UTC
|
||||
+++ Makefile.am
|
||||
@@ -22,8 +22,12 @@ install-data-local:
|
||||
if MACOS
|
||||
@@ -23,7 +23,7 @@ if MACOS
|
||||
sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
|
||||
else
|
||||
+if BSD
|
||||
+ ${SED} -i '' "s|(DESTDIR)|${PREFIX}|g" $(pcfiles)
|
||||
+else
|
||||
if FBSD
|
||||
- sed -i '' -e "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
|
||||
+ ${SED} -i '' -e "s|(DESTDIR)||g" $(pcfiles)
|
||||
else
|
||||
${SED} -i "s|(DESTDIR)|${DESTDIR}|g" $(pcfiles)
|
||||
endif
|
||||
+endif
|
||||
|
||||
dist-hook:
|
||||
git log -1 > $(distdir)/latest_commit
|
||||
|
|
|
|||
|
|
@ -1,19 +0,0 @@
|
|||
--- configure.ac.orig 2014-08-14 15:48:58 UTC
|
||||
+++ configure.ac
|
||||
@@ -68,6 +68,16 @@ fi
|
||||
AM_CONDITIONAL([MACOS], [test "$bmac" = "yes"])
|
||||
AC_SUBST(MACOS)
|
||||
|
||||
+AC_MSG_CHECKING(for BSD)
|
||||
+
|
||||
+if test `uname | grep -e BSD -e DragonFly | wc -l` = "1"; then
|
||||
+ bbsd=true
|
||||
+ AC_MSG_RESULT(compile in BSD)
|
||||
+fi
|
||||
+
|
||||
+AM_CONDITIONAL([BSD], [test "$bbsd" = "true"])
|
||||
+AC_SUBST(BSD)
|
||||
+
|
||||
# Checks for libraries.
|
||||
|
||||
GLIB_REQUIRED=2.26.0
|
||||
|
|
@ -10,26 +10,26 @@ lib/libsearpc.so.1
|
|||
lib/libsearpc.so.1.0.2
|
||||
libdata/pkgconfig/libsearpc.pc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/__init__.cpython-37.opt-1.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/__init__.cpython-37.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/client.cpython-37.opt-1.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/client.cpython-37.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/common.cpython-37.opt-1.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/common.cpython-37.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/errors.cpython-37.opt-1.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/errors.cpython-37.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/named_pipe.cpython-37.opt-1.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/named_pipe.cpython-37.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/server.cpython-37.opt-1.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/server.cpython-37.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/transport.cpython-37.opt-1.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/transport.cpython-37.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/utils.cpython-37.opt-1.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/__pycache__/utils.cpython-37.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/client.py
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/client.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/client.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/common.py
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/common.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/common.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/errors.py
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/errors.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/errors.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/named_pipe.py
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/named_pipe.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/named_pipe.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/server.py
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/server.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/server.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/transport.py
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/transport.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/transport.pyo
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/utils.py
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/utils.pyc
|
||||
%%PYTHON_SITELIBDIR%%/pysearpc/utils.pyo
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= llvm
|
||||
DISTVERSION= 9.0.1
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel lang
|
||||
MASTER_SITES= https://github.com/llvm/llvm-project/releases/download/llvmorg-${DISTVERSION}/
|
||||
PKGNAMESUFFIX= ${LLVM_SUFFIX}
|
||||
|
|
|
|||
20
devel/llvm90/files/clang/patch-D77776
Normal file
20
devel/llvm90/files/clang/patch-D77776
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
[Driver] Default to libc++ on FreeBSD
|
||||
|
||||
Downstream may naively translate between DSL and LLVM target
|
||||
triple. If OS version is lost in the process then Clang would
|
||||
default to a version that's no longer supported by OS vendor.
|
||||
|
||||
https://reviews.llvm.org/D77776
|
||||
|
||||
--- tools/clang/lib/Driver/ToolChains/FreeBSD.cpp.orig 2019-12-11 19:15:30 UTC
|
||||
+++ tools/clang/lib/Driver/ToolChains/FreeBSD.cpp
|
||||
@@ -351,7 +351,8 @@ FreeBSD::FreeBSD(const Driver &D, const llvm::Triple &
|
||||
}
|
||||
|
||||
ToolChain::CXXStdlibType FreeBSD::GetDefaultCXXStdlibType() const {
|
||||
- if (getTriple().getOSMajorVersion() >= 10)
|
||||
+ unsigned Major = getTriple().getOSMajorVersion();
|
||||
+ if (Major >= 10 || Major == 0)
|
||||
return ToolChain::CST_Libcxx;
|
||||
return ToolChain::CST_Libstdcxx;
|
||||
}
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= gitlab-labkit
|
||||
PORTVERSION= 0.11.0
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
|
|
@ -15,7 +15,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
|||
|
||||
RUN_DEPENDS= rubygem-actionpack60>=5<6.1.0:www/rubygem-actionpack60 \
|
||||
rubygem-activesupport60>=5<6.1.0:devel/rubygem-activesupport60 \
|
||||
rubygem-grpc>=1.19<2.0:net/rubygem-grpc \
|
||||
rubygem-grpc124>=1.19<2.0:net/rubygem-grpc124 \
|
||||
rubygem-jaeger-client>=0.10<1.0:devel/rubygem-jaeger-client \
|
||||
rubygem-opentracing>=0.4<1.0:devel/rubygem-opentracing \
|
||||
rubygem-redis>3.0.0<5.0.0:databases/rubygem-redis
|
||||
|
|
|
|||
|
|
@ -13,8 +13,6 @@ LICENSE_COMB= multi
|
|||
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE
|
||||
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE
|
||||
|
||||
USES= compiler:c11
|
||||
|
||||
ALL_TARGET= samu
|
||||
PLIST_FILES= bin/samu \
|
||||
man/man1/samu.1.gz
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
--- build.ninja.orig 2020-03-29 00:40:58 UTC
|
||||
+++ build.ninja
|
||||
@@ -1,5 +1,5 @@
|
||||
cc = cc
|
||||
-cflags = -Wall -Wextra -std=c99 -pedantic
|
||||
+cflags = -Wall -Wextra -std=c99
|
||||
|
||||
rule cc
|
||||
command = $cc -MD -MF $out.d $cflags -c -o $out $in
|
||||
|
|
@ -25,6 +25,12 @@ OPTIONS_DEFINE= DOCS
|
|||
PORTDOCS= AUTHORS COPYRIGHT CREDITS ChangeLog NEWS PORTING \
|
||||
README README-freebsd README-svr4 TODO
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OSVERSION} >= 1300088
|
||||
BROKEN= Uses procfs-based process debugging
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/strace ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/strace-graph ${STAGEDIR}${PREFIX}/bin
|
||||
|
|
@ -34,4 +40,4 @@ do-install:
|
|||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ USE_HARDENING= safestack
|
|||
USES= cpe libedit pkgconfig
|
||||
|
||||
# ISC releases things like 9.8.0-P1, which our versioning doesn't like
|
||||
ISCVERSION= 9.11.17
|
||||
ISCVERSION= 9.11.18
|
||||
|
||||
CPE_VENDOR= isc
|
||||
CPE_VERSION= ${ISCVERSION:C/-.*//}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1584611145
|
||||
SHA256 (bind-9.11.17.tar.gz) = 7037bc318d986ac9267b82e4bd0551e528f87a0a0db18593a911cd82ab24321e
|
||||
SIZE (bind-9.11.17.tar.gz) = 8206030
|
||||
TIMESTAMP = 1586982298
|
||||
SHA256 (bind-9.11.18.tar.gz) = 59af1a8aaa85d2f2f035ca5dc2682889ff96a47b59424824bcb3a6b1fe079a6f
|
||||
SIZE (bind-9.11.18.tar.gz) = 8221186
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ LICENSE= MPL20
|
|||
LICENSE_FILE= ${WRKSRC}/COPYRIGHT
|
||||
|
||||
DEPRECATED= End of life, please migrate to a newer version of BIND9
|
||||
EXPIRATION_DATE= 2020-05-31
|
||||
EXPIRATION_DATE= 2020-04-30
|
||||
|
||||
LIB_DEPENDS= libxml2.so:textproc/libxml2
|
||||
RUN_DEPENDS= bind-tools>0:dns/bind-tools
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= citra
|
||||
PORTVERSION= s20200413
|
||||
PORTVERSION= s20200415
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES= emulators
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ BUILD_DEPENDS= boost-libs>=1.66:devel/boost-libs
|
|||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= citra-emu
|
||||
GH_TAGNAME= d5a435fdf
|
||||
GH_TAGNAME= 9ae37da29
|
||||
GH_TUPLE= citra-emu:ext-libressl-portable:7d01cb0:libressl/externals/libressl \
|
||||
citra-emu:ext-soundtouch:060181e:soundtouch/externals/soundtouch \
|
||||
MerryMage:dynarmic:r2-15-gb58048a5:dynarmic/externals/dynarmic \
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
TIMESTAMP = 1586797542
|
||||
SHA256 (citra-emu-citra-s20200413-d5a435fdf_GH0.tar.gz) = d0d948d5f5663a064e378f39f9de18485241cd236c387a559cdec9ed4617b121
|
||||
SIZE (citra-emu-citra-s20200413-d5a435fdf_GH0.tar.gz) = 5219927
|
||||
TIMESTAMP = 1586954119
|
||||
SHA256 (citra-emu-citra-s20200415-9ae37da29_GH0.tar.gz) = 21e147942ae53268c199f7d1133b509428f2e1cd67ab4359a940b7592eeb10ed
|
||||
SIZE (citra-emu-citra-s20200415-9ae37da29_GH0.tar.gz) = 5219902
|
||||
SHA256 (citra-emu-ext-libressl-portable-7d01cb0_GH0.tar.gz) = f3fc8c9d4991b05ca1e1c8f5907ecd3ffd9724a8dccf328087b4784cda5c7db3
|
||||
SIZE (citra-emu-ext-libressl-portable-7d01cb0_GH0.tar.gz) = 1762942
|
||||
SHA256 (citra-emu-ext-soundtouch-060181e_GH0.tar.gz) = a593ab188e4feaeef8376c27b554cc413986efc777c195e44c6d3d223de9a63c
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= yuzu
|
||||
PORTVERSION= s20200413
|
||||
PORTVERSION= s20200415
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES= emulators
|
||||
|
||||
|
|
@ -28,7 +28,7 @@ BUILD_DEPENDS= boost-libs>=1.66:devel/boost-libs \
|
|||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= yuzu-emu
|
||||
GH_TAGNAME= 7e4a132a7
|
||||
GH_TAGNAME= 65cbb122e
|
||||
GH_TUPLE= yuzu-emu:unicorn:1.0.1-153-g73f45735:unicorn/externals/unicorn \
|
||||
DarkLordZach:mbedtls:a280e60:mbedtls/externals/mbedtls \
|
||||
KhronosGroup:SPIRV-Headers:2c51218:SPIRV_Headers/externals/sirit/externals/SPIRV-Headers \
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
TIMESTAMP = 1586808484
|
||||
SHA256 (yuzu-emu-yuzu-s20200413-7e4a132a7_GH0.tar.gz) = b721f3d7be2738ba08aa06444aabfd7d524c70b03bd32cfdb8ecbf36b56963ce
|
||||
SIZE (yuzu-emu-yuzu-s20200413-7e4a132a7_GH0.tar.gz) = 2772034
|
||||
TIMESTAMP = 1586981215
|
||||
SHA256 (yuzu-emu-yuzu-s20200415-65cbb122e_GH0.tar.gz) = a457b476dbf57e9868b494d0bd59570059733b661db2b40d3bed5a4d4635de21
|
||||
SIZE (yuzu-emu-yuzu-s20200415-65cbb122e_GH0.tar.gz) = 2772715
|
||||
SHA256 (yuzu-emu-unicorn-1.0.1-153-g73f45735_GH0.tar.gz) = 8f7b4d8eb998c2a4c146268d83b44fc22ca8d4d276f26d6af1071e51f4b5bd4f
|
||||
SIZE (yuzu-emu-unicorn-1.0.1-153-g73f45735_GH0.tar.gz) = 3296254
|
||||
SHA256 (DarkLordZach-mbedtls-a280e60_GH0.tar.gz) = 4fc6ddc256bc75b975fd5ad8bb7d31ff79c62d49daafb0108585c9ef80c6c5a7
|
||||
|
|
|
|||
|
|
@ -526,6 +526,7 @@
|
|||
SUBDIR += mapserver
|
||||
SUBDIR += mapyrus
|
||||
SUBDIR += megapov
|
||||
SUBDIR += meh
|
||||
SUBDIR += mesa-demos
|
||||
SUBDIR += mesa-dri
|
||||
SUBDIR += mesa-libs
|
||||
|
|
|
|||
38
graphics/meh/Makefile
Normal file
38
graphics/meh/Makefile
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# Created by: Mateusz Piotrowski <0mp@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= meh
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 0.3-27
|
||||
DISTVERSIONSUFFIX= -g69f653a
|
||||
CATEGORIES= graphics
|
||||
|
||||
MAINTAINER= 0mp@FreeBSD.org
|
||||
COMMENT= Simple image viewer using raw XLib convert from ImageMagick
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libgif.so:graphics/giflib \
|
||||
libpng.so:graphics/png
|
||||
RUN_DEPENDS= convert:graphics/ImageMagick7
|
||||
|
||||
USES= gmake jpeg localbase xorg
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= jhawthorn
|
||||
USE_XORG= x11 xext
|
||||
|
||||
ALL_TARGET= ${PORTNAME}
|
||||
|
||||
LIBS+= -lgif -ljpeg -lpng -lX11 -lXext
|
||||
|
||||
PLIST_FILES= bin/${PORTNAME} \
|
||||
share/man/man1/${PORTNAME}.1.gz
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \
|
||||
${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
|
||||
${STAGEDIR}${MAN1PREFIX}/share/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
graphics/meh/distinfo
Normal file
3
graphics/meh/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1586964191
|
||||
SHA256 (jhawthorn-meh-v0.3-27-g69f653a_GH0.tar.gz) = ff3080c24c4657350ccc4f5d249d2b53cc5d53955ec2035ff9b9a90e8bbe882d
|
||||
SIZE (jhawthorn-meh-v0.3-27-g69f653a_GH0.tar.gz) = 13683
|
||||
20
graphics/meh/pkg-descr
Normal file
20
graphics/meh/pkg-descr
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
meh is a small, simple, super fast image viewer using raw XLib. It is similar
|
||||
to feh, but faster and simpler.
|
||||
|
||||
meh can use ImageMagick’s convert to view almost 200 file formats, though it is
|
||||
slower for these formats. Built in formats are JPEG, PNG, BMP, and netpbm.
|
||||
|
||||
Features:
|
||||
- Fast
|
||||
- Tiny
|
||||
- Fast JPEG, PNG, GIF and BMP support
|
||||
- Fast netpbm support (.ppm, .pgm, .pbm, .pnm)
|
||||
- ImageMagick support by calling convert
|
||||
- All ImageMagick formats (almost 200)
|
||||
- This allows limited support for PDF’s and SVG’s
|
||||
- Scales images to window size
|
||||
- Preserves aspect ratio (either via EWMH hints or by padding the window)
|
||||
- XSHM Support
|
||||
- Minimal dependencies (Xlib, libjpeg, libpng, giflib)
|
||||
|
||||
WWW: https://www.johnhawthorn.com/meh/
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= OWSLib
|
||||
PORTVERSION= 0.19.0
|
||||
PORTVERSION= 0.19.2
|
||||
CATEGORIES= graphics geography python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
@ -18,7 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \
|
|||
${PYTHON_PKGNAMEPREFIX}pytz>0:devel/py-pytz@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}requests>=1.0:www/py-requests@${PY_FLAVOR}
|
||||
|
||||
USES= python:3.5+
|
||||
USES= python:3.6+
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
NO_ARCH= yes
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1574165009
|
||||
SHA256 (OWSLib-0.19.0.tar.gz) = 1d499981e13a1233822e94ee30c95ddd35d11f176e854d7f0cdc30ef55f5b065
|
||||
SIZE (OWSLib-0.19.0.tar.gz) = 158237
|
||||
TIMESTAMP = 1586758622
|
||||
SHA256 (OWSLib-0.19.2.tar.gz) = 605a742d088f1ed9c946e824d0b3be94b5256931f8b230dae63e27a52c781b6d
|
||||
SIZE (OWSLib-0.19.2.tar.gz) = 158777
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
PORTNAME= openjdk
|
||||
DISTVERSIONPREFIX= jdk-
|
||||
DISTVERSION= ${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_PATCH_VERSION}+${JDK_BUILD_NUMBER}-${BSD_JDK_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= java devel
|
||||
PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION}
|
||||
|
||||
|
|
@ -57,9 +56,9 @@ NOPRECIOUSMAKEVARS= yes
|
|||
|
||||
JDK_MAJOR_VERSION= 11
|
||||
JDK_MINOR_VERSION= 0
|
||||
JDK_PATCH_VERSION= 6
|
||||
JDK_PATCH_VERSION= 7
|
||||
JDK_BUILD_NUMBER= 10
|
||||
BSD_JDK_VERSION= 1
|
||||
BSD_JDK_VERSION= 2
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= CC=${CC} \
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1579201903
|
||||
SHA256 (battleblow-openjdk-jdk11u-jdk-11.0.6+10-1_GH0.tar.gz) = 062450974b7df3ec7128b0361bab1c470f9b7cc4542a77304f4c5eb3b4752a6f
|
||||
SIZE (battleblow-openjdk-jdk11u-jdk-11.0.6+10-1_GH0.tar.gz) = 117035292
|
||||
TIMESTAMP = 1586991400
|
||||
SHA256 (battleblow-openjdk-jdk11u-jdk-11.0.7+10-2_GH0.tar.gz) = 998baaa75c793f333ed561fe18359cc781dee9aedd0e31ddab970e1cf14d4fc7
|
||||
SIZE (battleblow-openjdk-jdk11u-jdk-11.0.7+10-2_GH0.tar.gz) = 117654998
|
||||
|
|
|
|||
|
|
@ -1,11 +0,0 @@
|
|||
--- src/hotspot/share/runtime/arguments.cpp.orig 2020-01-15 18:29:57 UTC
|
||||
+++ src/hotspot/share/runtime/arguments.cpp
|
||||
@@ -1458,7 +1458,7 @@ bool Arguments::add_property(const char* prop, Propert
|
||||
// save it in _java_vendor_url_bug, so JVM fatal error handler can access
|
||||
// its value without going through the property list or making a Java call.
|
||||
_java_vendor_url_bug = os::strdup_check_oom(value, mtArguments);
|
||||
- if (old_java_vendor_url_bug != DEFAULT_VENDOR_URL_BUG) {
|
||||
+ if (strcmp(old_java_vendor_url_bug, DEFAULT_VENDOR_URL_BUG) != 0) {
|
||||
assert(old_java_vendor_url_bug != NULL, "_java_vendor_url_bug is NULL");
|
||||
os::free((void *)old_java_vendor_url_bug);
|
||||
}
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- src/hotspot/share/runtime/sharedRuntime.cpp.orig 2020-01-15 18:29:57 UTC
|
||||
+++ src/hotspot/share/runtime/sharedRuntime.cpp
|
||||
@@ -2806,7 +2806,7 @@ void AdapterHandlerLibrary::create_native_wrapper(cons
|
||||
if (buf != NULL) {
|
||||
CodeBuffer buffer(buf);
|
||||
double locs_buf[20];
|
||||
- buffer.insts()->initialize_shared_locs((relocInfo*)locs_buf, sizeof(locs_buf) / sizeof(relocInfo));
|
||||
+ buffer.insts()->initialize_shared_locs((relocInfo*)locs_buf, (sizeof(locs_buf)) / (sizeof(relocInfo)));
|
||||
MacroAssembler _masm(&buffer);
|
||||
|
||||
// Fill in the signature array, for the calling-convention call.
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
--- src/java.base/share/native/libfdlibm/e_asin.c.orig 2020-01-15 18:29:57 UTC
|
||||
+++ src/java.base/share/native/libfdlibm/e_asin.c
|
||||
@@ -97,12 +97,13 @@ qS4 = 7.70381505559019352791e-02; /* 0x3FB3B8C5, 0xB1
|
||||
} else if (ix<0x3fe00000) { /* |x|<0.5 */
|
||||
if(ix<0x3e400000) { /* if |x| < 2**-27 */
|
||||
if(huge+x>one) return x;/* return x with inexact if x!=0*/
|
||||
- } else
|
||||
+ } else {
|
||||
t = x*x;
|
||||
p = t*(pS0+t*(pS1+t*(pS2+t*(pS3+t*(pS4+t*pS5)))));
|
||||
q = one+t*(qS1+t*(qS2+t*(qS3+t*qS4)));
|
||||
w = p/q;
|
||||
return x+x*w;
|
||||
+ }
|
||||
}
|
||||
/* 1> |x|>= 0.5 */
|
||||
w = one-fabs(x);
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
--- src/java.base/unix/native/libnio/ch/FileDispatcherImpl.c
|
||||
+++ src/java.base/unix/native/libnio/ch/FileDispatcherImpl.c
|
||||
@@ -291,7 +291,7 @@ Java_sun_nio_ch_FileDispatcherImpl_release0(JNIEnv *env, jobject this,
|
||||
static void closeFileDescriptor(JNIEnv *env, int fd) {
|
||||
if (fd != -1) {
|
||||
int result = close(fd);
|
||||
- if (result < 0)
|
||||
+ if (result < 0 && errno != ECONNRESET)
|
||||
JNU_ThrowIOExceptionWithLastError(env, "Close failed");
|
||||
}
|
||||
}
|
||||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
PORTNAME= openjdk
|
||||
PORTVERSION= ${JDK_MAJOR_VERSION}.${JDK_UPDATE_VERSION}.${JDK_BUILD_NUMBER}.${BSD_JDK_VERSION}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= java devel
|
||||
MASTER_SITES= LOCAL/jkim:jtreg
|
||||
PKGNAMESUFFIX?= ${JDK_MAJOR_VERSION}
|
||||
|
|
@ -54,8 +53,8 @@ INSTALLDIR= ${PREFIX}/${PKGBASE}
|
|||
NOPRECIOUSMAKEVARS= yes
|
||||
|
||||
JDK_MAJOR_VERSION= 8
|
||||
JDK_UPDATE_VERSION= 242
|
||||
JDK_BUILD_NUMBER= 07
|
||||
JDK_UPDATE_VERSION= 252
|
||||
JDK_BUILD_NUMBER= 09
|
||||
BSD_JDK_VERSION= 1
|
||||
JTREG_VERSION= 4.1
|
||||
JTREG_BUILD_NUMBER= b08
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
TIMESTAMP = 1579209434
|
||||
TIMESTAMP = 1586926985
|
||||
SHA256 (jtreg4.1-b08.tar.gz) = a9fbfac903313c12687e60978c4688c20189cdf873560125917d6ad53d55b30c
|
||||
SIZE (jtreg4.1-b08.tar.gz) = 6834252
|
||||
SHA256 (battleblow-openjdk-jdk8u-8.242.07.1-jdk8u242-b07.1_GH0.tar.gz) = 7fe8824a2bc9a61377e3284ca9bd1b4bad1eb8b1e87a095c17d473a26ea7a046
|
||||
SIZE (battleblow-openjdk-jdk8u-8.242.07.1-jdk8u242-b07.1_GH0.tar.gz) = 85837823
|
||||
SHA256 (battleblow-openjdk-jdk8u-8.252.09.1-jdk8u252-b09.1_GH0.tar.gz) = 7a5f190065e03264db2c515e6ad69a0918a5ad70519fdb86d5e8d5e62d145602
|
||||
SIZE (battleblow-openjdk-jdk8u-8.252.09.1-jdk8u252-b09.1_GH0.tar.gz) = 86258574
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= 10.0.1.s20200405
|
||||
PORTVERSION= 10.0.1.s20200412
|
||||
CATEGORIES= lang
|
||||
MASTER_SITES= GCC/snapshots/${DIST_VERSION}
|
||||
PKGNAMESUFFIX= ${SUFFIX}-devel
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1586185795
|
||||
SHA256 (gcc-10-20200405.tar.xz) = ccd1b926c9df52a51eab42c4bbedca22f3bcfc4c80c8db8f930eecbcc7d43d31
|
||||
SIZE (gcc-10-20200405.tar.xz) = 71151332
|
||||
TIMESTAMP = 1586766605
|
||||
SHA256 (gcc-10-20200412.tar.xz) = b8719aa9ea66672a4b158b024add6694af0798f49d7a169f989ed59ab3f9f1d4
|
||||
SIZE (gcc-10-20200412.tar.xz) = 71178404
|
||||
|
|
|
|||
|
|
@ -12,7 +12,8 @@ LICENSE= LGPL21
|
|||
|
||||
BUILD_DEPENDS= dovecot>=2.3.7:mail/dovecot
|
||||
LIB_DEPENDS= libxapian.so:databases/xapian-core \
|
||||
libicuuc.so:devel/icu
|
||||
libicuuc.so:devel/icu \
|
||||
libsqlite3.so:databases/sqlite3
|
||||
RUN_DEPENDS= dovecot>=2.3.7:mail/dovecot
|
||||
|
||||
USES= autoreconf compiler:c++11-lang libtool pkgconfig
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ntl
|
||||
PORTVERSION= 11.4.1
|
||||
PORTVERSION= 11.4.3
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://www.shoup.net/ntl/
|
||||
|
||||
|
|
@ -29,13 +29,18 @@ TEST_TARGET= check
|
|||
NTLDOCSDIR= share/doc/NTL
|
||||
PLIST_SUB= NTLDOCS=${NTLDOCSDIR}
|
||||
|
||||
OPTIONS_DEFINE= DOCS GMP
|
||||
OPTIONS_DEFAULT= GMP
|
||||
OPTIONS_DEFINE= DOCS GF2X GMP
|
||||
OPTIONS_DEFAULT= GF2X GMP
|
||||
|
||||
GMP_DESC= Arbitrary precision arithmetic(Faster)
|
||||
GMP_DESC= Arbitrary precision arithmetic (Faster)
|
||||
GMP_LIB_DEPENDS= libgmp.so:math/gmp
|
||||
GMP_CONFIGURE_OFF= NTL_GMP_LIP=off
|
||||
|
||||
GF2X_DESC= Faster arithmetic over GF(2)[X] (the NTL class GF2X)
|
||||
GF2X_LIB_DEPENDS= libgf2x.so:math/gf2x
|
||||
GF2X_CONFIGURE_ON= NTL_GF2X_LIB=on
|
||||
GF2X_CONFIGURE_OFF= NTL_GF2X_LIB=off
|
||||
|
||||
do-install-DOCS-on:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/../doc/* ${STAGEDIR}${DOCSDIR}
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1571455000
|
||||
SHA256 (ntl-11.4.1.tar.gz) = a30687c4fbb8f114200426d2b1ece840bd024f64e2c5c6920b2d11ebcd82620e
|
||||
SIZE (ntl-11.4.1.tar.gz) = 2272898
|
||||
TIMESTAMP = 1585334322
|
||||
SHA256 (ntl-11.4.3.tar.gz) = b7c1ccdc64840e6a24351eb4a1e68887d29974f03073a1941c906562c0b83ad2
|
||||
SIZE (ntl-11.4.3.tar.gz) = 2274421
|
||||
|
|
|
|||
|
|
@ -115,8 +115,8 @@ include/NTL/version.h
|
|||
include/NTL/xdouble.h
|
||||
lib/libntl.a
|
||||
lib/libntl.so
|
||||
lib/libntl.so.42
|
||||
lib/libntl.so.42.0.1
|
||||
lib/libntl.so.43
|
||||
lib/libntl.so.43.0.1
|
||||
%%NTLDOCS%%/BasicThreadPool.cpp.html
|
||||
%%NTLDOCS%%/BasicThreadPool.txt
|
||||
%%NTLDOCS%%/GF2.cpp.html
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@
|
|||
PORTNAME= aom
|
||||
DISTVERSIONPREFIX= v
|
||||
# XXX Switch to release after https://bugs.chromium.org/p/aomedia/issues/detail?id=2545
|
||||
DISTVERSION= 1.0.0-3415
|
||||
DISTVERSIONSUFFIX= -g797b6feb1
|
||||
DISTVERSION= 1.0.0-3453
|
||||
DISTVERSIONSUFFIX= -gfbf298a0f
|
||||
CATEGORIES= multimedia
|
||||
|
||||
MAINTAINER= jbeich@FreeBSD.org
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1586623347
|
||||
SHA256 (jbeich-aom-v1.0.0-3415-g797b6feb1_GH0.tar.gz) = 62fcdd4731349c7b96d0acaca04e8b6bf14649052730ba11b82ca71afd5193ed
|
||||
SIZE (jbeich-aom-v1.0.0-3415-g797b6feb1_GH0.tar.gz) = 3514717
|
||||
TIMESTAMP = 1586996747
|
||||
SHA256 (jbeich-aom-v1.0.0-3453-gfbf298a0f_GH0.tar.gz) = 757228476b2d10506ca0226e682cca1610780b60780f1aa2d29eb6497303d7e5
|
||||
SIZE (jbeich-aom-v1.0.0-3453-gfbf298a0f_GH0.tar.gz) = 3517546
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= dvb-apps
|
||||
PORTVERSION= 1.1.2.1505
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= LOCAL/decke
|
||||
DISTNAME= ${PORTNAME}-3d43b280298c
|
||||
|
|
|
|||
17
multimedia/dvb-apps/files/patch-include_ca.h
Normal file
17
multimedia/dvb-apps/files/patch-include_ca.h
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
From ed58fb83ffaf70423a83866a738978cc273f877b Mon Sep 17 00:00:00 2001
|
||||
From: Chris Reffett <creffett@gentoo.org>
|
||||
Date: Thu, 4 Jan 2018 13:13:00 -0500
|
||||
Subject: media-tv/linuxtv-dvb-apps: Remove references to deleted CA_SET_PID
|
||||
syscall
|
||||
|
||||
Closes: https://bugs.gentoo.org/643436
|
||||
Package-Manager: Portage-2.3.19, Repoman-2.3.6
|
||||
--- include/ca.h
|
||||
+++ include/ca.h
|
||||
@@ -85,6 +85,5 @@
|
||||
#define CA_GET_MSG _IOR('o', 132, ca_msg_t)
|
||||
#define CA_SEND_MSG _IOW('o', 133, ca_msg_t)
|
||||
#define CA_SET_DESCR _IOW('o', 134, ca_descr_t)
|
||||
-#define CA_SET_PID _IOW('o', 135, ca_pid_t)
|
||||
|
||||
#endif
|
||||
38
multimedia/dvb-apps/files/patch-util_dst-utils_dst_test.c
Normal file
38
multimedia/dvb-apps/files/patch-util_dst-utils_dst_test.c
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
From ed58fb83ffaf70423a83866a738978cc273f877b Mon Sep 17 00:00:00 2001
|
||||
From: Chris Reffett <creffett@gentoo.org>
|
||||
Date: Thu, 4 Jan 2018 13:13:00 -0500
|
||||
Subject: media-tv/linuxtv-dvb-apps: Remove references to deleted CA_SET_PID
|
||||
syscall
|
||||
|
||||
Closes: https://bugs.gentoo.org/643436
|
||||
Package-Manager: Portage-2.3.19, Repoman-2.3.6
|
||||
--- util/dst-utils/dst_test.c
|
||||
+++ util/dst-utils/dst_test.c
|
||||
@@ -111,16 +111,6 @@
|
||||
return 0;
|
||||
}
|
||||
|
||||
-static int dst_set_pid(int cafd)
|
||||
-{
|
||||
- if ((ioctl(cafd, CA_SET_PID)) < 0) {
|
||||
- printf("%s: ioctl failed ..\n", __FUNCTION__);
|
||||
- return -1;
|
||||
- }
|
||||
-
|
||||
- return 0;
|
||||
-}
|
||||
-
|
||||
static int dst_get_descr(int cafd)
|
||||
{
|
||||
if ((ioctl(cafd, CA_GET_DESCR_INFO)) < 0) {
|
||||
@@ -229,10 +219,6 @@
|
||||
printf("%s: Reset\n", __FUNCTION__);
|
||||
dst_reset(cafd);
|
||||
break;
|
||||
- case 'p':
|
||||
- printf("%s: PID\n", __FUNCTION__);
|
||||
- dst_set_pid(cafd);
|
||||
- break;
|
||||
case 'g':
|
||||
printf("%s: Get Desc\n", __FUNCTION__);
|
||||
dst_get_descr(cafd);
|
||||
|
|
@ -156,6 +156,7 @@
|
|||
SUBDIR += slack-term
|
||||
SUBDIR += spectral
|
||||
SUBDIR += ssh-chat
|
||||
SUBDIR += sshout
|
||||
SUBDIR += talkatu
|
||||
SUBDIR += teamwords
|
||||
SUBDIR += telegram
|
||||
|
|
|
|||
39
net-im/sshout/Makefile
Normal file
39
net-im/sshout/Makefile
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= sshout
|
||||
DISTVERSION= 1.0.2
|
||||
CATEGORIES= net-im
|
||||
MASTER_SITES= SF/sshout/${PORTNAME}/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
|
||||
|
||||
MAINTAINER= msl0000023508@gmail.com
|
||||
COMMENT= Instant-messaging service based on SSH
|
||||
|
||||
LICENSE= GPLv3+
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libmhash.so:security/mhash
|
||||
|
||||
USES= tar:bz2 gmake readline
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
CPPFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
MAKE_ENV= LIBEXECDIR=\${PREFIX}/libexec \
|
||||
MANDIR=\${PREFIX}/man
|
||||
|
||||
USE_RC_SUBR= sshout
|
||||
|
||||
USERS= sshout
|
||||
GROUPS= sshout
|
||||
|
||||
PLIST_FILES= libexec/sshoutd \
|
||||
man/man8/sshoutcfg.8.gz \
|
||||
sbin/sshoutcfg
|
||||
|
||||
OPTIONS_DEFINE= IRC
|
||||
IRC_DESC= Enable the experimental IRC over SSH frontend
|
||||
IRC_CPPFLAGS= -DENABLE_IRC_FRONTEND
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
net-im/sshout/distinfo
Normal file
3
net-im/sshout/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1547014140
|
||||
SHA256 (sshout-1.0.2-src.tar.bz2) = 25d8af583c50171180fae1ed3ca9dea45f343531d200c30fc0af18e5bfe059f9
|
||||
SIZE (sshout-1.0.2-src.tar.bz2) = 36270
|
||||
34
net-im/sshout/files/sshout.in
Normal file
34
net-im/sshout/files/sshout.in
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
#!/bin/sh
|
||||
|
||||
# $FreeBSD$
|
||||
#
|
||||
# PROVIDE: sshout
|
||||
# REQUIRE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
#
|
||||
# To enable this service, add
|
||||
# sshout_enable="<bool>" # Set to NO by default.
|
||||
# # Set it to YES to enable sshout.
|
||||
# into /etc/rc.conf.local or /etc/rc.conf
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=sshout
|
||||
rcvar=sshout_enable
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${sshout_enable:="NO"}
|
||||
|
||||
sshout_user=sshout
|
||||
sshout_home="`getent passwd sshout | cut -d : -f 6`"
|
||||
[ -z "$sshout_home" ] && exit 1
|
||||
sshout_env="HOME=$sshout_home"
|
||||
sshout_chdir="$sshout_home"
|
||||
procname=%%PREFIX%%/libexec/sshoutd
|
||||
pidfile="$sshout_home/sshoutd.pid"
|
||||
command=/usr/sbin/daemon
|
||||
command_args="-f $procname"
|
||||
stop_postcmd="rm -f $pidfile"
|
||||
|
||||
run_rc_command "$1"
|
||||
11
net-im/sshout/pkg-descr
Normal file
11
net-im/sshout/pkg-descr
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
Secure Shout Host Oriented Unified Talk is an instant-messaging platform
|
||||
designed to make uses of the existing SSH server in your system.
|
||||
SSHOUT creates a private chat room in your host. The authentication of the
|
||||
chat room is done by SSH public authentication. Users can join your chat room
|
||||
by either directly connecting your SSH server with any SSH client; or using a
|
||||
SSHOUT client that implemented the client side SSHOUT API.
|
||||
This package provides the SSHOUT server side programs; if you are finding a
|
||||
SSHOUT client, go to project page and find out a suitable client; or you can
|
||||
also write your own client using SSHOUT API.
|
||||
|
||||
WWW: https://sourceforge.net/projects/sshout/
|
||||
7
net-im/sshout/pkg-install
Normal file
7
net-im/sshout/pkg-install
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
case $2 in
|
||||
POST-INSTALL)
|
||||
chsh -s ${PKG_PREFIX}/libexec/sshoutd sshout
|
||||
;;
|
||||
esac
|
||||
8
net-im/sshout/pkg-message
Normal file
8
net-im/sshout/pkg-message
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#### NOTES OF SSHOUT
|
||||
In order to start sshout service you need some more configuration:
|
||||
|
||||
# sysrc -f /etc/rc.conf sshout_enable="YES"
|
||||
|
||||
If you installed SSHOUT for the first time, use sshoutcfg(8) to add users.
|
||||
You must have SSH server running and accepting public key authentication.
|
||||
#### END
|
||||
|
|
@ -4,7 +4,6 @@ PORTNAME= ccnet-server
|
|||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= ${SEAFILE_VER}
|
||||
DISTVERSIONSUFFIX= -server
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-mgmt devel
|
||||
|
||||
MAINTAINER= ultima@FreeBSD.org
|
||||
|
|
@ -22,7 +21,7 @@ LIB_DEPENDS= libsearpc.so:devel/libsearpc \
|
|||
libjansson.so:devel/jansson
|
||||
|
||||
USES= autoreconf compiler:c11 gnome libtool localbase mysql:client \
|
||||
pathfix pgsql pkgconfig python:2.7 shebangfix ssl
|
||||
pathfix pgsql pkgconfig python:3.6+ shebangfix ssl
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= haiwen
|
||||
USE_GNOME= glib20
|
||||
|
|
@ -31,7 +30,9 @@ USE_OPENLDAP= yes
|
|||
|
||||
CONFLICTS= ccnet-[0-9]*
|
||||
|
||||
CONFIGURE_ENV= SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
|
||||
CONFIGURE_ENV= SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl \
|
||||
-lcrypto" PKG_CONFIG_PATH="${WRKDIR}/pkgconfig"
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --enable-ldap
|
||||
INSTALL_TARGET= install-strip
|
||||
|
|
@ -40,6 +41,24 @@ OPTIONS_DEFINE= NLS
|
|||
|
||||
NLS_USES= gettext
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
_PKGCONFIGDIR= ${WRKDIR}/pkgconfig
|
||||
|
||||
post-patch:
|
||||
@${MKDIR} ${_PKGCONFIGDIR}
|
||||
.if ${MYSQL_FLAVOUR} == mariadb
|
||||
# If mariadb is the selected flavor, link the pc file as
|
||||
# mysqlclient so PKG_CHECK_MODULES can find it. Mariadb
|
||||
# doesn't supply this file in the same way other flavours do.
|
||||
@${LN} -sf ${LOCALBASE}/libdata/pkgconfig/libmariadb.pc \
|
||||
${_PKGCONFIGDIR}/mysqlclient.pc
|
||||
.elif ${SSL_DEFAULT} == base
|
||||
# Add bogus pc file to satisfy mysqlclient depend for ssl=base
|
||||
@${PRINTF} 'Name:\nDescription:\nVersion:' \
|
||||
>${_PKGCONFIGDIR}/openssl.pc
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${SEABIN} ${STAGEDIR}${PREFIX}/${SEALIB}
|
||||
${INSTALL_PROGRAM} ${STAGEDIR}${PREFIX}/bin/ccnet-init ${STAGEDIR}${PREFIX}/${SEABIN}
|
||||
|
|
@ -53,4 +72,4 @@ post-install:
|
|||
|
||||
.include "${.CURDIR}/../seafile-server/Makefile.include"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1564782008
|
||||
SHA256 (haiwen-ccnet-server-v7.0.4-server_GH0.tar.gz) = 86a419c34c2880ae6ba18a8db4cfde3cd1abaf4dc4671860c0a3609abc6ff2fd
|
||||
SIZE (haiwen-ccnet-server-v7.0.4-server_GH0.tar.gz) = 218022
|
||||
TIMESTAMP = 1585266436
|
||||
SHA256 (haiwen-ccnet-server-v7.1.3-server_GH0.tar.gz) = 148d9b1af9218943de310f3f2e29e542e7279dbfba307a1cdd894bf8b7faf2e8
|
||||
SIZE (haiwen-ccnet-server-v7.1.3-server_GH0.tar.gz) = 194097
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ include/ccnet/async-rpc-proc.h
|
|||
include/ccnet/ccnet-client.h
|
||||
include/ccnet/ccnet-object.h
|
||||
include/ccnet/ccnet-session-base.h
|
||||
include/ccnet/ccnetrpc-transport.h
|
||||
include/ccnet/cevent.h
|
||||
include/ccnet/invoke-service-proc.h
|
||||
include/ccnet/job-mgr.h
|
||||
|
|
@ -29,54 +28,9 @@ libdata/pkgconfig/libccnet.pc
|
|||
%%SEAFILE_SERVER%%/seafile/bin/ccnet-init
|
||||
%%SEAFILE_SERVER%%/seafile/bin/ccnet-server
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/__init__.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/__init__.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/__init__.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/__init__.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/__init__.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/__init__.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/async_client.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/async_client.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/async_client.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/mqclientproc.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/mqclientproc.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/mqclientproc.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/processor.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/processor.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/processor.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/rpcserverproc.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/rpcserverproc.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/rpcserverproc.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/sendcmdproc.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/sendcmdproc.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/sendcmdproc.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/timer.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/timer.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/async/timer.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/client.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/client.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/client.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/errors.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/errors.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/errors.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/message.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/message.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/message.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/packet.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/packet.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/packet.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/pool.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/pool.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/pool.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/__pycache__/__init__.cpython-37.opt-1.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/__pycache__/__init__.cpython-37.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/__pycache__/rpc.cpython-37.opt-1.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/__pycache__/rpc.cpython-37.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/rpc.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/rpc.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/rpc.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/status_code.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/status_code.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/status_code.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/sync_client.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/sync_client.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/sync_client.pyo
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/utils.py
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/utils.pyc
|
||||
%%SEAFILE_SERVER%%/seafile/%%PYTHON_SITELIBDIR%%/ccnet/utils.pyo
|
||||
@dir(%%USERS%%,%%GROUPS%%,755) %%HAIWENDIR%%
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@ PORTNAME= seafile-server
|
|||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= ${SEAFILE_VER}
|
||||
DISTVERSIONSUFFIX= -server
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net-mgmt
|
||||
|
||||
MAINTAINER= ultima@FreeBSD.org
|
||||
|
|
@ -31,7 +30,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR}
|
|||
CONFLICTS= seafile-[0-9]*
|
||||
|
||||
USES= autoreconf compiler:c11 gnome iconv libarchive libtool localbase mysql \
|
||||
pathfix pgsql pkgconfig python:2.7 shebangfix sqlite ssl
|
||||
pathfix pgsql pkgconfig python:3.6+ shebangfix sqlite ssl
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= haiwen
|
||||
USE_GNOME= glib20
|
||||
|
|
@ -40,7 +39,8 @@ USE_RC_SUBR= seafile
|
|||
SHEBANG_FILES= scripts/*.sh scripts/upgrade/*.sh *.sh scripts/build/*.py \
|
||||
scripts/*.py scripts/upgrade/*.py tools/seafile-admin
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
|
||||
CONFIGURE_ENV= SSL_CFLAGS="${OPENSSLINC}" SSL_LIBS="-L${OPENSSLLIB} -lssl \
|
||||
-lcrypto" PKG_CONFIG_PATH="${WRKDIR}/pkgconfig"
|
||||
|
||||
PATHFIX_MAKEFILEIN= Makefile.am
|
||||
|
||||
|
|
@ -63,16 +63,41 @@ FUSE_LIB_DEPENDS= libfuse.so:sysutils/fusefs-libs
|
|||
|
||||
NLS_USES= gettext
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
_PKGCONFIGDIR= ${WRKDIR}/pkgconfig
|
||||
|
||||
post-patch:
|
||||
# Fix P_KTHREAD r295435
|
||||
${REINPLACE_CMD} 's/P_KTHREAD/P_KPROC/' ${WRKSRC}/lib/utils.c
|
||||
${REINPLACE_CMD} 's/python/${PYTHON_VERSION}/' \
|
||||
${WRKSRC}/scripts/upgrade/regenerate_secret_key.sh
|
||||
${REINPLACE_CMD} -e 's|^INSTALL.*|INSTALLPATH="${PREFIX}/${SEAFILE_SERVER}/seafile"|' \
|
||||
${WRKSRC}/scripts/seaf-cli-wrapper.sh
|
||||
${REINPLACE_CMD} -E 's/stat.+\$$/stat -f %Su $$/' ${WRKSRC}/scripts/seafile.sh
|
||||
${REINPLACE_CMD} 's/%%SEAFILE_USER%%/${USERS:[1]}/ ; s/%%SEAFILE_GROUP%%/${GROUPS:[1]}/' \
|
||||
${WRKSRC}/scripts/setup-seafile.sh ${WRKSRC}/scripts/setup-seafile-mysql.py
|
||||
|
||||
# Fix python hardcodings
|
||||
${REINPLACE_CMD} 's/python3\.[0-9]/${PYTHON_VERSION}/g; s/python3 /${PYTHON_VERSION} / ; \
|
||||
s/PYTHON=python3/PYTHON=${PYTHON_VERSION}/' \
|
||||
${WRKSRC}/controller/seafile-controller.c ${WRKSRC}/scripts/reset-admin.sh \
|
||||
${WRKSRC}/scripts/upgrade/upgrade_7.0_7.1.sh \
|
||||
${WRKSRC}/scripts/seahub.sh ${WRKSRC}/scripts/setup-seafile.sh \
|
||||
${WRKSRC}/scripts/setup-seafile-mysql.sh \
|
||||
${WRKSRC}/scripts/setup-seafile-mysql.py
|
||||
${REINPLACE_CMD} 's/python/${PYTHON_VERSION}/' \
|
||||
${WRKSRC}/scripts/upgrade/regenerate_secret_key.sh
|
||||
|
||||
@${MKDIR} ${_PKGCONFIGDIR}
|
||||
.if ${MYSQL_FLAVOUR} == mariadb
|
||||
# If mariadb is the selected flavor, link the pc file as
|
||||
# mysqlclient so PKG_CHECK_MODULES can find it. Mariadb
|
||||
# doesn't supply this file in the same way other flavours do.
|
||||
@${LN} -sf ${LOCALBASE}/libdata/pkgconfig/libmariadb.pc \
|
||||
${_PKGCONFIGDIR}/mysqlclient.pc
|
||||
.elif ${SSL_DEFAULT} == base
|
||||
# Add bogus pc file to satisfy mysqlclient depend for ssl=base
|
||||
@${PRINTF} 'Name:\nDescription:\nVersion:' \
|
||||
>${_PKGCONFIGDIR}/openssl.pc
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${PREFIX}/${SEABIN} ${STAGEDIR}${PREFIX}/${SEALIB} \
|
||||
${STAGEDIR}${PREFIX}/${SEAFILE_SERVER}/seafile/share/doc/seafile \
|
||||
|
|
@ -107,4 +132,4 @@ makesum-all:
|
|||
|
||||
.include "${.CURDIR}/Makefile.include"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
SEAFILE_VER=7.0.4
|
||||
SEAHUB_VER=7.0.11
|
||||
SEAFILE_VER=7.1.3
|
||||
SEAHUB_VER=7.1.3
|
||||
|
||||
|
||||
# Various vars used in most/all the Makefiles
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1564782015
|
||||
SHA256 (haiwen-seafile-server-v7.0.4-server_GH0.tar.gz) = a17c8b5bdfc82ac893160ff6255b16882f748e3b3dbf6f72dee17d40b895f783
|
||||
SIZE (haiwen-seafile-server-v7.0.4-server_GH0.tar.gz) = 750836
|
||||
TIMESTAMP = 1585266438
|
||||
SHA256 (haiwen-seafile-server-v7.1.3-server_GH0.tar.gz) = 79f7722a34c304adb78462194e64d6a610bd5ee40def37f4e4cdf5befed44fcd
|
||||
SIZE (haiwen-seafile-server-v7.1.3-server_GH0.tar.gz) = 684351
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue