On Sun, November 12, 2017 13:54, Kirill Bychkov wrote: > Hi! > This updates gsmartcontrol to latest version. Works fine on amd64. > OK to commit?
ping > > Index: Makefile > =================================================================== > RCS file: /cvs/ports/sysutils/gsmartcontrol/Makefile,v > retrieving revision 1.16 > diff -u -p -r1.16 Makefile > --- Makefile 27 Jul 2017 10:05:20 -0000 1.16 > +++ Makefile 12 Nov 2017 10:49:59 -0000 > @@ -1,13 +1,9 @@ > # $OpenBSD: Makefile,v 1.16 2017/07/27 10:05:20 sthen Exp $ > > -# XXX check if still needed at next update > -CXXFLAGS += -std=c++11 > - > COMMENT= graphical hard drive inspection tool (smartctl > front-end) > > -DISTNAME= gsmartcontrol-1.0.2 > +DISTNAME= gsmartcontrol-1.1.3 > EXTRACT_SUFX= .tar.bz2 > -REVISION= 0 > > CATEGORIES= sysutils x11 > > @@ -19,13 +15,13 @@ PERMIT_PACKAGE_CDROM= Yes > WANTLIB += atk-1.0 atkmm-1.6 c cairo cairo-gobject cairomm-1.0 > WANTLIB += gdk-3 gdk_pixbuf-2.0 gdkmm-3.0 gio-2.0 giomm-2.4 glib-2.0 > WANTLIB += glibmm-2.4 gobject-2.0 gtk-3 gtkmm-3.0 intl m pango-1.0 > -WANTLIB += pangocairo-1.0 pangomm-1.4 pcre pthread sigc-2.0 util > -WANTLIB += ${COMPILER_LIBCXX} > +WANTLIB += pangocairo-1.0 pangomm-1.4 pcre pcrecpp pthread sigc-2.0 > +WANTLIB += util ${COMPILER_LIBCXX} > > MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=gsmartcontrol/} > > # c++11 > -COMPILER = gcc > +COMPILER = base-clang ports-gcc > > RUN_DEPENDS= devel/desktop-file-utils \ > sysutils/smartmontools \ > Index: distinfo > =================================================================== > RCS file: /cvs/ports/sysutils/gsmartcontrol/distinfo,v > retrieving revision 1.4 > diff -u -p -r1.4 distinfo > --- distinfo 23 Jul 2017 12:32:53 -0000 1.4 > +++ distinfo 12 Nov 2017 10:49:59 -0000 > @@ -1,2 +1,2 @@ > -SHA256 (gsmartcontrol-1.0.2.tar.bz2) = > T3BFHDWdle3JdEmLhgaWtpjxmxhzQNxyB7SzjLr14gc= > -SIZE (gsmartcontrol-1.0.2.tar.bz2) = 695445 > +SHA256 (gsmartcontrol-1.1.3.tar.bz2) = > tk9iz/pEMKkLbQbNUuut1bzznVSN9YHmffsnWmc7Eqk= > +SIZE (gsmartcontrol-1.1.3.tar.bz2) = 677998 > Index: patches/patch-data_gsmartcontrol-root_in > =================================================================== > RCS file: > /cvs/ports/sysutils/gsmartcontrol/patches/patch-data_gsmartcontrol-root_in,v > retrieving revision 1.3 > diff -u -p -r1.3 patch-data_gsmartcontrol-root_in > --- patches/patch-data_gsmartcontrol-root_in 23 Jul 2017 12:32:53 -0000 > 1.3 > +++ patches/patch-data_gsmartcontrol-root_in 12 Nov 2017 10:49:59 -0000 > @@ -8,7 +8,7 @@ Index: data/gsmartcontrol-root.in > ############################################################################ > # Copyright: > # (C) 2008 - 2014 Alexander Shaduri <ashaduri 'at' gmail.com> > -@@ -92,7 +92,7 @@ fi > +@@ -93,7 +93,7 @@ fi > > if [ "$GSMARTCONTROL_SU" = "" ]; then > for subin in $candidates; do > Index: patches/patch-src_res_Makefile_in > =================================================================== > RCS file: > /cvs/ports/sysutils/gsmartcontrol/patches/patch-src_res_Makefile_in,v > retrieving revision 1.2 > diff -u -p -r1.2 patch-src_res_Makefile_in > --- patches/patch-src_res_Makefile_in 23 Jul 2017 12:32:53 -0000 1.2 > +++ patches/patch-src_res_Makefile_in 12 Nov 2017 10:49:59 -0000 > @@ -7,7 +7,7 @@ earlier in the Makefile only works with > Index: src/res/Makefile.in > --- src/res/Makefile.in.orig > +++ src/res/Makefile.in > -@@ -605,9 +605,6 @@ uninstall-am: > +@@ -604,9 +604,6 @@ uninstall-am: > mostlyclean-local: > rm -f *.ui.cpp *.tmp_ui *.txt.cpp > > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/ports/sysutils/gsmartcontrol/pkg/PLIST,v > retrieving revision 1.5 > diff -u -p -r1.5 PLIST > --- pkg/PLIST 23 Jul 2017 12:32:53 -0000 1.5 > +++ pkg/PLIST 12 Nov 2017 10:49:59 -0000 > @@ -1,8 +1,8 @@ > @comment $OpenBSD: PLIST,v 1.5 2017/07/23 12:32:53 ajacoutot Exp $ > -@bin bin/gsmartcontrol > bin/gsmartcontrol-root > @man man/man1/gsmartcontrol-root.1 > @man man/man1/gsmartcontrol.1 > +@bin sbin/gsmartcontrol > share/applications/gsmartcontrol.desktop > share/doc/gsmartcontrol/ > share/doc/gsmartcontrol/AUTHORS.txt > @@ -14,7 +14,6 @@ share/doc/gsmartcontrol/LICENSE_gpl2.txt > share/doc/gsmartcontrol/LICENSE_gpl3.txt > share/doc/gsmartcontrol/LICENSE_gsmartcontrol.txt > share/doc/gsmartcontrol/LICENSE_hz.txt > -share/doc/gsmartcontrol/LICENSE_pcrecpp.txt > share/doc/gsmartcontrol/LICENSE_unlicense.txt > share/doc/gsmartcontrol/LICENSE_zlib.txt > share/doc/gsmartcontrol/NEWS > @@ -45,3 +44,6 @@ share/pixmaps/gsmartcontrol.xpm > @unexec-delete %D/bin/gtk-update-icon-cache -q -t %D/share/icons/hicolor > @exec %D/bin/update-desktop-database > @unexec-delete %D/bin/update-desktop-database > +share/polkit-1/ > +share/polkit-1/actions/ > +share/polkit-1/actions/org.gsmartcontrol.policy > > >