mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04: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
3 changed files with 18 additions and 26 deletions
|
@ -6,41 +6,32 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= pptpclient
|
PORTNAME= pptpclient
|
||||||
PORTVERSION= 1.1.0
|
PORTVERSION= 1.3.1
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= pptpclient
|
MASTER_SITE_SUBDIR= pptpclient
|
||||||
DISTNAME= pptp-linux-1.1.0
|
DISTNAME= pptp-linux-1.3.1
|
||||||
DISTFILES= pptp-linux-1.1.0-1.tar.gz
|
|
||||||
|
|
||||||
MAINTAINER= thomas@cuivre.fr.eu.org
|
MAINTAINER= thomas@cuivre.fr.eu.org
|
||||||
COMMENT= PPTP client for establishing a VPN link with an NT server
|
COMMENT= PPTP client for establishing a VPN link with an NT server
|
||||||
|
|
||||||
USE_GETOPT_LONG=yes
|
USE_GETOPT_LONG=yes
|
||||||
|
|
||||||
|
MAN8= pptp.8
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
MAKE_ARGS= DEBUG=""
|
MAKE_ARGS= DEBUG=""
|
||||||
.if ${OSVERSION} < 500041
|
.if ${OSVERSION} < 500041
|
||||||
MAKE_ARGS+= INCLUDE="${CPPFLAGS}" \
|
MAKE_ARGS+= INCLUDE="${CPPFLAGS}" \
|
||||||
LIBS="${LDFLAGS}"
|
LDFLAGS="${LDFLAGS}"
|
||||||
.endif
|
.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:
|
do-install:
|
||||||
cd ${WRKSRC} ; ${INSTALL_PROGRAM} pptp ${PREFIX}/sbin
|
${INSTALL_PROGRAM} ${WRKSRC}/pptp ${PREFIX}/sbin
|
||||||
${MKDIR} ${PREFIX}/share/examples/pptpclient
|
${MKDIR} ${PREFIX}/share/examples/pptpclient
|
||||||
${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/examples/pptpclient
|
${INSTALL_DATA} ${FILESDIR}/README ${PREFIX}/share/examples/pptpclient
|
||||||
${INSTALL_DATA} ${FILESDIR}/ppp.conf ${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>
|
.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.orig Wed Jun 11 10:42:07 2003
|
||||||
+++ Makefile Thu Jun 13 15:20:18 2002
|
+++ Makefile Wed Aug 13 14:48:47 2003
|
||||||
@@ -2,14 +2,14 @@
|
@@ -4,7 +4,7 @@
|
||||||
|
|
||||||
#################################################################
|
#################################################################
|
||||||
# CHANGE THIS LINE to point to the location of your pppd binary.
|
# CHANGE THIS LINE to point to the location of your pppd binary.
|
||||||
|
@ -8,12 +8,13 @@
|
||||||
+PPPD = /usr/sbin/ppp
|
+PPPD = /usr/sbin/ppp
|
||||||
#################################################################
|
#################################################################
|
||||||
|
|
||||||
CC = gcc
|
BINDIR=$(DESTDIR)/usr/sbin
|
||||||
RM = rm -f
|
@@ -15,7 +15,7 @@
|
||||||
|
OPTIMIZE= -O0
|
||||||
DEBUG = -g
|
DEBUG = -g
|
||||||
INCLUDE =
|
INCLUDE =
|
||||||
-CFLAGS = -Wall -O1 $(DEBUG) $(INCLUDE)
|
-CFLAGS = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE)
|
||||||
+CFLAGS = -Wall -O1 $(DEBUG) $(INCLUDE) -DUSER_PPP
|
+CFLAGS = -Wall $(OPTIMIZE) $(DEBUG) $(INCLUDE) -DUSER_PPP
|
||||||
LIBS =
|
LIBS = -lutil
|
||||||
LDFLAGS = -lutil
|
LDFLAGS =
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue