- add missing headers to fix potential 64-bit issues
- specify license version - regen PLIST
This commit is contained in:
parent
45b3725f1b
commit
b92dd1fd7c
@ -1,8 +1,8 @@
|
|||||||
# $OpenBSD: Makefile,v 1.7 2008/01/08 16:50:27 naddy Exp $
|
# $OpenBSD: Makefile,v 1.8 2008/11/21 15:05:23 jasper Exp $
|
||||||
|
|
||||||
COMMENT= PPTP Server
|
COMMENT= PPTP Server
|
||||||
|
|
||||||
PKGNAME= poptop-1.3.0
|
PKGNAME= poptop-1.3.0p0
|
||||||
DISTNAME= pptpd-1.3.0
|
DISTNAME= pptpd-1.3.0
|
||||||
CATEGORIES= net
|
CATEGORIES= net
|
||||||
|
|
||||||
@ -10,7 +10,7 @@ HOMEPAGE= http://www.poptop.org/
|
|||||||
|
|
||||||
MAINTAINER= Giovanni Bechis <g.bechis@snb.it>
|
MAINTAINER= Giovanni Bechis <g.bechis@snb.it>
|
||||||
|
|
||||||
# GPL
|
# GPLv2
|
||||||
PERMIT_PACKAGE_CDROM= Yes
|
PERMIT_PACKAGE_CDROM= Yes
|
||||||
PERMIT_PACKAGE_FTP= Yes
|
PERMIT_PACKAGE_FTP= Yes
|
||||||
PERMIT_DISTFILES_CDROM= Yes
|
PERMIT_DISTFILES_CDROM= Yes
|
||||||
|
18
net/poptop/patches/patch-compat_c
Normal file
18
net/poptop/patches/patch-compat_c
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
$OpenBSD: patch-compat_c,v 1.1 2008/11/21 15:05:23 jasper Exp $
|
||||||
|
--- compat.c.orig Wed Jan 5 12:01:51 2005
|
||||||
|
+++ compat.c Fri Nov 21 12:59:09 2008
|
||||||
|
@@ -12,6 +12,14 @@
|
||||||
|
|
||||||
|
#include "compat.h"
|
||||||
|
|
||||||
|
+#if HAVE_STDLIB_H
|
||||||
|
+#include <stdlib.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
+#if HAVE_STRING_H
|
||||||
|
+#include <string.h>
|
||||||
|
+#endif
|
||||||
|
+
|
||||||
|
#ifndef HAVE_STRLCPY
|
||||||
|
#include <string.h>
|
||||||
|
#include <stdio.h>
|
14
net/poptop/patches/patch-plugins_pptpd-logwtmp_c
Normal file
14
net/poptop/patches/patch-plugins_pptpd-logwtmp_c
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
$OpenBSD: patch-plugins_pptpd-logwtmp_c,v 1.1 2008/11/21 15:05:23 jasper Exp $
|
||||||
|
--- plugins/pptpd-logwtmp.c.orig Tue Aug 2 11:51:18 2005
|
||||||
|
+++ plugins/pptpd-logwtmp.c Fri Nov 21 13:00:46 2008
|
||||||
|
@@ -9,8 +9,10 @@
|
||||||
|
* as published by the Free Software Foundation; either version
|
||||||
|
* 2 of the License, or (at your option) any later version.
|
||||||
|
*/
|
||||||
|
+
|
||||||
|
#include <unistd.h>
|
||||||
|
#include <utmp.h>
|
||||||
|
+#include <string.h>
|
||||||
|
#include "pppd.h"
|
||||||
|
|
||||||
|
char pppd_version[] = VERSION;
|
@ -1,10 +1,10 @@
|
|||||||
@comment $OpenBSD: PLIST,v 1.7 2008/01/08 16:50:27 naddy Exp $
|
@comment $OpenBSD: PLIST,v 1.8 2008/11/21 15:05:23 jasper Exp $
|
||||||
%%SHARED%%
|
%%SHARED%%
|
||||||
@man man/man5/pptpd.conf.5
|
@man man/man5/pptpd.conf.5
|
||||||
@man man/man8/pptpctrl.8
|
@man man/man8/pptpctrl.8
|
||||||
@man man/man8/pptpd.8
|
@man man/man8/pptpd.8
|
||||||
sbin/pptpctrl
|
@bin sbin/pptpctrl
|
||||||
sbin/pptpd
|
@bin sbin/pptpd
|
||||||
share/doc/poptop/
|
share/doc/poptop/
|
||||||
share/doc/poptop/README.OpenBSD
|
share/doc/poptop/README.OpenBSD
|
||||||
share/examples/poptop/
|
share/examples/poptop/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user