*/*: sync with upstream
Taken from: FreeBSD
This commit is contained in:
parent
851d0f01fe
commit
09fa1fe436
100 changed files with 1100 additions and 317 deletions
|
|
@ -176,7 +176,9 @@
|
|||
SUBDIR += liquibase
|
||||
SUBDIR += lmdb
|
||||
SUBDIR += luadbi
|
||||
SUBDIR += luasql-firebird
|
||||
SUBDIR += luasql-mysql
|
||||
SUBDIR += luasql-odbc
|
||||
SUBDIR += luasql-postgres
|
||||
SUBDIR += luasql-sqlite3
|
||||
SUBDIR += mantis
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= timex_ecto
|
||||
PORTVERSION= 1.1.2
|
||||
PORTVERSION= 1.1.3
|
||||
CATEGORIES= databases
|
||||
PKGNAMEPREFIX= elixir-
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1465660215
|
||||
SHA256 (bitwalker-timex_ecto-1.1.2_GH0.tar.gz) = 1d0881870eb8f4bda68f0e70e7b1e27f3519eb6906640adc7aef955cf830a548
|
||||
SIZE (bitwalker-timex_ecto-1.1.2_GH0.tar.gz) = 8514
|
||||
TIMESTAMP = 1465725568
|
||||
SHA256 (bitwalker-timex_ecto-1.1.3_GH0.tar.gz) = 6d49aec0e6fb9374476380971dc3a9e38169e5afdc77a1422b2a006aa4790243
|
||||
SIZE (bitwalker-timex_ecto-1.1.3_GH0.tar.gz) = 8535
|
||||
|
|
|
|||
8
databases/luasql-firebird/Makefile
Normal file
8
databases/luasql-firebird/Makefile
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Created by: Martin Matuska <martin@matuska.org>
|
||||
# $FreeBSD$
|
||||
|
||||
LUASQL_DRIVER= firebird
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../luasql-mysql
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= luasql
|
||||
PORTVERSION= 2.3.1
|
||||
PORTVERSION= 2.3.3
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION?= 0
|
||||
CATEGORIES= databases
|
||||
|
|
@ -29,7 +29,6 @@ MAKE_ARGS= LUA_DIR=${LUA_SUBDIR} \
|
|||
WARN="${CFLAGS}" \
|
||||
CC="${CC}"
|
||||
|
||||
USE_CSTD= gnu89
|
||||
CFLAGS+= -Wno-return-type
|
||||
|
||||
PLIST_SUB= LUA_MIDLIBDIR=${LUA_MODLIBDIR} \
|
||||
|
|
@ -50,6 +49,16 @@ COMMENT= Lua interface to SQLite3
|
|||
USES+= sqlite
|
||||
MAKE_ARGS+= DRIVER_LIBS_sqlite3="-L ${LOCALBASE}/lib -lsqlite3" \
|
||||
DRIVER_INCS_sqlite3="-I ${LOCALBASE}/include"
|
||||
.elif ${LUASQL_DRIVER} == "odbc"
|
||||
COMMENT= Lua interface to ODBC
|
||||
LIB_DEPENDS+= libodbc.so:databases/unixODBC
|
||||
MAKE_ARGS+= DRIVER_LIBS_odbc="-L ${LOCALBASE}/lib -lodbc" \
|
||||
DRIVER_INCS_odbc="-I ${LOCALBASE}/include -DUNIXODBC"
|
||||
.elif ${LUASQL_DRIVER} == "firebird"
|
||||
COMMENT= Lua interface to Firebird
|
||||
USES+= firebird
|
||||
MAKE_ARGS+= DRIVER_LIBS_firebird="-L ${LOCALBASE}/lib -lfbclient" \
|
||||
DRIVER_INCS_firebird="-I ${LOCALBASE}/include"
|
||||
.else
|
||||
IGNORE= unknown or unsupported luasql driver
|
||||
.endif
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (keplerproject-luasql-v2.3.1_GH0.tar.gz) = 281f4d2c7d563551145169e2da41b5942a7aa15f4aedbcd73d53a8f8589c49e8
|
||||
SIZE (keplerproject-luasql-v2.3.1_GH0.tar.gz) = 101048
|
||||
TIMESTAMP = 1465738646
|
||||
SHA256 (keplerproject-luasql-v2.3.3_GH0.tar.gz) = 6c95d61afb8c8678629a53c559389885205c7be5faba53698fd0dd4bd96f3ac0
|
||||
SIZE (keplerproject-luasql-v2.3.3_GH0.tar.gz) = 101025
|
||||
|
|
|
|||
|
|
@ -4,4 +4,4 @@ LuaSQL is a simple interface from Lua to a DBMS. It enables a Lua program to:
|
|||
* Execute arbitrary SQL statements;
|
||||
* Retrieve results in a row-by-row cursor fashion.
|
||||
|
||||
WWW: http://www.keplerproject.org/luasql/
|
||||
WWW: https://github.com/keplerproject/luasql/
|
||||
|
|
|
|||
8
databases/luasql-odbc/Makefile
Normal file
8
databases/luasql-odbc/Makefile
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
# Created by: Martin Matuska <martin@matuska.org>
|
||||
# $FreeBSD$
|
||||
|
||||
LUASQL_DRIVER= odbc
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../luasql-mysql
|
||||
|
||||
.include "${MASTERDIR}/Makefile"
|
||||
|
|
@ -188,6 +188,7 @@
|
|||
SUBDIR += plasma-applet-yawp
|
||||
SUBDIR += plopfolio
|
||||
SUBDIR += preferences
|
||||
SUBDIR += puush
|
||||
SUBDIR += py-bugwarrior
|
||||
SUBDIR += py-khal
|
||||
SUBDIR += py-pycarddav
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= fet
|
||||
PORTVERSION= 5.29.3
|
||||
PORTVERSION= 5.29.4
|
||||
CATEGORIES= deskutils kde
|
||||
MASTER_SITES= http://lalescu.ro/liviu/fet/download/ \
|
||||
http://lalescu.ro/liviu/fet/download/old/ \
|
||||
|
|
@ -16,7 +16,7 @@ LICENSE= GPLv3+
|
|||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USES= qmake tar:bzip2
|
||||
USE_QT4= xml \
|
||||
USE_QT4= corelib xml \
|
||||
moc_build rcc_build uic_build
|
||||
|
||||
PORTEXAMPLES= *
|
||||
|
|
@ -33,15 +33,10 @@ ONLYCL_DESC= Build only command line version (without Qt4 GUI)
|
|||
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MONLYCL}
|
||||
INSTALL_TARGET= ${WRKSRC}/fet-cl
|
||||
QMAKE_SOURCE_PATH= ${WRKSRC}/src/src-cl.pro
|
||||
.else
|
||||
USE_QT4+= gui network
|
||||
INSTALL_TARGET= ${WRKSRC}/fet
|
||||
.endif
|
||||
ONLYCL_INSTALL_TARGET= ${WRKSRC}/fet-cl
|
||||
ONLYCL_VARS= QMAKE_SOURCE_PATH=${WRKSRC}/src/src-cl.pro
|
||||
ONLYCL_USE_OFF= qt4=gui,network
|
||||
ONLYCL_INSTALL_TARGET_OFF= ${WRKSRC}/fet
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|/usr/share/fet|${DATADIR}|g' \
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (fet-5.29.3.tar.bz2) = 3048b0e69172e170945f631fb4befead4df938e6372c9ff49cd861bf2cdcba34
|
||||
SIZE (fet-5.29.3.tar.bz2) = 10075480
|
||||
TIMESTAMP = 1465379253
|
||||
SHA256 (fet-5.29.4.tar.bz2) = 36eab10da61ade59826f274f35f57daff81c60cdc24d4d1ec25b20a7ed59af2f
|
||||
SIZE (fet-5.29.4.tar.bz2) = 10073514
|
||||
|
|
|
|||
28
deskutils/puush/Makefile
Normal file
28
deskutils/puush/Makefile
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
# Created by: Ultima <ultima1252@gmail.com>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= puush
|
||||
PORTVERSION= 0.0.1
|
||||
CATEGORIES= deskutils
|
||||
|
||||
MAINTAINER= ultima1252@gmail.com
|
||||
COMMENT= Screen capture and Puush image-bin client
|
||||
|
||||
RUN_DEPENDS= gnome-screenshot:deskutils/gnome-screenshot \
|
||||
curl:ftp/curl \
|
||||
zenity:x11/zenity \
|
||||
xclip:x11/xclip
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= ultima1252
|
||||
NO_BUILD= yes
|
||||
|
||||
PLIST_FILES= sbin/puush \
|
||||
share/icons/puush.png
|
||||
|
||||
do-install:
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/puush ${STAGEDIR}${PREFIX}/sbin/puush
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/icons
|
||||
${CP} -R ${WRKSRC}/icon.png ${STAGEDIR}${PREFIX}/share/icons/puush.png
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
deskutils/puush/distinfo
Normal file
3
deskutils/puush/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1465605222
|
||||
SHA256 (ultima1252-puush-0.0.1_GH0.tar.gz) = e550a9c7dd544d8115704b0171a6a6fb00bda9b0f5bae9c4672503369e296c10
|
||||
SIZE (ultima1252-puush-0.0.1_GH0.tar.gz) = 30846
|
||||
7
deskutils/puush/pkg-descr
Normal file
7
deskutils/puush/pkg-descr
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
Use keyboard shortcuts gestures to quickly capture any portion
|
||||
of your screen. These screenshots are near-instantly puush'd,
|
||||
leaving behind a short URL in your clipboard, perfect for sharing.
|
||||
Paste these easily into your Twitter, IRC or IM clients. Share
|
||||
them with the world or make them private, for your eyes only.
|
||||
|
||||
WWW: https://github.com/Ultima1252/puush
|
||||
|
|
@ -1206,6 +1206,7 @@
|
|||
SUBDIR += libewf
|
||||
SUBDIR += libexecinfo
|
||||
SUBDIR += libexplain
|
||||
SUBDIR += libfastjson
|
||||
SUBDIR += libffi
|
||||
SUBDIR += libfirm
|
||||
SUBDIR += libfortuna
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gsoap
|
||||
PORTVERSION= 2.8.30
|
||||
PORTVERSION= 2.8.32
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= SF/${PORTNAME}2/gSOAP
|
||||
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (gsoap_2.8.30.zip) = edd20799656471d330033d6d945e684f988b4e79e009fab6c258c83c07ce2b42
|
||||
SIZE (gsoap_2.8.30.zip) = 24060216
|
||||
TIMESTAMP = 1465733671
|
||||
SHA256 (gsoap_2.8.32.zip) = fb1d91c6b99da7981f44aeb848b54697d067b0d8905bc09b3e4d05bcf6fa3a02
|
||||
SIZE (gsoap_2.8.32.zip) = 24099759
|
||||
|
|
|
|||
|
|
@ -125,6 +125,7 @@ libdata/pkgconfig/gsoapssl.pc
|
|||
%%DATADIR%%/import/wstx.h
|
||||
%%DATADIR%%/import/wsu.h
|
||||
%%DATADIR%%/import/xenc.h
|
||||
%%DATADIR%%/import/xenc2.h
|
||||
%%DATADIR%%/import/xlink.h
|
||||
%%DATADIR%%/import/xmime.h
|
||||
%%DATADIR%%/import/xmime4.h
|
||||
|
|
|
|||
25
devel/libfastjson/Makefile
Normal file
25
devel/libfastjson/Makefile
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
# Created by: Muhammad Moinur Rahman <bofh@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libfastjson
|
||||
PORTVERSION= 0.99.2
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
COMMENT= libfastjson is a fork from json-c
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= rsyslog
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= autoreconf libtool pkgconfig
|
||||
INSTALL_TARGET= install-strip
|
||||
|
||||
post-patch:
|
||||
${REINPLACE_CMD} -e 's|$(libdir)/pkgconfig|$(libdir)data/pkgconfig|' \
|
||||
${WRKSRC}/Makefile.am
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
devel/libfastjson/distinfo
Normal file
3
devel/libfastjson/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1465730680
|
||||
SHA256 (rsyslog-libfastjson-v0.99.2_GH0.tar.gz) = fcdca0c4702362de3db3f02c8da05f985b54a9eccd618af41730409b75d10a8f
|
||||
SIZE (rsyslog-libfastjson-v0.99.2_GH0.tar.gz) = 87526
|
||||
11
devel/libfastjson/pkg-descr
Normal file
11
devel/libfastjson/pkg-descr
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
The aim of this project is not to provide a slightly modified clone of json-c.
|
||||
It's aim is to provide
|
||||
|
||||
* a small library with essential json handling functions
|
||||
* sufficiently good json support (not 100% standards compliant)
|
||||
* be very fast in processing
|
||||
|
||||
In order to reach these goals, we reduce the features of json-c. For
|
||||
similarities and differences, see the file DIFFERENCES.
|
||||
|
||||
WWW: https://github.com/rsyslog/libfastjson
|
||||
21
devel/libfastjson/pkg-plist
Normal file
21
devel/libfastjson/pkg-plist
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
include/libfastjson/arraylist.h
|
||||
include/libfastjson/bits.h
|
||||
include/libfastjson/debug.h
|
||||
include/libfastjson/json.h
|
||||
include/libfastjson/json_c_version.h
|
||||
include/libfastjson/json_config.h
|
||||
include/libfastjson/json_inttypes.h
|
||||
include/libfastjson/json_object.h
|
||||
include/libfastjson/json_object_iterator.h
|
||||
include/libfastjson/json_object_private.h
|
||||
include/libfastjson/json_tokener.h
|
||||
include/libfastjson/json_util.h
|
||||
include/libfastjson/linkhash.h
|
||||
include/libfastjson/math_compat.h
|
||||
include/libfastjson/printbuf.h
|
||||
include/libfastjson/random_seed.h
|
||||
lib/libfastjson.a
|
||||
lib/libfastjson.so
|
||||
lib/libfastjson.so.3
|
||||
lib/libfastjson.so.3.0.0
|
||||
libdata/pkgconfig/libfastjson.pc
|
||||
|
|
@ -1,7 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= liblognorm
|
||||
PORTVERSION= 1.1.3
|
||||
PORTVERSION= 1.1.4
|
||||
CATEGORIES= devel net security
|
||||
MASTER_SITES= http://www.liblognorm.com/download/files/download/
|
||||
|
||||
|
|
@ -10,7 +10,7 @@ COMMENT= Log normalizer
|
|||
|
||||
LICENSE= GPLv2
|
||||
|
||||
LIB_DEPENDS= libjson-c.so:devel/json-c \
|
||||
LIB_DEPENDS= libfastjson.so:devel/libfastjson \
|
||||
libestr.so:devel/libestr
|
||||
BUILD_DEPENDS= sphinx-build:textproc/py-sphinx
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (liblognorm-1.1.3.tar.gz) = 8e370460a152057abc577d59acbe60b7846312897e56f8f9d3e74edf9c621951
|
||||
SIZE (liblognorm-1.1.3.tar.gz) = 553372
|
||||
TIMESTAMP = 1465729870
|
||||
SHA256 (liblognorm-1.1.4.tar.gz) = 21742d134615c2e2ae68fc9fd434d64d56dc7dd30d50c209dde4768342b66b44
|
||||
SIZE (liblognorm-1.1.4.tar.gz) = 572921
|
||||
|
|
|
|||
|
|
@ -9,6 +9,6 @@ include/ptree.h
|
|||
include/samp.h
|
||||
lib/liblognorm.a
|
||||
lib/liblognorm.so
|
||||
lib/liblognorm.so.2
|
||||
lib/liblognorm.so.2.0.0
|
||||
lib/liblognorm.so.5
|
||||
lib/liblognorm.so.5.0.0
|
||||
libdata/pkgconfig/lognorm.pc
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= String-Parity
|
||||
PORTVERSION= 1.33
|
||||
PORTVERSION= 1.34
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (String-Parity-1.33.tar.gz) = d3974ac7cbd457414d35c62c93c3b5cede7869e0a14613cb752c94125cc48481
|
||||
SIZE (String-Parity-1.33.tar.gz) = 11091
|
||||
TIMESTAMP = 1465725061
|
||||
SHA256 (String-Parity-1.34.tar.gz) = c0ae3bd7a2862654ca6bc7b30c882687e9812c185fd944dfeea54a57d2a29694
|
||||
SIZE (String-Parity-1.34.tar.gz) = 11140
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= propro
|
||||
PORTVERSION= 2.0.0
|
||||
PORTVERSION= 2.0.1
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= http://pecl.php.net/get/
|
||||
PKGNAMEPREFIX= pecl-
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (propro-2.0.0.tgz) = 4ddafb46b9c5d2ff6fa5ffcd7b30e13cc293512d0fa822b06eb4e0411370149e
|
||||
SIZE (propro-2.0.0.tgz) = 13360
|
||||
TIMESTAMP = 1465725629
|
||||
SHA256 (propro-2.0.1.tgz) = ce136875650e22d28804a41a62a5325fff85318e559626d63c5b8875fb2e4529
|
||||
SIZE (propro-2.0.1.tgz) = 13399
|
||||
|
|
|
|||
|
|
@ -2,8 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= repoze.who
|
||||
PORTVERSION= 2.2
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.3
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
@ -22,5 +21,6 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (repoze.who-2.2.tar.gz) = 322629ec7c779dce4700e8f3ba531002b724d2429178c1cbb0dc169255dc9a8b
|
||||
SIZE (repoze.who-2.2.tar.gz) = 308593
|
||||
TIMESTAMP = 1465726559
|
||||
SHA256 (repoze.who-2.3.tar.gz) = b95dadc1242acc55950115a629cfb1352669774b46d22def51400ca683efea28
|
||||
SIZE (repoze.who-2.3.tar.gz) = 313128
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= Babel
|
||||
PORTVERSION= 2.1.1
|
||||
PORTVERSION= 2.3.4
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (Babel-2.1.1.tar.gz) = 7fb6d50effe88a087feb2036cb972fd7a893bf338361516f1a55a820bf7b5248
|
||||
SIZE (Babel-2.1.1.tar.gz) = 3437647
|
||||
TIMESTAMP = 1465725229
|
||||
SHA256 (Babel-2.3.4.tar.gz) = c535c4403802f6eb38173cd4863e419e2274921a01a8aad8a5b497c131c62875
|
||||
SIZE (Babel-2.3.4.tar.gz) = 6866920
|
||||
|
|
|
|||
|
|
@ -15,6 +15,8 @@
|
|||
%%PORTDOCS%%%%DOCSDIR%%/api/core.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api/dates.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api/index.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api/languages.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api/lists.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api/messages/catalog.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api/messages/extract.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api/messages/index.rst
|
||||
|
|
@ -23,10 +25,12 @@
|
|||
%%PORTDOCS%%%%DOCSDIR%%/api/numbers.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api/plural.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api/support.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/api/units.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/changelog.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/cmdline.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/conf.py
|
||||
%%PORTDOCS%%%%DOCSDIR%%/dates.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/dev.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/index.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/installation.rst
|
||||
%%PORTDOCS%%%%DOCSDIR%%/intro.rst
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pytz
|
||||
PORTVERSION= 2015.7
|
||||
PORTVERSION= 2016.4
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (pytz-2015.7.tar.bz2) = fbd26746772c24cb93c8b97cbdad5cb9e46c86bbdb1b9d8a743ee00e2fb1fc5d
|
||||
SIZE (pytz-2015.7.tar.bz2) = 156812
|
||||
TIMESTAMP = 1465721780
|
||||
SHA256 (pytz-2016.4.tar.bz2) = ee7c751544e35a7b7fb5e3fb25a49dade37d51e70a93e5107f10575d7102c311
|
||||
SIZE (pytz-2016.4.tar.bz2) = 171959
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
Tailor is a tool to migrate changesets between Aegis, ArX, Bazaar, Bazaar-NG,
|
||||
CVS, Codeville, Darcs, Git, Mercurial, Monotone, Perforce, Subversion and Tla
|
||||
repositories.
|
||||
CVS, Codeville, Darcs, Git, Mercurial, Monotone, Perforce, Subversion,
|
||||
and Tla repositories.
|
||||
|
||||
WWW: http://progetti.arstecnica.it/tailor/wiki/VersionOne
|
||||
WWW: http://BSDforge.com/projects/devel/tailor
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
|
||||
// sane values
|
||||
- to = std::min(to, pdf->getPageCount()+1);
|
||||
+ to = std::min(to, (unsigned long)(pdf->getPageCount()+1));
|
||||
+ to = std::min(to, (size_t)(pdf->getPageCount()+1));
|
||||
|
||||
// now the hard stuff comes - do this crazy loops intentionally
|
||||
for (size_t things_to_replace = 0; things_to_replace < withs.size(); ++things_to_replace)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
%%QT_BINDIR%%/plume-creator
|
||||
bin/plume-creator
|
||||
share/applications/plume-creator.desktop
|
||||
share/icons/hicolor/128x128/apps/plume-creator-backup.png
|
||||
share/icons/hicolor/128x128/apps/plume-creator.png
|
||||
|
|
|
|||
35
ftp/pavuk/files/patch-src__ntlm_auth.c
Normal file
35
ftp/pavuk/files/patch-src__ntlm_auth.c
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
--- src/ntlm_auth.c.orig 2005-10-27 16:06:37.000000000 +0200
|
||||
+++ src/ntlm_auth.c 2015-02-28 12:38:57.150120721 +0100
|
||||
@@ -249,14 +249,14 @@
|
||||
static void ntlm_des_enc(unsigned char *key, unsigned char *plaintext,
|
||||
unsigned char *result)
|
||||
{
|
||||
- des_key_schedule ks;
|
||||
+ DES_key_schedule ks;
|
||||
#ifdef OPENSSL
|
||||
- const_des_cblock _plaintext;
|
||||
+ const_DES_cblock _plaintext;
|
||||
#else
|
||||
const des_cblock _plaintext;
|
||||
#endif
|
||||
- des_cblock _result;
|
||||
- des_cblock key64;
|
||||
+ DES_cblock _result;
|
||||
+ DES_cblock key64;
|
||||
unsigned char skey[8];
|
||||
|
||||
memcpy(&_plaintext, plaintext, sizeof(_plaintext));
|
||||
@@ -265,10 +265,10 @@
|
||||
memcpy(key64, skey, 8);
|
||||
|
||||
#ifdef OPENSSL
|
||||
- des_set_odd_parity(&key64);
|
||||
- des_set_key(&key64, ks);
|
||||
+ DES_set_odd_parity(&key64);
|
||||
+ DES_set_key(&key64, &ks);
|
||||
|
||||
- des_ecb_encrypt(&_plaintext, &_result, ks, DES_ENCRYPT);
|
||||
+ DES_ecb_encrypt(&_plaintext, &_result, &ks, DES_ENCRYPT);
|
||||
#else
|
||||
des_set_odd_parity(key64);
|
||||
des_set_key(key64, ks);
|
||||
|
|
@ -2,12 +2,12 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ipe
|
||||
PORTVERSION= 7.2.2
|
||||
PORTVERSION= 7.2.3
|
||||
DISTVERSIONSUFFIX= -src
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= https://dl.bintray.com/otfried/generic/ipe/${PORTVERSION:R}/
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
COMMENT= Extensible vector graphics editor with LaTeX support
|
||||
|
||||
LICENSE= GPLv3+
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (ipe-7.2.2-src.tar.gz) = a70181492ac2d83546b5c88cb15da382b906d905ea3babe700bf98c822821d68
|
||||
SIZE (ipe-7.2.2-src.tar.gz) = 1912583
|
||||
TIMESTAMP = 1465726184
|
||||
SHA256 (ipe-7.2.3-src.tar.gz) = 4f463c4315aa894f8ae2cb3ef81bbda71f98ebbc3db7a67c16ea37a95320aa8b
|
||||
SIZE (ipe-7.2.3-src.tar.gz) = 1897577
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
--- include/ipebase.h.orig 2016-01-24 11:16:26 UTC
|
||||
+++ include/ipebase.h
|
||||
@@ -51,9 +51,9 @@
|
||||
|
||||
using uchar = unsigned char;
|
||||
|
||||
-#if defined(WIN32) || defined(__APPLE__)
|
||||
+// #if defined(WIN32) || defined(__APPLE__)
|
||||
using uint = unsigned int;
|
||||
-#endif
|
||||
+// #endif
|
||||
|
||||
#ifdef WIN32
|
||||
#define IPESEP ('\\')
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
%%QT_BINDIR%%/luminance-hdr
|
||||
%%QT_BINDIR%%/luminance-hdr-cli
|
||||
bin/luminance-hdr
|
||||
bin/luminance-hdr-cli
|
||||
share/applications/luminance-hdr.desktop
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/Changelog
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= checkstyle
|
||||
PORTVERSION= 6.3
|
||||
PORTVERSION= 6.19
|
||||
CATEGORIES= java devel
|
||||
MASTER_SITES= SF
|
||||
PKGNAMEPREFIX= java-
|
||||
|
|
@ -29,6 +29,7 @@ PORTEXAMPLES= *
|
|||
SUB_FILES= ${PORTNAME}.sh
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
NO_ARCH= yes
|
||||
|
||||
do-install:
|
||||
@-${MKDIR} ${STAGEDIR}${JAVAJARDIR}
|
||||
|
|
@ -36,13 +37,16 @@ do-install:
|
|||
${STAGEDIR}${JAVAJARDIR}/${PORTNAME}.jar
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh \
|
||||
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
do-install-DOCS-on:
|
||||
@-${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} LICENSE* RIGHTS.antlr \
|
||||
${STAGEDIR}${DOCSDIR})
|
||||
|
||||
do-install-EXAMPLES-on:
|
||||
@-${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
.for EXAMPLEFILE in checkstyle_checks import-control suppressions
|
||||
${INSTALL_DATA} ${WRKSRC}/${EXAMPLEFILE}.xml ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/config/${EXAMPLEFILE}.xml ${STAGEDIR}${EXAMPLESDIR}
|
||||
.endfor
|
||||
(cd ${WRKSRC} && ${COPYTREE_SHARE} contrib ${STAGEDIR}${EXAMPLESDIR})
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (checkstyle-6.3-bin.tar.gz) = c40d0ddc0b0fe55ecb1c49a080982b4a1c59bebcebf8d7c2d52d39dfbda93ca0
|
||||
SIZE (checkstyle-6.3-bin.tar.gz) = 8024850
|
||||
TIMESTAMP = 1465721409
|
||||
SHA256 (checkstyle-6.19-bin.tar.gz) = 697299d18c05d1848e0b9d72b4006e0b5158b60328c6c7cf869e57e54b4c0975
|
||||
SIZE (checkstyle-6.19-bin.tar.gz) = 9243989
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= openjdk
|
||||
PORTVERSION= ${JDK_MAJOR_VERSION}.${JDK_UPDATE_VERSION}.${JDK_BUILD_NUMBER:S/^0//}
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= java devel
|
||||
MASTER_SITES= http://download.java.net/openjdk/jdk${JDK_MAJOR_VERSION}/promoted/b${DIST_BUILD_NUMBER}/:jdk \
|
||||
https://adopt-openjdk.ci.cloudbees.com/job/jtreg/${JTREG_JENKINS_BUILD}/artifact/:jtreg \
|
||||
|
|
|
|||
|
|
@ -0,0 +1,14 @@
|
|||
--- hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp.orig 2016-05-20 12:24:21.966092000 +0100
|
||||
+++ hotspot/src/os_cpu/bsd_x86/vm/os_bsd_x86.cpp 2016-05-20 12:46:40.522912000 +0100
|
||||
@@ -594,7 +596,11 @@
|
||||
stub = SharedRuntime::continuation_for_implicit_exception(thread, pc, SharedRuntime::IMPLICIT_NULL);
|
||||
}
|
||||
} else if (thread->thread_state() == _thread_in_vm &&
|
||||
+#ifdef __FreeBSD__
|
||||
+ (sig == SIGBUS || sig == SIGSEGV) &&
|
||||
+#else
|
||||
sig == SIGBUS && /* info->si_code == BUS_OBJERR && */
|
||||
+#endif
|
||||
thread->doing_unsafe_access()) {
|
||||
stub = StubRoutines::handler_for_unsafe_access();
|
||||
}
|
||||
|
|
@ -0,0 +1,85 @@
|
|||
--- ./jdk/src/solaris/native/java/net/bsd_close.c Fri Apr 15 03:53:39 2016 +0100
|
||||
+++ ./jdk/src/solaris/native/java/net/bsd_close.c Sun May 01 21:26:40 2016 -0700
|
||||
@@ -345,6 +345,76 @@
|
||||
* signal other than our wakeup signal.
|
||||
*/
|
||||
int NET_Timeout(int s, long timeout) {
|
||||
+/*
|
||||
+ * On MacOS X, poll(2) is not working correctly, so a select(2) based
|
||||
+ * implementation is preferred. See
|
||||
+ *
|
||||
+ * http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7131399
|
||||
+ *
|
||||
+ * However, on FreeBSD, the select(2) based implementation can cause
|
||||
+ * crashes under load and poll(2) is preferred. See
|
||||
+ *
|
||||
+ * http://docs.freebsd.org/cgi/getmsg.cgi?fetch=215525+0+current/freebsd-java
|
||||
+ *
|
||||
+ * Other *BSD will use poll(2) for now, but please adjust as appropriate.
|
||||
+ */
|
||||
+#ifndef __APPLE__
|
||||
+ long prevtime = 0, newtime;
|
||||
+ struct timeval t;
|
||||
+ fdEntry_t *fdEntry = getFdEntry(s);
|
||||
+
|
||||
+ /*
|
||||
+ * Check that fd hasn't been closed.
|
||||
+ */
|
||||
+ if (fdEntry == NULL) {
|
||||
+ errno = EBADF;
|
||||
+ return -1;
|
||||
+ }
|
||||
+
|
||||
+ /*
|
||||
+ * Pick up current time as may need to adjust timeout
|
||||
+ */
|
||||
+ if (timeout > 0) {
|
||||
+ gettimeofday(&t, NULL);
|
||||
+ prevtime = t.tv_sec * 1000 + t.tv_usec / 1000;
|
||||
+ }
|
||||
+
|
||||
+ for(;;) {
|
||||
+ struct pollfd pfd;
|
||||
+ int rv;
|
||||
+ threadEntry_t self;
|
||||
+
|
||||
+ /*
|
||||
+ * Poll the fd. If interrupted by our wakeup signal
|
||||
+ * errno will be set to EBADF.
|
||||
+ */
|
||||
+ pfd.fd = s;
|
||||
+ pfd.events = POLLIN | POLLERR;
|
||||
+
|
||||
+ startOp(fdEntry, &self);
|
||||
+ rv = poll(&pfd, 1, timeout);
|
||||
+ endOp(fdEntry, &self);
|
||||
+
|
||||
+ /*
|
||||
+ * If interrupted then adjust timeout. If timeout
|
||||
+ * has expired return 0 (indicating timeout expired).
|
||||
+ */
|
||||
+ if (rv < 0 && errno == EINTR) {
|
||||
+ if (timeout > 0) {
|
||||
+ gettimeofday(&t, NULL);
|
||||
+ newtime = t.tv_sec * 1000 + t.tv_usec / 1000;
|
||||
+ timeout -= newtime - prevtime;
|
||||
+ if (timeout <= 0) {
|
||||
+ return 0;
|
||||
+ }
|
||||
+ prevtime = newtime;
|
||||
+ }
|
||||
+ } else {
|
||||
+ return rv;
|
||||
+ }
|
||||
+
|
||||
+ }
|
||||
+#else
|
||||
long prevtime = 0, newtime;
|
||||
struct timeval t, *tp = &t;
|
||||
fd_set fds;
|
||||
@@ -431,4 +501,5 @@
|
||||
}
|
||||
|
||||
}
|
||||
+#endif
|
||||
}
|
||||
|
|
@ -1,18 +0,0 @@
|
|||
--- UTC
|
||||
--- gcc/config.gcc.orig 2016-05-25 22:53:15.930993000 +0200
|
||||
+++ gcc/config.gcc 2016-05-25 22:54:06.087115000 +0200
|
||||
@@ -1026,11 +1026,9 @@
|
||||
case $target in
|
||||
armv6*-*-freebsd*)
|
||||
tm_defines="${tm_defines} TARGET_FREEBSD_ARMv6=1"
|
||||
- ;;
|
||||
- esac
|
||||
- case $target in
|
||||
- arm*hf-*-freebsd*)
|
||||
- tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
|
||||
+ if test $fbsd_major -ge 11; then
|
||||
+ tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
|
||||
+ fi
|
||||
;;
|
||||
esac
|
||||
with_tls=${with_tls:-gnu}
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= postfix
|
||||
DISTVERSION= 3.2-20160527
|
||||
DISTVERSION= 3.2-20160612
|
||||
PORTEPOCH= 4
|
||||
CATEGORIES= mail ipv6
|
||||
MASTER_SITES= ftp://ftp.porcupine.org/mirrors/postfix-release/ \
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1464520135
|
||||
SHA256 (postfix/postfix-3.2-20160527.tar.gz) = 879c9e93ffa5779cf9846773d4a7866f8e0464ec1275c0a3630890792fb77ac1
|
||||
SIZE (postfix/postfix-3.2-20160527.tar.gz) = 4339037
|
||||
TIMESTAMP = 1465744385
|
||||
SHA256 (postfix/postfix-3.2-20160612.tar.gz) = d7a64b6166befe9a0a705144283eec9ea055bb4cba67a5704bfb1a4048b3860c
|
||||
SIZE (postfix/postfix-3.2-20160612.tar.gz) = 4366596
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
--- src/util/sys_defs.h.orig 2014-12-25 22:33:02 UTC
|
||||
--- src/util/sys_defs.h.orig 2016-05-15 15:20:14 UTC
|
||||
+++ src/util/sys_defs.h
|
||||
@@ -26,6 +26,7 @@
|
||||
@@ -27,6 +27,7 @@
|
||||
#if defined(FREEBSD2) || defined(FREEBSD3) || defined(FREEBSD4) \
|
||||
|| defined(FREEBSD5) || defined(FREEBSD6) || defined(FREEBSD7) \
|
||||
|| defined(FREEBSD8) || defined(FREEBSD9) || defined(FREEBSD10) \
|
||||
+ || defined(FREEBSD11) \
|
||||
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|
||||
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
|
||||
|| defined(OPENBSD5) \
|
||||
|| defined(OPENBSD5) || defined(OPENBSD6) \
|
||||
|
|
|
|||
14
mail/postfix-current/files/patch-src_tls_tls.h
Normal file
14
mail/postfix-current/files/patch-src_tls_tls.h
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
# fix build against LibreSSL
|
||||
# Obtained from: http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/mail/postfix/stable/patches/
|
||||
#
|
||||
--- src/tls/tls.h.orig 2016-02-06 20:09:41 UTC
|
||||
+++ src/tls/tls.h
|
||||
@@ -89,7 +89,7 @@ extern const char *str_tls_level(int);
|
||||
#endif
|
||||
|
||||
/* Backwards compatibility with OpenSSL < 1.1.0 */
|
||||
-#if OPENSSL_VERSION_NUMBER < 0x10100000L
|
||||
+#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
|
||||
#define OpenSSL_version_num SSLeay
|
||||
#define OpenSSL_version SSLeay_version
|
||||
#define OPENSSL_VERSION SSLEAY_VERSION
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= spamd
|
||||
PORTVERSION= 4.9.1
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= SF/freebsdspamd/spamd
|
||||
|
||||
|
|
@ -13,6 +13,7 @@ COMMENT= Traps spammers with a very slow smtp-login and return 4xx error
|
|||
LICENSE= BSD2CLAUSE
|
||||
|
||||
USE_RC_SUBR?= obspamd obspamlogd
|
||||
USE_OPENSSL= yes
|
||||
|
||||
USERS= _spamd
|
||||
GROUPS= _spamd
|
||||
|
|
@ -29,7 +30,7 @@ PLIST_FILES= %%ETCDIR%%/spamd.conf.sample \
|
|||
man/man8/spamdb.8.gz \
|
||||
man/man8/spamlogd.8.gz
|
||||
|
||||
PLIST_SUB= SPAMDUSER=${USERS} \
|
||||
SUB_LIST= SPAMDUSER=${USERS} \
|
||||
SPAMDGROUP=${GROUPS}
|
||||
|
||||
# If you are a CPANEL user the this option is for you!
|
||||
|
|
@ -39,21 +40,21 @@ PLIST_SUB= SPAMDUSER=${USERS} \
|
|||
# be adjusted. Man page and pid file will not be renamed!
|
||||
.if !defined(CPANEL)
|
||||
PLIST_FILES+= libexec/spamd
|
||||
PLIST_SUB+= SPAMDBIN=spamd
|
||||
SUB_LIST+= SPAMDBIN=spamd
|
||||
.else
|
||||
PLIST_FILES+= libexec/obspamd
|
||||
PLIST_SUB+= SPAMDBIN=obspamd
|
||||
SUB_LIST+= SPAMDBIN=obspamd
|
||||
.endif
|
||||
|
||||
SUB_FILES= pkg-install \
|
||||
pkg-message
|
||||
|
||||
SUB_LIST= PREFIX=${PREFIX} \
|
||||
${PLIST_SUB}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
CFLAGS+= -I${OPENSSLINC}
|
||||
LDFLAGS+= -L${OPENSSLLIB}
|
||||
|
||||
do-install:
|
||||
.if !defined(CPANEL)
|
||||
|
|
@ -69,10 +70,10 @@ do-install:
|
|||
${INSTALL_MAN} ${WRKSRC}/spamd-setup/spamd-setup.8 ${STAGEDIR}${PREFIX}/man/man8
|
||||
${INSTALL_MAN} ${WRKSRC}/spamdb/spamdb.8 ${STAGEDIR}${PREFIX}/man/man8
|
||||
${INSTALL_MAN} ${WRKSRC}/spamlogd/spamlogd.8 ${STAGEDIR}${PREFIX}/man/man8
|
||||
${INSTALL} -d ${STAGEDIR}${ETCDIR}
|
||||
@${MKDIR} ${STAGEDIR}${ETCDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/etc/spamd.conf ${STAGEDIR}${ETCDIR}/spamd.conf.sample
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}/
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= octave-forge-generate_html
|
||||
PORTVERSION= 0.1.10
|
||||
PORTVERSION= 0.1.11
|
||||
CATEGORIES= math
|
||||
|
||||
MAINTAINER= stephen@FreeBSD.org
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (octave-forge/generate_html-0.1.10.tar.gz) = a13fc0165050c585b5ed20c27dcb4d27feb7c6a0d7f286e5f6b7168e051ba929
|
||||
SIZE (octave-forge/generate_html-0.1.10.tar.gz) = 29942
|
||||
TIMESTAMP = 1465745012
|
||||
SHA256 (octave-forge/generate_html-0.1.11.tar.gz) = 1a1c6d2ceaff7ef21701f4774e12fb3add5be5c15ceaa5b3abf532d64816aba7
|
||||
SIZE (octave-forge/generate_html-0.1.11.tar.gz) = 30506
|
||||
|
|
|
|||
|
|
@ -2,21 +2,18 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= why3
|
||||
PORTVERSION= 2015
|
||||
PORTVERSION= 2016
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://downloads.dragonlace.net/src/ \
|
||||
LOCAL/marino
|
||||
MASTER_SITES= http://downloads.dragonlace.net/src/
|
||||
PKGNAMESUFFIX= -spark
|
||||
DISTNAME= why3-for-spark-gpl-${PORTVERSION}-src
|
||||
|
||||
MAINTAINER= marino@FreeBSD.org
|
||||
COMMENT= Component of SPARK 2015
|
||||
COMMENT= Component of SPARK ${PORTVERSION}
|
||||
|
||||
LICENSE= LGPL21 GPLv3
|
||||
LICENSE_COMB= multi
|
||||
|
||||
BROKEN= broken by recent updated to an ocaml dependency
|
||||
|
||||
BUILD_DEPENDS= menhir:devel/menhir \
|
||||
ocaml-zip>1:archivers/ocaml-zip \
|
||||
ocaml-zarith>1.2:math/ocaml-zarith \
|
||||
|
|
@ -24,9 +21,12 @@ BUILD_DEPENDS= menhir:devel/menhir \
|
|||
ocaml-sqlite3>2:databases/ocaml-sqlite3 \
|
||||
ocaml-ocamlgraph>1.8:math/ocaml-ocamlgraph \
|
||||
camlp5o:devel/ocaml-camlp5
|
||||
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
|
||||
libfreetype.so:print/freetype2
|
||||
|
||||
USES= gmake
|
||||
USES= gmake gettext
|
||||
USE_OCAML= yes
|
||||
USE_GNOME= gtk20 pango atk cairo gdkpixbuf2 glib20 gtksourceview2
|
||||
ALL_TARGET= all
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-all
|
||||
|
|
@ -45,6 +45,13 @@ post-patch:
|
|||
@${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|g' \
|
||||
${WRKSRC}/src/util/sysutil.ml
|
||||
@${REINPLACE_CMD} -e '/cp -f share\/Make/d' \
|
||||
-e 's|why3.el|why3-mode.el|' ${WRKSRC}/Makefile.in
|
||||
${WRKSRC}/Makefile.in
|
||||
|
||||
post-install:
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*why3
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/why3/why3server
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/why3/why3cpulimit
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/why3/commands/why3*
|
||||
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/why3/plugins/*.cmxs
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (why3-for-spark-gpl-2015-src.tar.gz) = 90faf6001e4a9d9ccb7c913df8a2316bef004aaf9546a9a5ff6b08c28ff74ede
|
||||
SIZE (why3-for-spark-gpl-2015-src.tar.gz) = 6880072
|
||||
TIMESTAMP = 1465729881
|
||||
SHA256 (why3-for-spark-gpl-2016-src.tar.gz) = 09e1161d7ff4a1974ff22a2e09d4ceb2ab125d6de4863c13371e212e0e50b19c
|
||||
SIZE (why3-for-spark-gpl-2016-src.tar.gz) = 8740369
|
||||
|
|
|
|||
|
|
@ -1,26 +0,0 @@
|
|||
--- Makefile.in.orig 2015-06-26 21:21:27 UTC
|
||||
+++ Makefile.in
|
||||
@@ -45,7 +45,6 @@ OCAMLLIB = @OCAMLLIB@
|
||||
OCAMLINSTALLLIB = $(DESTDIR)@OCAMLINSTALLLIB@
|
||||
OCAMLBEST = @OCAMLBEST@
|
||||
OCAMLVERSION = @OCAMLVERSION@
|
||||
-CC = gcc
|
||||
COQC = @COQC@
|
||||
COQDEP = @COQDEP@
|
||||
CAMLP5O = @CAMLP5O@
|
||||
@@ -638,12 +637,12 @@ SERVER_O:= $(addprefix src/tools/, $(add
|
||||
opt: bin/why3server$(EXE)
|
||||
|
||||
bin/why3server$(EXE): $(SERVER_O)
|
||||
- gcc -o $@ $^
|
||||
+ $(CC) -o $@ $^
|
||||
|
||||
%.o: %.c %.h
|
||||
- gcc -c -Wall -g -o $@ $<
|
||||
+ $(CC) -c -Wall -g -o $@ $<
|
||||
%.o: %.c
|
||||
- gcc -c -Wall -g -o $@ $<
|
||||
+ $(CC) -c -Wall -g -o $@ $<
|
||||
|
||||
src/tools/main.o:: src/tools/server-unix.c src/tools/server-win.c
|
||||
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
--- src/tools/cpulimit.c.orig 2015-05-06 10:55:30 UTC
|
||||
+++ src/tools/cpulimit.c
|
||||
@@ -19,6 +19,7 @@
|
||||
#include <unistd.h>
|
||||
#include <signal.h>
|
||||
#include <errno.h>
|
||||
+#include <signal.h>
|
||||
#include <string.h>
|
||||
#include <sys/wait.h>
|
||||
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
This is a component of SPARK 2014. Those looking for the deductive
|
||||
This is a component of SPARK 2016. Those looking for the deductive
|
||||
program verification platform known as why3 should refer to math/why3
|
||||
instead.
|
||||
|
||||
WWW: https://forge.open-do.org/projects/spark2014
|
||||
WWW: http://www.spark-2014.org/
|
||||
|
|
|
|||
|
|
@ -1,7 +1,5 @@
|
|||
bin/gnatwhy3
|
||||
bin/why3
|
||||
bin/why3-cpulimit
|
||||
bin/why3server
|
||||
%%OCAML_SITELIBDIR%%/why3/META
|
||||
%%OCAML_SITELIBDIR%%/why3/why3.a
|
||||
%%OCAML_SITELIBDIR%%/why3/why3.cmi
|
||||
|
|
@ -26,11 +24,11 @@ lib/why3/plugins/genequlin.cmxs
|
|||
lib/why3/plugins/hypothesis_selection.cmxs
|
||||
lib/why3/plugins/tptp.cmxs
|
||||
lib/why3/why3-call-pvs
|
||||
lib/why3/why3cpulimit
|
||||
lib/why3/why3server
|
||||
share/emacs/site-lisp/why3.el
|
||||
%%DATADIR%%/LICENSE
|
||||
%%DATADIR%%/drivers/alt_ergo.drv
|
||||
%%DATADIR%%/drivers/alt_ergo_0.93.drv
|
||||
%%DATADIR%%/drivers/alt_ergo_0.94.drv
|
||||
%%DATADIR%%/drivers/alt_ergo_common.drv
|
||||
%%DATADIR%%/drivers/alt_ergo_model.drv
|
||||
%%DATADIR%%/drivers/alt_ergo_smt2.drv
|
||||
|
|
@ -38,39 +36,48 @@ share/emacs/site-lisp/why3.el
|
|||
%%DATADIR%%/drivers/coq-common.gen
|
||||
%%DATADIR%%/drivers/coq-realizations.aux
|
||||
%%DATADIR%%/drivers/coq-realize.drv
|
||||
%%DATADIR%%/drivers/coq-ssreflect.drv
|
||||
%%DATADIR%%/drivers/coq.drv
|
||||
%%DATADIR%%/drivers/cvc3.drv
|
||||
%%DATADIR%%/drivers/cvc3_bare.drv
|
||||
%%DATADIR%%/drivers/cvc4-realize.drv
|
||||
%%DATADIR%%/drivers/cvc4.drv
|
||||
%%DATADIR%%/drivers/cvc4_14.drv
|
||||
%%DATADIR%%/drivers/cvc4_15.drv
|
||||
%%DATADIR%%/drivers/cvc4_bare.drv
|
||||
%%DATADIR%%/drivers/cvc4_bv.gen
|
||||
%%DATADIR%%/drivers/cvc4_gnatprove.drv
|
||||
%%DATADIR%%/drivers/cvc4_gnatprove_ce.drv
|
||||
%%DATADIR%%/drivers/discrimination.gen
|
||||
%%DATADIR%%/drivers/eprover.drv
|
||||
%%DATADIR%%/drivers/gappa.drv
|
||||
%%DATADIR%%/drivers/iprover.drv
|
||||
%%DATADIR%%/drivers/isabelle-2015.gen
|
||||
%%DATADIR%%/drivers/isabelle-2016.gen
|
||||
%%DATADIR%%/drivers/isabelle-common.gen
|
||||
%%DATADIR%%/drivers/isabelle-realizations.aux
|
||||
%%DATADIR%%/drivers/isabelle-realize.drv
|
||||
%%DATADIR%%/drivers/isabelle.drv
|
||||
%%DATADIR%%/drivers/isabelle2015-realize.drv
|
||||
%%DATADIR%%/drivers/isabelle2015.drv
|
||||
%%DATADIR%%/drivers/isabelle2016-realize.drv
|
||||
%%DATADIR%%/drivers/isabelle2016.drv
|
||||
%%DATADIR%%/drivers/mathematica.drv
|
||||
%%DATADIR%%/drivers/mathsat.drv
|
||||
%%DATADIR%%/drivers/metis.drv
|
||||
%%DATADIR%%/drivers/metitarski.drv
|
||||
%%DATADIR%%/drivers/no-bv.gen
|
||||
%%DATADIR%%/drivers/ocaml-gen.drv
|
||||
%%DATADIR%%/drivers/ocaml-no-arith.drv
|
||||
%%DATADIR%%/drivers/ocaml-unsafe-int.drv
|
||||
%%DATADIR%%/drivers/ocaml32.drv
|
||||
%%DATADIR%%/drivers/ocaml64.drv
|
||||
%%DATADIR%%/drivers/polypaver.drv
|
||||
%%DATADIR%%/drivers/princess.drv
|
||||
%%DATADIR%%/drivers/psyche.drv
|
||||
%%DATADIR%%/drivers/pvs-common.gen
|
||||
%%DATADIR%%/drivers/pvs-realizations.aux
|
||||
%%DATADIR%%/drivers/pvs-realize.drv
|
||||
%%DATADIR%%/drivers/pvs.drv
|
||||
%%DATADIR%%/drivers/safeprover.drv
|
||||
%%DATADIR%%/drivers/simplify.drv
|
||||
%%DATADIR%%/drivers/smt-libv2-bv-realization.gen
|
||||
%%DATADIR%%/drivers/smt-libv2-bv.gen
|
||||
%%DATADIR%%/drivers/smt-libv2.drv
|
||||
%%DATADIR%%/drivers/spass.drv
|
||||
|
|
@ -85,44 +92,15 @@ share/emacs/site-lisp/why3.el
|
|||
%%DATADIR%%/drivers/why3_tptp.drv
|
||||
%%DATADIR%%/drivers/yices-smt2.drv
|
||||
%%DATADIR%%/drivers/yices.drv
|
||||
%%DATADIR%%/drivers/yices_bare.drv
|
||||
%%DATADIR%%/drivers/z3-realize.drv
|
||||
%%DATADIR%%/drivers/z3.drv
|
||||
%%DATADIR%%/drivers/z3_432.drv
|
||||
%%DATADIR%%/drivers/z3_440.drv
|
||||
%%DATADIR%%/drivers/z3_gnatprove.drv
|
||||
%%DATADIR%%/drivers/z3_smtv1.drv
|
||||
%%DATADIR%%/drivers/zenon.drv
|
||||
%%DATADIR%%/images/boomy/accept32.png
|
||||
%%DATADIR%%/images/boomy/bug32.png
|
||||
%%DATADIR%%/images/boomy/clock32.png
|
||||
%%DATADIR%%/images/boomy/configure16.png
|
||||
%%DATADIR%%/images/boomy/configure32.png
|
||||
%%DATADIR%%/images/boomy/cut32.png
|
||||
%%DATADIR%%/images/boomy/cutb32.png
|
||||
%%DATADIR%%/images/boomy/delete32.png
|
||||
%%DATADIR%%/images/boomy/deletefile32.png
|
||||
%%DATADIR%%/images/boomy/edit32.png
|
||||
%%DATADIR%%/images/boomy/file16.png
|
||||
%%DATADIR%%/images/boomy/file32.png
|
||||
%%DATADIR%%/images/boomy/folder16.png
|
||||
%%DATADIR%%/images/boomy/folder32.png
|
||||
%%DATADIR%%/images/boomy/help32.png
|
||||
%%DATADIR%%/images/boomy/license.txt
|
||||
%%DATADIR%%/images/boomy/movefile32.png
|
||||
%%DATADIR%%/images/boomy/obsaccept32.png
|
||||
%%DATADIR%%/images/boomy/obsbug32.png
|
||||
%%DATADIR%%/images/boomy/obsclock32.png
|
||||
%%DATADIR%%/images/boomy/obsdelete32.png
|
||||
%%DATADIR%%/images/boomy/obsdeletefile32.png
|
||||
%%DATADIR%%/images/boomy/obshelp32.png
|
||||
%%DATADIR%%/images/boomy/pause32.png
|
||||
%%DATADIR%%/images/boomy/pausehalf32.png
|
||||
%%DATADIR%%/images/boomy/play32.png
|
||||
%%DATADIR%%/images/boomy/refresh32.png
|
||||
%%DATADIR%%/images/boomy/stop32.png
|
||||
%%DATADIR%%/images/boomy/transformation32.png
|
||||
%%DATADIR%%/images/boomy/trashb32.png
|
||||
%%DATADIR%%/images/boomy/undone32.png
|
||||
%%DATADIR%%/images/boomy/wizard16.png
|
||||
%%DATADIR%%/images/boomy/wizard32.png
|
||||
%%DATADIR%%/drivers/zenon_modulo.drv
|
||||
%%DATADIR%%/images/fatcow.rc
|
||||
%%DATADIR%%/images/fatcow/accept.png
|
||||
%%DATADIR%%/images/fatcow/bin.png
|
||||
%%DATADIR%%/images/fatcow/bomb.png
|
||||
|
|
@ -150,24 +128,16 @@ share/emacs/site-lisp/why3.el
|
|||
%%DATADIR%%/images/fatcow/time_delete.png
|
||||
%%DATADIR%%/images/fatcow/timeline.png
|
||||
%%DATADIR%%/images/fatcow/update.png
|
||||
%%DATADIR%%/images/icons.rc
|
||||
%%DATADIR%%/images/logo-why.png
|
||||
%%DATADIR%%/javascript/jquery.js
|
||||
%%DATADIR%%/javascript/jquery.jstree.js
|
||||
%%DATADIR%%/javascript/session.css
|
||||
%%DATADIR%%/javascript/session.js
|
||||
%%DATADIR%%/javascript/themes/default/d.gif
|
||||
%%DATADIR%%/javascript/themes/default/d.png
|
||||
%%DATADIR%%/javascript/themes/default/style.css
|
||||
%%DATADIR%%/javascript/themes/default/throbber.gif
|
||||
%%DATADIR%%/lang/why3.lang
|
||||
%%DATADIR%%/modules/array.mlw
|
||||
%%DATADIR%%/modules/bv.mlw
|
||||
%%DATADIR%%/modules/hashtbl.mlw
|
||||
%%DATADIR%%/modules/impset.mlw
|
||||
%%DATADIR%%/modules/io.mlw
|
||||
%%DATADIR%%/modules/mach/array.mlw
|
||||
%%DATADIR%%/modules/mach/bv.mlw
|
||||
%%DATADIR%%/modules/mach/int.mlw
|
||||
%%DATADIR%%/modules/mach/matrix.mlw
|
||||
%%DATADIR%%/modules/mach/onetime.mlw
|
||||
%%DATADIR%%/modules/mach/peano.mlw
|
||||
%%DATADIR%%/modules/matrix.mlw
|
||||
|
|
@ -183,6 +153,7 @@ share/emacs/site-lisp/why3.el
|
|||
%%DATADIR%%/theories/bag.why
|
||||
%%DATADIR%%/theories/bintree.why
|
||||
%%DATADIR%%/theories/bool.why
|
||||
%%DATADIR%%/theories/bv.why
|
||||
%%DATADIR%%/theories/floating_point.why
|
||||
%%DATADIR%%/theories/function.why
|
||||
%%DATADIR%%/theories/graph.why
|
||||
|
|
|
|||
|
|
@ -2,12 +2,11 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= assimp
|
||||
PORTVERSION= 3.1.1
|
||||
DISTVERSIONSUFFIX= _no_test_models
|
||||
PORTVERSION= 3.2
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-3.1
|
||||
|
||||
MAINTAINER= yuri@tsoft.com
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Library to import various 3D model formats in a uniform manner
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
|
@ -15,13 +14,12 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
|||
|
||||
BROKEN_powerpc64= Does not build
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
USES= cmake pkgconfig zip
|
||||
USES= cmake pkgconfig
|
||||
USE_GITHUB= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
# CMAKE_ARGS instructs cmake to skip runtime path removal during install
|
||||
CMAKE_ARGS+= "-DCMAKE_SKIP_RPATH=ON"
|
||||
CMAKE_ARGS+= -DCMAKE_SKIP_RPATH:BOOL=ON -DASSIMP_BUILD_TESTS:BOOL=OFF
|
||||
|
||||
OPTIONS_DEFINE= BOOST
|
||||
OPTIONS_DEFAULT= BOOST
|
||||
|
|
@ -35,8 +33,11 @@ BOOST_CMAKE_ON= -DASSIMP_ENABLE_BOOST_WORKAROUND:BOOL=OFF
|
|||
USE_GCC= yes
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's|$${ASSIMP_LIB_INSTALL_DIR}/pkgconfig|libdata/pkgconfig|' \
|
||||
post-patch: .SILENT
|
||||
${REINPLACE_CMD} -e '/zzip-zlib-config/d' \
|
||||
${WRKSRC}/cmake-modules/FindZLIB.cmake
|
||||
${REINPLACE_CMD} -e '/working branch$$/,/^)/d ; /minizip/d ; \
|
||||
s|$${ASSIMP_LIB_INSTALL_DIR}/pkgconfig|libdata/pkgconfig|' \
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (assimp-3.1.1_no_test_models.zip) = da9827876f10a8b447270368753392cfd502e70a2e9d1361554e5dfcb1fede9e
|
||||
SIZE (assimp-3.1.1_no_test_models.zip) = 6626442
|
||||
SHA256 (assimp-assimp-v3.2_GH0.tar.gz) = 187f825c563e84b1b17527a4da0351aa3d575dfd696a9d204ae4bb19ee7df94a
|
||||
SIZE (assimp-assimp-v3.2_GH0.tar.gz) = 33756081
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
--- CMakeLists.txt.orig 2014-06-14 15:00:10 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -153,7 +153,6 @@ INCLUDE_DIRECTORIES(${ZLIB_INCLUDE_DIR})
|
||||
|
||||
# Search for unzip
|
||||
if (PKG_CONFIG_FOUND)
|
||||
- PKG_CHECK_MODULES(UNZIP minizip)
|
||||
endif (PKG_CONFIG_FOUND)
|
||||
|
||||
IF ( ASSIMP_NO_EXPORT )
|
||||
457
multimedia/assimp/files/patch-include_assimp_Compiler_pstdint.h
Normal file
457
multimedia/assimp/files/patch-include_assimp_Compiler_pstdint.h
Normal file
|
|
@ -0,0 +1,457 @@
|
|||
# Origin: http://www.azillionmonkeys.com/qed/pstdint.h
|
||||
# Subject: Update pstdint.h to version 0.1.15.4
|
||||
|
||||
--- include/assimp/Compiler/pstdint.h.orig 2015-11-03 18:47:37 UTC
|
||||
+++ include/assimp/Compiler/pstdint.h
|
||||
@@ -3,7 +3,7 @@
|
||||
* BSD License:
|
||||
****************************************************************************
|
||||
*
|
||||
- * Copyright (c) 2005-2007 Paul Hsieh
|
||||
+ * Copyright (c) 2005-2016 Paul Hsieh
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@@ -31,7 +31,7 @@
|
||||
*
|
||||
****************************************************************************
|
||||
*
|
||||
- * Version 0.1.10
|
||||
+ * Version 0.1.15.4
|
||||
*
|
||||
* The ANSI C standard committee, for the C99 standard, specified the
|
||||
* inclusion of a new standard include file called stdint.h. This is
|
||||
@@ -42,19 +42,17 @@
|
||||
* integer libraries and so on. But for most developers its likely
|
||||
* useful just for programming sanity.
|
||||
*
|
||||
- * The problem is that most compiler vendors have decided not to
|
||||
- * implement the C99 standard, and the next C++ language standard
|
||||
- * (which has a lot more mindshare these days) will be a long time in
|
||||
- * coming and its unknown whether or not it will include stdint.h or
|
||||
- * how much adoption it will have. Either way, it will be a long time
|
||||
- * before all compilers come with a stdint.h and it also does nothing
|
||||
- * for the extremely large number of compilers available today which
|
||||
- * do not include this file, or anything comparable to it.
|
||||
+ * The problem is that some compiler vendors chose to ignore the C99
|
||||
+ * standard and some older compilers have no opportunity to be updated.
|
||||
+ * Because of this situation, simply including stdint.h in your code
|
||||
+ * makes it unportable.
|
||||
*
|
||||
* So that's what this file is all about. Its an attempt to build a
|
||||
* single universal include file that works on as many platforms as
|
||||
- * possible to deliver what stdint.h is supposed to. A few things
|
||||
- * that should be noted about this file:
|
||||
+ * possible to deliver what stdint.h is supposed to. Even compilers
|
||||
+ * that already come with stdint.h can use this file instead without
|
||||
+ * any loss of functionality. A few things that should be noted about
|
||||
+ * this file:
|
||||
*
|
||||
* 1) It is not guaranteed to be portable and/or present an identical
|
||||
* interface on all platforms. The extreme variability of the
|
||||
@@ -73,7 +71,7 @@
|
||||
* include stdint.h. The hope is that one or the other can be
|
||||
* used with no real difference.
|
||||
*
|
||||
- * 5) In the current verison, if your platform can't represent
|
||||
+ * 5) In the current version, if your platform can't represent
|
||||
* int32_t, int16_t and int8_t, it just dumps out with a compiler
|
||||
* error.
|
||||
*
|
||||
@@ -154,7 +152,12 @@
|
||||
* PRINTF_INT64_DEC_WIDTH
|
||||
* PRINTF_INT32_DEC_WIDTH
|
||||
* PRINTF_INT16_DEC_WIDTH
|
||||
- * PRINTF_INT8_DEC_WIDTH
|
||||
+ * PRINTF_UINT8_DEC_WIDTH
|
||||
+ * PRINTF_UINTMAX_DEC_WIDTH
|
||||
+ * PRINTF_UINT64_DEC_WIDTH
|
||||
+ * PRINTF_UINT32_DEC_WIDTH
|
||||
+ * PRINTF_UINT16_DEC_WIDTH
|
||||
+ * PRINTF_UINT8_DEC_WIDTH
|
||||
*
|
||||
* Which specifies the maximum number of characters required to
|
||||
* print the number of that type in either hexadecimal or decimal.
|
||||
@@ -178,6 +181,10 @@
|
||||
* Chris Howie
|
||||
* John Steele Scott
|
||||
* Dave Thorup
|
||||
+ * John Dill
|
||||
+ * Florian Wobbe
|
||||
+ * Christopher Sean Morrison
|
||||
+ * Mikkel Fahnoe Jorgensen
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -190,14 +197,27 @@
|
||||
* do nothing else. On the Mac OS X version of gcc this is _STDINT_H_.
|
||||
*/
|
||||
|
||||
-#if ((defined(__STDC__) && __STDC__ && __STDC_VERSION__ >= 199901L) || (defined (__WATCOMC__) && (defined (_STDINT_H_INCLUDED) || __WATCOMC__ >= 1250)) || (defined(__GNUC__) && (defined(_STDINT_H) || defined(_STDINT_H_)))) && !defined (_PSTDINT_H_INCLUDED) && !defined(_STDINT)
|
||||
+#if ((defined(__SUNPRO_C) && __SUNPRO_C >= 0x570) || (defined(_MSC_VER) && _MSC_VER >= 1600) || (defined(__STDC__) && __STDC__ && defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || (defined (__WATCOMC__) && (defined (_STDINT_H_INCLUDED) || __WATCOMC__ >= 1250)) || (defined(__GNUC__) && (__GNUC__ > 3 || defined(_STDINT_H) || defined(_STDINT_H_) || defined (__UINT_FAST64_TYPE__)) )) && !defined (_PSTDINT_H_INCLUDED)
|
||||
#include <stdint.h>
|
||||
#define _PSTDINT_H_INCLUDED
|
||||
-# ifndef PRINTF_INT64_MODIFIER
|
||||
-# define PRINTF_INT64_MODIFIER "ll"
|
||||
-# endif
|
||||
-# ifndef PRINTF_INT32_MODIFIER
|
||||
-# define PRINTF_INT32_MODIFIER "l"
|
||||
+# if defined(__GNUC__) && (defined(__x86_64__) || defined(__ppc64__)) && !(defined(__APPLE__) && defined(__MACH__))
|
||||
+# ifndef PRINTF_INT64_MODIFIER
|
||||
+# define PRINTF_INT64_MODIFIER "l"
|
||||
+# endif
|
||||
+# ifndef PRINTF_INT32_MODIFIER
|
||||
+# define PRINTF_INT32_MODIFIER ""
|
||||
+# endif
|
||||
+# else
|
||||
+# ifndef PRINTF_INT64_MODIFIER
|
||||
+# define PRINTF_INT64_MODIFIER "ll"
|
||||
+# endif
|
||||
+# ifndef PRINTF_INT32_MODIFIER
|
||||
+# if (UINT_MAX == UINT32_MAX)
|
||||
+# define PRINTF_INT32_MODIFIER ""
|
||||
+# else
|
||||
+# define PRINTF_INT32_MODIFIER "l"
|
||||
+# endif
|
||||
+# endif
|
||||
# endif
|
||||
# ifndef PRINTF_INT16_MODIFIER
|
||||
# define PRINTF_INT16_MODIFIER "h"
|
||||
@@ -208,32 +228,62 @@
|
||||
# ifndef PRINTF_INT64_HEX_WIDTH
|
||||
# define PRINTF_INT64_HEX_WIDTH "16"
|
||||
# endif
|
||||
+# ifndef PRINTF_UINT64_HEX_WIDTH
|
||||
+# define PRINTF_UINT64_HEX_WIDTH "16"
|
||||
+# endif
|
||||
# ifndef PRINTF_INT32_HEX_WIDTH
|
||||
# define PRINTF_INT32_HEX_WIDTH "8"
|
||||
# endif
|
||||
+# ifndef PRINTF_UINT32_HEX_WIDTH
|
||||
+# define PRINTF_UINT32_HEX_WIDTH "8"
|
||||
+# endif
|
||||
# ifndef PRINTF_INT16_HEX_WIDTH
|
||||
# define PRINTF_INT16_HEX_WIDTH "4"
|
||||
# endif
|
||||
+# ifndef PRINTF_UINT16_HEX_WIDTH
|
||||
+# define PRINTF_UINT16_HEX_WIDTH "4"
|
||||
+# endif
|
||||
# ifndef PRINTF_INT8_HEX_WIDTH
|
||||
# define PRINTF_INT8_HEX_WIDTH "2"
|
||||
# endif
|
||||
+# ifndef PRINTF_UINT8_HEX_WIDTH
|
||||
+# define PRINTF_UINT8_HEX_WIDTH "2"
|
||||
+# endif
|
||||
# ifndef PRINTF_INT64_DEC_WIDTH
|
||||
-# define PRINTF_INT64_DEC_WIDTH "20"
|
||||
+# define PRINTF_INT64_DEC_WIDTH "19"
|
||||
+# endif
|
||||
+# ifndef PRINTF_UINT64_DEC_WIDTH
|
||||
+# define PRINTF_UINT64_DEC_WIDTH "20"
|
||||
# endif
|
||||
# ifndef PRINTF_INT32_DEC_WIDTH
|
||||
# define PRINTF_INT32_DEC_WIDTH "10"
|
||||
# endif
|
||||
+# ifndef PRINTF_UINT32_DEC_WIDTH
|
||||
+# define PRINTF_UINT32_DEC_WIDTH "10"
|
||||
+# endif
|
||||
# ifndef PRINTF_INT16_DEC_WIDTH
|
||||
# define PRINTF_INT16_DEC_WIDTH "5"
|
||||
# endif
|
||||
+# ifndef PRINTF_UINT16_DEC_WIDTH
|
||||
+# define PRINTF_UINT16_DEC_WIDTH "5"
|
||||
+# endif
|
||||
# ifndef PRINTF_INT8_DEC_WIDTH
|
||||
# define PRINTF_INT8_DEC_WIDTH "3"
|
||||
# endif
|
||||
+# ifndef PRINTF_UINT8_DEC_WIDTH
|
||||
+# define PRINTF_UINT8_DEC_WIDTH "3"
|
||||
+# endif
|
||||
# ifndef PRINTF_INTMAX_HEX_WIDTH
|
||||
-# define PRINTF_INTMAX_HEX_WIDTH PRINTF_INT64_HEX_WIDTH
|
||||
+# define PRINTF_INTMAX_HEX_WIDTH PRINTF_UINT64_HEX_WIDTH
|
||||
+# endif
|
||||
+# ifndef PRINTF_UINTMAX_HEX_WIDTH
|
||||
+# define PRINTF_UINTMAX_HEX_WIDTH PRINTF_UINT64_HEX_WIDTH
|
||||
# endif
|
||||
# ifndef PRINTF_INTMAX_DEC_WIDTH
|
||||
-# define PRINTF_INTMAX_DEC_WIDTH PRINTF_INT64_DEC_WIDTH
|
||||
+# define PRINTF_INTMAX_DEC_WIDTH PRINTF_UINT64_DEC_WIDTH
|
||||
+# endif
|
||||
+# ifndef PRINTF_UINTMAX_DEC_WIDTH
|
||||
+# define PRINTF_UINTMAX_DEC_WIDTH PRINTF_UINT64_DEC_WIDTH
|
||||
# endif
|
||||
|
||||
/*
|
||||
@@ -287,6 +337,20 @@
|
||||
# endif
|
||||
#endif
|
||||
|
||||
+/*
|
||||
+ * I have no idea what is the truly correct thing to do on older Solaris.
|
||||
+ * From some online discussions, this seems to be what is being
|
||||
+ * recommended. For people who actually are developing on older Solaris,
|
||||
+ * what I would like to know is, does this define all of the relevant
|
||||
+ * macros of a complete stdint.h? Remember, in pstdint.h 64 bit is
|
||||
+ * considered optional.
|
||||
+ */
|
||||
+
|
||||
+#if (defined(__SUNPRO_C) && __SUNPRO_C >= 0x420) && !defined(_PSTDINT_H_INCLUDED)
|
||||
+#include <sys/inttypes.h>
|
||||
+#define _PSTDINT_H_INCLUDED
|
||||
+#endif
|
||||
+
|
||||
#ifndef _PSTDINT_H_INCLUDED
|
||||
#define _PSTDINT_H_INCLUDED
|
||||
|
||||
@@ -303,7 +367,7 @@
|
||||
#ifndef UINT8_MAX
|
||||
# define UINT8_MAX 0xff
|
||||
#endif
|
||||
-#ifndef uint8_t
|
||||
+#if !defined(uint8_t) && !defined(_UINT8_T) && !defined(vxWorks)
|
||||
# if (UCHAR_MAX == UINT8_MAX) || defined (S_SPLINT_S)
|
||||
typedef unsigned char uint8_t;
|
||||
# define UINT8_C(v) ((uint8_t) v)
|
||||
@@ -318,7 +382,7 @@
|
||||
#ifndef INT8_MIN
|
||||
# define INT8_MIN INT8_C(0x80)
|
||||
#endif
|
||||
-#ifndef int8_t
|
||||
+#if !defined(int8_t) && !defined(_INT8_T) && !defined(vxWorks)
|
||||
# if (SCHAR_MAX == INT8_MAX) || defined (S_SPLINT_S)
|
||||
typedef signed char int8_t;
|
||||
# define INT8_C(v) ((int8_t) v)
|
||||
@@ -330,7 +394,7 @@
|
||||
#ifndef UINT16_MAX
|
||||
# define UINT16_MAX 0xffff
|
||||
#endif
|
||||
-#ifndef uint16_t
|
||||
+#if !defined(uint16_t) && !defined(_UINT16_T) && !defined(vxWorks)
|
||||
#if (UINT_MAX == UINT16_MAX) || defined (S_SPLINT_S)
|
||||
typedef unsigned int uint16_t;
|
||||
# ifndef PRINTF_INT16_MODIFIER
|
||||
@@ -354,7 +418,7 @@
|
||||
#ifndef INT16_MIN
|
||||
# define INT16_MIN INT16_C(0x8000)
|
||||
#endif
|
||||
-#ifndef int16_t
|
||||
+#if !defined(int16_t) && !defined(_INT16_T) && !defined(vxWorks)
|
||||
#if (INT_MAX == INT16_MAX) || defined (S_SPLINT_S)
|
||||
typedef signed int int16_t;
|
||||
# define INT16_C(v) ((int16_t) (v))
|
||||
@@ -375,7 +439,7 @@
|
||||
#ifndef UINT32_MAX
|
||||
# define UINT32_MAX (0xffffffffUL)
|
||||
#endif
|
||||
-#ifndef uint32_t
|
||||
+#if !defined(uint32_t) && !defined(_UINT32_T) && !defined(vxWorks)
|
||||
#if (ULONG_MAX == UINT32_MAX) || defined (S_SPLINT_S)
|
||||
typedef unsigned long uint32_t;
|
||||
# define UINT32_C(v) v ## UL
|
||||
@@ -405,7 +469,7 @@
|
||||
#ifndef INT32_MIN
|
||||
# define INT32_MIN INT32_C(0x80000000)
|
||||
#endif
|
||||
-#ifndef int32_t
|
||||
+#if !defined(int32_t) && !defined(_INT32_T) && !defined(vxWorks)
|
||||
#if (LONG_MAX == INT32_MAX) || defined (S_SPLINT_S)
|
||||
typedef signed long int32_t;
|
||||
# define INT32_C(v) v ## L
|
||||
@@ -438,7 +502,7 @@
|
||||
|
||||
#undef stdint_int64_defined
|
||||
#if (defined(__STDC__) && defined(__STDC_VERSION__)) || defined (S_SPLINT_S)
|
||||
-# if (__STDC__ && __STDC_VERSION >= 199901L) || defined (S_SPLINT_S)
|
||||
+# if (__STDC__ && __STDC_VERSION__ >= 199901L) || defined (S_SPLINT_S)
|
||||
# define stdint_int64_defined
|
||||
typedef long long int64_t;
|
||||
typedef unsigned long long uint64_t;
|
||||
@@ -451,7 +515,7 @@
|
||||
#endif
|
||||
|
||||
#if !defined (stdint_int64_defined)
|
||||
-# if defined(__GNUC__)
|
||||
+# if defined(__GNUC__) && !defined(vxWorks)
|
||||
# define stdint_int64_defined
|
||||
__extension__ typedef long long int64_t;
|
||||
__extension__ typedef unsigned long long uint64_t;
|
||||
@@ -514,9 +578,8 @@
|
||||
#ifndef PRINTF_INT8_HEX_WIDTH
|
||||
# define PRINTF_INT8_HEX_WIDTH "2"
|
||||
#endif
|
||||
-
|
||||
#ifndef PRINTF_INT64_DEC_WIDTH
|
||||
-# define PRINTF_INT64_DEC_WIDTH "20"
|
||||
+# define PRINTF_INT64_DEC_WIDTH "19"
|
||||
#endif
|
||||
#ifndef PRINTF_INT32_DEC_WIDTH
|
||||
# define PRINTF_INT32_DEC_WIDTH "10"
|
||||
@@ -527,6 +590,18 @@
|
||||
#ifndef PRINTF_INT8_DEC_WIDTH
|
||||
# define PRINTF_INT8_DEC_WIDTH "3"
|
||||
#endif
|
||||
+#ifndef PRINTF_UINT64_DEC_WIDTH
|
||||
+# define PRINTF_UINT64_DEC_WIDTH "20"
|
||||
+#endif
|
||||
+#ifndef PRINTF_UINT32_DEC_WIDTH
|
||||
+# define PRINTF_UINT32_DEC_WIDTH "10"
|
||||
+#endif
|
||||
+#ifndef PRINTF_UINT16_DEC_WIDTH
|
||||
+# define PRINTF_UINT16_DEC_WIDTH "5"
|
||||
+#endif
|
||||
+#ifndef PRINTF_UINT8_DEC_WIDTH
|
||||
+# define PRINTF_UINT8_DEC_WIDTH "3"
|
||||
+#endif
|
||||
|
||||
/*
|
||||
* Ok, lets not worry about 128 bit integers for now. Moore's law says
|
||||
@@ -646,7 +721,7 @@ typedef uint_least32_t uint_fast32_t;
|
||||
* type limits.
|
||||
*/
|
||||
|
||||
-#if defined(__WATCOMC__) || defined(_MSC_VER) || defined (__GNUC__)
|
||||
+#if defined(__WATCOMC__) || defined(_MSC_VER) || defined (__GNUC__) && !defined(vxWorks)
|
||||
# include <wchar.h>
|
||||
# ifndef WCHAR_MIN
|
||||
# define WCHAR_MIN 0
|
||||
@@ -661,12 +736,12 @@ typedef uint_least32_t uint_fast32_t;
|
||||
* (u)intptr_t types and limits.
|
||||
*/
|
||||
|
||||
-#if defined (_MSC_VER) && defined (_UINTPTR_T_DEFINED)
|
||||
+#if (defined (_MSC_VER) && defined (_UINTPTR_T_DEFINED)) || defined (_UINTPTR_T)
|
||||
# define STDINT_H_UINTPTR_T_DEFINED
|
||||
#endif
|
||||
|
||||
#ifndef STDINT_H_UINTPTR_T_DEFINED
|
||||
-# if defined (__alpha__) || defined (__ia64__) || defined (__x86_64__) || defined (_WIN64)
|
||||
+# if defined (__alpha__) || defined (__ia64__) || defined (__x86_64__) || defined (_WIN64) || defined (__ppc64__)
|
||||
# define stdint_intptr_bits 64
|
||||
# elif defined (__WATCOMC__) || defined (__TURBOC__)
|
||||
# if defined(__TINY__) || defined(__SMALL__) || defined(__MEDIUM__)
|
||||
@@ -674,10 +749,12 @@ typedef uint_least32_t uint_fast32_t;
|
||||
# else
|
||||
# define stdint_intptr_bits 32
|
||||
# endif
|
||||
-# elif defined (__i386__) || defined (_WIN32) || defined (WIN32)
|
||||
+# elif defined (__i386__) || defined (_WIN32) || defined (WIN32) || defined (__ppc64__)
|
||||
# define stdint_intptr_bits 32
|
||||
# elif defined (__INTEL_COMPILER)
|
||||
-/* TODO -- what will Intel do about x86-64? */
|
||||
+/* TODO -- what did Intel do about x86-64? */
|
||||
+# else
|
||||
+/* #error "This platform might not be supported yet" */
|
||||
# endif
|
||||
|
||||
# ifdef stdint_intptr_bits
|
||||
@@ -727,3 +804,109 @@ typedef uint_least32_t uint_fast32_t;
|
||||
|
||||
#endif
|
||||
|
||||
+#if defined (__TEST_PSTDINT_FOR_CORRECTNESS)
|
||||
+
|
||||
+/*
|
||||
+ * Please compile with the maximum warning settings to make sure macros are
|
||||
+ * not defined more than once.
|
||||
+ */
|
||||
+
|
||||
+#include <stdlib.h>
|
||||
+#include <stdio.h>
|
||||
+#include <string.h>
|
||||
+
|
||||
+#define glue3_aux(x,y,z) x ## y ## z
|
||||
+#define glue3(x,y,z) glue3_aux(x,y,z)
|
||||
+
|
||||
+#define DECLU(bits) glue3(uint,bits,_t) glue3(u,bits,) = glue3(UINT,bits,_C) (0);
|
||||
+#define DECLI(bits) glue3(int,bits,_t) glue3(i,bits,) = glue3(INT,bits,_C) (0);
|
||||
+
|
||||
+#define DECL(us,bits) glue3(DECL,us,) (bits)
|
||||
+
|
||||
+#define TESTUMAX(bits) glue3(u,bits,) = ~glue3(u,bits,); if (glue3(UINT,bits,_MAX) != glue3(u,bits,)) printf ("Something wrong with UINT%d_MAX\n", bits)
|
||||
+
|
||||
+#define REPORTERROR(msg) { err_n++; if (err_first <= 0) err_first = __LINE__; printf msg; }
|
||||
+
|
||||
+int main () {
|
||||
+ int err_n = 0;
|
||||
+ int err_first = 0;
|
||||
+ DECL(I,8)
|
||||
+ DECL(U,8)
|
||||
+ DECL(I,16)
|
||||
+ DECL(U,16)
|
||||
+ DECL(I,32)
|
||||
+ DECL(U,32)
|
||||
+#ifdef INT64_MAX
|
||||
+ DECL(I,64)
|
||||
+ DECL(U,64)
|
||||
+#endif
|
||||
+ intmax_t imax = INTMAX_C(0);
|
||||
+ uintmax_t umax = UINTMAX_C(0);
|
||||
+ char str0[256], str1[256];
|
||||
+
|
||||
+ sprintf (str0, "%" PRINTF_INT32_MODIFIER "d", INT32_C(2147483647));
|
||||
+ if (0 != strcmp (str0, "2147483647")) REPORTERROR (("Something wrong with PRINTF_INT32_MODIFIER : %s\n", str0));
|
||||
+ if (atoi(PRINTF_INT32_DEC_WIDTH) != (int) strlen(str0)) REPORTERROR (("Something wrong with PRINTF_INT32_DEC_WIDTH : %s\n", PRINTF_INT32_DEC_WIDTH));
|
||||
+ sprintf (str0, "%" PRINTF_INT32_MODIFIER "u", UINT32_C(4294967295));
|
||||
+ if (0 != strcmp (str0, "4294967295")) REPORTERROR (("Something wrong with PRINTF_INT32_MODIFIER : %s\n", str0));
|
||||
+ if (atoi(PRINTF_UINT32_DEC_WIDTH) != (int) strlen(str0)) REPORTERROR (("Something wrong with PRINTF_UINT32_DEC_WIDTH : %s\n", PRINTF_UINT32_DEC_WIDTH));
|
||||
+#ifdef INT64_MAX
|
||||
+ sprintf (str1, "%" PRINTF_INT64_MODIFIER "d", INT64_C(9223372036854775807));
|
||||
+ if (0 != strcmp (str1, "9223372036854775807")) REPORTERROR (("Something wrong with PRINTF_INT32_MODIFIER : %s\n", str1));
|
||||
+ if (atoi(PRINTF_INT64_DEC_WIDTH) != (int) strlen(str1)) REPORTERROR (("Something wrong with PRINTF_INT64_DEC_WIDTH : %s, %d\n", PRINTF_INT64_DEC_WIDTH, (int) strlen(str1)));
|
||||
+ sprintf (str1, "%" PRINTF_INT64_MODIFIER "u", UINT64_C(18446744073709550591));
|
||||
+ if (0 != strcmp (str1, "18446744073709550591")) REPORTERROR (("Something wrong with PRINTF_INT32_MODIFIER : %s\n", str1));
|
||||
+ if (atoi(PRINTF_UINT64_DEC_WIDTH) != (int) strlen(str1)) REPORTERROR (("Something wrong with PRINTF_UINT64_DEC_WIDTH : %s, %d\n", PRINTF_UINT64_DEC_WIDTH, (int) strlen(str1)));
|
||||
+#endif
|
||||
+
|
||||
+ sprintf (str0, "%d %x\n", 0, ~0);
|
||||
+
|
||||
+ sprintf (str1, "%d %x\n", i8, ~0);
|
||||
+ if (0 != strcmp (str0, str1)) REPORTERROR (("Something wrong with i8 : %s\n", str1));
|
||||
+ sprintf (str1, "%u %x\n", u8, ~0);
|
||||
+ if (0 != strcmp (str0, str1)) REPORTERROR (("Something wrong with u8 : %s\n", str1));
|
||||
+ sprintf (str1, "%d %x\n", i16, ~0);
|
||||
+ if (0 != strcmp (str0, str1)) REPORTERROR (("Something wrong with i16 : %s\n", str1));
|
||||
+ sprintf (str1, "%u %x\n", u16, ~0);
|
||||
+ if (0 != strcmp (str0, str1)) REPORTERROR (("Something wrong with u16 : %s\n", str1));
|
||||
+ sprintf (str1, "%" PRINTF_INT32_MODIFIER "d %x\n", i32, ~0);
|
||||
+ if (0 != strcmp (str0, str1)) REPORTERROR (("Something wrong with i32 : %s\n", str1));
|
||||
+ sprintf (str1, "%" PRINTF_INT32_MODIFIER "u %x\n", u32, ~0);
|
||||
+ if (0 != strcmp (str0, str1)) REPORTERROR (("Something wrong with u32 : %s\n", str1));
|
||||
+#ifdef INT64_MAX
|
||||
+ sprintf (str1, "%" PRINTF_INT64_MODIFIER "d %x\n", i64, ~0);
|
||||
+ if (0 != strcmp (str0, str1)) REPORTERROR (("Something wrong with i64 : %s\n", str1));
|
||||
+#endif
|
||||
+ sprintf (str1, "%" PRINTF_INTMAX_MODIFIER "d %x\n", imax, ~0);
|
||||
+ if (0 != strcmp (str0, str1)) REPORTERROR (("Something wrong with imax : %s\n", str1));
|
||||
+ sprintf (str1, "%" PRINTF_INTMAX_MODIFIER "u %x\n", umax, ~0);
|
||||
+ if (0 != strcmp (str0, str1)) REPORTERROR (("Something wrong with umax : %s\n", str1));
|
||||
+
|
||||
+ TESTUMAX(8);
|
||||
+ TESTUMAX(16);
|
||||
+ TESTUMAX(32);
|
||||
+#ifdef INT64_MAX
|
||||
+ TESTUMAX(64);
|
||||
+#endif
|
||||
+
|
||||
+#define STR(v) #v
|
||||
+#define Q(v) printf ("sizeof " STR(v) " = %u\n", (unsigned) sizeof (v));
|
||||
+ if (err_n) {
|
||||
+ printf ("pstdint.h is not correct. Please use sizes below to correct it:\n");
|
||||
+ }
|
||||
+
|
||||
+ Q(int)
|
||||
+ Q(unsigned)
|
||||
+ Q(long int)
|
||||
+ Q(short int)
|
||||
+ Q(int8_t)
|
||||
+ Q(int16_t)
|
||||
+ Q(int32_t)
|
||||
+#ifdef INT64_MAX
|
||||
+ Q(int64_t)
|
||||
+#endif
|
||||
+
|
||||
+ return EXIT_SUCCESS;
|
||||
+}
|
||||
+
|
||||
+#endif
|
||||
|
|
@ -42,9 +42,9 @@ include/assimp/vector2.inl
|
|||
include/assimp/vector3.h
|
||||
include/assimp/vector3.inl
|
||||
include/assimp/version.h
|
||||
lib/cmake/assimp-3.1/assimp-config-version.cmake
|
||||
lib/cmake/assimp-3.1/assimp-config.cmake
|
||||
lib/cmake/assimp-3.2/assimp-config-version.cmake
|
||||
lib/cmake/assimp-3.2/assimp-config.cmake
|
||||
lib/libassimp.so
|
||||
lib/libassimp.so.3
|
||||
lib/libassimp.so.3.1.1
|
||||
lib/libassimp.so.3.2.0
|
||||
libdata/pkgconfig/assimp.pc
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ share/gtk-doc/html/libmediaart/annotation-glossary.html
|
|||
share/gtk-doc/html/libmediaart/ch02.html
|
||||
share/gtk-doc/html/libmediaart/home.png
|
||||
share/gtk-doc/html/libmediaart/index.html
|
||||
share/gtk-doc/html/libmediaart/index.sgml
|
||||
share/gtk-doc/html/libmediaart/left-insensitive.png
|
||||
share/gtk-doc/html/libmediaart/left.png
|
||||
share/gtk-doc/html/libmediaart/libmediaart-Cache.html
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= chrony
|
||||
PORTVERSION= 2.3
|
||||
PORTVERSION= 2.4
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= http://download.tuxfamily.org/chrony/
|
||||
|
||||
|
|
@ -11,6 +11,8 @@ COMMENT= System clock synchronization client and server
|
|||
|
||||
LICENSE= GPLv2
|
||||
|
||||
BUILD_DEPENDS= rubygem-asciidoctor>=0:textproc/rubygem-asciidoctor
|
||||
|
||||
USES= cpe gmake makeinfo readline
|
||||
CPE_VENDOR= tuxfamily
|
||||
HAS_CONFIGURE= yes
|
||||
|
|
@ -23,11 +25,11 @@ USE_RC_SUBR= chronyd
|
|||
|
||||
ALL_TARGET= all docs
|
||||
INSTALL_TARGET= install install-docs
|
||||
INFO= chrony
|
||||
EXTRAPORTDOCS= FAQ NEWS README
|
||||
PORTDOCS= chrony.html chrony.txt ${EXTRAPORTDOCS}
|
||||
PORTDOCS= chrony.conf.html chronyc.html chronyd.html faq.html \
|
||||
installation.html ${EXTRAPORTDOCS}
|
||||
PORTEXAMPLES= chrony.conf.example1 chrony.conf.example2 \
|
||||
chrony.conf.example3 chrony.keys.example
|
||||
chrony.conf.example3 chrony.keys.example
|
||||
|
||||
# XXX: there are also other potentially useful options worth looking into:
|
||||
# --without-nss Don't use NSS even if it is available
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1463905958
|
||||
SHA256 (chrony-2.3.tar.gz) = 58bffb523012fb0fa87cc0d94d6e36de9689fe9556519cbd0d1ba254af92ccb2
|
||||
SIZE (chrony-2.3.tar.gz) = 355113
|
||||
TIMESTAMP = 1465554985
|
||||
SHA256 (chrony-2.4.tar.gz) = 8d04e7cda2333289c2104b731d39c3c1db94816e43bae35d7ee4e7ae8af6391f
|
||||
SIZE (chrony-2.4.tar.gz) = 390077
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= urllib3
|
||||
PORTVERSION= 1.15.1
|
||||
PORTVERSION= 1.16
|
||||
CATEGORIES= net python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
@ -14,7 +14,7 @@ LICENSE= MIT
|
|||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}certifi>=0:security/py-certifi \
|
||||
${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.0:net/py-pysocks
|
||||
${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.7:net/py-pysocks
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (urllib3-1.15.1.tar.gz) = d0a1dc60433f7e9b90b4f085f1d45753174b4594558b29eda0009abe0b82da4c
|
||||
SIZE (urllib3-1.15.1.tar.gz) = 169242
|
||||
TIMESTAMP = 1465766320
|
||||
SHA256 (urllib3-1.16.tar.gz) = 63d479478ddfc83bbc11577dc16d47835c5179ac13e550118ca143b62c4bf9ab
|
||||
SIZE (urllib3-1.16.tar.gz) = 179763
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= synth
|
||||
PORTVERSION= 1.34
|
||||
PORTVERSION= 1.40
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= ports-mgmt
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (jrmarino-synth-v1.34_GH0.tar.gz) = c7f0150ff1ee12cb6006797bc2c7b0c4a2b1478f689b7d0f73b02a420d57bcb2
|
||||
SIZE (jrmarino-synth-v1.34_GH0.tar.gz) = 101000
|
||||
TIMESTAMP = 1465723186
|
||||
SHA256 (jrmarino-synth-v1.40_GH0.tar.gz) = bd7ab4b5d82d80508f68a8f525bc8351cee723aa9c3f3c2c0042d81a78605656
|
||||
SIZE (jrmarino-synth-v1.40_GH0.tar.gz) = 101245
|
||||
|
|
|
|||
|
|
@ -1,13 +0,0 @@
|
|||
--- default.gpr.orig 2016-04-19 08:59:22 UTC
|
||||
+++ default.gpr
|
||||
@@ -1,8 +1,5 @@
|
||||
-with "external/lib/gnat/ini_file_manager.gpr";
|
||||
-with "external/lib/gnat/adacurses.gpr";
|
||||
-
|
||||
--- with "ini_file_manager.gpr";
|
||||
--- with "adacurses.gpr";
|
||||
+with "ini_file_manager.gpr";
|
||||
+with "adacurses.gpr";
|
||||
|
||||
project Default is
|
||||
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= ftimes
|
||||
PORTVERSION= 3.11.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= security sysutils
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
|
@ -53,7 +53,7 @@ SHEBANG_FILES= \
|
|||
${WRKSRC}/tools/zipmap/zipmap
|
||||
|
||||
OPTIONS_DEFINE= DBM_TOOLS DIG_TOOLS FILE_HOOKS HASHDIG_TOOLS MAP_TOOLS SSL XMAGIC
|
||||
OPTIONS_DEFAULT= DBM_TOOLS DIG_TOOLS FILE_HOOKS HASHDIG_TOOLS MAP_TOOLS SSL XMAGIC
|
||||
OPTIONS_DEFAULT= DBM_TOOLS DIG_TOOLS FILE_HOOKS HASHDIG_TOOLS MAP_TOOLS XMAGIC
|
||||
DBM_TOOLS_DESC= Install DBM tools
|
||||
DIG_TOOLS_DESC= Install dig tools
|
||||
FILE_HOOKS_DESC= Include file hooks support
|
||||
|
|
|
|||
46
security/ftimes/files/patch-src__ssl.c
Normal file
46
security/ftimes/files/patch-src__ssl.c
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
diff -urN ftimes-3.11.0.old/src/ssl.c ftimes-3.11.0.new/src/ssl.c
|
||||
--- src/ssl.c 2014-07-18 02:40:44.000000000 -0400
|
||||
+++ src/ssl.c 2016-01-13 17:18:29.073028573 -0500
|
||||
@@ -251,7 +251,7 @@
|
||||
*
|
||||
*********************************************************************
|
||||
*/
|
||||
- psProperties->psslCTX = SSL_CTX_new(SSLv3_client_method());
|
||||
+ psProperties->psslCTX = SSL_CTX_new(SSLv23_client_method());
|
||||
if (psProperties->psslCTX == NULL)
|
||||
{
|
||||
ERR_error_string(ERR_get_error(), acLocalError);
|
||||
@@ -262,6 +262,33 @@
|
||||
/*-
|
||||
*********************************************************************
|
||||
*
|
||||
+ * Disable protocol versions that are no longer safe to use.
|
||||
+ *
|
||||
+ *********************************************************************
|
||||
+ */
|
||||
+ SSL_CTX_set_options
|
||||
+ (
|
||||
+ psProperties->psslCTX,
|
||||
+ (
|
||||
+ 0
|
||||
+#ifdef SSL_OP_NO_SSLv2
|
||||
+ | SSL_OP_NO_SSLv2
|
||||
+#endif
|
||||
+#ifdef SSL_OP_NO_SSLv3
|
||||
+ | SSL_OP_NO_SSLv3
|
||||
+#endif
|
||||
+#ifdef SSL_OP_NO_TLSv1
|
||||
+ | SSL_OP_NO_TLSv1
|
||||
+#endif
|
||||
+#ifdef SSL_OP_NO_TLSv1_1
|
||||
+ | SSL_OP_NO_TLSv1_1
|
||||
+#endif
|
||||
+ )
|
||||
+ );
|
||||
+
|
||||
+ /*-
|
||||
+ *********************************************************************
|
||||
+ *
|
||||
* Setup SSL certificate verification. Load the bundled certificate
|
||||
* authorities file. A common name (CN) and a positive chain length
|
||||
* must be specified to activate PEER verification. If you want to
|
||||
|
|
@ -59,14 +59,14 @@ include/pcbsd-ui.h
|
|||
include/pcbsd-utils.h
|
||||
include/pcbsd-xdgfile.h
|
||||
include/pcbsd-xdgutils.h
|
||||
%%QT_LIBDIR%%/%%QT_LIBDIR%%pcbsd-ui.so
|
||||
%%QT_LIBDIR%%/%%QT_LIBDIR%%pcbsd-ui.so.0
|
||||
%%QT_LIBDIR%%/%%QT_LIBDIR%%pcbsd-ui.so.0.9
|
||||
%%QT_LIBDIR%%/%%QT_LIBDIR%%pcbsd-ui.so.0.9.9
|
||||
%%QT_LIBDIR%%/%%QT_LIBDIR%%pcbsd-utils.so
|
||||
%%QT_LIBDIR%%/%%QT_LIBDIR%%pcbsd-utils.so.0
|
||||
%%QT_LIBDIR%%/%%QT_LIBDIR%%pcbsd-utils.so.0.9
|
||||
%%QT_LIBDIR%%/%%QT_LIBDIR%%pcbsd-utils.so.0.9.9
|
||||
lib/libpcbsd-ui.so
|
||||
lib/libpcbsd-ui.so.0
|
||||
lib/libpcbsd-ui.so.0.9
|
||||
lib/libpcbsd-ui.so.0.9.9
|
||||
lib/libpcbsd-utils.so
|
||||
lib/libpcbsd-utils.so.0
|
||||
lib/libpcbsd-utils.so.0.9
|
||||
lib/libpcbsd-utils.so.0.9.9
|
||||
sbin/PCDMd
|
||||
share/EasyPBI/EasyPBIicon.png
|
||||
share/PCDM/pcdm-session
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= pefs
|
||||
DISTVERSION= 2016-03-17
|
||||
DISTVERSION= 2016-06-11
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= LOCAL/gleb
|
||||
PKGNAMESUFFIX= -kmod
|
||||
|
|
|
|||
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (pefs-2016-03-17.tar.gz) = 642fb6520747c7f98b0feac858ba1def271188e9dabda8be38aab6df9474e903
|
||||
SIZE (pefs-2016-03-17.tar.gz) = 87826
|
||||
TIMESTAMP = 1465678301
|
||||
SHA256 (pefs-2016-06-11.tar.gz) = c7ddcc76cbe28ff02f704988bd4548b8cdca0783dbeba3a0b1b4c5d668332611
|
||||
SIZE (pefs-2016-06-11.tar.gz) = 89691
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= qjail
|
||||
PORTVERSION= 4.7
|
||||
PORTVERSION= 4.8
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= SF/${PORTNAME}
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|||
USES= tar:bzip2
|
||||
NO_BUILD= yes
|
||||
|
||||
CONFLICTS_INSTALL= qjail-2.* qjail-3.0 qjail-3.1
|
||||
CONFLICTS_INSTALL= qjail-2.* qjail-3.*
|
||||
|
||||
do-install:
|
||||
.for i in qjail qjail.vnet.be qjail.vnet.ng
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (qjail-4.7.tar.bz2) = 42c72de6a3cf3deb19f84c8e3f95a9054fe226d9e17675397e5d46dd31143e8d
|
||||
SIZE (qjail-4.7.tar.bz2) = 62754
|
||||
SHA256 (qjail-4.8.tar.bz2) = dc41c6a7c498129202d3973db11a6a6600ec598a9ac8aeaa8d0baeeba1553224
|
||||
SIZE (qjail-4.8.tar.bz2) = 64593
|
||||
|
|
|
|||
|
|
@ -1,15 +1,16 @@
|
|||
This qjail version is not intended for RELEASES older than RELEASE-10.0.
|
||||
|
||||
Qjail [ q = quick ] is a 4th generation wrapper for the basic chroot jail
|
||||
system that includes security and performance enhancements. Plus a new level
|
||||
of "user friendliness" enhancements dealing with deploying just a few jails or
|
||||
large scale jail environments consisting of 100's of jails.
|
||||
|
||||
This version of qjail uses the jail(8) jail.conf method. This provides the
|
||||
ability to enable the following options on a per-jail basis. exec.fib,
|
||||
securelevel, allow.sysvipc, devfs_rulesets, allow.raw_sockets, allow.quotas,
|
||||
allow.mount.nullfs, allow.mount.tmpfs, allow.mount.zfs, vnet.interface, and
|
||||
vnet. The vnet option gives a jail its own network stack using the experimental
|
||||
vimage kernel module. This qjail version is not intended for RELEASES older than
|
||||
RELEASE-9.2. The vnet option has only been tested on i386 and amd64 equipment.
|
||||
Qjail uses the jail(8) jail.conf method. This provides the ability to enable
|
||||
the following options on a per-jail basis. exec.fib, securelevel, allow.sysvipc,
|
||||
devfs_rulesets, allow.raw_sockets, allow.quotas, allow.mount.nullfs,
|
||||
allow.mount.tmpfs, allow.mount.zfs, vnet.interface, and vnet. The vnet option
|
||||
gives a jail its own network stack using the experimental vimage kernel module.
|
||||
The vnet option has only been tested on i386 and amd64 equipment.
|
||||
|
||||
Qjail requires no knowledge of the jail command usage. It uses "nullfs" for
|
||||
read-only system executables, sharing one copy of them with all the jails.
|
||||
|
|
@ -27,7 +28,7 @@ group of jails.
|
|||
Ability to designate a portion of the jail name as a group prefix so the
|
||||
command being executed will apply to only those jail names matching that prefix.
|
||||
|
||||
Qjail has been incorporated into the Finch open source project,
|
||||
Qjail has been incorporated into the Finch open source project,
|
||||
see http://dreamcat4.github.io/finch/ for details.
|
||||
|
||||
WWW: http://qjail.sourceforge.net/
|
||||
|
|
|
|||
|
|
@ -10,8 +10,33 @@ For the BIG PICTURE issue "man qjail-howto".
|
|||
|
||||
########################################################################
|
||||
|
||||
If your host is running 9.3-RELEASE or 10.0-RELEASE, please verify that
|
||||
/etc/defaults/rc.conf parameter "devfs_load_rulesets" looks like this
|
||||
devfs_load_rulesets="YES"
|
||||
For users who have existing qjail environments. Please take note.
|
||||
There are changes to the internals of the jail(8) command and changes to
|
||||
parameter names in the periodic files that have occured in FreeBSD
|
||||
Release 10.2 that effects jail behavior in a very minor way.
|
||||
IF your running qjail on an 10.2 or newer version of FreeBSD you should
|
||||
consider doing the following.
|
||||
|
||||
This version of qjail has an built in auto convert function that you may select
|
||||
to choose that fixes those minor behavior problems with your existing jails.
|
||||
This auto convert function is not documented in the qjail manual. Its only
|
||||
shown here. So write it down.
|
||||
|
||||
Issue [ qjail update -u ] from the host console.
|
||||
|
||||
This will cause the existing "flavors" default & ssh-default directories to be
|
||||
renamed and new ones populated. Then in each existing jail the periodic.conf
|
||||
and newsyslog.conf files will be renamed with .saved suffix and new ones added.
|
||||
The rc.conf file will be updated in place changing the
|
||||
syslogd_enable= parameter value from "NO" to "YES".
|
||||
|
||||
The new periodic.conf file has many sendmail reporting options disabled because
|
||||
sendmail is disabled in the jails rc.conf file by default. This drastically
|
||||
reduces the daily. weekly, monthly system and security status reports elapse
|
||||
run times. This has a major effect on operating system performance where there
|
||||
are a large number of jails.
|
||||
|
||||
The [ qjail install ] command will install all the correct files depending on
|
||||
what version of FreeBSD your host is running.
|
||||
|
||||
########################################################################
|
||||
|
|
|
|||
|
|
@ -15,9 +15,10 @@ man/man8/qjail-howto.8.gz
|
|||
%%EXAMPLESDIR%%/default/etc/make.conf
|
||||
%%EXAMPLESDIR%%/default/etc/motd
|
||||
%%EXAMPLESDIR%%/default/etc/periodic.conf
|
||||
%%EXAMPLESDIR%%/default/etc/periodic103.conf
|
||||
%%EXAMPLESDIR%%/default/etc/periodic102.conf
|
||||
%%EXAMPLESDIR%%/default/etc/newsyslog102.conf
|
||||
%%EXAMPLESDIR%%/default/etc/rc.conf
|
||||
%%EXAMPLESDIR%%/default/etc/rc103.conf
|
||||
%%EXAMPLESDIR%%/default/etc/rc102.conf
|
||||
%%EXAMPLESDIR%%/default/root/.cshrc
|
||||
%%EXAMPLESDIR%%/default/usr/local/etc/pkg.conf
|
||||
%%EXAMPLESDIR%%/default/usr/local/etc/sudoers
|
||||
|
|
@ -27,10 +28,11 @@ man/man8/qjail-howto.8.gz
|
|||
%%EXAMPLESDIR%%/ssh-default/etc/motd
|
||||
%%EXAMPLESDIR%%/ssh-default/etc/passwd
|
||||
%%EXAMPLESDIR%%/ssh-default/etc/periodic.conf
|
||||
%%EXAMPLESDIR%%/ssh-default/etc/periodic103.conf
|
||||
%%EXAMPLESDIR%%/ssh-default/etc/periodic102.conf
|
||||
%%EXAMPLESDIR%%/ssh-default/etc/newsyslog102.conf
|
||||
%%EXAMPLESDIR%%/ssh-default/etc/pwd.db
|
||||
%%EXAMPLESDIR%%/ssh-default/etc/rc.conf
|
||||
%%EXAMPLESDIR%%/ssh-default/etc/rc103.conf
|
||||
%%EXAMPLESDIR%%/ssh-default/etc/rc102.conf
|
||||
%%EXAMPLESDIR%%/ssh-default/etc/spwd.db
|
||||
%%EXAMPLESDIR%%/ssh-default/etc/ssh/sshd_config
|
||||
%%EXAMPLESDIR%%/ssh-default/root/.cshrc
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= qjail
|
||||
PORTVERSION= 2.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= SF/${PORTNAME}
|
||||
PKGNAMESUFFIX= 2
|
||||
|
|
|
|||
|
|
@ -4,3 +4,6 @@ First issue "rehash" command to enable the qjail command (if using csh).
|
|||
Then issue "man qjail-intro" to read the qjail introduction.
|
||||
After reading that do "man qjail" for the usage details.
|
||||
For the BIG PICTURE issue "man qjail-howto".
|
||||
|
||||
This version supports older RELEASES 8.x and 9.x.
|
||||
Newer versions are better supported by sysutils/qjail.
|
||||
|
|
|
|||
12
sysutils/webjob/files/patch-src_ssl.c
Normal file
12
sysutils/webjob/files/patch-src_ssl.c
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
--- src/ssl.c.orig 2012-01-07 07:56:14 UTC
|
||||
+++ src/ssl.c
|
||||
@@ -241,7 +241,8 @@ SslInitializeCTX(SSL_PROPERTIES *psPrope
|
||||
*
|
||||
*********************************************************************
|
||||
*/
|
||||
- psProperties->psslCTX = SSL_CTX_new(SSLv3_client_method());
|
||||
+ psProperties->psslCTX = SSL_CTX_new(SSLv23_client_method());
|
||||
+ SSL_CTX_set_options(psProperties->psslCTX, SSL_OP_NO_SSL2 );
|
||||
if (psProperties->psslCTX == NULL)
|
||||
{
|
||||
ERR_error_string(ERR_get_error(), acLocalError);
|
||||
12
sysutils/webjob/files/patch-tools_webjob-dsvtool_ssl.c
Normal file
12
sysutils/webjob/files/patch-tools_webjob-dsvtool_ssl.c
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
--- tools/webjob-dsvtool/ssl.c.orig 2015-10-04 14:04:34 UTC
|
||||
+++ tools/webjob-dsvtool/ssl.c
|
||||
@@ -241,7 +241,8 @@ SslInitializeCTX(SSL_PROPERTIES *psPrope
|
||||
*
|
||||
*********************************************************************
|
||||
*/
|
||||
- psProperties->psslCTX = SSL_CTX_new(SSLv3_client_method());
|
||||
+ psProperties->psslCTX = SSL_CTX_new(SSLv23_client_method());
|
||||
+ SSL_CTX_set_options(psProperties->psslCTX, SSL_OP_NO_SSL2 );
|
||||
if (psProperties->psslCTX == NULL)
|
||||
{
|
||||
ERR_error_string(ERR_get_error(), acLocalError);
|
||||
|
|
@ -22,7 +22,6 @@ USE_GNOME= libgnomeprint libartlgpl2 pango glib20 \
|
|||
libxslt libxml2 gdkpixbuf2
|
||||
GH_ACCOUNT= xmlroff
|
||||
GH_PROJECT= xmlroff
|
||||
EXTRACT_AFTER_ARGS= --exclude=xmlroff/libfo
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/${PORTNAME}
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc
|
||||
|
|
@ -30,6 +29,6 @@ INSTALL_TARGET= install-strip
|
|||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
DOCS_CONFIGURE_ENABLE= gtk-doc
|
||||
DOCS_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gtk-doc.pc:${PORTSDIR}/textproc/gtk-doc
|
||||
DOCS_BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gtk-doc.pc:textproc/gtk-doc
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
--- Makefile.am.orig 2009-03-12 06:08:57.000000000 +0900
|
||||
+++ Makefile.am 2016-03-26 11:11:44.004539000 +0900
|
||||
@@ -6,26 +6,14 @@
|
||||
--- Makefile.am.orig 2009-03-11 21:08:57 UTC
|
||||
+++ Makefile.am
|
||||
@@ -6,26 +6,14 @@ if ENABLE_CUNIT
|
||||
CUNIT_DIRS = cunit
|
||||
endif
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
--- configure.ac.orig 2009-03-12 06:08:57.000000000 +0900
|
||||
+++ configure.ac 2016-03-26 11:07:28.607576000 +0900
|
||||
@@ -230,30 +230,26 @@
|
||||
--- configure.ac.orig 2009-03-11 21:08:57 UTC
|
||||
+++ configure.ac
|
||||
@@ -230,30 +230,26 @@ fi
|
||||
AM_CONDITIONAL(ENABLE_MAN, test x$enable_man != xno)
|
||||
|
||||
#
|
||||
|
|
@ -42,7 +42,7 @@
|
|||
|
||||
AC_ARG_ENABLE(rebuilds,
|
||||
AC_HELP_STRING([--disable-rebuilds],
|
||||
@@ -623,14 +619,6 @@
|
||||
@@ -623,14 +619,6 @@ cunit/Makefile
|
||||
docs/Makefile
|
||||
examples/Makefile
|
||||
examples/xml2003/Makefile
|
||||
|
|
|
|||
|
|
@ -1,6 +1,15 @@
|
|||
--- docs/Makefile.am.orig 2009-03-12 06:08:57.000000000 +0900
|
||||
+++ docs/Makefile.am 2016-03-25 14:22:51.475354000 +0900
|
||||
@@ -228,7 +228,7 @@
|
||||
--- docs/Makefile.am.orig 2009-03-11 21:08:57 UTC
|
||||
+++ docs/Makefile.am
|
||||
@@ -186,7 +186,7 @@ GTKDOC_CFLAGS = \
|
||||
-I$(top_builddir)
|
||||
|
||||
GTKDOC_LIBS = \
|
||||
- ../libfo/libfo-0.6.la \
|
||||
+ $(LIBFO_LIBS) \
|
||||
$(PANGO_LIBS) \
|
||||
$(GNOMEPRINT_LIBS) \
|
||||
$(GDKPIXBUF_LIBS) \
|
||||
@@ -228,7 +228,7 @@ dist-hook-local:
|
||||
DOCBOOK_XSL=http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl
|
||||
|
||||
xmlroff.fo: xmlroff.xml ../libfo-compat.xsl
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
--- xmlroff/Makefile.am.orig 2016-03-26 11:00:22.298011000 +0900
|
||||
+++ xmlroff/Makefile.am 2016-03-26 11:01:28.445341000 +0900
|
||||
@@ -6,8 +6,7 @@
|
||||
--- xmlroff/Makefile.am.orig 2009-03-11 21:08:57 UTC
|
||||
+++ xmlroff/Makefile.am
|
||||
@@ -6,8 +6,7 @@ endif
|
||||
|
||||
INCLUDES = \
|
||||
-DG_LOG_DOMAIN=\"libfo\" \
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
|
||||
bin_PROGRAMS = \
|
||||
xmlroff
|
||||
@@ -18,11 +17,8 @@
|
||||
@@ -18,11 +17,8 @@ bin_PROGRAMS = \
|
||||
xmlroff_SOURCES = \
|
||||
xmlroff.c
|
||||
|
||||
|
|
|
|||
|
|
@ -1565,6 +1565,7 @@
|
|||
SUBDIR += py-django-mptt
|
||||
SUBDIR += py-django-openid-auth
|
||||
SUBDIR += py-django-otp
|
||||
SUBDIR += py-django-otp-yubikey
|
||||
SUBDIR += py-django-overextends
|
||||
SUBDIR += py-django-paging
|
||||
SUBDIR += py-django-photologue
|
||||
|
|
|
|||
21
www/py-django-otp-yubikey/Makefile
Normal file
21
www/py-django-otp-yubikey/Makefile
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# Created by: Carlo Strub <cs@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= django-otp-yubikey
|
||||
PORTVERSION= 0.3.3
|
||||
CATEGORIES= www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= cs@FreeBSD.org
|
||||
COMMENT= Plugin that verifies YubiKey OTP tokens
|
||||
|
||||
LICENSE= BSD2CLAUSE
|
||||
|
||||
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}YubiOTP>0:security/py-YubiOTP \
|
||||
${PYTHON_PKGNAMEPREFIX}django-otp>0:www/py-django-otp
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
www/py-django-otp-yubikey/distinfo
Normal file
3
www/py-django-otp-yubikey/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1465767590
|
||||
SHA256 (django-otp-yubikey-0.3.3.tar.gz) = 0e9f748abf2e380163f33b28de2a1a1a5bb06b8f0c6e91fabdea70d49f1cf58a
|
||||
SIZE (django-otp-yubikey-0.3.3.tar.gz) = 14233
|
||||
5
www/py-django-otp-yubikey/pkg-descr
Normal file
5
www/py-django-otp-yubikey/pkg-descr
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
This is a django-otp plugin that handles YubiKey devices using the Yubico OTP
|
||||
algorithm. This includes two device definitions: one to verify YubiKey tokens
|
||||
locally and another to verify them against a web service.
|
||||
|
||||
WWW: https://pypi.python.org/pypi/django-otp-yubikey
|
||||
|
|
@ -27,7 +27,7 @@ USE_OPENSSL= yes
|
|||
ALL_TARGET= install
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
CPPFLAGS+= -I${OPENSSLINC}
|
||||
CFLAGS+= -I${OPENSSLINC}
|
||||
LDFLAGS+= -L${OPENSSLLIB}
|
||||
|
||||
pre-configure:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue