From fabaaf62fc7241c7eb9fb349cd7c7bdb27364462 Mon Sep 17 00:00:00 2001 From: abs Date: Fri, 29 Oct 2004 12:56:24 +0000 Subject: Update setiathome to 3.08: Release notes: Version 3.08 is a precautionary security release. There was a potential buffer overrun in the networking code of the client that is fixed with version 3.08. Note that to exploit this vulnerability, a potential attacker would have to trick the client into contacting a fake server rather than the actual SETI@home server. To our knowledge, no SETI@home client has ever been attacked in this manner. The only NetBSD platform currently supported by 3.08 is NetBSD-sparc-1.6.1 and later. Update supported list for FreeBSD, OpenBSD, SunOS, and Linux --- misc/setiathome/Makefile | 68 ++++++++++++++++++++++++++++++------------------ 1 file changed, 42 insertions(+), 26 deletions(-) (limited to 'misc/setiathome/Makefile') diff --git a/misc/setiathome/Makefile b/misc/setiathome/Makefile index 938237805b5..394e85448d7 100644 --- a/misc/setiathome/Makefile +++ b/misc/setiathome/Makefile @@ -1,41 +1,56 @@ -# $NetBSD: Makefile,v 1.11 2003/07/17 21:49:55 grant Exp $ +# $NetBSD: Makefile,v 1.12 2004/10/29 12:56:24 abs Exp $ # +DISTNAME= ${PKGNAME_NOREV} +PKGNAME= setiathome-3.08 +CATEGORIES= misc +MASTER_SITES= ftp://alien.ssl.berkeley.edu/pub/ \ + ftp://setidata.ssl.berkeley.edu/pub/ +EXTRACT_SUFX= .tar + +MAINTAINER= abs@NetBSD.org +HOMEPAGE= http://setiathome.ssl.berkeley.edu/ +COMMENT= Search for Extraterrestrial Intelligence - at home + .include "../../mk/bsd.prefs.mk" + +# Now rework distname based on OPSYS and MACHINE_ARCH. Does not handle +# rejecting older versions of operating systems # -.if ${OPSYS} == "SunOS" && ${MACHINE_ARCH} == "sparc" -DISTNAME= ${PKGNAME_NOREV}.sparc-sun-solaris2.6 -# -.elif (${MACHINE_ARCH} == "alpha") -DISTNAME= ${PKGNAME_NOREV}.alpha-unknown-netbsd1.4 +.if ${OPSYS} == "NetBSD" # -.elif (${MACHINE_ARCH} == "i386") -DISTNAME= ${PKGNAME_NOREV}.i386-unknown-netbsd1.3 +DISTNAME= ${PKGNAME_NOREV}.${MACHINE_ARCH}-unknown-netbsd1.6.1 + +.elif ${OPSYS} == "FreeBSD" # -.elif (${MACHINE_ARCH} == "powerpc") -DISTNAME= ${PKGNAME_NOREV}.powerpc-unknown-netbsd1.4 +DISTNAME= ${PKGNAME_NOREV}.${MACHINE_ARCH}-unknown-freebsd4.0 + +.elif ${OPSYS} == "OpenBSD" # -# XXX Not yet on ftp site -.elif (${MACHINE_ARCH} == "sparc") -DISTNAME= ${PKGNAME_NOREV}.sparc-unknown-netbsd1.4 +DISTNAME= ${PKGNAME_NOREV}.${MACHINE_ARCH}-unknown-openbsd3.3 + +.elif ${OPSYS} == "SunOS" # -.else -DISTNAME= ${PKGNAME_NOREV} +.if ${MACHINE_ARCH} == "sparc" +DISTNAME= ${PKGNAME_NOREV}.sparc-sun-solaris2.6 +else +DISTNAME= ${PKGNAME_NOREV}.i386-pc-solaris2.6 .endif + +.elif ${OPSYS} == "Linux" # -PKGNAME= setiathome-3.03 -PKGREVISION= 2 -CATEGORIES= misc -MASTER_SITES= ftp://ftp.cdrom.com/pub/setiathome/ \ - ftp://alien.ssl.berkeley.edu/pub/ \ - ftp://setidata.ssl.berkeley.edu/pub/ -EXTRACT_SUFX= .tar +.if ${MACHINE_ARCH} == "i386" +DISTNAME= ${PKGNAME_NOREV}.i686-pc-linux-gnu +.elif ${MACHINE_ARCH} == "x86_64" +DISTNAME= ${PKGNAME_NOREV}.x86_64-pc-linux-gnu +.endif -MAINTAINER= abs@NetBSD.org -HOMEPAGE= http://setiathome.ssl.berkeley.edu/ -COMMENT= Search for Extraterrestrial Intelligence - at home +.endif -ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-i386 NetBSD-*-powerpc SunOS-*-sparc +ONLY_FOR_PLATFORM= NetBSD-*-sparc FreeBSD-*-i386 OpenBSD-*-alpha +ONLY_FOR_PLATFORM+= OpenBSD-*-i386 OpenBSD-*-macppc OpenBSD-*-sparc +ONLY_FOR_PLATFORM+= OpenBSD-*-sparc64 SunOS-*-sparc SunOS-*-i386 Linux-*-i386 +ONLY_FOR_PLATFORM+= Linux-*-i386 Linux-*-x86_64 DIST_SUBDIR= setiathome DECOMPRESS_CMD= ${CAT} @@ -48,5 +63,6 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/setiathome ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/xsetiathome ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/man/cat1/setiathome.0 + ${INSTALL_MAN} ${WRKSRC}/README.xsetiathome ${PREFIX}/man/cat1/xsetiathome.0 .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3