1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

Upgrade to new upstream version 3.10

Approved by: garga (mentor, implicit)
This commit is contained in:
Matthias Andree 2010-06-13 12:27:22 +00:00
parent 94268fd082
commit 2c1456d955
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=256476
6 changed files with 18 additions and 68 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= rp-pppoe
PORTVERSION= 3.8
PORTVERSION= 3.10
CATEGORIES= net
MASTER_SITES= http://www.roaringpenguin.com/files/download/
@ -18,6 +18,8 @@ PATCH_WRKSRC= ${WRKSRC}/src
CONFIGURE_WRKSRC= ${WRKSRC}/src
BUILD_WRKSRC= ${WRKSRC}/src
MAKE_JOBS_SAFE= yes
MAN5= pppoe.conf.5
MAN8= pppoe-connect.8 pppoe-setup.8 pppoe-start.8 pppoe-status.8 \
pppoe-stop.8 pppoe-relay.8 pppoe-server.8 pppoe.8
@ -51,36 +53,36 @@ post-patch:
do-install:
# Binaries
.for f in pppoe pppoe-server pppoe-relay
@${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${f} ${PREFIX}/sbin
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${f} ${PREFIX}/sbin
.endfor
# Configurations
@${MKDIR} ${PREFIX}/etc/ppp
${MKDIR} ${PREFIX}/etc/ppp
.for f in ${CONFIG_FILES}
@${INSTALL_DATA} ${WRKSRC}/configs/${f} \
${INSTALL_DATA} ${WRKSRC}/configs/${f} \
${PREFIX}/etc/ppp/${f}.sample
.endfor
# Manual pages
@${MKDIR} ${MAN5PREFIX}/man/man5
${MKDIR} ${MAN5PREFIX}/man/man5
.for f in ${MAN5}
@${INSTALL_MAN} ${WRKSRC}/man/${f} ${MAN5PREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/man/${f} ${MAN5PREFIX}/man/man5
.endfor
@${MKDIR} ${MAN8PREFIX}/man/man8
${MKDIR} ${MAN8PREFIX}/man/man8
.for f in ${MAN8}
@${INSTALL_MAN} ${WRKSRC}/man/${f} ${MAN8PREFIX}/man/man8
${INSTALL_MAN} ${WRKSRC}/man/${f} ${MAN8PREFIX}/man/man8
.endfor
# Scripts
.for f in ${SCRIPT_FILES}
@${INSTALL_SCRIPT} ${WRKSRC}/scripts/${f} ${PREFIX}/sbin
${INSTALL_SCRIPT} ${WRKSRC}/scripts/${f} ${PREFIX}/sbin
.endfor
# Startup scripts
.for f in 04pppoe-relay.sh.sample 04pppoe-server.sh.sample
@${INSTALL_SCRIPT} ${FILESDIR}/${f} ${PREFIX}/etc/rc.d/
${INSTALL_SCRIPT} ${FILESDIR}/${f} ${PREFIX}/etc/rc.d/
.endfor
# Documentation
.ifndef (NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif # NOPORTDOCS
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
MD5 (rp-pppoe-3.8.tar.gz) = 0e32760f498f9cde44081ee6aafc823b
SHA256 (rp-pppoe-3.8.tar.gz) = d916e9cfe1e62395f63a5361936fa855f6d0f0a37dc7227b394cdb725f553479
SIZE (rp-pppoe-3.8.tar.gz) = 212931
MD5 (rp-pppoe-3.10.tar.gz) = d58a13cc4185bca6121a606ff456dec0
SHA256 (rp-pppoe-3.10.tar.gz) = 709ca7402594acc1d80b99c20219112b5c00e6ac48ae6049fc626fbaf4ce49f6
SIZE (rp-pppoe-3.10.tar.gz) = 215288

View File

@ -1,11 +0,0 @@
--- if.c.orig Thu Apr 6 01:14:48 2006
+++ if.c Thu Apr 6 01:14:58 2006
@@ -99,7 +99,7 @@
static unsigned char *bpfBuffer; /* Packet filter buffer */
static int bpfLength = 0; /* Packet filter buffer length */
-static int bpfSize = 0; /* Number of unread bytes in buffer */
+ int bpfSize = 0; /* Number of unread bytes in buffer */
static int bpfOffset = 0; /* Current offset in bpfBuffer */
#endif

View File

@ -1,23 +0,0 @@
--- libevent/event.c.orig Sat Apr 8 16:15:20 2006
+++ libevent/event.c Sat Apr 8 16:15:50 2006
@@ -86,9 +86,6 @@
struct timeval abs_timeout, now;
- /* Avoid compiler warning */
- abs_timeout.tv_sec = 0;
- abs_timeout.tv_usec = 0;
struct timeval timeout;
struct timeval *tm;
EventHandler *eh;
@@ -100,6 +97,10 @@
int foundWriteEvent = 0;
int maxfd = -1;
int pastDue;
+
+ /* Avoid compiler warning */
+ abs_timeout.tv_sec = 0;
+ abs_timeout.tv_usec = 0;
EVENT_DEBUG(("Enter Event_HandleEvent(es=%p)\n", (void *) es));

View File

@ -1,18 +0,0 @@
--- pppoe.c.orig Sat Apr 8 16:11:14 2006
+++ pppoe.c Sat Apr 8 16:11:53 2006
@@ -409,6 +409,7 @@
unsigned int s; /* Temporary to hold session */
FILE *pidfile;
unsigned int discoveryType, sessionType;
+ char const *options;
PPPoEConnection conn;
@@ -434,7 +435,6 @@
/* Initialize syslog */
openlog("pppoe", LOG_PID, LOG_DAEMON);
- char const *options;
#ifdef DEBUGGING_ENABLED
options = "I:VAT:D:hS:C:Usm:np:e:kdf:F:t:";
#else

View File

@ -7,4 +7,4 @@ Note that this port has had little testing (it works on 5-CURRENT
to access T-Online in Germany from the client side) and the server side
is entirely untested.
WWW: http://www.roaringpenguin.com/penguin/openSourceProducts/rpPppoe
WWW: http://www.roaringpenguin.com/products/pppoe