ports/180278: security/pinentry : remove expired QT3 support
Rene Ladan
rene at FreeBSD.org
Thu Jul 4 17:40:02 UTC 2013
>Number: 180278
>Category: ports
>Synopsis: security/pinentry : remove expired QT3 support
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Thu Jul 04 17:40:02 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Rene Ladan
>Release: FreeBSD 9.1-amd64
>Organization:
>Environment:
FreeBSD 9.1-amd64
Ports r322216
>Description:
Remove support for the expired QT3 port.
Change default frontend from QT3 to QT4 and bump PORTREVISION
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
--- Makefile (revision 322216)
+++ Makefile (working copy)
@@ -3,7 +3,7 @@
PORTNAME= pinentry
PORTVERSION= 0.8.1
-PORTREVISION?= 3
+PORTREVISION?= 4
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GNUPG}
MASTER_SITE_SUBDIR= pinentry
@@ -26,13 +26,12 @@
.if !defined(PINENTRY_SLAVE)
OPTIONS_MULTI= FRONTEND
-OPTIONS_MULTI_FRONTEND= NCURSES GTK GTK2 QT3 QT4
-OPTIONS_DEFAULT= ${OPTIONS_MULTI_FRONTEND:NQT3}
+OPTIONS_MULTI_FRONTEND= NCURSES GTK GTK2 QT4
+OPTIONS_DEFAULT= ${OPTIONS_MULTI_FRONTEND:NQT4}
NCURSES_DESC= Curses frontend
GTK_DESC= Gtk+1 frontend
GTK2_DESC= Gtk+2 frontend
-QT3_DESC= Qt3 frontend
QT4_DESC= Qt4 frontend
.else
PKGNAMESUFFIX= ${PINENTRY_SLAVE}
@@ -40,14 +39,7 @@
.include <bsd.port.options.mk>
-.if ${PORT_OPTIONS:MQT3}
-USE_QT_VER= 3
-PLIST_SUB+= WITH_QT3=""
-MOC3= ${LOCALBASE}/bin/moc
-.else
CONFIGURE_ARGS+=--disable-pinentry-qt
-PLIST_SUB+= WITH_QT3="@comment "
-.endif
.if ${PORT_OPTIONS:MQT4}
# bsd.kde.mk overrides MOC from bsd.qt.mk
@@ -88,10 +80,6 @@
pre-configure:
${REINPLACE_CMD} -e "s at -lpthread@${PTHREAD_LIBS}@g" \
${WRKSRC}/m4/qt.m4 ${WRKSRC}/configure
-.if ${PORT_OPTIONS:MQT3}
- ${REINPLACE_CMD} -e "/^MOC/s, at MOC@,${MOC3}," \
- ${WRKSRC}/qt/Makefile.in
-.endif
.if ${PORT_OPTIONS:MQT4}
cd ${WRKSRC}/qt4 && \
${MOC4} pinentrydialog.h > pinentrydialog.moc && \
Index: pkg-plist
===================================================================
--- pkg-plist (revision 322216)
+++ pkg-plist (working copy)
@@ -2,5 +2,4 @@
%%WITH_NCURSES%%bin/pinentry-curses
%%WITH_GTK%%bin/pinentry-gtk
%%WITH_GTK2%%bin/pinentry-gtk-2
-%%WITH_QT3%%bin/pinentry-qt
%%WITH_QT4%%bin/pinentry-qt4
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list