diff options
author | cheusov <cheusov@pkgsrc.org> | 2012-07-15 11:12:21 +0000 |
---|---|---|
committer | cheusov <cheusov@pkgsrc.org> | 2012-07-15 11:12:21 +0000 |
commit | caf662e3db047353713e45e5d87d1647f8335766 (patch) | |
tree | 80ac4754be0ea8e8a593760ad0b8e970819c25fa /security | |
parent | e0c901542fe67dd2977d50981f431d0297b83cdf (diff) | |
download | pkgsrc-caf662e3db047353713e45e5d87d1647f8335766.tar.gz |
Fix a segfault of starttls(1) when run without arguments
Add LICENSE
++pkgrevision
Diffstat (limited to 'security')
-rw-r--r-- | security/starttls/Makefile | 5 | ||||
-rw-r--r-- | security/starttls/distinfo | 3 | ||||
-rw-r--r-- | security/starttls/patches/patch-starttls.c | 14 |
3 files changed, 19 insertions, 3 deletions
diff --git a/security/starttls/Makefile b/security/starttls/Makefile index 40687335d40..f30544156ef 100644 --- a/security/starttls/Makefile +++ b/security/starttls/Makefile @@ -1,14 +1,15 @@ -# $NetBSD: Makefile,v 1.6 2010/01/17 12:02:44 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2012/07/15 11:12:21 cheusov Exp $ # DISTNAME= starttls-0.10 -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= security MASTER_SITES= ftp://opaopa.org/pub/elisp/ MAINTAINER= fun@naobsd.org HOMEPAGE= ftp://opaopa.org/pub/elisp/ COMMENT= Simple wrapper program for STARTTLS on emacsen +LICENSE= gnu-gpl-v2 PKG_DESTDIR_SUPPORT= user-destdir diff --git a/security/starttls/distinfo b/security/starttls/distinfo index ab14982c70a..4e40a63d262 100644 --- a/security/starttls/distinfo +++ b/security/starttls/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.1.1.1 2006/11/18 16:09:12 obache Exp $ +$NetBSD: distinfo,v 1.2 2012/07/15 11:12:21 cheusov Exp $ SHA1 (starttls-0.10.tar.gz) = bf2074d047474ef33f5da9924f6fd52a119dc578 RMD160 (starttls-0.10.tar.gz) = ad9c3bc690dd1bf11f4f173edf05b2f2eaff1275 Size (starttls-0.10.tar.gz) = 67295 bytes +SHA1 (patch-starttls.c) = 205d45e4f4d46c15f0ace549cfd962209cc2a81f diff --git a/security/starttls/patches/patch-starttls.c b/security/starttls/patches/patch-starttls.c new file mode 100644 index 00000000000..cb1857e6b7c --- /dev/null +++ b/security/starttls/patches/patch-starttls.c @@ -0,0 +1,14 @@ +$NetBSD: patch-starttls.c,v 1.1 2012/07/15 11:12:21 cheusov Exp $ + +starttls(1): fix for segfault when run without arguments +--- starttls.c.orig 2004-03-21 23:40:58.000000000 +0000 ++++ starttls.c +@@ -55,6 +55,8 @@ + #define _GNU_SOURCE + #include "getopt.h" + ++char *basename (char *); ++ + static SSL_CTX *tls_ctx = NULL; + static SSL *tls_conn = NULL; + static int tls_fd; |