Re: Adding pledge() to www/lynx

2016-02-29 Thread Theo Buehler
On Thu, Feb 04, 2016 at 12:53:56PM +0100, Theo Buehler wrote:
> > If you can just add comments to patches explaining why you do the
> > getenv(HOME) dance to avoid getpw in pledge for the next guy that
> > stumbles upon it..
> 
> Since that's my hack, I added a short explanation to the patch itself.
> I also added a comment to the Makefile to explain the -DNOUSERS option.
> 
> ok?
> 

Here's a new version of the patch. The only change is in the Makefile
due to the recent update of MASTER_SITES.

ok?

Index: Makefile
===
RCS file: /var/cvs/ports/www/lynx/Makefile,v
retrieving revision 1.23
diff -u -p -r1.23 Makefile
--- Makefile27 Feb 2016 22:46:10 -  1.23
+++ Makefile1 Mar 2016 07:08:54 -
@@ -5,7 +5,7 @@ PL =8
 COMMENT =  text web browser
 DISTNAME = lynx${V}dev.${PL}
 PKGNAME =  lynx-${V}pl${PL}
-REVISION = 1
+REVISION = 2
 EXTRACT_SUFX = .tar.bz2
 CATEGORIES =   www net
 
@@ -16,6 +16,7 @@ MAINTAINER =  Frederic Cambus pw_dir) {
+-  StrAllocCopy(HomeDir, pw->pw_dir);
++  home = getenv("HOME");
++  if (home && *home) {
++  StrAllocCopy(HomeDir, home);
+   } else
+ #endif
+   {



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Kirill Bychkov
CVSROOT:/cvs
Module name:ports
Changes by: ki...@cvs.openbsd.org   2016/03/01 00:29:32

Modified files:
games/warzone2100: Makefile distinfo 
games/warzone2100/pkg: PLIST 
Removed files:
games/warzone2100/patches: patch-lib_ivis_opengl_screen_cpp 

Log message:
update to warzone2100-3.1.3



Re: [update] net/transmission

2016-02-29 Thread Antoine Jacoutot
On Mon, Feb 29, 2016 at 07:16:53PM -0500, Josh Grosse wrote:
> On Mon, Feb 29, 2016 at 08:57:30PM +, Christian Weisgerber wrote:
> > On 2016-02-29, Josh Grosse  wrote:
> > 
> > > This diff updates the application to version 2.90.
> > > Tested on amd64.  (Some light testing on i386 was also performed.)
> > 
> > Shuffling the icon directories, which are only used in the gtk
> > flavor, from PLIST-gtk to PLIST-main doesn't make any sense.
> > update-plist is wrong there.
> 
> Fixed, thank you.

You still depend on gtk-update-icon-cache in the -main package.
And you still have the PLIST goos.

> > > Note to testers: pkg_delete any 2.84 transmission before beginning
> > > your build, $WRKSRC search libraries are behind /usr/local/lib.
> > 
> > Can't this be fixed?
> 
> I looked into this in more detail.  It was caused by qmake, so only would
> impact the -qt subpackage, but has no actual impact as the trailing -L 
> search directory $WRKSRC/qt contains no link archives.
> 
> While cleaning up, I removed an extra $DISTFILES that was used while
> testing with nightly tarballs.
> 
> The diff is also in openbsd-wip.  
> 
> Index: Makefile
> ===
> RCS file: /systems/cvs/ports/net/transmission/Makefile,v
> retrieving revision 1.101
> diff -u -p -r1.101 Makefile
> --- Makefile  30 Oct 2015 12:47:40 -  1.101
> +++ Makefile  29 Feb 2016 23:48:49 -
> @@ -4,14 +4,14 @@ COMMENT-main=   BitTorrent command line an
>  COMMENT-gtk= BitTorrent client with GTK+ interface
>  COMMENT-qt=  BitTorrent client with Qt interface
>  
> -VER= 2.84
> +VER= 2.90
>  DISTNAME=transmission-${VER}
>  PKGNAME-main=transmission-${VER}
>  PKGNAME-gtk= transmission-gtk-${VER}
>  PKGNAME-qt=  transmission-qt-${VER}
> -REVISION=5
>  CATEGORIES=  net
>  HOMEPAGE=http://www.transmissionbt.com/
> +MAINTAINER=  Josh Grosse 
>  
>  # GPLv2+
>  PERMIT_PACKAGE_CDROM=Yes
> @@ -41,13 +41,13 @@ WANTLIB-gtk=  ${WANTLIB-common} ICE SM X1
>   pangocairo-1.0 pixman-1 png pcre pthread-stubs xcb \
>   xcb-render xcb-shm epoxy idn nghttp2
>  WANTLIB-qt=  ${WANTLIB-common} ${MODQT_WANTLIB} \
> - lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtNetwork lib/qt4/QtXml \
> + GL Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Widgets \
>   ICE SM X11 Xext Xi Xinerama Xrender \
> - fontconfig freetype stdc++
> + fontconfig freetype estdc++
>  
>  MODULES= devel/gettext textproc/intltool
>  .if ${BUILD_PACKAGES:M-qt}
> -MODULES+=x11/qt4
> +MODULES+=x11/qt5
>  .endif
>  
>  LIB_DEPENDS-common=${MODGETTEXT_LIB_DEPENDS} \
> @@ -61,6 +61,8 @@ LIB_DEPENDS-gtk=${LIB_DEPENDS-common} \
>  LIB_DEPENDS-qt=  ${LIB_DEPENDS-common} \
>   ${MODQT_LIB_DEPENDS}
>  
> +RUN_DEPENDS-main=x11/gtk+3,-guic
> +
>  RUN_DEPENDS-gtk=${PKGNAME-main}:${BUILD_PKGPATH} \
>   devel/desktop-file-utils \
>   x11/gtk+3,-guic
> @@ -69,7 +71,9 @@ RUN_DEPENDS-qt= ${PKGNAME-main}:${BUILD_
>  
>  USE_GMAKE=   Yes
>  CONFIGURE_STYLE=gnu
> +
>  CONFIGURE_ARGS=  --disable-shared \
> + --enable-cli \
>   --enable-external-natpmp
>  
>  # -I$(top_builddir)/third-party is required, but configure fails to
> @@ -78,9 +82,6 @@ CONFIGURE_ARGS= --disable-shared \
>  CONFIGURE_ENV=   CPPFLAGS="-I${WRKSRC}/third-party 
> -I${LOCALBASE}/include" \
>   LDFLAGS="-L${LOCALBASE}/lib"
>  
> -QMAKE_ARGS=  QMAKE_CXX="${CXX}" \
> - QMAKE_CXXFLAGS="${CXXFLAGS}"
> -
>  .if !${BUILD_PACKAGES:M-gtk}
>  CONFIGURE_ARGS+=--without-gtk
>  .endif
> @@ -90,7 +91,8 @@ pre-patch:
>  
>  .if ${BUILD_PACKAGES:M-qt}
>  post-build:
> - cd ${WRKSRC}/qt; qmake4 ${QMAKE_ARGS} qtr.pro; make ${MAKE_FLAGS}
> + cd ${WRKSRC}/qt; qmake-qt5 qtr.pro; ${MAKE_ENV} ${MAKE_PROGRAM} \
> + ${MAKE_FLAGS}
>  
>  post-install:
>   cd ${WRKSRC}/qt; make ${MAKE_FLAGS} install INSTALL_ROOT=${PREFIX} \
> Index: distinfo
> ===
> RCS file: /systems/cvs/ports/net/transmission/distinfo,v
> retrieving revision 1.49
> diff -u -p -r1.49 distinfo
> --- distinfo  21 Jul 2014 14:59:17 -  1.49
> +++ distinfo  29 Feb 2016 02:10:06 -
> @@ -1,2 +1,2 @@
> -SHA256 (transmission-2.84.tar.xz) = 
> qfwZNrTuQUrMcyraBOhDOdZ1XNDQl7y9Ebos/FQNues=
> -SIZE (transmission-2.84.tar.xz) = 3077836
> +SHA256 (transmission-2.90.tar.xz) = 
> af+Mr4FoQVWSb0N/Rr998bH7ME9Sx4CfVGJX6JI/L9I=
> +SIZE (transmission-2.90.tar.xz) = 3377720
> Index: patches/patch-libtransmission_peer-mgr_c
> ===
> RCS file: patches/patch-libtransmission_peer-mgr_c
> diff -N patches/patch-libtransmission_peer-mgr_c
> --- patches/patch-libtransmission_peer-mgr_c  1 Jun 2014 11:37:06 -   
> 1.3
> +++ /dev/null 1 Jan 

CVS: cvs.openbsd.org: ports

2016-02-29 Thread Michael McConville
CVSROOT:/cvs
Module name:ports
Changes by: m...@cvs.openbsd.org2016/02/29 22:18:57

Modified files:
mail/imapfilter: Makefile distinfo 
Removed files:
mail/imapfilter/patches: patch-src_socket_c 

Log message:
update to mail/imapfilter 2.6.6

ok jturner@



Remove a couple mail/faces flavors

2016-02-29 Thread Michael McConville
It's probably easiest to do this before we remove mail/faces and
mail/xfaces.

ok?


Index: claws-mail/Makefile
===
RCS file: /cvs/ports/mail/claws-mail/Makefile,v
retrieving revision 1.86
diff -u -p -r1.86 Makefile
--- claws-mail/Makefile 19 Jan 2016 18:19:22 -  1.86
+++ claws-mail/Makefile 1 Mar 2016 05:14:21 -
@@ -11,6 +11,7 @@ COMMENT-pdfviewer=pdfviewer plugin
 COMMENT-gdata= gdata plugin
 
 V= 3.13.2
+REVISION=  0
 DISTNAME=  claws-mail-${V}
 PKGNAME-main=  ${DISTNAME}
 PKGNAME-bogofilter=claws-mail-bogofilter-${V}
@@ -32,7 +33,7 @@ MASTER_SITES= http://www.claws-mail.org
 DIST_SUBDIR=   claws
 
 MULTI_PACKAGES=-main -bogofilter -spamassassin -htmlviewer 
-pdfviewer -gdata
-FLAVORS=   jpilot compface ldap
+FLAVORS=   jpilot ldap
 FLAVOR?=
 
 FLAVOR_STRING= ${FLAVOR_EXT:S/-/,/g}
@@ -110,6 +111,7 @@ LIB_DEPENDS-gdata=  ${LIB_DEPENDS} \
 CONFIGURE_ARGS+=   --disable-acpi_notifier-plugin \
--disable-geolocation-plugin \
--disable-python-plugin \
+   --disable-compface \
--enable-new-addrbook
 
 
@@ -128,15 +130,6 @@ WANTLIB-main +=pisock
 RUN_DEPENDS-main+= comms/jpilot
 .else
 CONFIGURE_ARGS+=   --disable-jpilot
-.endif
-
-.if ${FLAVOR:Mcompface}
-PERMIT_PACKAGE_CDROM=  No Fee
-PERMIT_PACKAGE_FTP=Yes
-LIB_DEPENDS-main+= mail/faces
-WANTLIB-main +=compface>=1
-.else
-CONFIGURE_ARGS+=   --disable-compface
 .endif
 
 .if ${FLAVOR:Mldap}
Index: claws-mail/pkg/PLIST-bogofilter
===
RCS file: /cvs/ports/mail/claws-mail/pkg/PLIST-bogofilter,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST-bogofilter
--- claws-mail/pkg/PLIST-bogofilter 9 Oct 2012 16:41:29 -   1.5
+++ claws-mail/pkg/PLIST-bogofilter 1 Mar 2016 05:14:21 -
@@ -1,4 +1,4 @@
 @comment $OpenBSD: PLIST-bogofilter,v 1.5 2012/10/09 16:41:29 sthen Exp $
-@pkgpath mail/sylpheed-claws,-bogofilter[,compface][,pgpmime][,jpilot][,ldap]
+@pkgpath mail/sylpheed-claws,-bogofilter[,pgpmime][,jpilot][,ldap]
 lib/claws-mail/plugins/bogofilter.la
 lib/claws-mail/plugins/bogofilter.so
Index: claws-mail/pkg/PLIST-main
===
RCS file: /cvs/ports/mail/claws-mail/pkg/PLIST-main,v
retrieving revision 1.33
diff -u -p -r1.33 PLIST-main
--- claws-mail/pkg/PLIST-main   23 Dec 2015 23:12:23 -  1.33
+++ claws-mail/pkg/PLIST-main   1 Mar 2016 05:14:21 -
@@ -7,8 +7,8 @@
 @pkgpath mail/claws-mail-notification
 @pkgpath mail/claws-mail-rssyl
 @pkgpath mail/claws-mail-vcalendar
-@pkgpath mail/sylpheed-claws,-main[,compface][,pgpmime][,jpilot][,ldap]
-@pkgpath mail/sylpheed-claws[,compface][,pgpmime][,jpilot][,ldap]
+@pkgpath mail/sylpheed-claws,-main[,pgpmime][,jpilot][,ldap]
+@pkgpath mail/sylpheed-claws[,pgpmime][,jpilot][,ldap]
 @bin bin/claws-mail
 @comment bin/sylpheed-claws
 include/claws-mail/
Index: claws-mail/pkg/PLIST-spamassassin
===
RCS file: /cvs/ports/mail/claws-mail/pkg/PLIST-spamassassin,v
retrieving revision 1.5
diff -u -p -r1.5 PLIST-spamassassin
--- claws-mail/pkg/PLIST-spamassassin   9 Oct 2012 16:41:29 -   1.5
+++ claws-mail/pkg/PLIST-spamassassin   1 Mar 2016 05:14:21 -
@@ -1,4 +1,4 @@
 @comment $OpenBSD: PLIST-spamassassin,v 1.5 2012/10/09 16:41:29 sthen Exp $
-@pkgpath mail/sylpheed-claws,-spamassassin[,compface][,pgpmime][,jpilot][,ldap]
+@pkgpath mail/sylpheed-claws,-spamassassin[,pgpmime][,jpilot][,ldap]
 lib/claws-mail/plugins/spamassassin.la
 lib/claws-mail/plugins/spamassassin.so
Index: sylpheed/Makefile
===
RCS file: /cvs/ports/mail/sylpheed/Makefile,v
retrieving revision 1.106
diff -u -p -r1.106 Makefile
--- sylpheed/Makefile   4 Apr 2015 09:21:02 -   1.106
+++ sylpheed/Makefile   1 Mar 2016 05:14:22 -
@@ -3,7 +3,7 @@
 COMMENT =  lightweight and user-friendly e-mail client
 
 DISTNAME = sylpheed-3.4.2
-REVISION = 1
+REVISION = 2
 
 SHARED_LIBS += sylph-0   3.0 # 3.0
 SHARED_LIBS += sylpheed-plugin-0 3.0 # 3.0
@@ -39,21 +39,9 @@ CONFIGURE_ARGS = ${CONFIGURE_SHARED} \
--disable-ldap \
--disable-oniguruma \
--enable-gpgme \
+   --disable-compface \
--disable-updatecheck
 CONFIGURE_ENV =CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -pthread"
-
-FLAVORS =  compface
-FLAVOR ?=
-
-.if ${FLAVOR:Mcompface}
-LIB_DEPENDS +=   

CVS: cvs.openbsd.org: ports

2016-02-29 Thread Michael McConville
CVSROOT:/cvs
Module name:ports
Changes by: m...@cvs.openbsd.org2016/02/29 21:28:58

Modified files:
x11/grantlee   : Makefile 

Log message:
update HOMEPAGE, crank REVISION

ok juanfra@



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/02/29 18:02:30

Modified files:
graphics/py-Pillow: Makefile distinfo 
graphics/py-Pillow/patches: patch-setup_py 
graphics/py-Pillow/pkg: PLIST 
Removed files:
graphics/py-Pillow/patches: patch-libImaging_PcdDecode_c 

Log message:
update to py-Pillow 3.1.1



Re: [update] net/transmission

2016-02-29 Thread Josh Grosse
On Mon, Feb 29, 2016 at 08:57:30PM +, Christian Weisgerber wrote:
> On 2016-02-29, Josh Grosse  wrote:
> 
> > This diff updates the application to version 2.90.
> > Tested on amd64.  (Some light testing on i386 was also performed.)
> 
> Shuffling the icon directories, which are only used in the gtk
> flavor, from PLIST-gtk to PLIST-main doesn't make any sense.
> update-plist is wrong there.

Fixed, thank you.
 
> > Note to testers: pkg_delete any 2.84 transmission before beginning
> > your build, $WRKSRC search libraries are behind /usr/local/lib.
> 
> Can't this be fixed?

I looked into this in more detail.  It was caused by qmake, so only would
impact the -qt subpackage, but has no actual impact as the trailing -L 
search directory $WRKSRC/qt contains no link archives.

While cleaning up, I removed an extra $DISTFILES that was used while
testing with nightly tarballs.

The diff is also in openbsd-wip.  

Index: Makefile
===
RCS file: /systems/cvs/ports/net/transmission/Makefile,v
retrieving revision 1.101
diff -u -p -r1.101 Makefile
--- Makefile30 Oct 2015 12:47:40 -  1.101
+++ Makefile29 Feb 2016 23:48:49 -
@@ -4,14 +4,14 @@ COMMENT-main= BitTorrent command line an
 COMMENT-gtk=   BitTorrent client with GTK+ interface
 COMMENT-qt=BitTorrent client with Qt interface
 
-VER=   2.84
+VER=   2.90
 DISTNAME=  transmission-${VER}
 PKGNAME-main=  transmission-${VER}
 PKGNAME-gtk=   transmission-gtk-${VER}
 PKGNAME-qt=transmission-qt-${VER}
-REVISION=  5
 CATEGORIES=net
 HOMEPAGE=  http://www.transmissionbt.com/
+MAINTAINER=Josh Grosse 
 
 # GPLv2+
 PERMIT_PACKAGE_CDROM=  Yes
@@ -41,13 +41,13 @@ WANTLIB-gtk=${WANTLIB-common} ICE SM X1
pangocairo-1.0 pixman-1 png pcre pthread-stubs xcb \
xcb-render xcb-shm epoxy idn nghttp2
 WANTLIB-qt=${WANTLIB-common} ${MODQT_WANTLIB} \
-   lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtNetwork lib/qt4/QtXml \
+   GL Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Widgets \
ICE SM X11 Xext Xi Xinerama Xrender \
-   fontconfig freetype stdc++
+   fontconfig freetype estdc++
 
 MODULES=   devel/gettext textproc/intltool
 .if ${BUILD_PACKAGES:M-qt}
-MODULES+=  x11/qt4
+MODULES+=  x11/qt5
 .endif
 
 LIB_DEPENDS-common=${MODGETTEXT_LIB_DEPENDS} \
@@ -61,6 +61,8 @@ LIB_DEPENDS-gtk=${LIB_DEPENDS-common} \
 LIB_DEPENDS-qt=${LIB_DEPENDS-common} \
${MODQT_LIB_DEPENDS}
 
+RUN_DEPENDS-main=x11/gtk+3,-guic
+
 RUN_DEPENDS-gtk=${PKGNAME-main}:${BUILD_PKGPATH} \
devel/desktop-file-utils \
x11/gtk+3,-guic
@@ -69,7 +71,9 @@ RUN_DEPENDS-qt=   ${PKGNAME-main}:${BUILD_
 
 USE_GMAKE= Yes
 CONFIGURE_STYLE=gnu
+
 CONFIGURE_ARGS=--disable-shared \
+   --enable-cli \
--enable-external-natpmp
 
 # -I$(top_builddir)/third-party is required, but configure fails to
@@ -78,9 +82,6 @@ CONFIGURE_ARGS=   --disable-shared \
 CONFIGURE_ENV= CPPFLAGS="-I${WRKSRC}/third-party -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
 
-QMAKE_ARGS=QMAKE_CXX="${CXX}" \
-   QMAKE_CXXFLAGS="${CXXFLAGS}"
-
 .if !${BUILD_PACKAGES:M-gtk}
 CONFIGURE_ARGS+=--without-gtk
 .endif
@@ -90,7 +91,8 @@ pre-patch:
 
 .if ${BUILD_PACKAGES:M-qt}
 post-build:
-   cd ${WRKSRC}/qt; qmake4 ${QMAKE_ARGS} qtr.pro; make ${MAKE_FLAGS}
+   cd ${WRKSRC}/qt; qmake-qt5 qtr.pro; ${MAKE_ENV} ${MAKE_PROGRAM} \
+   ${MAKE_FLAGS}
 
 post-install:
cd ${WRKSRC}/qt; make ${MAKE_FLAGS} install INSTALL_ROOT=${PREFIX} \
Index: distinfo
===
RCS file: /systems/cvs/ports/net/transmission/distinfo,v
retrieving revision 1.49
diff -u -p -r1.49 distinfo
--- distinfo21 Jul 2014 14:59:17 -  1.49
+++ distinfo29 Feb 2016 02:10:06 -
@@ -1,2 +1,2 @@
-SHA256 (transmission-2.84.tar.xz) = 
qfwZNrTuQUrMcyraBOhDOdZ1XNDQl7y9Ebos/FQNues=
-SIZE (transmission-2.84.tar.xz) = 3077836
+SHA256 (transmission-2.90.tar.xz) = 
af+Mr4FoQVWSb0N/Rr998bH7ME9Sx4CfVGJX6JI/L9I=
+SIZE (transmission-2.90.tar.xz) = 3377720
Index: patches/patch-libtransmission_peer-mgr_c
===
RCS file: patches/patch-libtransmission_peer-mgr_c
diff -N patches/patch-libtransmission_peer-mgr_c
--- patches/patch-libtransmission_peer-mgr_c1 Jun 2014 11:37:06 -   
1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,18 +0,0 @@
-$OpenBSD: patch-libtransmission_peer-mgr_c,v 1.3 2014/06/01 11:37:06 naddy Exp 
$
-
-time_t printing.
-
 libtransmission/peer-mgr.c.origSun May 18 22:52:12 2014
-+++ libtransmission/peer-mgr.c Mon May 26 20:51:06 2014
-@@ -2892,9 +2892,9 @@ rechokeDownloads (tr_swarm * s)
- const double mult = 

CVS: cvs.openbsd.org: ports

2016-02-29 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/02/29 17:07:18

Modified files:
geo/jeoip  : Makefile 
net/amule  : Makefile 
net/bro: Makefile 
net/gdnsd  : Makefile 
net/gnugk  : Makefile 
net/isc-bind   : Makefile 
net/p5-Geo-IP  : Makefile 
net/pen: Makefile 
net/py-GeoIP   : Makefile 
net/wireshark  : Makefile 
www/cherokee   : Makefile 
www/goaccess   : Makefile 
www/logswan: Makefile 
www/mod_geoip  : Makefile 
www/pecl-geoip : Makefile 
www/webalizer  : Makefile 

Log message:
bump (GeoIP pkgpath change)



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/02/29 17:06:57

Modified files:
net/GeoIP  : Makefile distinfo 
Added files:
net/GeoIP/pkg  : DESCR-asn DESCR-city DESCR-db DESCR-main 
 PLIST-asn PLIST-city PLIST-db PLIST-main 
Removed files:
net/GeoIP/pkg  : DESCR PLIST 

Log message:
update and subpackage GeoIP's geolite databases and add some new ones (city and 
asn)



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/02/29 16:58:09

Modified files:
mail/roundcubemail: Makefile distinfo 
mail/roundcubemail/pkg: PLIST 
Added files:
mail/roundcubemail/patches: patch-INSTALL patch-UPGRADING 

Log message:
stop bundling composer in roundcube, there's a sane way to install it from
packages now. patch docs to match.



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/02/29 16:52:13

Log message:
import www/composer, a tool for dependency management in PHP.
ok juanfra@ giovanni@

Status:

Vendor Tag: sthen
Release Tags:   sthen_20160229

N ports/www/composer/Makefile
N ports/www/composer/distinfo
N ports/www/composer/files/composer
N ports/www/composer/pkg/DESCR
N ports/www/composer/pkg/PLIST

No conflicts created by this import



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/02/29 16:52:42

Modified files:
www: Makefile 

Log message:
+composer



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/02/29 16:50:13

Modified files:
graphics/libraw: Makefile distinfo 
Added files:
graphics/libraw/patches: patch-internal_libraw_x3f_cpp 
Removed files:
graphics/libraw/patches: patch-dcraw_dcraw_c 
 patch-internal_dcraw_common_cpp 

Log message:
update to LibRaw-0.17.1



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/02/29 16:45:32

Modified files:
sysutils/ipmitool: Makefile distinfo 
sysutils/ipmitool/patches: patch-configure_ac 
   patch-src_plugins_ipmi_intf_c 
   patch-src_plugins_lanplus_lanplus_c 
Added files:
sysutils/ipmitool/patches: patch-include_ipmitool_ipmi_fru_h 
   patch-include_ipmitool_ipmi_intf_h 
   patch-lib_ipmi_delloem_c 
   patch-lib_ipmi_ekanalyzer_c 
   patch-lib_ipmi_fru_c 
   patch-lib_ipmi_hpmfwupg_c 
   patch-lib_ipmi_ime_c 
   patch-lib_ipmi_main_c 
   patch-lib_ipmi_sdradd_c 
   patch-lib_ipmi_sunoem_c 
   patch-src_ipmievd_c 
   patch-src_plugins_serial_serial_basic_c 
   patch-src_plugins_serial_serial_terminal_c 

Log message:
update to ipmitool 1.8.16 and fix some bugs showing in compiler warnings



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/02/29 16:43:49

Modified files:
graphics/iec16022: Makefile distinfo 
graphics/iec16022/patches: patch-iec16022ecc200_c patch-image_c 
graphics/iec16022/pkg: DESCR 
Added files:
graphics/iec16022/patches: patch-autogen_sh 

Log message:
update to iec16022-0.2.5, improve DESCR



Re: NEW: TeXmacs 1.99.4

2016-02-29 Thread Jérémie Courrèges-Anglas
Ray Lai  writes:

> Hi,

Hi Ray,

> GNU TeXmacs is a free wysiwyw (what you see is what you want) editing 
> platform with special features for scientists. The software aims to 
> provide a unified and user friendly framework for editing structured 
> documents with different types of content (text, graphics, mathematics, 
> interactive content, etc.). The rendering engine uses high-quality 
> typesetting algorithms so as to produce professionally looking documents, 
> which can either be printed out or presented from a laptop.
>
> The software includes a text editor with support for mathematical 
> formulas, a small technical picture editor and a tool for making 
> presentations from a laptop. Moreover, TeXmacs can be used as an interface 
> for many external systems for computer algebra, numerical analysis, 
> statistics, etc. New presentation styles can be written by the user and 
> new features can be added to the editor using the Scheme extension 
> language. A native spreadsheet and tools for collaborative authoring are 
> planned for later. 
>
> Please let me know if there's anything to improve.

Build with fail if ghostscript isn't installed:

c++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link 
-ISystem/Misc -ISystem/Language -IKernel/Abstractions -IKernel/Containers 
-IKernel/Types -IData/Convert -IData/Drd -IData/History -IData/Observers 
-IData/Document -IData/String -IData/Tmfs -IData/Tree -IScheme 
-IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui -IGraphics/Mathematics 
-IGraphics/Renderer -IGraphics/Handwriting -IGraphics/Types -IGraphics/Pictures 
-IGraphics/Spacial -IGraphics/Colors -IPlugins -I.. -I/usr/X11R6/include 
-DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/local/lib/qt4/mkspecs/openbsd-g++4 -I. 
-I/usr/local/include/X11/qt4/QtCore -I/usr/local/include/X11/qt4/QtGui 
-I/usr/local/include/X11/qt4 -I. -I. -I/include -DQTTEXMACS -Wall 
-Wno-return-type -O2 -fno-rtti -c ./Plugins/Ispell/ispell.cpp -o 
Objects/ispell.o
c++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link 
-ISystem/Misc -ISystem/Language -IKernel/Abstractions -IKernel/Containers 
-IKernel/Types -IData/Convert -IData/Drd -IData/History -IData/Observers 
-IData/Document -IData/String -IData/Tmfs -IData/Tree -IScheme 
-IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui -IGraphics/Mathematics 
-IGraphics/Renderer -IGraphics/Handwriting -IGraphics/Types -IGraphics/Pictures 
-IGraphics/Spacial -IGraphics/Colors -IPlugins -DQT_NO_DEBUG -DQT_GUI_LIB 
-DQT_CORE_LIB -DQT_SHARED -I/usr/local/lib/qt4/mkspecs/openbsd-g++4 -I. 
-I/usr/local/include/X11/qt4/QtCore -I/usr/local/include/X11/qt4/QtGui 
-I/usr/local/include/X11/qt4 -I. -I. -I/include -DQTTEXMACS -Wall 
-Wno-return-type -O2 -fno-rtti -c ./Kernel/Containers/iterator.cpp -o 
Objects/iterator.o
c++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link 
-ISystem/Misc -ISystem/Language -IKernel/Abstractions -IKernel/Containers 
-IKernel/Types -IData/Convert -IData/Drd -IData/History -IData/Observers 
-IData/Document -IData/String -IData/Tmfs -IData/Tree -IScheme 
-IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui -IGraphics/Mathematics 
-IGraphics/Renderer -IGraphics/Handwriting -IGraphics/Types -IGraphics/Pictures 
-IGraphics/Spacial -IGraphics/Colors -IPlugins 
-I/usr/obj/pobj/TeXmacs-1.99.4/TeXmacs-1.99.4-src/TeXmacs/include -DQT_NO_DEBUG 
-DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/local/lib/qt4/mkspecs/openbsd-g++4 -I. 
-I/usr/local/include/X11/qt4/QtCore -I/usr/local/include/X11/qt4/QtGui 
-I/usr/local/include/X11/qt4 -I. -I. -I/include -DQTTEXMACS -Wall 
-Wno-return-type -O2 -fno-rtti -c ./System/Language/language.cpp -o 
Objects/language.o
c++ -ISystem -ISystem/Boot -ISystem/Classes -ISystem/Files -ISystem/Link 
-ISystem/Misc -ISystem/Language -IKernel/Abstractions -IKernel/Containers 
-IKernel/Types -IData/Convert -IData/Drd -IData/History -IData/Observers 
-IData/Document -IData/String -IData/Tmfs -IData/Tree -IScheme 
-IGraphics/Bitmap_fonts -IGraphics/Fonts -IGraphics/Gui -IGraphics/Mathematics 
-IGraphics/Renderer -IGraphics/Handwriting -IGraphics/Types -IGraphics/Pictures 
-IGraphics/Spacial -IGraphics/Colors -IPlugins -I.. -I/usr/X11R6/include 
-DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
-I/usr/local/lib/qt4/mkspecs/openbsd-g++4 -I. 
-I/usr/local/include/X11/qt4/QtCore -I/usr/local/include/X11/qt4/QtGui 
-I/usr/local/include/X11/qt4 -I. -I. -I/include -DQTTEXMACS -Wall 
-Wno-return-type -O2 -fno-rtti -c ./Plugins/LaTeX_Preview/latex_preview.cpp -o 
Objects/latex_preview.o
./Plugins/LaTeX_Preview/latex_preview.cpp: In function 'tree 
latex_load_image(url)':
./Plugins/LaTeX_Preview/latex_preview.cpp:140: error: 'gs_image_size' was not 
declared in this scope
makefile:335: recipe for target 'Objects/latex_preview.o' failed
gmake[1]: *** [Objects/latex_preview.o] Error 1
gmake[1]: Leaving directory 
'/usr/obj/pobj/TeXmacs-1.99.4/TeXmacs-1.99.4-src/src'

CVS: cvs.openbsd.org: ports

2016-02-29 Thread Michael McConville
CVSROOT:/cvs
Module name:ports
Changes by: m...@cvs.openbsd.org2016/02/29 16:42:51

Modified files:
lang/ocaml : Makefile 

Log message:
tweak HOMEPAGE to avoid cert error, crank REVISION

ok avsm@



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/02/29 16:42:49

Modified files:
www/racktables : Makefile distinfo 
www/racktables/pkg: PLIST 

Log message:
update to RackTables-0.20.11



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Stuart Henderson
CVSROOT:/cvs
Module name:ports
Changes by: st...@cvs.openbsd.org   2016/02/29 16:42:21

Modified files:
mail/pyzor : Makefile distinfo 
mail/pyzor/pkg : PLIST 
Removed files:
mail/pyzor/patches: patch-scripts_pyzor patch-scripts_pyzord 

Log message:
update to pyzor 1.0, ok benoit@



Re: devel/cil moved to GitHub

2016-02-29 Thread Stuart Henderson
On 2016/02/29 12:53, Michael McConville wrote:
> Does this look good? The distfile's slightly different - otherwise, this
> is straight-forward.
> 
> Our port's pretty out of date, too. If anyone's interested in updating
> it, let me know. Otherwise, I may try in the next couple weeks.

> -SHA256 (cil-1.5.1.tar.gz) = 4hcrQFO/gGTsXqfe6/Fp0rlE9YimTBGf4xC0i1fizXs=
> +SHA256 (cil-1.5.1.tar.gz) = jeaCp61ur/lSHobaIbKsVRf8vnwD56Ok+9/HKdegybo=

I'd rather wait and do this alongside the update. Changing distfiles
under the same name is a pain for bulk builds (they share distfiles and
arches will want one distfile, some another).



Re: NEW: net/p5-NetAddr-MAC

2016-02-29 Thread Stuart Henderson
On 2016/02/28 22:58, Mikolaj Kucharski wrote:
> Hi,
> 
> Perl module to handle hardware MAC addresses (EUI-48 and EUI-64)
> 
> Regress test pass. Port generated with portgen(1)
> 
> Comments?
> 
> -- 
> best regards
> q#

portgen uses cpan as a default CATEGORIES entry, but I don't think
it should actually be included in port Makefiles. (If we do want to
add that as a real category then it should be done in cpan.port.mk,
but I don't think it's really useful).

Rest looks reasonable but DESCR could maybe do with being fleshed
out a bit, the first 2 paragraphs of
http://search.cpan.org/~djzort/NetAddr-MAC-0.94/lib/NetAddr/MAC.pm#DESCRIPTION
look suitable.




CVS: cvs.openbsd.org: ports

2016-02-29 Thread Martin Natano
CVSROOT:/cvs
Module name:ports
Changes by: nat...@cvs.openbsd.org  2016/02/29 15:47:01

Modified files:
geo/openbsd-developers: Makefile 
geo/openbsd-developers/files: OpenBSD 

Log message:
Add Brent Cook.

from bcook@



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Michael McConville
CVSROOT:/cvs
Module name:ports
Changes by: m...@cvs.openbsd.org2016/02/29 14:31:52

Modified files:
www/p5-HTML-Embperl: Makefile 

Log message:
tweak HOMEPAGE to avoid failed connection, crank rev



fix x11/grantlee's HOMEPAGE

2016-02-29 Thread Michael McConville
ok?

It's also due for an update, if anyone uses it and has time.


Index: Makefile
===
RCS file: /cvs/ports/x11/grantlee/Makefile,v
retrieving revision 1.5
diff -u -p -r1.5 Makefile
--- Makefile15 Aug 2015 22:30:57 -  1.5
+++ Makefile29 Feb 2016 21:23:10 -
@@ -3,10 +3,11 @@
 SHARED_ONLY =  Yes
 COMMENT =  template and text document library for Qt4
 PKG_VERSION =  0.5.1
+REVISION = 0
 PLIST_VERSION =${PKG_VERSION:R}
 DISTNAME = grantlee-${PKG_VERSION}
 CATEGORIES =   devel x11
-HOMEPAGE = http://www.gitorious.org/grantlee/
+HOMEPAGE = https://github.com/steveire/grantlee
 
 MAINTAINER =   KDE porting team 
 PORTROACH =limit:^[0-4].*



delete net/nicotine?

2016-02-29 Thread Michael McConville
It seems unmaintained, it hasn't been updated since 2005, and the
website is gone. I don't know if this is considered acceptable for a
network client. There was Nicotine+:

http://www.nicotine-plus.org/

But that seems dead too.



Re: [update] net/transmission

2016-02-29 Thread Christian Weisgerber
On 2016-02-29, Josh Grosse  wrote:

> This diff updates the application to version 2.90.
> Tested on amd64.  (Some light testing on i386 was also performed.)

Shuffling the icon directories, which are only used in the gtk
flavor, from PLIST-gtk to PLIST-main doesn't make any sense.
update-plist is wrong there.

> Note to testers: pkg_delete any 2.84 transmission before beginning
> your build, $WRKSRC search libraries are behind /usr/local/lib.

Can't this be fixed?

-- 
Christian "naddy" Weisgerber  na...@mips.inka.de



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Jeremy Evans
CVSROOT:/cvs
Module name:ports
Changes by: jer...@cvs.openbsd.org  2016/02/29 13:46:54

Modified files:
lang/ruby  : Makefile.inc 
lang/ruby/1.8  : Makefile 
lang/ruby/2.0  : Makefile 
lang/ruby/2.1  : Makefile 
lang/ruby/2.2  : Makefile 
lang/ruby/2.3  : Makefile 

Log message:
Make dpb not try to build -ri_docs subpackages on slow arches

The previous way was bogus.  Use bsd.port.arch.mk to remove
MULTI_PACKAGES instead of having the lack of no_* FLAVOR add them.

Change the no_x11 PSUEDO_FLAVOR to no_tk, since what it does is turn
off the -tk subpackage.

Remove post-install target from Makefile.inc, and use a manually
post-install in every version.  This is necessary due to
bsd.port.arch.mk usage.

Noticed by tobiasu@
Guidance from espie@



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Michael McConville
CVSROOT:/cvs
Module name:ports
Changes by: m...@cvs.openbsd.org2016/02/29 13:08:38

Modified files:
devel/hs-parsec: Makefile 

Log message:
devel/hs-parsec's website is just GitHub now

ok kili@



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Dmitrij Czarkoff
CVSROOT:/cvs
Module name:ports
Changes by: czark...@cvs.openbsd.org2016/02/29 11:16:55

Modified files:
graphics/scour : Makefile distinfo 

Log message:
update to scour-0.33

OK junfra@



devel/cil moved to GitHub

2016-02-29 Thread Michael McConville
Does this look good? The distfile's slightly different - otherwise, this
is straight-forward.

Our port's pretty out of date, too. If anyone's interested in updating
it, let me know. Otherwise, I may try in the next couple weeks.


Index: Makefile
===
RCS file: /cvs/ports/devel/cil/Makefile,v
retrieving revision 1.32
diff -u -p -r1.32 Makefile
--- Makefile7 Sep 2014 16:14:43 -   1.32
+++ Makefile29 Feb 2016 17:50:29 -
@@ -8,11 +8,10 @@ COMMENT=  framework for analysis and tran
 CATEGORIES =   devel lang
 
 DISTNAME = cil-1.5.1
-REVISION =  5
-EXTRACT_SUFX = .tar.gz
-MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=cil/}
+REVISION =  6
 
-HOMEPAGE=  http://kerneis.github.com/cil/
+GH_ACCOUNT =   cil-project
+GH_PROJECT =   cil
 
 # BSD license
 PERMIT_PACKAGE_CDROM=  Yes
@@ -21,6 +20,8 @@ WANTLIB=  c curses m pthread
 
 MODULES =  lang/ocaml
 BUILD_DEPENDS= sysutils/findlib
+
+WRKDIST =  ${WRKDIR}/cil-${DISTNAME}
 
 CONFIGURE_STYLE =  autoconf no-autoheader
 AUTOCONF_VERSION = 2.69
Index: distinfo
===
RCS file: /cvs/ports/devel/cil/distinfo,v
retrieving revision 1.8
diff -u -p -r1.8 distinfo
--- distinfo18 Aug 2012 22:00:56 -  1.8
+++ distinfo29 Feb 2016 17:50:29 -
@@ -1,2 +1,2 @@
-SHA256 (cil-1.5.1.tar.gz) = 4hcrQFO/gGTsXqfe6/Fp0rlE9YimTBGf4xC0i1fizXs=
-SIZE (cil-1.5.1.tar.gz) = 1792712
+SHA256 (cil-1.5.1.tar.gz) = jeaCp61ur/lSHobaIbKsVRf8vnwD56Ok+9/HKdegybo=
+SIZE (cil-1.5.1.tar.gz) = 1792797



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2016/02/29 09:19:57

Modified files:
editors/ged: Makefile distinfo 
editors/ged/patches: patch-doc_ed_info 

Log message:
Update to latest version 1.13.



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Pascal Stumpf
CVSROOT:/cvs
Module name:ports
Changes by: pas...@cvs.openbsd.org  2016/02/29 09:21:14

Modified files:
games/openmw   : Makefile distinfo 
games/openmw/pkg: PLIST 

Log message:
Update to OpenMW 0.38.0.



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Antoine Jacoutot
CVSROOT:/cvs
Module name:ports
Changes by: ajacou...@cvs.openbsd.org   2016/02/29 08:27:18

Modified files:
devel/ocaml-re : Makefile 

Log message:
Missed bump after HOMEPAGE change.



Re: NEW: sysutils/sysclean

2016-02-29 Thread lists
Mon, 29 Feb 2016 09:57:37 +0100 Sebastien Marie 
> On Mon, Feb 29, 2016 at 09:44:11AM +0100, Antoine Jacoutot wrote:
> > 
> > Out of curiosity, any reason you did not want to "enhance" pkg_check?  

From a many machine host master user perspective, no reason not to have
one for ports, another for the base, Xenocara and other (db) candidates
as appropriate or using different languages and framework environments.

> > I think most of us have home-made clean scripts and it's be nice to
> > have a native tool.  

Well, if these stay home grown, are they too hairy to be shared or just
trade secret?  Nice initiative, long overdue (encouraging sense) & very
much in the hopes this gets worked up from ports to native.  Thank you,
for breaking out the home-world barrier with this proposed tool.



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Aaron Bieber
CVSROOT:/cvs
Module name:ports
Changes by: abie...@cvs.openbsd.org 2016/02/29 07:36:36

Modified files:
www/py-flask-login: Makefile distinfo 
www/py-flask-login/pkg: PLIST 

Log message:
Update to latest, mostly bug fixes.

OK shadchin@



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Aaron Bieber
CVSROOT:/cvs
Module name:ports
Changes by: abie...@cvs.openbsd.org 2016/02/29 07:34:54

Modified files:
www/py-sockjs-tornado: Makefile distinfo 

Log message:
Update to latest

OK shadchin@



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Kirill Bychkov
CVSROOT:/cvs
Module name:ports
Changes by: ki...@cvs.openbsd.org   2016/02/29 06:57:10

Modified files:
devel/libevent2: Makefile 

Log message:
update HOMEPAGE



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2016/02/29 06:30:40

Modified files:
geo/geoclue2   : Makefile distinfo 

Log message:
update to geoclue-2.4.2



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2016/02/29 05:57:20

Modified files:
security/libgcrypt: Tag: OPENBSD_5_8 Makefile 
Added files:
security/libgcrypt/patches: Tag: OPENBSD_5_8 patch-mpi_ec_c 

Log message:
CVE-2015-7511 libgcrypt: side-channel attack on ECDH with Weierstrass curves

ok aja@



CVS: cvs.openbsd.org: ports

2016-02-29 Thread Jasper Lievisse Adriaanse
CVSROOT:/cvs
Module name:ports
Changes by: jas...@cvs.openbsd.org  2016/02/29 05:43:00

Modified files:
security/libssh: Tag: OPENBSD_5_8 Makefile 
Added files:
security/libssh/patches: Tag: OPENBSD_5_8 patch-src_dh_c 

Log message:
Security fix CVE-2016-0739 libssh: bits/bytes confusion resulting in truncated
Difffie-Hellman secret length



[update] net/transmission

2016-02-29 Thread Josh Grosse
This diff updates the application to version 2.90.
Tested on amd64.  (Some light testing on i386 was also performed.)

This is a bugfix release of the application.

Major changes in the port:

qt4 -> qt5
GCC4 for the complete build, to support c++11 and gnu++11


Note to testers: pkg_delete any 2.84 transmission before beginning
your build, $WRKSRC search libraries are behind /usr/local/lib.

My thanks to Naddy and Vadim for their kind direction and
patience with me.

Index: Makefile
===
RCS file: /systems/cvs/ports/net/transmission/Makefile,v
retrieving revision 1.101
diff -u -p -r1.101 Makefile
--- Makefile30 Oct 2015 12:47:40 -  1.101
+++ Makefile29 Feb 2016 03:10:32 -
@@ -4,14 +4,15 @@ COMMENT-main= BitTorrent command line an
 COMMENT-gtk=   BitTorrent client with GTK+ interface
 COMMENT-qt=BitTorrent client with Qt interface
 
-VER=   2.84
+VER=   2.90
 DISTNAME=  transmission-${VER}
+DISTFILES= transmission-${VER}${EXTRACT_SUFX}
 PKGNAME-main=  transmission-${VER}
 PKGNAME-gtk=   transmission-gtk-${VER}
 PKGNAME-qt=transmission-qt-${VER}
-REVISION=  5
 CATEGORIES=net
 HOMEPAGE=  http://www.transmissionbt.com/
+MAINTAINER=Josh Grosse 
 
 # GPLv2+
 PERMIT_PACKAGE_CDROM=  Yes
@@ -41,13 +42,13 @@ WANTLIB-gtk=${WANTLIB-common} ICE SM X1
pangocairo-1.0 pixman-1 png pcre pthread-stubs xcb \
xcb-render xcb-shm epoxy idn nghttp2
 WANTLIB-qt=${WANTLIB-common} ${MODQT_WANTLIB} \
-   lib/qt4/QtDBus lib/qt4/QtGui lib/qt4/QtNetwork lib/qt4/QtXml \
+   GL Qt5Core Qt5DBus Qt5Gui Qt5Network Qt5Widgets \
ICE SM X11 Xext Xi Xinerama Xrender \
-   fontconfig freetype stdc++
+   fontconfig freetype estdc++
 
 MODULES=   devel/gettext textproc/intltool
 .if ${BUILD_PACKAGES:M-qt}
-MODULES+=  x11/qt4
+MODULES+=  x11/qt5
 .endif
 
 LIB_DEPENDS-common=${MODGETTEXT_LIB_DEPENDS} \
@@ -61,6 +62,8 @@ LIB_DEPENDS-gtk=${LIB_DEPENDS-common} \
 LIB_DEPENDS-qt=${LIB_DEPENDS-common} \
${MODQT_LIB_DEPENDS}
 
+RUN_DEPENDS-main=x11/gtk+3,-guic
+
 RUN_DEPENDS-gtk=${PKGNAME-main}:${BUILD_PKGPATH} \
devel/desktop-file-utils \
x11/gtk+3,-guic
@@ -69,7 +72,9 @@ RUN_DEPENDS-qt=   ${PKGNAME-main}:${BUILD_
 
 USE_GMAKE= Yes
 CONFIGURE_STYLE=gnu
+
 CONFIGURE_ARGS=--disable-shared \
+   --enable-cli \
--enable-external-natpmp
 
 # -I$(top_builddir)/third-party is required, but configure fails to
@@ -78,9 +83,6 @@ CONFIGURE_ARGS=   --disable-shared \
 CONFIGURE_ENV= CPPFLAGS="-I${WRKSRC}/third-party -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
 
-QMAKE_ARGS=QMAKE_CXX="${CXX}" \
-   QMAKE_CXXFLAGS="${CXXFLAGS}"
-
 .if !${BUILD_PACKAGES:M-gtk}
 CONFIGURE_ARGS+=--without-gtk
 .endif
@@ -90,7 +92,8 @@ pre-patch:
 
 .if ${BUILD_PACKAGES:M-qt}
 post-build:
-   cd ${WRKSRC}/qt; qmake4 ${QMAKE_ARGS} qtr.pro; make ${MAKE_FLAGS}
+   cd ${WRKSRC}/qt; qmake-qt5 qtr.pro; ${MAKE_ENV} ${MAKE_PROGRAM} \
+   ${MAKE_FLAGS}
 
 post-install:
cd ${WRKSRC}/qt; make ${MAKE_FLAGS} install INSTALL_ROOT=${PREFIX} \
Index: distinfo
===
RCS file: /systems/cvs/ports/net/transmission/distinfo,v
retrieving revision 1.49
diff -u -p -r1.49 distinfo
--- distinfo21 Jul 2014 14:59:17 -  1.49
+++ distinfo29 Feb 2016 02:10:06 -
@@ -1,2 +1,2 @@
-SHA256 (transmission-2.84.tar.xz) = 
qfwZNrTuQUrMcyraBOhDOdZ1XNDQl7y9Ebos/FQNues=
-SIZE (transmission-2.84.tar.xz) = 3077836
+SHA256 (transmission-2.90.tar.xz) = 
af+Mr4FoQVWSb0N/Rr998bH7ME9Sx4CfVGJX6JI/L9I=
+SIZE (transmission-2.90.tar.xz) = 3377720
Index: patches/patch-libtransmission_peer-mgr_c
===
RCS file: patches/patch-libtransmission_peer-mgr_c
diff -N patches/patch-libtransmission_peer-mgr_c
--- patches/patch-libtransmission_peer-mgr_c1 Jun 2014 11:37:06 -   
1.3
+++ /dev/null   1 Jan 1970 00:00:00 -
@@ -1,18 +0,0 @@
-$OpenBSD: patch-libtransmission_peer-mgr_c,v 1.3 2014/06/01 11:37:06 naddy Exp 
$
-
-time_t printing.
-
 libtransmission/peer-mgr.c.origSun May 18 22:52:12 2014
-+++ libtransmission/peer-mgr.c Mon May 26 20:51:06 2014
-@@ -2892,9 +2892,9 @@ rechokeDownloads (tr_swarm * s)
- const double mult = MIN (timeSinceCancel, maxHistory) / (double) 
maxHistory;
- const int inc = maxIncrease * mult;
- maxPeers = s->maxPeers + inc;
--tordbg (s, "time since last cancel is %li -- increasing the "
-+tordbg (s, "time since last cancel is %lli -- increasing the "
-"number of peers we're interested in by %d",
--   timeSinceCancel, inc);
-+   

Re: NEW: sysutils/sysclean

2016-02-29 Thread Sebastien Marie
On Mon, Feb 29, 2016 at 09:44:11AM +0100, Antoine Jacoutot wrote:
> 
> Out of curiosity, any reason you did not want to "enhance" pkg_check?

it would require to me to first acquire some perl capabilities :)

if I think I am able to read and understand a perl script, I am far to be
able to write quality code in perl. And pkg_check is not a "simple"
script.

> I think most of us have home-made clean scripts and it's be nice to have a 
> native tool.

Yes, I agree. A native tool would be ideal.

This script could be seen as a first try to have a somehow efficient
method to deal with old-files. When the method would be good, enhancing
pkg_check could be considered. For now it would be too soon for me: I
can't work on learning a language and experiment several methods at same
time.

Thanks.
-- 
Sebastien Marie



Re: NEW: sysutils/sysclean

2016-02-29 Thread Antoine Jacoutot
On Mon, Feb 29, 2016 at 09:29:06AM +0100, Sebastien Marie wrote:
> Hi,
> 
> Here is a small tool I wrote to help me removing obsoletes files between
> OpenBSD upgrades (snapshots or releases).
> 
> It just prints filenames that aren't been installed with the system,
> excluding severals directories (/home, /usr/local, ...) or libraries
> that are currently used by packages.
> 
> It works by comparing expected files (list from /usr/lib/locate/src.db,
> /usr/X11R6/lib/locate/xorg.db, and packages files) with currently
> installed files.
> 
> Repository at: https://github.com/semarie/sysclean
> 
> This version is a prerelease (1.0beta), as feedback would be welcome
> before releasing a proper 1.0 version.
> 
> OK to import (when tree would be fully open) ?

Out of curiosity, any reason you did not want to "enhance" pkg_check?
I think most of us have home-made clean scripts and it's be nice to have a 
native tool.


-- 
Antoine



NEW: sysutils/sysclean

2016-02-29 Thread Sebastien Marie
Hi,

Here is a small tool I wrote to help me removing obsoletes files between
OpenBSD upgrades (snapshots or releases).

It just prints filenames that aren't been installed with the system,
excluding severals directories (/home, /usr/local, ...) or libraries
that are currently used by packages.

It works by comparing expected files (list from /usr/lib/locate/src.db,
/usr/X11R6/lib/locate/xorg.db, and packages files) with currently
installed files.

Repository at: https://github.com/semarie/sysclean

This version is a prerelease (1.0beta), as feedback would be welcome
before releasing a proper 1.0 version.

OK to import (when tree would be fully open) ?
-- 
Sebastien Marie


sysclean-1.0beta.tgz
Description: application/tar-gz