Ravenports generated: 15 Feb 2023 23:13
[ravenports.git] / bucket_78 / pinentry
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               pinentry
4 VERSION=                1.2.1
5 KEYWORDS=               security
6 VARIANTS=               standard ncurses qt5 gtk2 fltk gnome3
7 SDESC[qt5]=             Assuan passphrase entry dialog (Qt5)
8 SDESC[ncurses]=         Assuan passphrase entry dialog (ncurses)
9 SDESC[fltk]=            Assuan passphrase entry dialog (FLTK)
10 SDESC[gnome3]=          Assuan passphrase entry dialog (GNOME3)
11 SDESC[standard]=        Assuan passphrase entry dialog (console)
12 SDESC[gtk2]=            Assuan passphrase entry dialog (GTK2)
13 HOMEPAGE=               https://www.gnupg.org/aegypten2/
14 CONTACT=                nobody
15
16 DOWNLOAD_GROUPS=        main
17 SITES[main]=            GNUPG/pinentry
18 DISTFILE[1]=            pinentry-1.2.1.tar.bz2:main
19 DF_INDEX=               1
20 SPKGS[qt5]=             single
21 SPKGS[ncurses]=         single
22 SPKGS[fltk]=            single
23 SPKGS[gnome3]=          single
24 SPKGS[standard]=        single
25 SPKGS[gtk2]=            single
26
27 OPTIONS_AVAILABLE=      NCURSES QT5 GTK2 FLTK NOTSTD GNOME3
28 OPTIONS_STANDARD=       none
29 VOPTS[qt5]=             NCURSES=OFF QT5=ON GTK2=OFF FLTK=OFF NOTSTD=ON
30                         GNOME3=OFF
31 VOPTS[ncurses]=         NCURSES=ON QT5=OFF GTK2=OFF FLTK=OFF NOTSTD=ON
32                         GNOME3=OFF
33 VOPTS[fltk]=            NCURSES=OFF QT5=OFF GTK2=OFF FLTK=ON NOTSTD=ON
34                         GNOME3=OFF
35 VOPTS[gnome3]=          NCURSES=OFF QT5=OFF GTK2=OFF FLTK=OFF NOTSTD=ON
36                         GNOME3=ON
37 VOPTS[gtk2]=            NCURSES=OFF QT5=OFF GTK2=ON FLTK=OFF NOTSTD=ON
38                         GNOME3=OFF
39
40 BUILD_DEPENDS=          libgpg-error:dev:standard
41 BUILDRUN_DEPENDS=       libgpg-error:primary:standard
42                         libsecret:primary:standard
43                         libassuan:single:standard
44
45 USES=                   gmake pkgconfig
46 GNOME_COMPONENTS=       glib
47
48 LICENSE=                GPLv2+:single
49 LICENSE_TERMS=          single:{{WRKDIR}}/TERMS
50 LICENSE_FILE=           GPLv2+:{{WRKSRC}}/COPYING
51 LICENSE_AWK=            TERMS:"^$$"
52 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/pinentry/pinentry.h
53 LICENSE_SCHEME=         solo
54
55 FPC_EQUIVALENT=         security/pinentry
56 INFO_SUBDIR=            .
57
58 MUST_CONFIGURE=         gnu
59 CONFIGURE_ARGS=         --enable-libsecret
60                         --disable-pinentry-emacs
61
62 [NOTSTD].DESCRIPTION=                   Indicates non-console variant
63 [NOTSTD].CONFIGURE_ARGS_OFF=            --enable-pinentry-tty
64 [NOTSTD].CONFIGURE_ARGS_ON=             --disable-pinentry-tty
65                                         --disable-pinentry-emacs
66                                         --disable-inside-emacs
67 [NOTSTD].INFO_OFF=                      single:pinentry
68
69 [GNOME3].DESCRIPTION=                   Build GNOME3 variant
70 [GNOME3].BUILDRUN_DEPENDS_ON=           gcr3:primary:standard
71 [GNOME3].BUILD_DEPENDS_ON=              harfbuzz:dev:standard
72 [GNOME3].CONFIGURE_ENABLE_BOTH=         pinentry-gnome3
73 [GNOME3].GNOME_COMPONENTS_ON=           gtk3
74 [GNOME3].USES_ON=                       fontconfig:build
75
76 [FLTK].DESCRIPTION=                     Build FLTK variant
77 [FLTK].BUILDRUN_DEPENDS_ON=             fltk:primary:standard
78 [FLTK].CONFIGURE_ENABLE_BOTH=           pinentry-fltk
79
80 [GTK2].DESCRIPTION=                     Build GTK2 variant
81 [GTK2].BUILD_DEPENDS_ON=                harfbuzz:dev:standard
82 [GTK2].CONFIGURE_ENABLE_BOTH=           pinentry-gtk2
83 [GTK2].GNOME_COMPONENTS_ON=             gtk2
84
85 [QT5].DESCRIPTION=                      Build Qt5 variant
86 [QT5].BUILDRUN_DEPENDS_ON=              qt5-qtbase:primary:standard
87 [QT5].BUILD_DEPENDS_ON=                 qt5-qttools:single:standard
88 [QT5].CONFIGURE_ARGS_OFF=               --disable-pinentry-qt
89 [QT5].CONFIGURE_ARGS_ON=                --program-suffix=5
90 [QT5].CONFIGURE_ENABLE_BOTH=            pinentry-qt5
91 [QT5].CONFIGURE_ENV_ON=                 PKG_CONFIG_PATH={{LOCALBASE}}/lib/qt5/pkgconfig
92 [QT5].MAKEFILE_ON=                      PREPEND_PATH={{LOCALBASE}}/lib/qt5/bin
93
94 [NCURSES].DESCRIPTION=                  Build ncurses variant
95 [NCURSES].CFLAGS_ON=                    -DWITH_UTF8_CONVERSION
96 [NCURSES].CONFIGURE_ARGS_OFF=           --disable-fallback-curses
97 [NCURSES].CONFIGURE_ENABLE_BOTH=        pinentry-curses
98 [NCURSES].USES_ON=                      ncurses
99
100 post-install-NOTSTD-ON:
101         ${RM} ${STAGEDIR}${PREFIX}/bin/pinentry
102         ${RM} ${STAGEDIR}${PREFIX}/share/info/pinentry.info
103
104 [FILE:135:descriptions/desc.single]
105 This is a collection of simple PIN or passphrase entry dialogs which
106 utilize the Assuan protocol as described by the aegypten project.
107
108
109 [FILE:101:distinfo]
110 457a185e5a85238fb945a955dc6352ab962dc8b48720b62fc9fa48c7540a4067       547698 pinentry-1.2.1.tar.bz2
111
112
113 [FILE:29:manifests/plist.single.standard]
114 bin/
115  pinentry
116  pinentry-tty
117
118
119 [FILE:20:manifests/plist.single.ncurses]
120 bin/pinentry-curses
121
122
123 [FILE:17:manifests/plist.single.qt5]
124 bin/pinentry-qt5
125
126
127 [FILE:19:manifests/plist.single.gtk2]
128 bin/pinentry-gtk-2
129
130
131 [FILE:18:manifests/plist.single.fltk]
132 bin/pinentry-fltk
133
134
135 [FILE:20:manifests/plist.single.gnome3]
136 bin/pinentry-gnome3
137
138
139 [FILE:776:patches/patch-fltk_pinwindow.cxx]
140 Rename encrypt to encrypt_pixmap to avoid namespace conflict with
141 unistd.h encrypt() on FreeBSD 10.4
142
143 --- fltk/pinwindow.cxx.orig     2017-12-03 16:13:05 UTC
144 +++ fltk/pinwindow.cxx
145 @@ -46,7 +46,7 @@ const char *PinWindow::PROMPT         = "Passph
146  
147  static const char *timeout_format = "%s(%d)";
148  
149 -static Fl_Pixmap encrypt(encrypt_xpm);
150 +static Fl_Pixmap encrypt_pixmap(encrypt_xpm);
151  static Fl_Pixmap icon(icon_xpm);
152  
153  PinWindow::PinWindow() : window_(NULL)
154 @@ -147,7 +147,7 @@ int PinWindow::init(const int cx, const
155         window_->icon(&app);
156  
157         icon_ = new Fl_Box(10, 10, 64, 64);
158 -       icon_->image(encrypt);
159 +       icon_->image(encrypt_pixmap);
160  
161      message_ = new Fl_Box(79, 5, cx-99, 44, PROMPT);
162         message_->align(Fl_Align(FL_ALIGN_LEFT_TOP | FL_ALIGN_WRAP | FL_ALIGN_INSIDE)); // left
163
164
165 [FILE:298:patches/patch-secmem_secmem.c]
166 --- secmem/secmem.c.orig        2022-08-24 10:31:59 UTC
167 +++ secmem/secmem.c
168 @@ -85,7 +85,7 @@ log_fatal(char *template, ...)
169  #  define MAP_ANONYMOUS MAP_ANON
170  #endif
171  
172 -#define DEFAULT_POOLSIZE 16384
173 +#define DEFAULT_POOLSIZE 16384*4
174  
175  typedef struct memblock_struct MEMBLOCK;
176  struct memblock_struct {
177