Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sslproxy: update to 1.1.2, fix build on SmartOS #105

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions security/sslproxy/Makefile
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
# $NetBSD: Makefile,v 1.4 2013/02/06 23:23:46 jperkin Exp $

DISTNAME= sslproxy-1.0.5
PKGREVISION= 2
DISTNAME= sslproxy-1.1.2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sslproxy/}
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=sslproxy/1.1.2/}

MAINTAINER= [email protected]
HOMEPAGE= http://sourceforge.net/projects/sslproxy/
COMMENT= Small SSL proxy

EXTRACT_SUFX= .tgz
LICENSE= gnu-gpl-v2

USE_TOOLS+= gmake

DOCDIR= ${PREFIX}/share/doc/ssl_proxy
INSTALLATION_DIRS= bin ${DOCDIR}

.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+= LDLIBS="-lsocket -lnsl"
.endif

do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ssl_proxy ${DESTDIR}${PREFIX}/bin/ssl_proxy
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
Expand Down
7 changes: 4 additions & 3 deletions security/sslproxy/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.1.1.1 2008/12/05 12:52:39 sborrill Exp $

SHA1 (sslproxy-1.0.5.tgz) = 539d9f8cffa4c65692523dd28688c5350c92b259
RMD160 (sslproxy-1.0.5.tgz) = 300f7449bc1d8fbb20b0eb9b4aa22233a3f4179b
Size (sslproxy-1.0.5.tgz) = 23756 bytes
SHA1 (sslproxy-1.1.2.tar.gz) = 82cc27b28db4aeee04015d51aecc32bf635f6f18
RMD160 (sslproxy-1.1.2.tar.gz) = 066f92751764f7f56ad57c4c05dab4ff940f07fa
Size (sslproxy-1.1.2.tar.gz) = 25203 bytes
SHA1 (patch-Makefile.global) = d1ab92900f52f6b10ae674862774d281d2dc82d7
13 changes: 13 additions & 0 deletions security/sslproxy/patches/patch-Makefile.global
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
$NetBSD$

--- Makefile.global.orig 2009-02-27 14:03:08.000000000 +0000
+++ Makefile.global
@@ -10,7 +10,6 @@ CC = gcc
LD = gcc
CINCLUDE =
CFLAGS = -Wall -g3 -DVERSION=\"$(VERSION)\"
-LDFLAGS =
COPTS = $(CFLAGS) $(CINCLUDE) $(CCPRAGMA)
-LDLIBS = -lssl -lcrypto
+LDLIBS += -lssl -lcrypto
LDOPTS = $(LDFLAGS) $(LDLIBS)