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.
This commit is contained in:
Bill Fenner 1997-12-19 00:52:20 +00:00
parent e94e7c7e4e
commit 61c8e9cd6e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=9130
6 changed files with 42 additions and 52 deletions

View file

@ -1,28 +1,33 @@
# New ports collection makefile for: sdr # New ports collection makefile for: sdr
# Version required: 2.3a1 # Version required: 2.4a7
# Date created: 5 September 1996 # Date created: 5 September 1996
# Whom: Bill Fenner <fenner@FreeBSD.ORG> # 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 DISTNAME= sdr.V2.4a7n
PKGNAME= sdr-2.3a1 PKGNAME= sdr-2.4a7
CATEGORIES= mbone tk80 CATEGORIES= mbone tk80
MASTER_SITES= ftp://cs.ucl.ac.uk/mice/sdr/ MASTER_SITES= http://north.east.isi.edu/sdr/
MAINTAINER= fenner@FreeBSD.org MAINTAINER= fenner@FreeBSD.org
LIB_DEPENDS= tk80\\.1:${PORTSDIR}/x11/tk80 LIB_DEPENDS= tk80\\.1:${PORTSDIR}/x11/tk80
RESTRICTED= "Contains DES encryption"
NO_WRKSUBDIR= yes NO_WRKSUBDIR= yes
HAS_CONFIGURE= yes
USE_GMAKE= yes USE_GMAKE= yes
USE_X11= yes USE_X11= yes
# src/libs.tcl is autogenerated from the tcl/tk installed on the # src/libs.tcl is autogenerated from the tcl/tk installed on the
# build system, so we shouldn't use the one in the distribution. # 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: 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> .include <bsd.port.mk>

View file

@ -1 +1 @@
MD5 (sdr.V2.3a1.tar.gz) = cfb72a33293aa307f3fece21582332ba MD5 (sdr.V2.4a7n.tar.gz) = 3ab91505f4d2195299e201dee2c319ad

View file

@ -20,21 +20,11 @@
#include <arpa/nameser.h> #include <arpa/nameser.h>
#include <resolv.h> #include <resolv.h>
#ifdef AIX41 #ifdef AIX41
@@ -146,10 +146,17 @@ @@ -26,7 +26,6 @@
}; #endif
#include <tcl.h>
struct sap_header { #include <tk.h>
+#if BYTE_ORDER == BIG_ENDIAN -#include <malloc.h>
u_int version:3; #include <string.h>
u_int type:3; #include <fcntl.h>
u_int enc:1; #include <errno.h>
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;

View file

@ -1,28 +1,33 @@
# New ports collection makefile for: sdr # New ports collection makefile for: sdr
# Version required: 2.3a1 # Version required: 2.4a7
# Date created: 5 September 1996 # Date created: 5 September 1996
# Whom: Bill Fenner <fenner@FreeBSD.ORG> # 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 DISTNAME= sdr.V2.4a7n
PKGNAME= sdr-2.3a1 PKGNAME= sdr-2.4a7
CATEGORIES= mbone tk80 CATEGORIES= mbone tk80
MASTER_SITES= ftp://cs.ucl.ac.uk/mice/sdr/ MASTER_SITES= http://north.east.isi.edu/sdr/
MAINTAINER= fenner@FreeBSD.org MAINTAINER= fenner@FreeBSD.org
LIB_DEPENDS= tk80\\.1:${PORTSDIR}/x11/tk80 LIB_DEPENDS= tk80\\.1:${PORTSDIR}/x11/tk80
RESTRICTED= "Contains DES encryption"
NO_WRKSUBDIR= yes NO_WRKSUBDIR= yes
HAS_CONFIGURE= yes
USE_GMAKE= yes USE_GMAKE= yes
USE_X11= yes USE_X11= yes
# src/libs.tcl is autogenerated from the tcl/tk installed on the # src/libs.tcl is autogenerated from the tcl/tk installed on the
# build system, so we shouldn't use the one in the distribution. # 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: 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> .include <bsd.port.mk>

View file

@ -1 +1 @@
MD5 (sdr.V2.3a1.tar.gz) = cfb72a33293aa307f3fece21582332ba MD5 (sdr.V2.4a7n.tar.gz) = 3ab91505f4d2195299e201dee2c319ad

View file

@ -20,21 +20,11 @@
#include <arpa/nameser.h> #include <arpa/nameser.h>
#include <resolv.h> #include <resolv.h>
#ifdef AIX41 #ifdef AIX41
@@ -146,10 +146,17 @@ @@ -26,7 +26,6 @@
}; #endif
#include <tcl.h>
struct sap_header { #include <tk.h>
+#if BYTE_ORDER == BIG_ENDIAN -#include <malloc.h>
u_int version:3; #include <string.h>
u_int type:3; #include <fcntl.h>
u_int enc:1; #include <errno.h>
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;