mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 20:06:29 -04:00
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:
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
|
@ -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>
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (sdr.V2.3a1.tar.gz) = cfb72a33293aa307f3fece21582332ba
|
||||
MD5 (sdr.V2.4a7n.tar.gz) = 3ab91505f4d2195299e201dee2c319ad
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (sdr.V2.3a1.tar.gz) = cfb72a33293aa307f3fece21582332ba
|
||||
MD5 (sdr.V2.4a7n.tar.gz) = 3ab91505f4d2195299e201dee2c319ad
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue