Commit graph

72 commits

Author SHA1 Message Date
rillig
e155a5488b security/pinentry: fix unknown configure option 2019-11-05 18:55:18 +00:00
rillig
9fd786bb11 security: align variable assignments
pkglint -Wall -F --only aligned --only indent -r

No manual corrections.
2019-11-04 21:12:51 +00:00
wiz
7c6718841e pinentry/Makefile.common: mention pinentry-fltk 2019-02-13 17:42:07 +00:00
abs
a37d2c3937 Pass --disable-pinentry-fltk to configure to fix build when fltk installed 2018-01-19 13:36:42 +00:00
wiz
2e3cf37d6f pinentry: update to 1.1.0.
Noteworthy changes in version 1.1.0 (2017-12-03)
------------------------------------------------

 * A FLTK1.3-based pinentry has been contributed.

 * A TQt3-based pinentry has been contributed.

 * New option --ttyalert for pinentry-curses to alert the user.

 * Don't show "save passphrase" checkbox if secret service is
   unavailable.

 * The GTK Pinentry shows on Linux some information anout the process
   which invoked the Pinentry.

 * The GTK Pinentry does not anymore show tooltips when keyboard
   grabbing is enabled.

 * Fixed various minor problems.
2018-01-10 12:29:38 +00:00
rillig
17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00
roy
efac81bf62 Move to the curses framework. 2017-01-03 18:55:43 +00:00
wiz
efeacd4f62 Update pinentry* to 1.0.0.
Noteworthy changes in version 1.0.0 (2016-11-22)
------------------------------------------------

 * Qt pinentry now supports repeat mode in one dialog.

 * Qt and GTK pinentries now make it possible to show the entered
   value.

 * Qt pinentry now only grabs the keyboard if an entry field is
   focused.

 * Fixed foreground handling in pinentry-qt if compiled with Qt5 for
   Windows.

 * Fixed potential crash in Qt qualitybar calculation.

 * GTK keyboard grabbing is now a bit more robust.  The cursor is
   changed to a big dot as a visual indication that a pinentry has
   popped up and is waiting for input.

 * The GNOME pinentry now falls back to curses if it can't use the
   GCR system prompter or a screenlock is active.

 * Fixed error output for cached passwords.

 * A show/hide passphrase button or checkbox is now available with
   some pinentry flavors.

 * Improved diagnostics and error codes.
2016-11-28 14:58:34 +00:00
wiz
f42d04dc56 Update pinentry* to 0.9.7:
Noteworthy changes in version 0.9.7 (2015-12-07)
------------------------------------------------

 * Fix regressions in the Qt pinentry.

 * Fix minor problems pinnetyr-tty.

 * New option --invisible-char.
2015-12-13 21:27:13 +00:00
agc
5293710fb4 Add SHA512 digests for distfiles for security category
Problems found locating distfiles:
	Package f-prot-antivirus6-fs-bin: missing distfile fp-NetBSD.x86.32-fs-6.2.3.tar.gz
	Package f-prot-antivirus6-ws-bin: missing distfile fp-NetBSD.x86.32-ws-6.2.3.tar.gz
	Package libidea: missing distfile libidea-0.8.2b.tar.gz
	Package openssh: missing distfile openssh-7.1p1-hpn-20150822.diff.bz2
	Package uvscan: missing distfile vlp4510e.tar.Z

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
2015-11-04 01:17:40 +00:00
wiz
1c9c7388f2 Update pinentry* to 0.9.6:
Noteworthy changes in version 0.9.6 (2015-09-10)
------------------------------------------------

 * Many improvements for the dump tty pinentry.

 * Use the standard GTK+-2 text entry widget instead of our outdated
   and back-then-it-was-more-secure text widget.

 * Use the standard Qt text widget.

 * Allow for building a static Qt variant.

 * Fix regression in w32 pinentry.
2015-09-30 19:56:42 +00:00
wiz
c7383780db Bump all packages that depend on curses.bui* or terminfo.bui* since they
might incur ncurses dependencies on some platforms, and ncurses just bumped
its shlib.
Some packages were bumped twice now, sorry for that.
2015-08-18 07:31:00 +00:00
wiz
0eb141f110 Bump PKGREVISION for ncurses shlib bump. 2015-08-17 17:11:19 +00:00
wiz
026f858625 Update to 0.9.5:
Noteworthy changes in version 0.9.5 (2015-07-01)
------------------------------------------------

 * Replaced the internal Assuan and gpg-error code by the standard
   libassuan and libgpg-error libraries.

 * Add a new Emacs pinentry and use as fallback for GUI programs.

 * gnome3: The use-password-manager checkbox does now work.

 * Gtk: Improved fallback to curses feature.

 * curses: Recognize DEL as backspace.
