diff options
author | rh <rh@pkgsrc.org> | 2000-05-03 17:03:20 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2000-05-03 17:03:20 +0000 |
commit | b0d2b1a71c43610964c3a62c6e08de0f43d65907 (patch) | |
tree | 05108d529e254c4a29f7647bedb4add625affe51 /misc | |
parent | 84c375e9fd11dfb27e7d9775a7ff06e99b0192ab (diff) | |
download | pkgsrc-b0d2b1a71c43610964c3a62c6e08de0f43d65907.tar.gz |
Depend on suse_linux>=6.1. This fixes PR 9013 by John A. Maier.
Adapt fetching script to new website layout.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/staroffice/Makefile | 9 | ||||
-rwxr-xr-x | misc/staroffice/files/automate.sh | 4 |
2 files changed, 5 insertions, 8 deletions
diff --git a/misc/staroffice/Makefile b/misc/staroffice/Makefile index ba7d0eb7b48..b268dfecc7e 100644 --- a/misc/staroffice/Makefile +++ b/misc/staroffice/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2000/03/16 13:51:43 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2000/05/03 17:03:20 rh Exp $ # DISTNAME= so51a_lnx_${LANGNO} @@ -12,7 +12,8 @@ MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.sun.com/staroffice/ CONFLICTS= staroffice-* -DEPENDS= unzip-*:../../archivers/unzip +DEPENDS+= unzip-*:../../archivers/unzip +DEPENDS+= suse_linux>=6.1:../../emulators/suse_linux NO_CDROM= "Redistribution not permitted" MIRROR_DISTFILE= NO @@ -24,10 +25,6 @@ NO_BUILD= YES DECOMPRESS_CMD= ${CAT} -.if !exists(/emul/linux/lib/ld-linux.so.1) -IGNORE= requires Linux glibc2 libraries - see compat_linux(8) -.endif - .include "../../mk/bsd.prefs.mk" LANGUAGE?= en diff --git a/misc/staroffice/files/automate.sh b/misc/staroffice/files/automate.sh index d4c8abc499f..8e9820bbbb7 100755 --- a/misc/staroffice/files/automate.sh +++ b/misc/staroffice/files/automate.sh @@ -110,12 +110,12 @@ FROMSITE= [ x$http_proxy != x ] && FROMSITE=$SITE export LEN FIRSTNAME LASTNAME ADDR CITY STATE COUNTRY ZIP PHONE ACCT PASS EMAIL FROMSITE ftp -o index.html $HOMEPAGE -if grep 'A.*FREE.*' index.html >/dev/null 2>&1 ; then true; else +if grep 'staroffice.get.cgi' index.html >/dev/null 2>&1 ; then true; else echo 'getting index failed, answer was:' cat index.html exit 1 fi -FOO=`grep 'A.*FREE.*' index.html | sed -e 's/.*[hH][rR][eE][fF]="\(.*\)".*/\1/'` +FOO=`grep 'staroffice.get.cgi' index.html | tail +3 | head -1 | sed -e 's/.*[hH][rR][eE][fF]="\(.*\)".*/\1/'` ftp -o get.html $SUNPAGE$FOO ftp -o Welcome.jhtml "$SITE/servlet/EComActionServlet?LMLoadBalanced=&LMLoadBalanced=" if grep action Welcome.jhtml >/dev/null 2>&1 ; then true; else |