*/*: sync with upstream

Taken from: HardenedBSD
This commit is contained in:
Franco Fichtner 2017-09-11 16:29:10 +02:00
parent 74ea9ecc90
commit 41df77eed1
92 changed files with 532 additions and 293 deletions

View file

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= stress-ng
PORTVERSION= 0.08.13
PORTREVISION= 1
PORTVERSION= 0.08.14
CATEGORIES= benchmarks
MASTER_SITES= http://kernel.ubuntu.com/~cking/tarballs/stress-ng/

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1504261486
SHA256 (stress-ng-0.08.13.tar.gz) = a1d072f9ec6cac353f94b636bcb1220a2d2e87b858a7310679d52ac067c97de8
SIZE (stress-ng-0.08.13.tar.gz) = 440147
TIMESTAMP = 1505207642
SHA256 (stress-ng-0.08.14.tar.gz) = a7a8767ec92cffdd2c16145e7d1547cee87cb375fd56ce0bd6ecee8a397f0cd9
SIZE (stress-ng-0.08.14.tar.gz) = 444376

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= flrig
PORTVERSION= 1.3.31
PORTVERSION= 1.3.34
CATEGORIES= comms hamradio
MASTER_SITES= SF/fldigi/${PORTNAME}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1494970784
SHA256 (flrig-1.3.31.tar.gz) = b2df2baf21a2324c895b6f3909e605000fc5bb7efc0e59dd2520d9ac8f5c82bc
SIZE (flrig-1.3.31.tar.gz) = 678850
TIMESTAMP = 1505139120
SHA256 (flrig-1.3.34.tar.gz) = 6a6311c2cf3d533f0ac10d7e6b8c6b9ef71c6ce98a7baa2e5c8aeb7e5f91f96f
SIZE (flrig-1.3.34.tar.gz) = 691775

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gammu
PORTVERSION= 2.7
PORTVERSION= 2.9
CATEGORIES= comms python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -16,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libGammu.so:comms/gammu
USES= pkgconfig python:-2.7 tar:bz2
USES= pkgconfig python:-2.7
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1478876563
SHA256 (python-gammu-2.7.tar.bz2) = 007db06a0c5c8d02498a7f9f43052c4a936adddd842640c96ad6f2d4f8cf2140
SIZE (python-gammu-2.7.tar.bz2) = 118067
TIMESTAMP = 1505141452
SHA256 (python-gammu-2.9.tar.gz) = 15b9c10b39e3117f04e9ee5c6581d4669677b2fb96037694491f55989610c5bf
SIZE (python-gammu-2.9.tar.gz) = 135322

View file

@ -3,7 +3,7 @@
PORTNAME= evolution-data-server
PORTVERSION= 3.24.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= databases gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
@ -33,7 +33,6 @@ PORTSCOUT= limitw:1,even
USES= bdb:5 cmake compiler:c++11-lib gettext gnome gperf \
iconv localbase pathfix pkgconfig python:3.3+,build\
sqlite tar:xz
USE_CXXSTD= gnu++11
USE_GNOME= cairo gdkpixbuf2 gtk30 intltool introspection:build libxml2
USE_LDCONFIG= yes

View file

@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= speedtables
PORTVERSION= 1.13.3
#DISTVERSIONPREFIX= v
PORTREVISION= 0
PORTVERSION= 1.13.4
DISTVERSIONPREFIX= v
CATEGORIES= databases
MAINTAINER= gahr@FreeBSD.org
@ -17,14 +16,14 @@ LIB_DEPENDS= libtclx8.4.so:lang/tclX \
libboost_graph.so:devel/boost-libs
RUN_DEPENDS= ${LOCALBASE}/lib/tcllib/ncgi/ncgi.tcl:devel/tcllib
USE_GITHUB= yes
GH_ACCOUNT= flightaware
USES= autoreconf tcl:tea
CONFIGURE_ARGS= --with-boost=${LOCALBASE}
MAKE_ENV= TCLSH=${TCLSH}
TEST_TARGET= test
USE_GITHUB= yes
GH_ACCOUNT= flightaware
PORTDOCS= *
OPTIONS_DEFINE= DOCS PGSQL CASSANDRA
@ -34,14 +33,6 @@ PGSQL_LIB_DEPENDS= libpgtcl2.0.0.so:databases/postgresql94-pgtcl
CASSANDRA_CONFIGURE_ON= --with-casstcl=${LOCALBASE}
CASSANDRA_LIB_DEPENDS= libcasstcl.so:databases/casstcl
post-patch:
# https://github.com/flightaware/speedtables/commit/33d3d
${REINPLACE_CMD} -e 's|fixed-defaults|fixed-default|' \
${WRKSRC}/ctables/tests/Makefile.in
post-configure:
${CHMOD} a+x ${WRKSRC}/ctable_server/sttp
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/ctables/docs/manual && \

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1504255513
SHA256 (flightaware-speedtables-1.13.3_GH0.tar.gz) = 4cb7e44ffbbfcc8cee3da4b3a7ef454eb6229ebd111be45446323fe11ee81a3b
SIZE (flightaware-speedtables-1.13.3_GH0.tar.gz) = 737623
TIMESTAMP = 1505212746
SHA256 (flightaware-speedtables-v1.13.4_GH0.tar.gz) = 4fb2f2c3b8fff9adc60b75b9998cd0536c1b0c9b42dee750b3d7fd27be58879d
SIZE (flightaware-speedtables-v1.13.4_GH0.tar.gz) = 737657

View file

@ -3,13 +3,16 @@
PORTNAME= fb-adb
DISTVERSION= 1.4.4-126
DISTVERSIONSUFFIX= -g6fd78ae
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel comms
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
PATCHFILES= 1b5524282981.patch:-p1 \
8f532a9ee3a3.patch:-p1 \
a25602788c1b.patch:-p1 \
3a3a52355a39.patch:-p1 \
281df4766b82.patch:-p1 \
723148059ce2.patch:-p1 \
${NULL}
MAINTAINER= jbeich@FreeBSD.org

View file

@ -11,3 +11,9 @@ SHA256 (8f532a9ee3a3.patch) = 517d8c8f23ae5e3bdb63445c42ab5a7b7100b30d9fd60e047b
SIZE (8f532a9ee3a3.patch) = 1235
SHA256 (a25602788c1b.patch) = 0548d555636cbee711a5d7f3d2e8d119e8016ad5f71dd74a5a898450d127fc3d
SIZE (a25602788c1b.patch) = 9741
SHA256 (3a3a52355a39.patch) = 99f6646b0d1821497189c8348d1e29663ab69a99991b6140bf0355ecb8c6f219
SIZE (3a3a52355a39.patch) = 2591
SHA256 (281df4766b82.patch) = 37d723cacc36ab3b097a2c1fdf959d50a4f16831dd834bdfd98902744b9506ec
SIZE (281df4766b82.patch) = 746
SHA256 (723148059ce2.patch) = 92788bb32dd45b6e989fe58ee2786cad32861b9729c9a8e2b5ab7ffefc41221f
SIZE (723148059ce2.patch) = 536

View file

@ -3,7 +3,7 @@
PORTNAME= icu-le-hb
DISTVERSION= 1.0.3-3
DISTVERSIONSUFFIX= -gb8a3163
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel print
MAINTAINER= office@FreeBSD.org
@ -20,8 +20,7 @@ LIB_DEPENDS= libicuuc.so:devel/icu \
USE_GITHUB= yes
GH_ACCOUNT= behdad
USES= autoreconf compiler:c++11-lib gmake libtool pathfix pkgconfig
USE_CXXSTD= gnu++11
USES= autoreconf gmake libtool pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip

View file

@ -3,7 +3,7 @@
PORTNAME= intl
PORTVERSION= 3.0.0
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= devel pear
MAINTAINER= sunpoet@FreeBSD.org
@ -14,7 +14,6 @@ LICENSE= PHP301
LIB_DEPENDS= libicui18n.so:devel/icu
IGNORE_WITH_PHP=70 71
USES= compiler:c++11-lib php:pecl
USE_CXXSTD= gnu++11
USES= php:pecl
.include <bsd.port.mk>

View file

@ -1,14 +1,11 @@
# Created by: Alex Dupre <ale@FreeBSD.org>
# $FreeBSD$
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTERDIR= ${.CURDIR}/../../lang/php70
PKGNAMESUFFIX= -intl
USES= compiler:c++11-lib
USE_CXXSTD= gnu++11
.include "${MASTERDIR}/Makefile"

View file

@ -1,13 +1,10 @@
# $FreeBSD$
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTERDIR= ${.CURDIR}/../../lang/php71
PKGNAMESUFFIX= -intl
USES= compiler:c++11-lib
USE_CXXSTD= gnu++11
.include "${MASTERDIR}/Makefile"

View file

@ -3,7 +3,7 @@
PORTNAME= pyicu
PORTVERSION= 1.9.4
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -15,17 +15,14 @@ COMMENT= Python extension wrapping IBM's ICU C++ API #'
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libicudata.so:devel/icu
USES?= python
USES+= compiler:c++11-lib
USE_CXXSTD= gnu++11
USE_PYTHON= distutils autoplist
MAKE_ENV+= PYICU_INCLUDES="${LOCALBASE}/include" \
PYICU_CFLAGS="${CXXFLAGS:ts:}" \
PYICU_LFLAGS="-L${LOCALBASE}/lib"
CFLAGS+= -w -DPYICU_VER=\"${PORTVERSION}\"
MAKE_ENV+= PYICU_INCLUDES="${PREFIX}/include" \
PYICU_CFLAGS="-w:-DPYICU_VER=\"${PORTVERSION}\"" \
PYICU_LFLAGS="-L${PREFIX}/lib"
LIB_DEPENDS+= libicudata.so:devel/icu
pre-configure:
@if [ ! -e ${LOCALBASE}/lib/libicule.so ]; then \

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= wheel
PORTVERSION= 0.29.0
PORTVERSION= 0.30.0
PORTREVISION= 0
CATEGORIES= devel
MASTER_SITES= CHEESESHOP

View file

@ -1,2 +1,3 @@
SHA256 (wheel-0.29.0.tar.gz) = 1ebb8ad7e26b448e9caa4773d2357849bf80ff9e313964bcaf79cbf0201a1648
SIZE (wheel-0.29.0.tar.gz) = 54143
TIMESTAMP = 1505203839
SHA256 (wheel-0.30.0.tar.gz) = 9515fe0a94e823fd90b08d22de45d7bde57c90edce705b22f5e1ecf7e1b653c8
SIZE (wheel-0.30.0.tar.gz) = 43087

View file

@ -10,6 +10,10 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.6.1.a1
MAINTAINER= ports@FreeBSD.org
COMMENT= Application Development Environment for Tcl/Tk
DEPRECATED= This port depends on Tcl/Tk 8.4 , which is no longer\
maintained. Please port it to 8.5+
EXPIRATION_DATE= 2017-10-15
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE

View file

@ -13,6 +13,10 @@ MASTER_SITES= SF/tclpad/tclpad/${PORTVERSION} \
MAINTAINER= ports@FreeBSD.org
COMMENT= Windows XP (TM) enhanced Notepad clone written in Tcl/Tk
DEPRECATED= This port depends on Tcl/Tk 8.4 , which is no longer\
maintained. Please port it to 8.5+
EXPIRATION_DATE= 2017-10-15
LICENSE= GPLv2+
NO_BUILD= yes

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= with-editor
PORTVERSION= 2.5.11
PORTVERSION= 2.6.0
DISTVERSIONPREFIX= v
CATEGORIES= editors elisp
PKGNAMESUFFIX= -${EMACS_PORT_NAME}
@ -12,9 +12,6 @@ COMMENT= Use the Emacsclient as the $EDITOR of child processes
LICENSE= GPLv3
BUILD_DEPENDS= dash.el>0:devel/dash.el
RUN_DEPENDS= dash.el>0:devel/dash.el
USE_GITHUB= yes
GH_ACCOUNT= magit

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1497515723
SHA256 (magit-with-editor-v2.5.11_GH0.tar.gz) = 65e8a07e283dc157c4e282fb31ebfde0b58a2d31372bdaf7a864343bcb5cda9f
SIZE (magit-with-editor-v2.5.11_GH0.tar.gz) = 28112
TIMESTAMP = 1504782599
SHA256 (magit-with-editor-v2.6.0_GH0.tar.gz) = 8f26a619d745f0a47281fd389c6f947733752472eec26a2b1d5e7f641063ea04
SIZE (magit-with-editor-v2.6.0_GH0.tar.gz) = 28124

View file

@ -11,25 +11,28 @@ DISTNAME= dd2-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Old school shoot'em up game
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USE_SDL= sdl image mixer
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --localstatedir=/var/games
OPTIONS_DEFINE= DOCS
DATADIR= ${PREFIX}/share/dd2
.include <bsd.port.options.mk>
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|COPYING||g' ${WRKSRC}/Makefile.in
.if empty(PORT_OPTIONS:MDOCS)
post-patch-DOCS-off:
@${REINPLACE_CMD} '/install-data-am:/s/install-docsDATA//' \
${WRKSRC}/Makefile.in
.endif
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc
${INSTALL_DATA} ${WRKSRC}/src/data/dd2.cfg ${STAGEDIR}${PREFIX}/etc/dd2.cfg.sample
${MKDIR} ${STAGEDIR}/var/games
@${MKDIR} ${STAGEDIR}/var/games
${TOUCH} ${STAGEDIR}/var/games/dd2-hiscore.sample
.include <bsd.port.mk>

View file

@ -1,6 +1,6 @@
--- src/Makefile.in.orig Thu Jul 15 15:23:01 2004
+++ src/Makefile.in Thu Jul 15 15:23:41 2004
@@ -73,7 +73,7 @@
--- src/Makefile.in.orig 2007-08-16 17:11:33 UTC
+++ src/Makefile.in
@@ -73,7 +73,7 @@ bin_PROGRAMS = dd2
dd2_SOURCES = menu.c SDL_plus.c cfg.c engine.c control.c engine.h control.h cfg.h SDL_plus.h menu.h main.c main.h
EXTRA_DIST = menu.c SDL_plus.c cfg.c engine.c control.c engine.h control.h cfg.h SDL_plus.h menu.h main.c main.h

View file

@ -1,6 +1,6 @@
--- src/data/Makefile.in.orig Fri Jul 2 17:43:12 2004
+++ src/data/Makefile.in Thu Jul 15 15:28:35 2004
@@ -65,7 +65,7 @@
--- src/data/Makefile.in.orig 2007-08-16 17:11:33 UTC
+++ src/data/Makefile.in
@@ -65,7 +65,7 @@ SDL_CONFIG = @SDL_CONFIG@
SDL_LIBS = @SDL_LIBS@
VERSION = @VERSION@
@ -9,7 +9,7 @@
EXTRA_DIST = bgm1.xm bgm2.xm efx1.wav efx2.wav efx3.wav efx4.wav efx5.wav efx6.wav efx7.wav efx8.wav gfx.bmp dd2.cfg game.act dd2-hiscore
@@ -192,7 +192,6 @@
@@ -197,7 +197,6 @@ maintainer-clean-generic clean mostlycle
install-data-hook:

View file

@ -1,6 +1,6 @@
--- src/main.c.orig Thu Jul 15 15:04:36 2004
+++ src/main.c Thu Jul 15 15:17:57 2004
@@ -284,7 +284,7 @@
--- src/main.c.orig 2007-08-14 18:59:42 UTC
+++ src/main.c
@@ -285,7 +285,7 @@ main (int argc, char *argv[])
sprintf(buffer,"%.500s/.dd2rc",getenv("HOME"));
if(!loadCFG(buffer,&conf)) {
/* if there's no local, use global */
@ -9,7 +9,7 @@
if(!loadCFG(buffer,&conf))
fprintf(stderr,"unable to read configuration, using defaults\n");
}
@@ -295,7 +295,7 @@
@@ -296,7 +296,7 @@ main (int argc, char *argv[])
#endif
/* read hi-scores */
@ -18,7 +18,7 @@
if(!loadScore(buffer,hiscore))
fprintf(stderr,"unable to read hi-scores, using defaults\n");
@@ -462,7 +462,7 @@
@@ -463,7 +463,7 @@ main (int argc, char *argv[])
saveCFG(buffer,&conf);
/* save hi-scores */

View file

@ -3,4 +3,4 @@ aims to be an 'old school' arcade game with low resolution graphics,
top-down scroll action, energy based gameplay and different weapons
with several levels of power.
WWW: http://www.usebox.net/jjm/dd2/
WWW: https://www.usebox.net/jjm/dd2/

View file

@ -1,18 +1,18 @@
@(,games,2755) bin/dd2
@sample(,games,664) /var/games/dd2-hiscore.sample
@sample etc/dd2.cfg.sample
share/dd2/bgm1.xm
share/dd2/bgm2.xm
share/dd2/efx1.wav
share/dd2/efx2.wav
share/dd2/efx3.wav
share/dd2/efx4.wav
share/dd2/efx5.wav
share/dd2/efx6.wav
share/dd2/efx7.wav
share/dd2/efx8.wav
share/dd2/game.act
share/dd2/gfx.bmp
%%DATADIR%%/bgm1.xm
%%DATADIR%%/bgm2.xm
%%DATADIR%%/efx1.wav
%%DATADIR%%/efx2.wav
%%DATADIR%%/efx3.wav
%%DATADIR%%/efx4.wav
%%DATADIR%%/efx5.wav
%%DATADIR%%/efx6.wav
%%DATADIR%%/efx7.wav
%%DATADIR%%/efx8.wav
%%DATADIR%%/game.act
%%DATADIR%%/gfx.bmp
%%PORTDOCS%%share/doc/dd2/AUTHORS
%%PORTDOCS%%share/doc/dd2/ChangeLog
%%PORTDOCS%%share/doc/dd2/NEWS

View file