2015-07-06 10:31:00 +00:00
wiz
61193bbc36 Update to 0.9.4:
Noteworthy changes in version 0.9.4 (2015-06-05)
------------------------------------------------

 * Fix regression in GTK+ and curses pinentries.


Noteworthy changes in version 0.9.3 (2015-06-01)
------------------------------------------------

 * Improved documentation

 * New pinentry-gnome3

 * More improvements for pinentry-tty.

 * Fixes for pinentry-curses including support for Ctrl-W, Ctrl-U,
   Ctrl-H, Ctrl-L, and Alt-Backspace

 * New Assuan command to request clearing an external cache.

 * Fixed problems linking to ncursesw.

 * All kind of other minor fixes.
2015-06-07 08:46:48 +00:00
wiz
ef59bfbf9c Update to 0.9.2:
Noteworthy changes in version 0.9.2 (2015-05-11)
------------------------------------------------

 * Support for saving the passphrase with libsecret.

 * Escape key works in the Gtk+ pinentry.

 * Improvements for pinentry-tty.

 * Minor cleanups for the native Windows pinentry.
2015-05-28 06:41:54 +00:00
wiz
7907b5a830 Update to 0.9.1.
Noteworthy changes in version 0.9.1 (2015-03-18)
------------------------------------------------

 * Fixed build problems for systems without ncurses.

 * Reworked the option parser to allow building on systems without
   getopt_long.

 * Fixed Qt4 build problems.
2015-04-12 14:50:43 +00:00
wiz
3bc70a1de6 Build pinentry-tty by default. From ISIHARA Takanori in PR 49573.
Bump PKGREVISION.
2015-01-15 20:48:33 +00:00
mef
1c1cc56e07 Update pinentry and pinentry-{gtk2,qt4} from 0.8.4 to 0.9.0
-- This will remove pinentry-{gtk,qt} by next commit.
  -- Touched files on this commit are Makefile.common and distinfo only
-------------------------
2014-10-26  Werner Koch  <wk@gnupg.org>

	Release 0.9.0.

	gtk: Aboid segv for opaste keys.
	* gtk+-2/gtksecentry.c (gtk_secure_entry_class_init): Disable paste
	key bindings.

	Remove support form QT3 and GTK+-1.
	* configure.ac: Remove old qt and gtk+-1 support.
	* Makefile.am: Ditto.

2014-10-26  Stanislav Ochotnicky  <sochotnicky@redhat.com>

	Check if we are on tty before initializing curses.
	* pinentry/pinentry-curses.c (dialog_run): Check stant stdin and stout
	are connected to ttys.

2014-10-26  Werner Koch  <wk@gnupg.org>

	gtk: Allow pasting using the mouse.
	* gtk+-2/gtksecentry.h (_GtkSecureEntry): Add fields insert_pos,
	real_changed, cand change_count.
	(_GtkSecureEntryClass): Add field paste_clipboard.
	* gtk+-2/gtksecentry.c (PASTE_CLIPBOARD): New.
	(gtk_secure_entry_class_init): Set paste_clipboard and create
	paste-clipboard signal.
	(gtk_secure_entry_button_press): Call gtk_secure_entry_pase.
	(begin_change, end_change, emit_changed): New.
	(gtk_secure_entry_real_insert_text): Use emit_changed.
	(gtk_secure_entry_real_delete_text): Ditto.
	(paste_received, gtk_secure_entry_paste)
	(gtk_secure_entry_paste_clipboard): New.

2014-10-24  Werner Koch  <wk@gnupg.org>

	gtk+-2: Make current focus visible again.
	* gtk+-2/pinentry-gtk-2.c (grab_keyboard): Return false
	(ungrab_keyboard): Ditto.

	gtk+-2: Implement the SETREPEAT command.
	* gtk+-2/pinentry-gtk-2.c (repeat_entry, error_label): New.
	(button_clicked): Implement repeat check.
	(changed_text_handler): Clear repeat field.
	(create_window): Add repeat entry.

	Add commands to allow implementing a "repeat passphrase" field.
	* pinentry/pinentry.c (cmd_setrepeat): New.
	(cmd_setrepeaterror): New.
	(register_commands): Add new commands.
	(cmd_getpin): Print "PIN_REPEATED" status.
