aboutsummaryrefslogtreecommitdiffstats
path: root/net/sdr
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1997-12-19 08:52:20 +0800
committerfenner <fenner@FreeBSD.org>1997-12-19 08:52:20 +0800
commit18884632e0abac0fe89771de20c8c450fe57a97e (patch)
treef0502893604edb75d6e51395bde4802a8706a624 /net/sdr
parenta51a2c0b3c8b7a273711e52b930938f3d7d8f705 (diff)
downloadfreebsd-ports-gnome-18884632e0abac0fe89771de20c8c450fe57a97e.tar.gz
freebsd-ports-gnome-18884632e0abac0fe89771de20c8c450fe57a97e.tar.zst
freebsd-ports-gnome-18884632e0abac0fe89771de20c8c450fe57a97e.zip
Upgrade to 2.4a7n. The encryption has been removed from this version so
it's no longer RESTRICTED. Also de-obfuscate the port a little by removing the magic done by scripts/configure and moving it to the Makefile.
Diffstat (limited to 'net/sdr')
-rw-r--r--net/sdr/Makefile19
-rw-r--r--net/sdr/distinfo2
-rw-r--r--net/sdr/files/patch-ac26
3 files changed, 21 insertions, 26 deletions
diff --git a/net/sdr/Makefile b/net/sdr/Makefile
index db78b22c5a07..931db11628ce 100644
--- a/net/sdr/Makefile
+++ b/net/sdr/Makefile
@@ -1,28 +1,33 @@
# New ports collection makefile for: sdr
-# Version required: 2.3a1
+# Version required: 2.4a7
# Date created: 5 September 1996
# Whom: Bill Fenner <fenner@FreeBSD.ORG>
#
-# $Id: Makefile,v 1.5 1997/09/11 03:54:57 fenner Exp $
+# $Id: Makefile,v 1.6 1997/10/15 20:35:20 fenner Exp $
#
-DISTNAME= sdr.V2.3a1
-PKGNAME= sdr-2.3a1
+DISTNAME= sdr.V2.4a7n
+PKGNAME= sdr-2.4a7
CATEGORIES= mbone tk80
-MASTER_SITES= ftp://cs.ucl.ac.uk/mice/sdr/
+MASTER_SITES= http://north.east.isi.edu/sdr/
MAINTAINER= fenner@FreeBSD.org
LIB_DEPENDS= tk80\\.1:${PORTSDIR}/x11/tk80
-RESTRICTED= "Contains DES encryption"
NO_WRKSUBDIR= yes
+HAS_CONFIGURE= yes
USE_GMAKE= yes
USE_X11= yes
# src/libs.tcl is autogenerated from the tcl/tk installed on the
# build system, so we shouldn't use the one in the distribution.
+# Makefile.work and configure help to work with the sdr multi-platform
+# build structure.
post-extract:
- -@rm ${WRKSRC}/src/libs.tcl
+ @${RM} -f ${WRKSRC}/src/libs.tcl
+ @${CP} ${FILESDIR}/Makefile.work ${WRKSRC}/Makefile
+ @${CP} ${FILESDIR}/configure ${WRKSRC}
+ @chmod 755 ${WRKSRC}/configure
.include <bsd.port.mk>
diff --git a/net/sdr/distinfo b/net/sdr/distinfo
index 16ca8bea6b98..b8e8e4230ffd 100644
--- a/net/sdr/distinfo
+++ b/net/sdr/distinfo
@@ -1 +1 @@
-MD5 (sdr.V2.3a1.tar.gz) = cfb72a33293aa307f3fece21582332ba
+MD5 (sdr.V2.4a7n.tar.gz) = 3ab91505f4d2195299e201dee2c319ad
diff --git a/net/sdr/files/patch-ac b/net/sdr/files/patch-ac
index 3d7ce87d7271..5adcbf2f68aa 100644
--- a/net/sdr/files/patch-ac
+++ b/net/sdr/files/patch-ac
@@ -20,21 +20,11 @@
#include <arpa/nameser.h>
#include <resolv.h>
#ifdef AIX41
-@@ -146,10 +146,17 @@
- };
-
- struct sap_header {
-+#if BYTE_ORDER == BIG_ENDIAN
- u_int version:3;
- u_int type:3;
- u_int enc:1;
- u_int compress:1;
-+#else
-+ u_int compress:1;
-+ u_int enc:1;
-+ u_int type:3;
-+ u_int version:3;
-+#endif
- u_int authlen:8;
- u_int msgid:16;
- u_int src;
+@@ -26,7 +26,6 @@
+ #endif
+ #include <tcl.h>
+ #include <tk.h>
+-#include <malloc.h>
+ #include <string.h>
+ #include <fcntl.h>
+ #include <errno.h>