summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/ss5/Makefile4
-rw-r--r--net/ss5/distinfo6
-rw-r--r--net/ss5/files/patch-src_SS5Modules.c11
3 files changed, 17 insertions, 4 deletions
diff --git a/net/ss5/Makefile b/net/ss5/Makefile
index 934e4477422a..baacb2b28c6f 100644
--- a/net/ss5/Makefile
+++ b/net/ss5/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= ss5
-PORTVERSION= 3.6.1
+PORTVERSION= 3.6.2
CATEGORIES= net security
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ss5
@@ -21,12 +21,14 @@ USE_OPENLDAP= yes
USE_RC_SUBR= ${PORTNAME}
GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-binpathbase=${PREFIX}/sbin \
--with-docpathbase=${PREFIX}/share/doc \
--with-confpathbase=${PREFIX}/etc \
--with-libpath=${PREFIX}/lib
MAKE_ENV= DATADIR=${DATADIR} EXAMPLESDIR=${EXAMPLESDIR}
+CFLAGS+= -DLDAP_DEPRECATED
MAN1= ss5.1
MAN5= ss5.conf.5 ss5.pam.5 ss5.passwd.5 ss5.peers.5
diff --git a/net/ss5/distinfo b/net/ss5/distinfo
index 7721c19cf80f..ca3811d4cf8c 100644
--- a/net/ss5/distinfo
+++ b/net/ss5/distinfo
@@ -1,3 +1,3 @@
-MD5 (ss5-3.6.1-1.tar.gz) = f86699139f6d1ac457b7cb96a2056924
-SHA256 (ss5-3.6.1-1.tar.gz) = d5af69ce5a426e1d9893cf22a3e7df7c7e87a7884273d0eba10cd13f6b97dd03
-SIZE (ss5-3.6.1-1.tar.gz) = 386642
+MD5 (ss5-3.6.2-1.tar.gz) = 482eca1e29e1f768939eca639ce3d30c
+SHA256 (ss5-3.6.2-1.tar.gz) = cfd32637e68c8a59ce7cb9918ac91c670f5ae30e8a2025319209fea02979798d
+SIZE (ss5-3.6.2-1.tar.gz) = 404602
diff --git a/net/ss5/files/patch-src_SS5Modules.c b/net/ss5/files/patch-src_SS5Modules.c
new file mode 100644
index 000000000000..03f234a17fb6
--- /dev/null
+++ b/net/ss5/files/patch-src_SS5Modules.c
@@ -0,0 +1,11 @@
+--- src/SS5Modules.c.orig Thu Apr 5 02:28:26 2007
++++ src/SS5Modules.c
+@@ -29,7 +29,7 @@ S5RetCode S5LoadModules( void )
+ {
+ S5RetCode (*InitModule)(struct _module *m);
+
+- char *error;
++ const char *error;
+ char libpath[128];
+
+ /*