summaryrefslogtreecommitdiff
path: root/security/pinentry
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2003-09-25 22:28:46 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2003-09-25 22:28:46 +0000
commit0490bc78f656646f961cf5d57df39106a1e35476 (patch)
tree54f6a05e6f26e657ff324d92566aeb42931e545b /security/pinentry
parentDirectly get OOHOME from .sversionrc. Add several checks for (diff)
Add a patch, which implements a workaround for a possible out-of-memory problem
(and basically allocates more mem by default). PR: ports/57086 Submitted by: Melvyn Sopacua <melvyn@webteckies.org> Approved by: arved (Mentor)
Notes
Notes: svn path=/head/; revision=89392
Diffstat (limited to 'security/pinentry')
-rw-r--r--security/pinentry/Makefile2
-rw-r--r--security/pinentry/files/patch-qt::main.cpp11
2 files changed, 12 insertions, 1 deletions
diff --git a/security/pinentry/Makefile b/security/pinentry/Makefile
index 96a50580ad19..6cca29e115e0 100644
--- a/security/pinentry/Makefile
+++ b/security/pinentry/Makefile
@@ -7,7 +7,7 @@
PORTNAME= pinentry
PORTVERSION= 0.6.9
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= ftp://ftp.klaralvdalens-datakonsult.se/pub/aegypten/alpha/latest/ \
${MASTER_SITE_GNUPG} \
diff --git a/security/pinentry/files/patch-qt::main.cpp b/security/pinentry/files/patch-qt::main.cpp
new file mode 100644
index 000000000000..a616738e8732
--- /dev/null
+++ b/security/pinentry/files/patch-qt::main.cpp
@@ -0,0 +1,11 @@
+--- qt/main.cpp.orig Wed Sep 24 20:10:31 2003
++++ qt/main.cpp Wed Sep 24 20:10:49 2003
+@@ -111,7 +111,7 @@
+
+ int qt_main( int argc, char *argv[] )
+ {
+- secmem_init( 16384*4 ); /* this should be enough, if not, increase it! */
++ secmem_init( 16384*8 ); /* this should be enough, if not, increase it! */
+ secmem_set_flags(SECMEM_WARN);
+ drop_privs();
+ std::set_new_handler(my_new_handler);