diff options
-rw-r--r-- | security/proxytunnel/Makefile | 27 | ||||
-rw-r--r-- | security/proxytunnel/distinfo | 6 | ||||
-rw-r--r-- | security/proxytunnel/files/patch-Makefile | 11 |
3 files changed, 19 insertions, 25 deletions
diff --git a/security/proxytunnel/Makefile b/security/proxytunnel/Makefile index ce2a16f6ff68..fd098928e16d 100644 --- a/security/proxytunnel/Makefile +++ b/security/proxytunnel/Makefile @@ -6,8 +6,7 @@ # PORTNAME= proxytunnel -PORTVERSION= 1.7.2 -DISTVERSIONSUFFIX= .${SVNREV} +PORTVERSION= 1.9.0 CATEGORIES= security MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -17,31 +16,15 @@ MAINTAINER= ehaupt@FreeBSD.org COMMENT= Connects stdin and stdout to an origin server through an HTTPS proxy USE_GMAKE= yes -USE_GETOPT_LONG=yes +USE_GNOME= pkgconfig -MAKE_ENV+= CC="${CC}" LDFLAGS="${LDFLAGS}" ALL_TARGET= ${PORTNAME} +MAN1= proxytunnel.1 PLIST_FILES= bin/proxytunnel -PORTDOCS= CHANGES CREDITS README - -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -CFLAGS+= -DUSE_SSL -DHAVE_SETPROCTITLE -DSPT_TYPE=1 -DREV=${SVNREV} -CFLAGS+= -DHAVE_GETOPT_LONG - -SVNREV= 161 - -post-patch: - @${REINPLACE_CMD} -e '/^CFLAGS/d' ${WRKSRC}/${MAKEFILE} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME} - -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -.endfor -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1 .include <bsd.port.mk> diff --git a/security/proxytunnel/distinfo b/security/proxytunnel/distinfo index 9d7a09d78159..3be50e4bb384 100644 --- a/security/proxytunnel/distinfo +++ b/security/proxytunnel/distinfo @@ -1,3 +1,3 @@ -MD5 (proxytunnel-1.7.2.161.tgz) = f43eebfe676fa30cba88d611e8461c2a -SHA256 (proxytunnel-1.7.2.161.tgz) = 794491f1bf5c67c78f6e1a45d77d409dfbc0d1ab4170901ad1cab07eb0ca4b3a -SIZE (proxytunnel-1.7.2.161.tgz) = 42089 +MD5 (proxytunnel-1.9.0.tgz) = d74472b89c3f3b3b0abf6bd809ae34c2 +SHA256 (proxytunnel-1.9.0.tgz) = 2ef5bbf8d81ddf291d71f865c5dab89affcc07c4cb4b3c3f23e1e9462721a6b9 +SIZE (proxytunnel-1.9.0.tgz) = 46556 diff --git a/security/proxytunnel/files/patch-Makefile b/security/proxytunnel/files/patch-Makefile new file mode 100644 index 000000000000..00dedc3ffc92 --- /dev/null +++ b/security/proxytunnel/files/patch-Makefile @@ -0,0 +1,11 @@ +--- ./Makefile.orig 2008-03-13 16:10:21.000000000 +0100 ++++ ./Makefile 2008-03-13 16:10:39.000000000 +0100 +@@ -5,7 +5,7 @@ + CC ?= cc + CFLAGS ?= -Wall -O2 -ggdb + +-OPTFLAGS = -DREV=$(shell ./getrev.sh) ++OPTFLAGS = -DREV=0 + + # Comment on non-gnu systems + OPTFLAGS += -DHAVE_GETOPT_LONG |