2014-12-12 15:04:16 +00:00
mef
8275e78877 Update security/pinentry* from 0.8.3 to 0.8.4
The second part of the commit after Makefile.common updated
This is the last version pinentry-{qt,gtk} are available.
2014-12-10 10:24:21 +00:00
mef
9347e44015 Update security/pinentry* from 0.8.3 to 0.8.4
Another commit follows for other files.
This is the last version pinentry-{qt,gtk} are available.
-----------------------------------------
2014-09-18  Werner Koch  <wk@gnupg.org>
	Release 0.8.4.

	Add missing build support files and move them to build-aux.

	Use generic autogen.sh script.
	* autogen.rc: New.
	* autogen.sh: New.  Take from GnuPG.
	* Makefile.am (EXTRA_DIST): Add autogen.rc.
	(DISTCHECK_CONFIGURE_FLAGS): Disable qt4.

2014-08-12  Werner Koch  <wk@gnupg.org>
	common: Fix compiler warning.
	* pinentry/pinentry.c (pinentry_utf8_to_local): Use cast for iconv arg.
	(pinentry_local_to_utf8): Ditto.

	New pinentry-tty version for dumb terminals.
	* Makefile.am: Add pinentry-tty.
	* NEWS: Add news about pinentry-tty.
	* README: Update.
	* configure.ac: Add support for this pinentry.
	* tty/Makefile.am: New.
	* tty/pinentry-tty.c: New.

2014-08-06  Andre Heinecke  <aheinecke@intevation.de>
	Check for MOC also if pinentry-qt is disabled.
	  * configure.ac: Call QT_PATH_MOC if pinentry_qt4 is not no.

	Add fallbacks for SetForegroundWindow.
	    If that foreground window fails pinentry-qt now tries to
	    attach to the current foreground process and then tries
	    to set the foreground window again. If that fails it also
	    calls ShowWindow as a last resort.

	    * qt4/pinentrydialog.cpp (raiseWindow): Add fallbacks in
	    case SetForegroundWindow fails.

	Use raiseWindow also for confirm dialogs.
	    This should fix the case that the dialog opened
	    in the foreground but a warning / confirm dialog
	    opened in the background.

	    * qt4/pinentryconfirm.cpp, qt4/pinentryconfirm.h (showEvent):
	    New overwrite base class method to call raiseWindow.
	    * NEWS: Mention this.

2014-07-30  Andre Heinecke  <aheinecke@intevation.de>
	Set some accessibility information.
	    * qt4/main.cpp (qt_cmd_handler): Build buttons with accessibile
	    Description.
	    * qt4/pinentrydialog.cpp (setDescription, setError, setOkText)
	    (setCancelText, setQualityBar): Set an accessible description.
	    * qt4/pinentryconfirm.cpp (PinentryConfirm): Set message
	    box contents also as accessible values.
	    * NEWS: Mention it and the copy/paste change from last year.

2013-07-15  Andre Heinecke  <aheinecke@intevation.de>
	Lower paste length limit to 300.
	    This should be more then enough and avoids possible problems
	    with libassuan cmd line lenght or percent escaping etc.

	    * qt4/qsecurelineedit.cpp (insert): Lower paste limit

	Limit paste length to 1023 characters.
	    * qt4/qsecurelineedit.cpp (insert): Check for a maximum
	    length before allocation the secmem string.

	Fix contextmenu support for pasting.
	    MOC ignores preprocessor definitions so we can not conditionally
	    declare SLOTS. So we now move the ifdefs in the definition and
	    always declare the SLOTS.

	    * qt4/qsecurelinedit.cpp (cut, copy, paste): Do nothing if
	    QT_NO_CLIPBOARD is defined.
	    * qt4/qsecurelinedit.h: Always declare cut, copy and paste slots

	Remove check for RTL extensions.
	    Our code does nothing RTL specific there anyway. And the
	    qt_use_rtl_extensions symbol has been removed.

	    * qt4/qsecurelinedit.cpp: Remove check for RTL extensions.

2013-07-12  Werner Koch  <wk@gnupg.org>
	Fix for commit fb38be9 to allow for "make distcheck".
	* qt4/Makefile.am: Make correct use of BUILT_SOURCES.

2013-05-29  Andre Heinecke  <aheinecke@intevation.de>
	Add pinentry-qt4-clipboard option.
	    Enabling this option will make it possible to paste a
	    passphrase into pinentry-qt4. This defeats the secmem
	    mechanism but drastically increases usability for some
	    users.

	    * configure.ac: New option pinentry-qt4-clipboard.
	    * qt4/qsecurelineedit.cpp, qt4/qsecurelineedit.h: Activate
	    clipboard and context menu if PINENTRY_QT4_CLIPBOARD is defined.

	Remove qt4 moc files and add moc to buildsystem.
	    This is neccessary to conditionally enable signals/slots
	    at build time.

	    * qt4/Makefile.am: Moc files automatically.
	    * qt4/pinentryconfirm.moc, qt4/pinentrydialog.moc,
	    qsecurelineedit.moc: Removed.
