svn commit: r372524 - in head: . security security/pinentry security/pinentry-gtk
Max Brazhnikov
makc at FreeBSD.org
Thu Nov 13 14:42:33 UTC 2014
Author: makc
Date: Thu Nov 13 14:42:30 2014
New Revision: 372524
URL: https://svnweb.freebsd.org/changeset/ports/372524
QAT: https://qat.redports.org/buildarchive/r372524/
Log:
security/pinentry:
- Update to 0.9.0
- Remove pinentry-gtk port (GTK+ 1 support is discontinued upstream)
- Ignore Qt 4 frontend on 10 and greater, it fails to build with clang/libc++
Deleted:
head/security/pinentry-gtk/
Modified:
head/MOVED
head/security/Makefile
head/security/pinentry/Makefile
head/security/pinentry/distinfo
head/security/pinentry/pkg-plist
Modified: head/MOVED
==============================================================================
--- head/MOVED Thu Nov 13 14:32:39 2014 (r372523)
+++ head/MOVED Thu Nov 13 14:42:30 2014 (r372524)
@@ -7181,3 +7181,4 @@ science/elmer-eio|cad/elmerfem|2014-11-0
science/elmer-matc|cad/elmerfem|2014-11-07|Has expired: Obsoleted by cad/elmerfem
science/elmer-meshgen2d|cad/elmerfem|2014-11-07|Has expired: Obsoleted by cad/elmerfem
science/elmergrid|cad/elmerfem|2014-11-07|Has expired: Obsoleted by cad/elmerfem
+security/pinentry-gtk||2014-11-13|Removed: upstream ended support for GTK+ 1
Modified: head/security/Makefile
==============================================================================
--- head/security/Makefile Thu Nov 13 14:32:39 2014 (r372523)
+++ head/security/Makefile Thu Nov 13 14:42:30 2014 (r372524)
@@ -716,7 +716,6 @@
SUBDIR += pidgin-otr
SUBDIR += pinentry
SUBDIR += pinentry-curses
- SUBDIR += pinentry-gtk
SUBDIR += pinentry-gtk2
SUBDIR += pinentry-qt4
SUBDIR += pkcrack
Modified: head/security/pinentry/Makefile
==============================================================================
--- head/security/pinentry/Makefile Thu Nov 13 14:32:39 2014 (r372523)
+++ head/security/pinentry/Makefile Thu Nov 13 14:42:30 2014 (r372524)
@@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME= pinentry
-PORTVERSION= 0.8.3
-PORTREVISION?= 3
+PORTVERSION= 0.9.0
+PORTREVISION?= 0
CATEGORIES= security
MASTER_SITES= GNUPG/pinentry
@@ -17,7 +17,6 @@ CONFLICTS_INSTALL?= pinentry-[a-z]*
USES= iconv gmake pkgconfig tar:bzip2
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+=--disable-pinentry-qt
INFO= pinentry
CFLAGS+= -I${LOCALBASE}/include
@@ -25,11 +24,10 @@ LDFLAGS+= -L${LOCALBASE}/lib
.if !defined(PINENTRY_SLAVE)
OPTIONS_MULTI= FRONTEND
-OPTIONS_MULTI_FRONTEND= NCURSES GTK GTK2 QT4
-OPTIONS_DEFAULT= ${OPTIONS_MULTI_FRONTEND}
+OPTIONS_MULTI_FRONTEND= NCURSES GTK2 QT4
+OPTIONS_DEFAULT= ${PINENTRY_DEFAULT}
NCURSES_DESC= Curses frontend
-GTK_DESC= Gtk+ 1 frontend
GTK2_DESC= Gtk+ 2 frontend
QT4_DESC= Qt 4 frontend
.else
@@ -38,8 +36,19 @@ PKGNAMESUFFIX= ${PINENTRY_SLAVE}
.include <bsd.port.options.mk>
+.if !defined(PINENTRY_SLAVE)
+. if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000
+PINENTRY_DEFAULT= ${OPTIONS_MULTI_FRONTEND:NQT4}
+QT4_DESC= Qt 4 frontend (broken)
+. else
+PINENTRY_DEFAULT= ${OPTIONS_MULTI_FRONTEND}
+. endif
+.endif
+
.if ${PORT_OPTIONS:MQT4}
-USE_GCC= any
+. if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000
+IGNORE= with Qt 4 frontend does not compile with libc++
+. endif
USE_QT4= gui moc_build
PLIST_SUB+= WITH_QT4=""
MOC4= ${LOCALBASE}/bin/moc-qt4
@@ -48,14 +57,6 @@ CONFIGURE_ARGS+=--disable-pinentry-qt4
PLIST_SUB+= WITH_QT4="@comment "
.endif
-.if ${PORT_OPTIONS:MGTK}
-USE_GNOME+= gtk12
-PLIST_SUB+= WITH_GTK=""
-.else
-CONFIGURE_ARGS+=--disable-pinentry-gtk
-PLIST_SUB+= WITH_GTK="@comment "
-.endif
-
.if ${PORT_OPTIONS:MGTK2}
USE_GNOME+= gtk20
PLIST_SUB+= WITH_GTK2=""
@@ -76,7 +77,8 @@ pre-configure:
.if ${PORT_OPTIONS:MQT4}
cd ${WRKSRC}/qt4 && \
${MOC4} pinentrydialog.h > pinentrydialog.moc && \
- ${MOC4} qsecurelineedit.h > qsecurelineedit.moc
+ ${MOC4} qsecurelineedit.h > qsecurelineedit.moc && \
+ ${MOC4} pinentryconfirm.h > pinentryconfirm.moc
.endif
.include <bsd.port.mk>
Modified: head/security/pinentry/distinfo
==============================================================================
--- head/security/pinentry/distinfo Thu Nov 13 14:32:39 2014 (r372523)
+++ head/security/pinentry/distinfo Thu Nov 13 14:42:30 2014 (r372524)
@@ -1,2 +1,2 @@
-SHA256 (pinentry-0.8.3.tar.bz2) = 568b0b09b50b2388a4f94d704d5bcb28718ecd4654ed1acc43ab1f97d921a0ad
-SIZE (pinentry-0.8.3.tar.bz2) = 430753
+SHA256 (pinentry-0.9.0.tar.bz2) = 90045a07ab8e1a8e1ecf5d19b51691f195525e579fa5d71d7e92c120b05490ab
+SIZE (pinentry-0.9.0.tar.bz2) = 464272
Modified: head/security/pinentry/pkg-plist
==============================================================================
--- head/security/pinentry/pkg-plist Thu Nov 13 14:32:39 2014 (r372523)
+++ head/security/pinentry/pkg-plist Thu Nov 13 14:42:30 2014 (r372524)
@@ -1,5 +1,4 @@
bin/pinentry
%%WITH_NCURSES%%bin/pinentry-curses
-%%WITH_GTK%%bin/pinentry-gtk
%%WITH_GTK2%%bin/pinentry-gtk-2
%%WITH_QT4%%bin/pinentry-qt4
More information about the svn-ports-head
mailing list