@ -9,6 +9,10 @@ MASTER_SITES= SF/tkgames/${PORTNAME}/main
MAINTAINER= ports@FreeBSD.org
COMMENT= Tessellation puzzle game
DEPRECATED= This port depends on Tcl/Tk 8.4 , which is no longer\
maintained. Please port it to 8.5+
EXPIRATION_DATE= 2017-10-15
USES= tar:tgz tk:84,run
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes

View file

@ -11,6 +11,7 @@ MAINTAINER= sbz@FreeBSD.org
COMMENT= Minimalist FIFO and filesystem-based IRC client
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
PLIST_FILES= bin/ii man/man1/ii.1.gz
PORTDOCS= CHANGES FAQ README
@ -19,11 +20,15 @@ PORTEXAMPLES= query.sh
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
@${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>

View file

@ -6,6 +6,10 @@ PKGNAMESUFFIX= -tcl
COMMENT= Free Pascal interface to the tcl/tk interpreter
DEPRECATED= This port depends on Tcl/Tk 8.4 , which is no longer\
maintained. Please port it to 8.5+
EXPIRATION_DATE= 2017-10-15
USE_FPC= fcl-base
MASTERDIR= ${.CURDIR}/../../lang/fpc

View file

@ -7,7 +7,7 @@ PORTNAME= perl
DISTVERSIONPREFIX= v
DISTVERSION= ${GH_TAGNAME:C/^v//:C/-g[0-9a-f]*$//}
DISTVERSIONSUFFIX= ${GH_TAGNAME:C/.*-g/-g/}
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= lang devel perl5
# XXX Leave only CPAN.
MASTER_SITES= LOCAL/mat/perl GH
@ -126,6 +126,10 @@ CONFIGURE_ARGS+= \
-Alddlflags='-L${WRKSRC} -L${PREFIX}/${_ARCH_LIB}/CORE -lperl' \
-Dshrpldflags='$$(LDDLFLAGS:N-L${WRKSRC}:N-L${PREFIX}/${_ARCH_LIB}/CORE:N-lperl) -Wl,-soname,$$(LIBPERL)'
# XXX should be fixed soon.
CONFIGURE_ARGS+= \
-Accflags=-DNO_USE_ATFUNCTIONS
# Give a hint of where libperl.so can be found.
USE_LDCONFIG= ${PREFIX}/${_ARCH_LIB}/CORE

View file

@ -2,7 +2,7 @@
PORTNAME= phantomjs
PORTVERSION= 2.1.1
PORTREVISION= 2
PORTREVISION= 5
CATEGORIES= lang
MAINTAINER= feld@FreeBSD.org

View file

@ -0,0 +1,64 @@
------------------------------------------------------------------------
r216187 | annulen@yandex.ru | 2017-05-05 00:33:41 +0900 (Fri, 05 May 2017) | 28 lines
Fix compilation with ICU 59.1
https://bugs.webkit.org/show_bug.cgi?id=171612
Reviewed by Mark Lam.
ICU 59.1 has broken source compatibility. Now it defines UChar as
char16_t, which does not allow automatic type conversion from unsigned
short in C++ code.
--- src/qt/qtwebkit/Source/JavaScriptCore/API/JSStringRef.cpp.orig 2016-01-08 10:07:46 UTC
+++ src/qt/qtwebkit/Source/JavaScriptCore/API/JSStringRef.cpp
@@ -37,7 +37,7 @@ using namespace WTF::Unicode;
JSStringRef JSStringCreateWithCharacters(const JSChar* chars, size_t numChars)
{
initializeThreading();
- return OpaqueJSString::create(chars, numChars).leakRef();
+ return OpaqueJSString::create(reinterpret_cast<const UChar*>(chars), numChars).leakRef();
}
JSStringRef JSStringCreateWithUTF8CString(const char* string)
@@ -62,7 +62,7 @@ JSStringRef JSStringCreateWithUTF8CString(const char*
JSStringRef JSStringCreateWithCharactersNoCopy(const JSChar* chars, size_t numChars)
{
initializeThreading();
- return OpaqueJSString::create(StringImpl::createWithoutCopying(chars, numChars, WTF::DoesNotHaveTerminatingNullCharacter)).leakRef();
+ return OpaqueJSString::create(StringImpl::createWithoutCopying(reinterpret_cast<const UChar*>(chars), numChars, WTF::DoesNotHaveTerminatingNullCharacter)).leakRef();
}
JSStringRef JSStringRetain(JSStringRef string)
@@ -83,7 +83,7 @@ size_t JSStringGetLength(JSStringRef string)
const JSChar* JSStringGetCharactersPtr(JSStringRef string)
{
- return string->characters();
+ return reinterpret_cast<const JSChar*>(string->characters());
}
size_t JSStringGetMaximumUTF8CStringSize(JSStringRef string)
--- src/qt/qtwebkit/Source/JavaScriptCore/runtime/DateConversion.cpp.orig 2016-01-08 10:07:46 UTC
+++ src/qt/qtwebkit/Source/JavaScriptCore/runtime/DateConversion.cpp
@@ -107,7 +107,8 @@ String formatDateTime(const GregorianDateTime& t, Date
#if OS(WINDOWS)
TIME_ZONE_INFORMATION timeZoneInformation;
GetTimeZoneInformation(&timeZoneInformation);
- const WCHAR* timeZoneName = t.isDST() ? timeZoneInformation.DaylightName : timeZoneInformation.StandardName;
+ const WCHAR* winTimeZoneName = t.isDST() ? timeZoneInformation.DaylightName : timeZoneInformation.StandardName;
+ String timeZoneName(reinterpret_cast<const UChar*>(winTimeZoneName));
#else
struct tm gtm = t;
char timeZoneName[70];
--- src/qt/qtwebkit/Source/WebKit2/Shared/API/c/WKString.cpp.orig 2016-01-08 10:07:46 UTC
+++ src/qt/qtwebkit/Source/WebKit2/Shared/API/c/WKString.cpp
@@ -55,7 +55,7 @@ size_t WKStringGetLength(WKStringRef stringRef)
size_t WKStringGetCharacters(WKStringRef stringRef, WKChar* buffer, size_t bufferLength)
{
COMPILE_ASSERT(sizeof(WKChar) == sizeof(UChar), WKStringGetCharacters_sizeof_WKChar_matches_UChar);
- return (toImpl(stringRef)->getCharacters(static_cast<UChar*>(buffer), bufferLength));
+ return (toImpl(stringRef)->getCharacters(reinterpret_cast<UChar*>(buffer), bufferLength));
}
size_t WKStringGetMaximumUTF8CStringSize(WKStringRef stringRef)

View file

@ -8,7 +8,7 @@ MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= dave@dal.ca
COMMENT= Hy is a dialect of lisp that's is embedded in Python
COMMENT= Hy is a dialect of Lisp that is embedded in Python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE

View file

@ -14,6 +14,9 @@ DISTNAME= ${PORTNAME}${PORTVERSION}-src
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Tool Command Language
DEPRECATED= Tcl/Tk 8.4 is no longer maintained, please use 8.5+
EXPIRATION_DATE= 2017-10-15
LICENSE= TclTk
LICENSE_NAME= Tcl/Tk License
LICENSE_FILE= ${WRKSRC}/../license.terms

View file

@ -3,7 +3,7 @@
PORTNAME= mutt
PORTVERSION= 1.9.0
PORTREVISION?= 0
PORTREVISION?= 1
CATEGORIES+= mail ipv6
MASTER_SITES= ftp://ftp.mutt.org/pub/mutt/ \
ftp://ftp.fu-berlin.de/pub/unix/mail/mutt/ \
@ -203,7 +203,6 @@ NNTP_PATCHFILES= patch-${VVV_PATCH_VERSION}.vvv.nntp.gz:-p1:vvv
NNTP_CONFIGURE_ON= --enable-nntp
NNTP_VARS= XML_NEEDED=yes
NNTP_CATEGORIES= news
NNTP_BROKEN= NNTP fails to apply to 1.9.0
SIDEBAR_CONFIGURE_ENABLE= sidebar
@ -212,7 +211,7 @@ DOCS_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-doc-ref
.include <bsd.port.options.mk>
# un/comment as each VERSION is created for PORTVERSION
VVV_PATCH_VERSION= 1.8.3
#VVV_PATCH_VERSION= 1.8.3
#GREETING_PATCH_VERSION= 1.8.3
.if !defined(VVV_PATCH_VERSION)

View file

@ -1,13 +1,13 @@
TIMESTAMP = 1504471107
TIMESTAMP = 1505077543
SHA256 (mutt/mutt-1.9.0.tar.gz) = ec6d7595d3a1f26ae9f565b5ba5ffee94f9b2dc0683b0014684f2dc874f9e2d4
SIZE (mutt/mutt-1.9.0.tar.gz) = 4191932
SHA256 (mutt/date-conditional.diff) = 8936c5fe7a2a62a68f2a8d001c7a6dddf138c48186a338482b6639507ba9133e
SIZE (mutt/date-conditional.diff) = 2023
SHA256 (mutt/mutt-1.9.0.vc.greeting) = b4ac804c24a07c7eb8330ebfdc94cdbf6fd7a4671badfb32fb611df09c008317
SIZE (mutt/mutt-1.9.0.vc.greeting) = 4534
SHA256 (mutt/patch-1.8.3.vvv.nntp.gz) = 940cf7fd4fbea39f48bd5594180a7be5c3cc6714d62eeb3f2e5fbc0ab4b3545b
SIZE (mutt/patch-1.8.3.vvv.nntp.gz) = 60675
SHA256 (mutt/patch-1.8.3.vvv.initials.gz) = e929c863dd012624b2ac724cd296f346374cd2522f256020fa458e94890ca750
SIZE (mutt/patch-1.8.3.vvv.initials.gz) = 686
SHA256 (mutt/patch-1.8.3.vvv.quote.gz) = 03b1aa4aa9152b968fc1709e68207073df62b9b1a5da43ff1d680d6dfe17fe35
SIZE (mutt/patch-1.8.3.vvv.quote.gz) = 1282
SHA256 (mutt/patch-1.9.0.vvv.nntp.gz) = f7098b713dfcbb2a4a6e5edaf536eb99be6d92fad073d5d3ac436b0191c7c892
SIZE (mutt/patch-1.9.0.vvv.nntp.gz) = 60687
SHA256 (mutt/patch-1.9.0.vvv.initials.gz) = 4673ca438fb673dfee09c6b8b8f9e8e78af06056f1b515c6030b0533dae847e5
SIZE (mutt/patch-1.9.0.vvv.initials.gz) = 681
SHA256 (mutt/patch-1.9.0.vvv.quote.gz) = 22967bd615bd0c10046e264270b6d9cd037fd078365ed3bc1f4d631b8c69b003
SIZE (mutt/patch-1.9.0.vvv.quote.gz) = 1279

View file

@ -1,6 +1,6 @@
--- init.h.orig 2017-04-14 01:20:27 UTC
--- init.h.orig 2017-09-10 22:12:31 UTC
+++ init.h
@@ -903,6 +903,11 @@ struct option_t MuttVars[] = {
@@ -911,6 +911,11 @@ struct option_t MuttVars[] = {
** message via mail.
*/
#endif
@ -12,9 +12,9 @@
{ "force_name", DT_BOOL, R_NONE, OPTFORCENAME, 0 },
/*
** .pp
--- mutt.h.orig 2017-04-14 01:20:27 UTC
--- mutt.h.orig 2017-09-10 22:12:31 UTC
+++ mutt.h
@@ -368,6 +368,7 @@ enum
@@ -379,6 +379,7 @@ enum
OPTFCCCLEAR,
OPTFLAGSAFE,
OPTFOLLOWUPTO,
@ -22,9 +22,9 @@
OPTFORCENAME,
OPTFORWDECODE,
OPTFORWQUOTE,
--- sendlib.c.orig 2017-04-14 01:20:27 UTC
--- sendlib.c.orig 2017-09-10 22:12:31 UTC
+++ sendlib.c
@@ -1175,7 +1175,9 @@ static void mutt_set_encoding (BODY *b,
@@ -1180,7 +1180,9 @@ static void mutt_set_encoding (BODY *b,
if (b->type == TYPETEXT)
{
char *chsname = mutt_get_body_charset (send_charset, sizeof (send_charset), b);

View file

@ -1,8 +1,8 @@
--- PATCHES.orig 2017-04-09 21:00:46 UTC
--- PATCHES.orig 2017-09-10 21:57:09 UTC
+++ PATCHES
@@ -0,0 +1 @@
+patch-1.5.7.ust.maildir-mtime.2
--- browser.c.orig 2017-04-09 20:49:44 UTC
--- browser.c.orig 2017-09-10 21:56:59 UTC
+++ browser.c
@@ -35,6 +35,7 @@
#ifdef USE_NNTP
@ -43,8 +43,8 @@
!mutt_strcmp (tmp->realpath, Context->realpath))
{
@@ -737,6 +754,7 @@ static int examine_mailboxes (MUTTMENU *
strfcpy (buffer, NONULL(tmp->path), sizeof (buffer));
mutt_pretty_mailbox (buffer, sizeof (buffer));
s.st_mtime = st2.st_mtime;
}
+ check_maildir_times (tmp, &s);
add_folder (menu, state, buffer, &s, tmp, NULL);

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pymailq
PORTVERSION= 0.5.4
PORTVERSION= 0.8.0
CATEGORIES= mail python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -27,8 +27,9 @@ PLIST_FILES+= man/man1/pqshell.1.gz
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr/sbin/postqueue|${LOCALBASE}/sbin/postqueue|' \
${WRKSRC}/pymailq/store.py
@${REINPLACE_CMD} -e \
's|%%DOCSDIR%%|${DOCSDIR}|g; s|%%EXAMPLESDIR%%|${EXAMPLESDIR}|g' \
${WRKSRC}/setup.py
post-install:
${INSTALL_MAN} ${WRKSRC}/man/pqshell.1 ${STAGEDIR}${MANPREFIX}/man/man1/pqshell-${PYTHON_VER}.1

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1495872044
SHA256 (pymailq-0.5.4.tar.gz) = 25e6afc496c5cbd46221ced5c3db2f0bf86acdbe2f0a8753493143b75768b493
SIZE (pymailq-0.5.4.tar.gz) = 25038
TIMESTAMP = 1504168247
SHA256 (pymailq-0.8.0.tar.gz) = 48b463d8a7563b2cb368a60c169143a3f1b3b5f8bf232610d7bfc2c0c18644ec
SIZE (pymailq-0.8.0.tar.gz) = 29881

View file

@ -1,11 +1,17 @@
--- setup.py.orig 2017-05-29 11:46:42 UTC
--- setup.py.orig 2017-08-31 10:22:19 UTC
+++ setup.py
@@ -39,8 +39,6 @@ if __name__ == '__main__':
@@ -39,11 +39,10 @@ if __name__ == '__main__':
scripts=['bin/pqshell'],
packages=['pymailq'],
package_dir={'pymailq': 'pymailq'},
- data_files=[('share/doc/pymailq', ['README.rst', 'LICENSE']),
- ('share/man/man1/', ['man/pqshell.1'])],
- data_files=[('share/doc/pymailq', ['README.rst', 'LICENSE', 'CHANGES']),
- ('share/doc/pymailq/examples', [
+ data_files=[('%%DOCSDIR%%', ['README.rst', 'LICENSE', 'CHANGES']),
+ ('%%EXAMPLESDIR%%', [
'share/doc/examples/pymailq.ini'
- ]),
- ('share/man/man1', ['man/pqshell.1'])],
+ ])],
keywords=['postfix', 'shell', 'mailq', 'python', 'pqshell', 'postqueue'],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Development Status :: 5 - Production/Stable',

View file

@ -3,7 +3,7 @@
PORTNAME= sword
PORTVERSION= 1.7.4
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= misc
MASTER_SITES= ftp://ftp.crosswire.org/pub/sword/source/v${PORTVERSION:R}/ \
http://crosswire.org/ftpmirror/pub/sword/source/v${PORTVERSION:R}/
@ -21,8 +21,7 @@ BROKEN_powerpc64= does not compile: libicui18n.so: undefined reference to __cxa_
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-conf --with-zlib
INSTALL_TARGET= install-strip
USES= compiler:c++11-lib gmake libtool pathfix pkgconfig
USE_CXXSTD= gnu++11
USES= gmake libtool pathfix pkgconfig
USE_LDCONFIG= yes
SUB_FILES= pkg-message

View file

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= ffmpeg
PORTVERSION= 3.3.3
PORTREVISION= 1
PORTVERSION= 3.3.4
PORTEPOCH= 1
CATEGORIES= multimedia audio ipv6 net
MASTER_SITES= http://ffmpeg.org/releases/

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1502831570
SHA256 (ffmpeg-3.3.3.tar.xz) = d2a9002cdc6b533b59728827186c044ad02ba64841f1b7cd6c21779875453a1e
SIZE (ffmpeg-3.3.3.tar.xz) = 8285032
TIMESTAMP = 1505177492
SHA256 (ffmpeg-3.3.4.tar.xz) = 98b97e1b908dfeb6aeb6d407e5a5eacdfc253a40c2d195f5867ed2d1d46ea957
SIZE (ffmpeg-3.3.4.tar.xz) = 8282960

View file

@ -2,8 +2,8 @@
PORTNAME= mpc-qt
DISTVERSIONPREFIX= v
DISTVERSION= 17.09
PORTREVISION= 1
DISTVERSION= 17.09-12
DISTVERSIONSUFFIX= -g485ba78
CATEGORIES= multimedia audio
MAINTAINER= jbeich@FreeBSD.org

View file

@ -1,5 +1,5 @@
TIMESTAMP = 1504088766
SHA256 (cmdrkotori-mpc-qt-v17.09_GH0.tar.gz) = 88842c320a5331db9aa68102241d19a104693ceedb66192b02e728c7cc8fcc6d
SIZE (cmdrkotori-mpc-qt-v17.09_GH0.tar.gz) = 167992
TIMESTAMP = 1504521873
SHA256 (cmdrkotori-mpc-qt-v17.09-12-g485ba78_GH0.tar.gz) = bed5309ae7a46cee27ae88f45c49a7b691510cf212da15c173a2d34c665421b6
SIZE (cmdrkotori-mpc-qt-v17.09-12-g485ba78_GH0.tar.gz) = 172717
SHA256 (Argon--mpv-stats-1.1-24-g6a37a6d_GH0.tar.gz) = 4b180ea8f4f45bb8d822745b32d22d61b09204a2d192543429a562801f3af650
SIZE (Argon--mpv-stats-1.1-24-g6a37a6d_GH0.tar.gz) = 15179

View file

@ -10,6 +10,10 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Viewer for Nextview Electronic TV Programme Guide (needs bktr driver)
DEPRECATED= This port depends on Tcl/Tk 8.4 , which is no longer\
maintained. Please port it to 8.5+
EXPIRATION_DATE= 2017-10-15
NOT_FOR_ARCHS= sparc64
USES= gmake tk:84
USE_XORG= x11 xmu

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= cacti
PORTVERSION= 1.1.21
PORTVERSION= 1.1.22
CATEGORIES= net-mgmt www
MASTER_SITES= http://www.cacti.net/downloads/ \
ftp://ftpmirror.uk/freebsd-ports/cacti/

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1504666425
SHA256 (cacti-1.1.21.tar.gz) = e649fea4e8fc9900620af213218989e229aa25a1e1fb10dcde1844b1a2ae3bc0
SIZE (cacti-1.1.21.tar.gz) = 8905650
TIMESTAMP = 1505214823
SHA256 (cacti-1.1.22.tar.gz) = 416fe4b264275bd52c4f3e2f4d7c2bab4c36541e0e5211f98503620b81c7738a
SIZE (cacti-1.1.22.tar.gz) = 8910667

View file

@ -3,6 +3,7 @@
PORTNAME= icinga2
DISTVERSIONPREFIX= v
DISTVERSION= 2.7.0
PORTREVISION= 1
CATEGORIES= net-mgmt
MAINTAINER= lme@FreeBSD.org

View file

@ -0,0 +1,13 @@
--- itl/command-plugins.conf.orig 2017-08-02 13:58:38 UTC
+++ itl/command-plugins.conf
@@ -1630,6 +1630,10 @@ object CheckCommand "procs" {
set_if = "$procs_nokthreads$"
description = "Only scan for non kernel threads"
}
+ "-j" = {
+ value = "$procs_jid$"
+ description = "Only scan for processes within that jail ID"
+ }
}
vars.procs_traditional = false

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= nagios
PORTVERSION= 4.3.3
PORTVERSION= 4.3.4
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= https://assets.nagios.com/downloads/nagioscore/releases/ \

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1504003722
SHA256 (nagios-4.3.3.tar.gz) = 1fc4c72f76c720884dd3b538dc423b44f3bdde24e014f4212e58046a1fc114b6
SIZE (nagios-4.3.3.tar.gz) = 11101531
TIMESTAMP = 1505214102
SHA256 (nagios-4.3.4.tar.gz) = c90b7812d9e343db12be19a572e15c415c5d6353a91c5e226e432c2d4aaa44f1
SIZE (nagios-4.3.4.tar.gz) = 11101966

View file

@ -1,6 +1,6 @@
--- configure.orig 2017-05-09 17:03:31 UTC
--- configure.orig 2017-08-24 21:43:48 UTC
+++ configure
@@ -4776,7 +4776,6 @@ cat >>confdefs.h <<_ACEOF
@@ -4777,7 +4777,6 @@ cat >>confdefs.h <<_ACEOF
#define DEFAULT_NAGIOS_GROUP "$nagios_grp"
_ACEOF
@ -8,7 +8,7 @@
@@ -4797,7 +4796,6 @@ fi
@@ -4798,7 +4797,6 @@ fi

View file

@ -1,9 +1,9 @@
--- html/main.php.orig 2017-08-12 20:22:49 UTC
--- html/main.php.orig 2017-08-24 21:43:48 UTC
+++ html/main.php
@@ -141,31 +141,6 @@ $this_year = '2017';
<div class="product">Nagios<sup><span style="font-size: small;">&reg;</span></sup> Core<sup><span style="font-size: small;">&trade;</span></sup></div>
<div class="version">Version <?php echo $this_version; ?></div>
<div class="releasedate">August 12, 2017</div>
<div class="releasedate">August 24, 2017</div>
- <div class="checkforupdates"><a href="https://www.nagios.org/checkforupdates/?version=<?php echo $this_version; ?>&amp;product=nagioscore" target="_blank">Check for updates</a></div>
-</div>
-

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= rabbitmq
PORTVERSION= 3.6.11
PORTVERSION= 3.6.12
CATEGORIES= net
MASTER_SITES= http://www.rabbitmq.com/releases/rabbitmq-server/v${PORTVERSION}/
DISTNAME= ${PORTNAME}-server-${PORTVERSION}

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1503485780
SHA256 (rabbitmq-server-3.6.11.tar.xz) = 849cb7109d0744954573022b6981c29213fa474360319de1845f0d84da3f3034
SIZE (rabbitmq-server-3.6.11.tar.xz) = 1436156
TIMESTAMP = 1505160341
SHA256 (rabbitmq-server-3.6.12.tar.xz) = c8e5a8ed5aae6167aa0050f41bd9f26d50eb16efd8abd1a1b0b01fcbccb458b9
SIZE (rabbitmq-server-3.6.12.tar.xz) = 1437948

View file

@ -11,6 +11,10 @@ DISTNAME= XPVM.src.${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical console and monitor for PVM
DEPRECATED= This port depends on Tcl/Tk 8.4 , which is no longer\
maintained. Please port it to 8.5+
EXPIRATION_DATE= 2017-10-15
LIB_DEPENDS= libpvm3.so:net/pvm
USES= tk:84 tar:tgz

View file

@ -2,7 +2,7 @@
PORTNAME= texlive
PORTVERSION= 20150521
PORTREVISION= 20
PORTREVISION= 21
CATEGORIES= print
MASTER_SITES= TEX_CTAN/systems/texlive/Source/
PKGNAMESUFFIX= -base
@ -31,7 +31,6 @@ CONFLICTS_INSTALL= texlive-texmf-201[234]*
USE_TEX= web2c kpathsea ptexenc tlmgr texhash-bootstrap
USES= compiler:c++11-lib ghostscript pkgconfig perl5 \
python:run shebangfix tar:xz
USE_CXXSTD= gnu++11
USE_PERL5= run
# during build phase gnu configure is run a lot
MAKE_ENV+= CONFIG_SITE=${CONFIG_SITE}

View file

@ -928,6 +928,7 @@
SUBDIR += py-pow
SUBDIR += py-pyaes
SUBDIR += py-pyaff4
SUBDIR += py-pyaxo
SUBDIR += py-pyclamd
SUBDIR += py-pycrypto
SUBDIR += py-pycryptodome
@ -966,6 +967,7 @@
SUBDIR += py-tuf
SUBDIR += py-twistedConch
SUBDIR += py-twofish
SUBDIR += py-txtorcon
SUBDIR += py-virustotal-api
SUBDIR += py-volatility
SUBDIR += py-vulndb

View file

@ -3,6 +3,7 @@
PORTNAME= logcheck
PORTVERSION= 1.3.18
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= DEBIAN_POOL
DISTNAME= ${PORTNAME}_${PORTVERSION}

View file

@ -1,5 +1,23 @@
--- docs/logcheck-test.1.orig 2017-01-25 21:08:04 UTC
+++ docs/logcheck-test.1
@@ -4,7 +4,7 @@ logcheck-test \- test new logcheck rules
.SH SYNOPSIS
.B logcheck\-test
.RB [ \-q | \-i ]
-.RB [ \-a | \-s | \-l
+.RB [ \-a | \-m | \-l
.IR FILE ]
.RB [ \-e ]
.RB [ \-P
@@ -15,7 +15,7 @@ logcheck-test \- test new logcheck rules
.br
.B logcheck\-test
.RB [ \-q | \-i ]
-.RB [ \-a | \-s | \-l
+.RB [ \-a | \-m | \-l
.IR FILE ]
.B \-r
.I RULEFILE
@@ -38,8 +38,8 @@ Show usage information
.B \-a, \-\-auth.log
Parse /var/log/auth.log for matching lines

View file

@ -9,7 +9,7 @@
-l|--log-file LOGFILE : Parse LOGFILE
-i|--invert-match : Show lines that don't match the RULE or RULEFILE
-q|--quiet : Suppress rule summary
@@ -103,9 +103,9 @@ while [ -n "${1:-}" ]; do
@@ -103,11 +103,11 @@ while [ -n "${1:-}" ]; do
warn "option -a ignored"
fi
;;
@ -19,5 +19,17 @@
- FILE="/var/log/syslog"
+ FILE="/var/log/messages"
else
warn "option -s ignored"
- warn "option -s ignored"
+ warn "option -m ignored"
fi
;;
-q|--quiet)
@@ -169,7 +169,7 @@ while [ -n "${1:-}" ]; do
done
if [ -z "$FILE" ] ; then
- err "no log file specified, please choose -a or -s or -l LOGFILE"
+ err "no log file specified, please choose -a or -m or -l LOGFILE"
exit 2
elif ! [ -r "$FILE" ] ; then
err "'$FILE' permission denied"

View file

@ -1,25 +1,12 @@
#!/bin/sh
user="%%LOGCHECK_USER%%"
group="%%LOGCHECK_GROUP%%"
configfiles="logcheck.conf logcheck.logfiles"
case $2 in
DEINSTALL)
for f in ${configfiles}; do
if diff %%PREFIX%%/etc/logcheck/${f} %%PREFIX%%/etc/logcheck/${f}.sample > /dev/null; then
echo "---> ${f} configuration file is the same as ${f}.sample"
rm -f %%PREFIX%%/etc/logcheck/${f}
echo "---> Deleted %%PREFIX%%/etc/logcheck/${f}"
else
echo "---> %%PREFIX%%/etc/logcheck/${f} differs from sample file; not deleted"
fi
done
;;
POST-DEINSTALL)
if /usr/bin/crontab -u "${user}" -l > /dev/null 2>&1; then
rm -f /var/cron/tabs/${user}
echo "---> Removed crontab for \"${user}\"."
echo y | /usr/bin/crontab -u "${user}" -r
echo "==> Removed crontab for \"${user}\"."
fi
;;
esac

View file

@ -1,8 +1,6 @@
#!/bin/sh
user="%%LOGCHECK_USER%%"
group="%%LOGCHECK_GROUP%%"
configfiles="logcheck.conf logcheck.logfiles"
case $2 in
POST-INSTALL)
@ -10,22 +8,22 @@ POST-INSTALL)
if [ -f %%EXAMPLESDIR%%/crontab.in ] ; then
if /usr/bin/crontab -u "${user}" -l >/tmp/logchecktab$$ 2>&1 ; then
if test -s /tmp/logchecktab$$; then
echo "---> \"${user}\" already has a crontab. Not overwriting it"
echo "---> Please merge any changes from the standard crontab file"
echo "---> %%EXAMPLESDIR%%/crontab.in"
echo "==> \"${user}\" already has a crontab. Not overwriting it"
echo "==> Please merge any changes from the standard crontab file"
echo "==> %%EXAMPLESDIR%%/crontab.in"
else
/usr/bin/crontab -u "${user}" "%%EXAMPLESDIR%%/crontab.in" || exit 1
echo "---> Installed crontab(5) file for user \"${user}\""
echo "==> Installed crontab(5) file for user \"${user}\""
fi
else
if grep -q "are not allowed to use this program" /tmp/logchecktab$$ ; then
echo "---> The logcheck user is not allowed to run crontab."
echo "---> Please check the contents of /var/cron/allow and /var/cron/deny"
echo "---> and grant access, if necessary."
echo "==> The logcheck user is not allowed to run crontab."
echo "==> Please check the contents of /var/cron/allow and /var/cron/deny"
echo "==> and grant access, if necessary."
exit 1
else
/usr/bin/crontab -u "${user}" "%%EXAMPLESDIR%%/crontab.in" || exit 1
echo "---> Created crontab(5) file for user \"${user}\""
echo "==> Created crontab(5) file for user \"${user}\""
fi
fi
rm -f /tmp/logchecktab$$
@ -33,17 +31,9 @@ POST-INSTALL)
else
echo "---> Crontab file was not installed for user \"${user}\""
if [ -f %%EXAMPLESDIR%%/crontab.in ]; then
echo "---> A sample crontab file can be found in %%EXAMPLESDIR%%/crontab.in"
echo "---> for manual installation."
echo "==> A sample crontab file can be found in %%EXAMPLESDIR%%/crontab.in"
echo "==> for manual installation."
fi
fi
for f in ${configfiles}; do
if [ ! -e %%PREFIX%%/etc/logcheck/${f} ]; then
echo "---> It seems you have no previous version of %%PREFIX%%/etc/logcheck/${f}"
cp %%PREFIX%%/etc/logcheck/${f}.sample %%PREFIX%%/etc/logcheck/${f}
echo "---> Created one from ${f}.sample"
fi
done
;;
esac

View file

@ -184,8 +184,6 @@
%%ETCDIR%%/ignore.d.workstation/wpasupplicant
%%ETCDIR%%/ignore.d.workstation/xdm
%%ETCDIR%%/ignore.d.workstation/xlockmore
%%ETCDIR%%/logcheck.conf.sample
%%ETCDIR%%/logcheck.logfiles.sample
%%ETCDIR%%/violations.d/kernel
%%ETCDIR%%/violations.d/logcheck
%%ETCDIR%%/violations.d/smartd
@ -193,6 +191,8 @@
%%ETCDIR%%/violations.d/sudo
%%ETCDIR%%/violations.ignore.d/logcheck-su
%%ETCDIR%%/violations.ignore.d/logcheck-sudo
@sample %%ETCDIR%%/logcheck.conf.sample
@sample %%ETCDIR%%/logcheck.logfiles.sample
@mode
bin/logcheck-test
man/man1/logcheck-test.1.gz

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= nss
PORTVERSION= 3.32
PORTVERSION= 3.32.1
#DISTVERSIONSUFFIX= -with-ckbi-1.98
CATEGORIES= security
MASTER_SITES= MOZILLA/security/${PORTNAME}/releases/${DISTNAME:tu:C/[-.]/_/g}_RTM/src

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1501164572
SHA256 (nss-3.32.tar.gz) = 35c6f381cc96bb25e4f924469f6ba3e57b3a16e0c2fb7e295a284a00d57ed335
SIZE (nss-3.32.tar.gz) = 9493574
TIMESTAMP = 1505146642
SHA256 (nss-3.32.1.tar.gz) = 4de59ca7f5bf4a56fbcfdbb4a054f254ba9f408f56476957404a091048624652
SIZE (nss-3.32.1.tar.gz) = 9494609

View file

@ -1,7 +1,7 @@
# $FreeBSD$
PORTNAME= first-server
PORTVERSION= 0.0.1
PORTVERSION= 0.0.2
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTVERSIONPREFIX= v
@ -13,13 +13,12 @@ COMMENT= Function Identification and Recovery Signature Tool
LICENSE= GPLv2
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mysqlclient>=1.3.8:databases/py-mysqlclient
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mongoengine>=0.10.0:devel/py-mongoengine
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}django>=1.10.2:www/py-django
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}django>=1.11.4:www/py-django
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}werkzeug>=0.11.11:www/py-werkzeug
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}httplib2>=0.9.2:www/py-httplib2
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}oauth2client>=3.0.0:security/py-oauth2client
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}google-api-python-client>=1.5.3:www/py-google-api-python-client
RUN_DEPENDS+= distorm>=0:devel/distorm
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}capstone>=3.0.4:devel/py-capstone
USE_GITHUB= yes
GH_ACCOUNT= vrtadmin

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1501161109
SHA256 (vrtadmin-FIRST-server-v0.0.1_GH0.tar.gz) = 6d4ea5dc46b8557a31d644e1c1fe34d0575111aa39db0507b64a191b4e984d6e
SIZE (vrtadmin-FIRST-server-v0.0.1_GH0.tar.gz) = 2248663
TIMESTAMP = 1505142587
SHA256 (vrtadmin-FIRST-server-v0.0.2_GH0.tar.gz) = 28142ea5326cfecde6663e21b84e71d69e16c317dd52c83b116c5ac999f70ff5
SIZE (vrtadmin-FIRST-server-v0.0.2_GH0.tar.gz) = 2254487

View file

@ -0,0 +1,7 @@
As of version 0.0.2, FIRST no longer requires these packages:
* distorm3
* mongoengine
You may want to remove them.

View file

@ -1,18 +1,29 @@
%%WWWDIR%%/engines/__init__.py
%%WWWDIR%%/engines/admin.py
%%WWWDIR%%/engines/apps.py
%%WWWDIR%%/engines/migrations/__init__.py
%%WWWDIR%%/engines/models.py
%%WWWDIR%%/engines/tests.py
%%WWWDIR%%/engines/views.py
%%WWWDIR%%/example_config.json
%%WWWDIR%%/first/__init__.py
%%WWWDIR%%/first/auth.py
%%WWWDIR%%/first/dbs/__init__.py
%%WWWDIR%%/first/dbs/builtin_db.py
%%WWWDIR%%/first/engines/__init__.py
%%WWWDIR%%/first/engines/basic_masking.py
%%WWWDIR%%/first/engines/exact_match.py
%%WWWDIR%%/first/engines/mnemonic_hash.py
%%WWWDIR%%/first/engines/results.py
%%WWWDIR%%/first/engines/skeleton.py_
%%WWWDIR%%/first/error.py
%%WWWDIR%%/first/models.py
%%WWWDIR%%/first/settings.py
%%WWWDIR%%/first/urls.py
%%WWWDIR%%/first/wsgi.py
%%WWWDIR%%/first_core/__init__.py
%%WWWDIR%%/first_core/auth.py
%%WWWDIR%%/first_core/dbs/__init__.py
%%WWWDIR%%/first_core/dbs/builtin_db.py
%%WWWDIR%%/first_core/disassembly/__init__.py
%%WWWDIR%%/first_core/engines/__init__.py
%%WWWDIR%%/first_core/engines/basic_masking.py
%%WWWDIR%%/first_core/engines/exact_match.py
%%WWWDIR%%/first_core/engines/mnemonic_hash.py
%%WWWDIR%%/first_core/engines/results.py
%%WWWDIR%%/first_core/engines/skeleton.py_
%%WWWDIR%%/first_core/error.py
%%WWWDIR%%/first_core/models.py
%%WWWDIR%%/first_core/util.py
%%WWWDIR%%/manage.py
%%WWWDIR%%/rest/__init__.py
%%WWWDIR%%/rest/admin.py
@ -23,12 +34,15 @@
%%WWWDIR%%/rest/tests.py
%%WWWDIR%%/rest/urls.py
%%WWWDIR%%/rest/views.py
%%WWWDIR%%/utilities/__init__.py
%%WWWDIR%%/utilities/engine_shell.py
%%WWWDIR%%/utilities/populate_engine.py
%%WWWDIR%%/utilities/mongo_to_django_orm.py
%%WWWDIR%%/utilities/test_engine.py
%%WWWDIR%%/utilities/user_shell.py
%%WWWDIR%%/www/__init__.py
%%WWWDIR%%/www/admin.py
%%WWWDIR%%/www/apps.py
%%WWWDIR%%/www/migrations/0001_initial.py
%%WWWDIR%%/www/migrations/__init__.py
%%WWWDIR%%/www/models.py
%%WWWDIR%%/www/static/www/Thumbs.db

View file

@ -0,0 +1,23 @@
# Created by: Yuri Victorovich
# $FreeBSD$
PORTNAME= pyaxo
PORTVERSION= 0.7.7
CATEGORIES= security net python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@rawbw.com
COMMENT= Python implementation of the Axolotl ratchet protocol
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}passlib>=1.6.1:security/py-passlib \
${PYTHON_PKGNAMEPREFIX}pynacl>=1.0.1:security/py-pynacl
USES= python:2.7
USE_PYTHON= autoplist distutils
NO_ARCH= yes
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1504483719
SHA256 (pyaxo-0.7.7.tar.gz) = f0eafd73e76fc9fa8dc403a68254b7f712a311a6208f812f27f8acc4de8aaaa1
SIZE (pyaxo-0.7.7.tar.gz) = 63293

View file

@ -0,0 +1,10 @@
The Double Ratchet Algorithm is a protocol (similar to OTR) that provides for
perfect forward secrecy in (a)synchronous communications. It uses triple
Diffie-Hellman for authentication and ECDHE for perfect forward secrecy. The
protocol is lighter and more robust than the OTR protocol - providing better
forward and future secrecy, as well as deniability.
The protocol was developed by Trevor Perrin and Moxie Marlinspike. Its chief
use currently is in the Open Whisper Systems Signal package.
WWW: https://github.com/rxcomm/pyaxo

View file

@ -0,0 +1,27 @@
# Created by: Yuri Victorovich
# $FreeBSD$
PORTNAME= txtorcon
PORTVERSION= 0.19.3
CATEGORIES= security python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@rawbw.com
COMMENT= Twisted-based Tor controller client
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}twisted>=15.5.0:devel/py-twisted \
${PYTHON_PKGNAMEPREFIX}ipaddress>=1.0.16:net/py-ipaddress \
${PYTHON_PKGNAMEPREFIX}zope.interface>=3.6.1:devel/py-zope.interface \
${PYTHON_PKGNAMEPREFIX}incremental>0:devel/py-incremental \
${PYTHON_PKGNAMEPREFIX}Automat>0:devel/py-Automat
USES= python:2.7 shebangfix
USE_PYTHON= distutils autoplist
NO_ARCH= yes
SHEBANG_FILES= examples/*.py
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1504485237
SHA256 (txtorcon-0.19.3.tar.gz) = f73396667909a3c7a98f4dd865edf4ed6a2518ee5a935d92e18b8a479ec244fd
SIZE (txtorcon-0.19.3.tar.gz) = 265716

View file

@ -0,0 +1,11 @@
txtorcon is an implementation of the control-spec for Tor using the Twisted
networking library for Python.
This is useful for writing utilities to control or make use of Tor in
event-based Python programs. If your Twisted program supports endpoints (like
twistd does) your server or client can make use of Tor immediately, with no
code changes. Start your own Tor or connect to one and get live stream, circuit,
relay updates; read and change config; monitor events; build circuits; create
onion services; etcetera (ReadTheDocs).
WWW: https://github.com/meejah/txtorcon

View file

@ -191,6 +191,7 @@
SUBDIR += consolehm
SUBDIR += consolekit2
SUBDIR += consul
SUBDIR += consul_exporter
SUBDIR += consul-alerts
SUBDIR += contractor
SUBDIR += copytape

View file

@ -2,7 +2,7 @@
PORTNAME= cppcms
PORTVERSION= 1.0.5
PORTREVISION= 8
PORTREVISION= 9
CATEGORIES= www
MASTER_SITES= SF/cppcms/${PORTNAME}/${PORTVERSION}
@ -15,8 +15,7 @@ LIB_DEPENDS= libpcre.so:devel/pcre
BROKEN_powerpc64= Does not build: error: 'localeconv_l' was not declared in this scope
USES= cmake compiler:c++11-lib python:2 shebangfix tar:bzip2 ssl
USE_CXXSTD= gnu++11
USES= cmake python:2 shebangfix tar:bzip2 ssl
USE_LDCONFIG= yes
SHEBANG_FILES= bin/cppcms_tmpl_cc

View file

@ -0,0 +1,22 @@
commit ac723ae99f3a
Author: Petr Sumbera <petr.sumbera@oracle.com>
Date: Tue Jun 27 01:33:49 2017 -0700
Bug 1376277 - nsWrapperCache.h: add support for 64bits sparc build. r=glandium
---
dom/base/nsWrapperCache.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git dom/base/nsWrapperCache.h dom/base/nsWrapperCache.h
index b00d7aceb5c8..994ed73332ff 100644
--- dom/base/nsWrapperCache.h
+++ dom/base/nsWrapperCache.h
@@ -41,7 +41,7 @@ class nsWindowRoot;
// This may waste space for some other nsWrapperCache-derived objects that have
// a 32-bit field as their first member, but those objects are unlikely to be as
// numerous or performance-critical as DOM nodes.
-#if defined(_M_X64) || defined(__x86_64__) || defined(__aarch64__)
+#if defined(_M_X64) || defined(__LP64__)
static_assert(sizeof(void*) == 8, "These architectures should be 64-bit");
#define BOOL_FLAGS_ON_WRAPPER_CACHE
#else

View file

@ -1,8 +1,7 @@
# $FreeBSD$
PORTNAME= node
PORTVERSION= 6.11.2
PORTREVISION= 1
PORTVERSION= 6.11.3
DISTVERSIONPREFIX= v
CATEGORIES= www
MASTER_SITES= http://nodejs.org/dist/v${PORTVERSION}/
@ -34,6 +33,8 @@ BUNDLED_SSL_CONFIGURE_OFF+= --shared-openssl
NLS_CONFIGURE_ON= --with-intl=system-icu
NLS_LIB_DEPENDS= libicui18n.so:devel/icu
DTRACE_CONFIGURE_ON= --with-dtrace
USES= compiler:c++11-lib execinfo gmake python:2,build pkgconfig \
localbase shebangfix
@ -84,10 +85,6 @@ CONFIGURE_ARGS+=--openssl-no-asm
CXXFLAGS+= -D_GLIBCXX_USE_C99
.endif
.if ${PORT_OPTIONS:MDTRACE}
CONFIGURE_ARGS+= --with-dtrace
.endif
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
${WRKSRC}/deps/v8/tools/gyp/v8.gyp

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1502041223
SHA256 (node-v6.11.2.tar.gz) = 20146ed51b638404665737ed8a25cc06e96d7d7259eb90a4bdec4730a78002a6
SIZE (node-v6.11.2.tar.gz) = 26844771
TIMESTAMP = 1504848990
SHA256 (node-v6.11.3.tar.gz) = c60562a7bc316f137297b7aa23ae354e3ac6779fe8ddf46fe43a75b6b92443e8
SIZE (node-v6.11.3.tar.gz) = 26875258

View file

@ -1,15 +0,0 @@
--- node.gyp.orig 2017-05-10 12:20:05 UTC
+++ node.gyp
@@ -818,6 +818,12 @@
'<(OBJ_DIR)/node/src/node_dtrace_ustack.o'
],
'conditions': [
+ [ 'target_arch=="arm"', {
+ 'action': [
+ 'dtrace', '-32', '-I<(SHARED_INTERMEDIATE_DIR)', '-Isrc',
+ '-C', '-G', '-s', 'src/v8ustack.d', '-o', '<@(_outputs)',
+ ]
+ } ],
[ 'target_arch=="ia32"', {
'action': [
'dtrace', '-32', '-I<(SHARED_INTERMEDIATE_DIR)', '-Isrc',

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gandi.cli
PORTVERSION= 0.19
PORTVERSION= 0.21
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -18,6 +18,7 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml \
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests \
${PYTHON_PKGNAMEPREFIX}ipy>0:net-mgmt/py-ipy
# Actually 2.6-3.6(+)
USES= python
USE_PYTHON= autoplist concurrent distutils
@ -29,10 +30,6 @@ NO_ARCH= yes
TEST_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}mock>0:devel/py-mock
.endif
post-extract:
${FIND} ${WRKSRC} -type d -name __pycache__ -exec ${RM} -r {} + && \
${FIND} ${WRKSRC} -type f -name '*.py[co]' -exec ${RM} {} +
do-test:
@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1469713650
SHA256 (gandi.cli-0.19.tar.gz) = 0e8e1150f68c8921f279c629e6e7beaa4125d10c0d1990ede991fb0ceec928f3
SIZE (gandi.cli-0.19.tar.gz) = 143863
TIMESTAMP = 1505202146
SHA256 (gandi.cli-0.21.tar.gz) = 931da484b50a3cb99f58013588b749be01663488689c5057035434a37befd8c5
SIZE (gandi.cli-0.21.tar.gz) = 149213

View file

@ -3,6 +3,7 @@
PORTNAME= tdiary
PORTVERSION= 5.0.5
PORTREVISION= 1
CATEGORIES?= www ruby
MASTER_SITES= https://github.com/tdiary/tdiary-core/releases/download/v${PORTVERSION}/
DISTNAME= ${PORTNAME}-full-v${PORTVERSION}

View file

@ -1,4 +1,4 @@
#!/usr/bin/env ruby
#!%%LOCALBASE%%/bin/ruby
#
# tdiaryinstall.rb - tDiary user directory copy script
# Date created: 13 July 2003
@ -141,39 +141,47 @@ class TdiaryInstall
if ! FileTest.exist?("#{@passwd.dir}/#{@httpdir}/#{@diarydir}/images")
FileUtils.mkdir_p("#{@passwd.dir}/#{@httpdir}/#{@diarydir}/images", @fileutilOptions)
end
if ! FileTest.exist?("#{@passwd.dir}/#{@httpdir}/#{@diarydir}/tmp")
FileUtils.mkdir_p("#{@passwd.dir}/#{@httpdir}/#{@diarydir}/tmp", @fileutilOptions)
end
end
def linkBaseFile
FileUtils.ln_s("#{@tdiarymaster}/js", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarymaster}/theme", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarydocdir}", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/doc", @fileutilOptions)
tempfile = Tempfile.new("index.rb")
tempfile.write "#!/usr/local/bin/ruby\nrequire '#{@tdiarymaster}/index'\n"
tempfile.close
FileUtils.cp(tempfile.path, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/index.rb", @fileutilOptions)
FileUtils.chmod(0755, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/index.rb", @fileutilOptions)
tempfile = Tempfile.new("update.rb")
tempfile.write "#!/usr/local/bin/ruby\nrequire '#{@tdiarymaster}/update'\n"
tempfile.close
FileUtils.cp(tempfile.path, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/update.rb", @fileutilOptions)
FileUtils.chmod(0755, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/update.rb", @fileutilOptions)
FileUtils.ln_s("#{@tdiarymaster}/Gemfile", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarymaster}/app.json", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarymaster}/benchmark", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarymaster}/bin", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarymaster}/index.fcgi", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarymaster}/index.rb", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarymaster}/js", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarymaster}/lib", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarymaster}/misc", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarymaster}/package.json", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarymaster}/theme", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarymaster}/update.fcgi", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarymaster}/update.rb", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.ln_s("#{@tdiarymaster}/views", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
end
def copyBaseFile
opts = @fileutilOptions.dup
opts.store(:preserve, true)
FileUtils.cp_r("#{@tdiarydocdir}", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/doc", opts)
FileUtils.cp("#{@tdiarymaster}/Gemfile", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.cp("#{@tdiarymaster}/app.json", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.cp_r("#{@tdiarymaster}/benchmark", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
FileUtils.cp_r("#{@tdiarymaster}/bin", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
FileUtils.cp("#{@tdiarymaster}/index.fcgi", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.cp("#{@tdiarymaster}/index.rb", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.cp_r("#{@tdiarymaster}/js", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
FileUtils.cp_r("#{@tdiarymaster}/lib", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
FileUtils.cp_r("#{@tdiarymaster}/misc", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
FileUtils.cp_r("#{@tdiarymaster}/plugin", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
FileUtils.cp_r("#{@tdiarymaster}/skel", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
FileUtils.cp_r("#{@tdiarymaster}/tdiary", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
FileUtils.cp("#{@tdiarymaster}/package.json", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.cp_r("#{@tdiarymaster}/theme", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
FileUtils.cp("#{@tdiarymaster}/index.rb", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/index.rb", @fileutilOptions)
FileUtils.chmod(0755, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/index.rb", @fileutilOptions)
FileUtils.cp("#{@tdiarymaster}/update.rb", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/update.rb", @fileutilOptions)
FileUtils.chmod(0755, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/update.rb", @fileutilOptions)
FileUtils.cp("#{@tdiarymaster}/tdiary.rb", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/tdiary.rb", @fileutilOptions)
FileUtils.cp("#{@tdiarymaster}/update.fcgi", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.cp("#{@tdiarymaster}/update.rb", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.cp_r("#{@tdiarymaster}/views", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", opts)
end
def installConfig
@ -206,14 +214,24 @@ class TdiaryInstall
end
def setPermissions
FileUtils.chmod(0777, "#{@passwd.dir}/#{@diarydir}", @fileutilOptions) if ! defined?($OPT_SUEXEC)
FileUtils.chmod(0777, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions) if ! defined?($OPT_SUEXEC)
FileUtils.chmod(0701, "#{@passwd.dir}/#{@diarydir}", @fileutilOptions) if defined?($OPT_SUEXEC)
FileUtils.chmod(0701, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions) if defined?($OPT_SUEXEC)
FileUtils.chmod(0604, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/.htaccess", @fileutilOptions) if defined?($OPT_SUEXEC)
FileUtils.chmod(0700, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/index.rb", @fileutilOptions) if defined?($OPT_SUEXEC)
FileUtils.chmod(0700, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/update.rb", @fileutilOptions) if defined?($OPT_SUEXEC)
if (defined?($OPT_SUEXEC))
FileUtils.chmod(0701, "#{@passwd.dir}/#{@diarydir}", @fileutilOptions)
FileUtils.chmod(0701, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.chmod(0604, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/.htaccess", @fileutilOptions)
FileUtils.chmod(0700, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/index.fcgi", @fileutilOptions)
FileUtils.chmod(0700, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/index.rb", @fileutilOptions)
FileUtils.chmod(0700, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/update.fcgi", @fileutilOptions)
FileUtils.chmod(0700, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/update.rb", @fileutilOptions)
else
FileUtils.chmod(0777, "#{@passwd.dir}/#{@diarydir}", @fileutilOptions)
FileUtils.chmod(0777, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}", @fileutilOptions)
FileUtils.chmod(0644, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/.htaccess", @fileutilOptions)
FileUtils.chmod(0755, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/index.fcgi", @fileutilOptions)
FileUtils.chmod(0755, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/index.rb", @fileutilOptions)
FileUtils.chmod(0755, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/update.fcgi", @fileutilOptions)
FileUtils.chmod(0755, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/update.rb", @fileutilOptions)
end
FileUtils.chmod(0644, "#{@passwd.dir}/#{@httpdir}/#{@diarydir}/dot.htaccess", @fileutilOptions)
if @euid == 0 then
Find.find("#{@passwd.dir}/#{@diarydir}", "#{@passwd.dir}/#{@httpdir}/#{@diarydir}") do |f|

View file

@ -11,6 +11,9 @@ DISTNAME= ${PORTNAME}${PORTVERSION}-src
MAINTAINER= tcltk@FreeBSD.org
COMMENT= Graphical toolkit for Tcl
DEPRECATED= Tcl/Tk 8.4 is no longer maintained, please use 8.5+
EXPIRATION_DATE= 2017-10-15
LICENSE= TclTk
LICENSE_NAME= Tcl/Tk License
LICENSE_FILE= ${WRKSRC}/../license.terms

View file

@ -10,6 +10,10 @@ MASTER_SITES= http://beepcore-tcl.sourceforge.net/
MAINTAINER= dsh@vlink.ru
COMMENT= Tcl/Tk library to detect idle periods of an X session
DEPRECATED= This port depends on Tcl/Tk 8.4 , which is no longer\
maintained. Please port it to 8.5+
EXPIRATION_DATE= 2017-10-15
USES= libtool tk:84,tea tar:tgz
USE_XORG= xt xscrnsaver
USE_LDCONFIG= yes