Skip to content

Commit

Permalink
*/*: sync with upstream
Browse files Browse the repository at this point in the history
Taken from: HardenedBSD
  • Loading branch information
fichtner committed May 26, 2020
1 parent 79220e7 commit 5413c08
Show file tree
Hide file tree
Showing 308 changed files with 2,919 additions and 2,041 deletions.
2 changes: 1 addition & 1 deletion archivers/peazip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ PORTNAME= peazip
PORTVERSION= 7.0.1
PORTREVISION= 2
CATEGORIES= archivers
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
MASTER_SITES= https://github.com/giorgiotani/PeaZip/releases/download/${PORTVERSION}/
PKGNAMESUFFIX= ${LAZARUS_PKGNAMESUFFIX}
DISTNAME= ${PORTNAME}-${PORTVERSION}.src

MAINTAINER= [email protected]
Expand Down
2 changes: 1 addition & 1 deletion archivers/peazip/pkg-descr
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ convert archives, split / join files, strong encryption, encrypted password
manager, secure delete, find duplicate files, compute hash, export job
definition as script to automate backup / restore.

WWW: http://www.peazip.org
WWW: https://www.peazip.org/
2 changes: 1 addition & 1 deletion archivers/quazip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

PORTNAME= quazip
DISTVERSIONPREFIX= v
DISTVERSION= 0.9
DISTVERSION= 0.9.1
CATEGORIES= archivers
PKGNAMESUFFIX= -qt5

Expand Down
6 changes: 3 additions & 3 deletions archivers/quazip/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1588315994
SHA256 (stachenov-quazip-v0.9_GH0.tar.gz) = 377ebf77630e4cff7411fe149cb342e10f3be55ba123cc0b1ee09a25fc3faa06
SIZE (stachenov-quazip-v0.9_GH0.tar.gz) = 155764
TIMESTAMP = 1590411942
SHA256 (stachenov-quazip-v0.9.1_GH0.tar.gz) = 5d36b745cb94da440432690050e6db45b99b477cfe9bc3b82fd1a9d36fff95f5
SIZE (stachenov-quazip-v0.9.1_GH0.tar.gz) = 155775
2 changes: 1 addition & 1 deletion astro/gpsd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ COMMENT= Daemon that monitors one or more GPSes attached to a host computer
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING

USES= cpe pathfix pkgconfig python:3.6+ scons shebangfix
USES= cpe pathfix pkgconfig python:3.6+ scons:python2 shebangfix
CPE_VENDOR= gpsd_project
USE_LDCONFIG= yes
USE_RC_SUBR= gpsd
Expand Down
2 changes: 1 addition & 1 deletion astro/mkgmap/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# $FreeBSD$

PORTNAME= mkgmap
PORTVERSION= r4486
PORTVERSION= r4499
CATEGORIES= astro converters java
MASTER_SITES= http://www.mkgmap.org.uk/download/ \
http://mirror.amdmi3.ru/distfiles/
Expand Down
6 changes: 3 additions & 3 deletions astro/mkgmap/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1589041254
SHA256 (mkgmap-r4486.tar.gz) = 76bba6ab61a5531de04dd265fe3f101f01bfe38222f7bd3ce2505ba89eb8736a
SIZE (mkgmap-r4486.tar.gz) = 3444786
TIMESTAMP = 1590360613
SHA256 (mkgmap-r4499.tar.gz) = 5d8f8aad387768821fa343278320e1f349b9599697657aa07d9b273f3ae11344
SIZE (mkgmap-r4499.tar.gz) = 3445587
2 changes: 1 addition & 1 deletion audio/ardour/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ LIB_DEPENDS= libaubio.so:audio/aubio \
libsamplerate.so:audio/libsamplerate \
libsndfile.so:audio/libsndfile

USES= cpe gettext gnome pkgconfig scons tar:bzip2
USES= cpe gettext gnome pkgconfig scons:python2 tar:bzip2
MAKE_ARGS+= SYSLIBS=yes PREFIX=${PREFIX} NLS=yes
CFLAGS+= -I${LOCALBASE}/include -DHAVE_AUBIO4
USE_GNOME= atk atkmm cairo cairomm gdkpixbuf2 glib20 glibmm gtk20 gtkmm24 \
Expand Down
2 changes: 1 addition & 1 deletion audio/jamulus/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $FreeBSD$

PORTNAME= jamulus
DISTVERSION= 3.5.3
DISTVERSION= 3.5.4
CATEGORIES= audio
MASTER_SITES= SF/llcon/${NAME}/${DISTVERSION}/
DISTNAME= ${NAME}-${PORTVERSION}
Expand Down
6 changes: 3 additions & 3 deletions audio/jamulus/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1590134666
SHA256 (Jamulus-3.5.3.tar.gz) = f19d3a5bdd482462ee014a5e52a97c305419b66ca406bd5bd565bdf829e378de
SIZE (Jamulus-3.5.3.tar.gz) = 1839088
TIMESTAMP = 1590426559
SHA256 (Jamulus-3.5.4.tar.gz) = 06be648ea42a45ff03b18ee6489205f19d3fb4ff0e17b564d7802724804bc330
SIZE (Jamulus-3.5.4.tar.gz) = 1672841
8 changes: 5 additions & 3 deletions audio/lilv/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# $FreeBSD$

PORTNAME= lilv
PORTVERSION= 0.24.4
PORTREVISION= 1
PORTVERSION= 0.24.6
CATEGORIES= audio
MASTER_SITES= http://download.drobilla.net/

Expand All @@ -14,7 +13,10 @@ LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYING

BUILD_DEPENDS= lv2>=1.14.0:audio/lv2
LIB_DEPENDS= libserd-0.so:devel/serd libsord-0.so:devel/sord libsratom-0.so:audio/sratom libsndfile.so:audio/libsndfile
LIB_DEPENDS= libserd-0.so:devel/serd \
libsndfile.so:audio/libsndfile \
libsord-0.so:devel/sord \
libsratom-0.so:audio/sratom
RUN_DEPENDS= lv2>=1.14.0:audio/lv2

USES= pkgconfig python:build tar:bzip2 waf
Expand Down
6 changes: 3 additions & 3 deletions audio/lilv/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1534708824
SHA256 (lilv-0.24.4.tar.bz2) = c33b84b7a6e8e8fffb412fbcd6f69e59ca297ef3e29d829249b4ccc94f634438
SIZE (lilv-0.24.4.tar.bz2) = 252209
TIMESTAMP = 1590393198
SHA256 (lilv-0.24.6.tar.bz2) = 5f544cf79656e0782a03a2cc7ab1d31a93f36d71d4187bd427ade8d7b55370dc
SIZE (lilv-0.24.6.tar.bz2) = 541765
1 change: 1 addition & 0 deletions audio/lilv/pkg-plist
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ include/lilv-0/lilv/lilvmm.hpp
lib/liblilv-0.so
lib/liblilv-0.so.0
lib/liblilv-0.so.%%VERSION%%
%%PYTHON_SITELIBDIR%%/lilv.py
libdata/pkgconfig/lilv-0.pc
share/man/man1/lv2apply.1.gz
share/man/man1/lv2info.1.gz
Expand Down
10 changes: 7 additions & 3 deletions audio/liquidsfz/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= swesterfeld

CXXFLAGS+= -Duint=unsigned -Dregister=registerx

PLIST_FILES= bin/liquidsfz \
include/liquidsfz.hh \
lib/libliquidsfz.a \
Expand All @@ -29,7 +27,13 @@ PLIST_FILES= bin/liquidsfz \
lib/lv2/liquidsfz.lv2/manifest.ttl \
libdata/pkgconfig/liquidsfz.pc

.include <bsd.port.pre.mk>

.if ${CHOSEN_COMPILER_TYPE} == clang
CXXFLAGS+= -Duint=unsigned -Dregister=registerx
.endif

post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lv2/liquidsfz.lv2/liquidsfz_lv2.so

.include <bsd.port.mk>
.include <bsd.port.post.mk>
2 changes: 1 addition & 1 deletion audio/mixxx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ LIB_DEPENDS= libchromaprint.so:audio/chromaprint \
libprotobuf.so:devel/protobuf \
liblilv-0.so:audio/lilv

USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons xorg
USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons:python2 xorg
USE_XORG= x11
USE_GL= gl glu
USE_GITHUB= yes
Expand Down
2 changes: 1 addition & 1 deletion audio/mixxx21/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ LIB_DEPENDS= libchromaprint.so:audio/chromaprint \
libtag.so:audio/taglib \
libprotobuf.so:devel/protobuf

USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons xorg
USES= compiler:c++11-lang gl iconv qt:5 pkgconfig scons:python2 xorg
USE_XORG= x11
USE_GL= gl glu
USE_GITHUB= yes
Expand Down
6 changes: 3 additions & 3 deletions audio/sratom/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
# $FreeBSD$

PORTNAME= sratom
PORTVERSION= 0.6.2
PORTREVISION= 1
PORTVERSION= 0.6.4
CATEGORIES= audio
MASTER_SITES= http://download.drobilla.net/

Expand All @@ -14,7 +13,8 @@ LICENSE= ISCL
LICENSE_FILE= ${WRKSRC}/COPYING

BUILD_DEPENDS= lv2>=1.14.0:audio/lv2
LIB_DEPENDS= libserd-0.so:devel/serd libsord-0.so:devel/sord
LIB_DEPENDS= libserd-0.so:devel/serd \
libsord-0.so:devel/sord
RUN_DEPENDS= lv2>=1.14.0:audio/lv2

USES= pkgconfig python:build tar:bzip2 waf
Expand Down
6 changes: 3 additions & 3 deletions audio/sratom/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1534708844
SHA256 (sratom-0.6.2.tar.bz2) = 0a514a55d6b6cb7b5d6f32d1dcb78a1e6e54537fa22fce533e4ef6adf240e853
SIZE (sratom-0.6.2.tar.bz2) = 229079
TIMESTAMP = 1590203959
SHA256 (sratom-0.6.4.tar.bz2) = 146c8f14b8902ac3c8fa8c2e0a014eb8a38fab60090c5adbfbff3e3b7c5c006e
SIZE (sratom-0.6.4.tar.bz2) = 339707
3 changes: 2 additions & 1 deletion biology/gatk/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ COMMENT= Variant discovery in high-throughput sequencing data
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.TXT

BROKEN_FreeBSD_12_powerpc64= fails to build: String index out of range: -1

BUILD_DEPENDS= gradle62:devel/gradle62

USES= gettext-runtime
Expand Down Expand Up @@ -52,7 +54,6 @@ post-extract: # need a separate extract step because the cache is in /tmp, and n
@cd ${DEPS_CACHE_DIR} && ${TAR} xzf ${DISTDIR}/${PORTNAME}-${DISTVERSION}-deps${EXTRACT_SUFX}
.endif


do-build:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} gradle62 \
--gradle-user-home ${DEPS_CACHE_DIR}/gradle-${PORTNAME} --project-cache-dir ${DEPS_CACHE_DIR}/gradle-${PORTNAME} \
Expand Down
2 changes: 1 addition & 1 deletion cad/ifcopenshell/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ BUILD_DEPENDS= nlohmann-json>0:devel/nlohmann-json
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libTKernel.so:cad/opencascade

USES= cmake eigen:3 gnome
USES= cmake compiler:c++11-lang eigen:3 gnome
USE_GNOME= libxml2
USE_LDCONFIG= yes
USE_GITHUB= yes
Expand Down
79 changes: 27 additions & 52 deletions cad/netgen/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,69 +2,44 @@
# $FreeBSD$

PORTNAME= netgen
PORTVERSION= 5.3.1
PORTREVISION= 11
PORTVERSION= 6.2.2004
DISTVERSIONPREFIX= v
CATEGORIES= cad
#MASTER_SITES= SF/netgen-mesher/netgen-mesher/${PORTVERSION:C|\.[[:digit:]]+$||}/
MASTER_SITES= http://faculty.missouri.edu/~stephen/

MAINTAINER= [email protected]
COMMENT= Automatic 3D tetrahedral mesh generator

LIB_DEPENDS= libTix8.4.3.so:x11-toolkits/tix \
libtogl.so:graphics/togl
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE

OCC_BROKEN= Does not compile because of issues with cad/opencascade
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=0:devel/py-pytest@${PY_FLAVOR}

USE_LDCONFIG= yes
USES= gl gmake jpeg libtool localbase tk:tea xorg
USE_GL= gl glu
USE_XORG= x11 xmu xi
MAKE_JOBS_UNSAFE= yes
CPPFLAGS+= -isystem ${LOCALBASE}/lib/Togl-1.7
CONFIGURE_ARGS= --enable-jpeglib
INSTALL_TARGET= install-strip

FETCH_BEFORE_ARGS+= -o ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}

OPTIONS_DEFINE= OCC FFMPEG
OCC_DESC= Compile with OpenCascade geometry kernel
FFMPEG_DESC= video recording with FFmpeg
OPTIONS_DEFAULT= # OCC

BROKEN_sparc64= internal gcc error (Bug 23159)
USES= cmake python tcl tk gl xorg

OCC_LIB_DEPENDS= libTKernel.so:cad/opencascade
OCC_CXXFLAGS= -DOCCGEOMETRY -DHAVE_CONFIG_H -D${ARCH} -I${LOCALBASE}/include/OpenCASCADE
OCC_CONFIGURE_ON= --enable-occ
USE_GITHUB= yes
GH_ACCOUNT= NGSolve
GH_PROJECT= netgen:1 pybind11:2
GH_TAGNAME= v${PORTVERSION}:1 v2.4.3:2
GH_SUBDIR= external_dependencies/pybind11:2

FFMPEG_LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg
FFMPEG_CONFIGURE_ON= --enable-ffmpeg

MACHINE= ${OPSYS:tu}

SUB_LIST= PREFIX=${PREFIX}
SUB_FILES= pkg-message
MAKE_ENV= TK_VER=${TK_VER} TCL_VER=${TCL_VER} \
TCL_INCLUDEDIR="${TCL_INCLUDEDIR}" \
TK_INCLUDEDIR="${TK_INCLUDEDIR}" \
MACHINE=${MACHINE} MAKE=${MAKE_CMD}
USE_GL= gl glu
USE_XORG= x11 xmu xi
USE_LDCONFIG= yes

post-patch:
@${REINPLACE_CMD} -e '/ngdir/s,"\.","${PREFIX}/bin",' \
${WRKSRC}/ng/ng.tcl \
${WRKSRC}/ng/ngappinit.cpp
CFLAGS+= -I${LOCALBASE}/include -I${TK_INCLUDEDIR}/generic -I${TK_INCLUDEDIR}/unix
CXXFLAGS+= -I${LOCALBASE}/include -I${TK_INCLUDEDIR}/generic -I${TK_INCLUDEDIR}/unix

post-install:
# copy some additional headers for build cad/salome-netgenplugin
${MKDIR} ${STAGEDIR}${DATADIR}/include
${SH} ${FILESDIR}/netgen_copy_include_for_salome ${WRKSRC} ${STAGEDIR}${PREFIX}
${LN} ${STAGEDIR}${PREFIX}/lib/libnglib.so ${STAGEDIR}${PREFIX}/lib/libnglib.so.1
OPTIONS_DEFINE= JPEG MPEG CGNS

.include <bsd.port.pre.mk>
JPEG_DESC= Enable snapshots using jpeg
MPEG_DESC= Enable recording with FFmpeg
CGNS_DESC= Enable CGNS file read/write support

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1300014
BROKEN= does not build with recent versions of FreeBSD
.endif
JPEG_CMAKE_BOOL= USE_JPEG
JPEG_USES= jpeg
MPEG_CMAKE_BOOL= USE_MPEG
MPEG_LIB_DEPENDS= libavcodec.so:multimedia/libav
CGNS_CMAKE_BOOL= USE_CGNS
CGNS_LIB_DEPENDS= libcgns.so:science/cgnslib

.include <bsd.port.post.mk>
.include <bsd.port.mk>
9 changes: 7 additions & 2 deletions cad/netgen/distinfo
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
SHA256 (netgen-5.3.1.tar.gz) = cb97f79d8f4d55c00506ab334867285cde10873c8a8dc783522b47d2bc128bf9
SIZE (netgen-5.3.1.tar.gz) = 1857185
TIMESTAMP = 1590458542
SHA256 (NGSolve-netgen-v6.2.2004_GH0.tar.gz) = a41111470baf65090066df85957aea8afdcb568a18f1915946228f3918d91928
SIZE (NGSolve-netgen-v6.2.2004_GH0.tar.gz) = 3245092
SHA256 (NGSolve-netgen-v6.2.2004_GH0.tar.gz) = a41111470baf65090066df85957aea8afdcb568a18f1915946228f3918d91928
SIZE (NGSolve-netgen-v6.2.2004_GH0.tar.gz) = 3245092
SHA256 (NGSolve-pybind11-v2.4.3_GH0.tar.gz) = 1eed57bc6863190e35637290f97a20c81cfe4d9090ac0a24f3bbf08f265eb71d
SIZE (NGSolve-pybind11-v2.4.3_GH0.tar.gz) = 571127
39 changes: 0 additions & 39 deletions cad/netgen/files/netgen_copy_include_for_salome

This file was deleted.

Loading

0 comments on commit 5413c08

Please sign in to comment.