mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Upgrade net/pptpclient to upstream release 1.3.1.
Reviewed by: roberto
This commit is contained in:
parent
ebdc9229ac
commit
b88484ef9d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86923
@ -6,41 +6,32 @@
|
||||
#
|
||||
|
||||
PORTNAME= pptpclient
|
||||
PORTVERSION= 1.1.0
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.3.1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= pptpclient
|
||||
DISTNAME= pptp-linux-1.1.0
|
||||
DISTFILES= pptp-linux-1.1.0-1.tar.gz
|
||||
DISTNAME= pptp-linux-1.3.1
|
||||
|
||||
MAINTAINER= thomas@cuivre.fr.eu.org
|
||||
COMMENT= PPTP client for establishing a VPN link with an NT server
|
||||
|
||||
USE_GETOPT_LONG=yes
|
||||
|
||||
MAN8= pptp.8
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
MAKE_ARGS= DEBUG=""
|
||||
.if ${OSVERSION} < 500041
|
||||
MAKE_ARGS+= INCLUDE="${CPPFLAGS}" \
|
||||
LIBS="${LDFLAGS}"
|
||||
LDFLAGS="${LDFLAGS}"
|
||||
.endif
|
||||
|
||||
GUNZIP_CMD= ${GZIP_CMD} ${EXTRACT_BEFORE_ARGS}
|
||||
|
||||
do-extract:
|
||||
@${RM} -rf ${WRKDIR}
|
||||
@${MKDIR} ${WRKDIR}
|
||||
@(cd ${WRKDIR} && \
|
||||
${GUNZIP_CMD} ${_DISTDIR}/${DISTFILES} | tar -xf - && \
|
||||
${GUNZIP_CMD} `basename ${DISTFILES} .tar.gz`/${DISTNAME}.tar.gz | \
|
||||
tar -xf -)
|
||||
|
||||
do-install:
|
||||
cd ${WRKSRC} ; ${INSTALL_PROGRAM} pptp ${PREFIX}/sbin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/pptp ${PREFIX}/sbin
|
||||
${MKDIR} ${PREFIX}/share/examples/pptpclient
|
||||
${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/examples/pptpclient
|
||||
${INSTALL_DATA} ${FILESDIR}/ppp.conf ${PREFIX}/share/examples/pptpclient
|
||||
${INSTALL_MAN} ${WRKSRC}/pptp.8 ${PREFIX}/man/man8
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (pptp-linux-1.1.0-1.tar.gz) = 03e340eb0a9118a8de94eef21560d6c9
|
||||
MD5 (pptp-linux-1.3.1.tar.gz) = b24ca05422c0e62d7a26edbbec604a89
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- Makefile.orig Mon Mar 11 09:36:52 2002
|
||||
+++ Makefile Thu Jun 13 15:20:18 2002
|
||||
@@ -2,14 +2,14 @@
|
||||
--- Makefile.orig Wed Jun 11 10:42:07 2003
|
||||
+++ Makefile Wed Aug 13 14:48:47 2003
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#################################################################
|
||||
# CHANGE THIS LINE to point to the location of your pppd binary.
|
||||
@ -8,12 +8,13 @@
|
||||
+PPPD = /usr/sbin/ppp
|
||||
#################################################################
|
||||
|
||||
CC = gcc
|
||||
RM = rm -f
|
||||
BINDIR=$(DESTDIR)/usr/sbin
|
||||
@@ -15,7 +15,7 @@
|
||||
OPTIMIZE= -O0
|
||||
DEBUG = -g
|
||||
INCLUDE =
|
||||
-CFLAGS = -Wall -O1 $(DEBUG) $(INCLUDE)
|
||||
+CFLAGS = -Wall -O1 $(DEBUG) $(INCLUDE) -DUSER_PPP
|
||||
LIBS =
|
||||
LDFLAGS = -lutil
|
||||
-CFLAGS = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE)
|
||||
+CFLAGS = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE) -DUSER_PPP
|
||||
LIBS = -lutil
|
||||
LDFLAGS =
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user