2014-12-10 10:22:27 +00:00
mef
4e549554b0 Convert security/pinentry* to using Makefile.common style.
No any changes on built binary. Proposed at:
  http://mail-index.netbsd.org/pkgsrc-users/2014/12/08/msg020735.html
Thank you.
2014-12-10 02:27:43 +00:00
wiz
e03c03b6dc Recursive PKGREVISION bump for libgcrypt-1.6.0 shlib major bump. 2014-01-01 11:52:02 +00:00
wiz
12a5894e93 Mention other packages that should be updated with this one. 2013-07-13 23:04:46 +00:00
wiz
5a5cf6d86e Remove patch-aa.
drochner, who added it, isn't sure it's needed any longer.

Bump PKGREVISION.
2013-07-04 17:04:58 +00:00
wiz
cb7cbd3662 Set LICENSE. 2013-07-03 08:19:59 +00:00
wiz
cf3a3020e6 Add comment to patch, from cvs log. 2013-07-03 08:19:53 +00:00
wiz
f2c20cc352 Update to 0.8.3:
Noteworthy changes in version 0.8.3 (2013-04-26)
------------------------------------------------

 * Build fixes for newer mingw32 toolchains.

 * Add SETTIMEOUT command for the gtk+-2 pinentry.
2013-07-03 08:18:06 +00:00
wiz
bd06e1cb46 Reset MAINTAINER/OWNER (became observers) 2013-02-01 22:21:05 +00:00
asau
1a433eae91 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-23 18:16:19 +00:00
drochner
ea3243ab08 update to 0.8.2
changes:
* New SETTIMEOUT command for the qt4 pinentry.
* Wide character support for the curses pinentry.
* Various bug fixes.
2012-08-15 17:47:56 +00:00
sbd
02cf4d7b8d Include deve/ncurses/buildlink3.mk not mk/curses.buildlink3.mk.
Note: pinentry may need INCOMPAT_CURSES to be set for some platforms.
2011-12-25 03:42:30 +00:00
sbd
ec351a86f7 Include mk/curses.buildlink3.mk not mk/termcap.buildlink3.mk. 2011-12-18 03:10:29 +00:00
sbd
2d4d7d8129 Add missing mk/termcap buildlink.
Bump PKGREVISION
2011-12-17 10:16:32 +00:00
hans
0065d633c8 Use ncurses on SunOS. 2011-09-14 17:39:22 +00:00
obache
1d9df3258a recursive bump from gettext-lib shlib bump. 2011-04-22 13:41:54 +00:00
drochner
1b91726fbf update to 0.8.1
changes: bugfixes
2011-01-11 12:10:16 +00:00
drochner
e11490c7a7 update to 0.8.0
changes:
-Beautified the qt4 pinentry
-Minor enhancements

Thanks to Sverre Froyen for testing the qt4 version and finding
a patch which makes the dialog stay on top.
2010-08-11 13:28:08 +00:00
drochner
0b423e35c2 add the qt4 version of the pinentry widget, from Sverre Froyen per PM 2010-02-25 11:30:03 +00:00
drochner
23a6f645f0 fix a problem with the curses widget and non-UTF8 locales: keys which
used less bytes in the system encoding than in the UTF8 passed to
the caller caused that the passphrase got truncated because only
the input length was accounted for
bump PKGREVISION
2010-02-22 17:19:09 +00:00
drochner
a8ad3a21ab create relative symlink from the beginning, the pkgsrc absolute->relative
conversion logics has problems
2010-02-08 11:44:39 +00:00
drochner
f9d1b2040d fix spelling of gtk2 default 2010-02-08 11:43:23 +00:00
drochner
409d5fe274 put the pinentry variants which depend on a toolkit into seperate
pkgs rather than having their build controlled by options
(no change in the default case)
2010-02-07 15:36:58 +00:00
drochner
54adc1fe57 update to 0.7.6
changes: misc improvements

reviewed by John R. Shannon
2009-12-15 19:50:47 +00:00
sno
6f7368d4db bump revision because of graphics/jpeg update 2009-08-26 19:56:37 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
ba171a91fa Add DESTDIR support. 2008-06-12 02:14:13 +00:00
smb
a24a1950a1 Fix function prototype mismatch 2008-04-25 15:16:31 +00:00
jlam
841dfa0e7a Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
2008-04-12 22:42:57 +00:00
joerg
9d5e86cca3 Don't include x11.b3.mk by default, esp when no GTK/Qt support is
requested.
2007-02-02 00:20:06 +00:00