Tetex-2.0.2-15: source tarball invalid
Igor Pechtchanski
pechtcha@cs.nyu.edu
Mon Dec 27 14:27:00 GMT 2004
On Mon, 27 Dec 2004, Jan Nieuwenhuizen wrote:
> Igor Pechtchanski writes:
>
> > BTW, the tetex-bin source tarball is invalid.
>
> Ok, I'll be using the patch below for mknetrel to build the next
> tetex-bin; this will probably be tetex-3.0.
>
> Greetings,
> Jan.
>
> --- mknetrel 08 okt 2004 01:07:48 +0200 1.53
> +++ mknetrel 27 dec 2004 10:16:02 +0100
> @@ -112,7 +112,9 @@ setvars() {
> package_name="$package"
> package_src="$package"
> base=`expr "$package" : '\([^-]*\)-.*$'`
> - ver=`expr "$package" : '[^-]*-\(.*\)$'`
> + #ver=`expr "$package" : '[^-]*-\(.*\)$'`
> + ver=`expr "$package" : '.*-\([-.0-9]*.*-[0-9]*\)'`
> + base=`expr "$package" : "\(.*\)-$ver"`
> src="$here/src/$package"
> build=$here/build/$package
> inst=$here/inst/$package
> @@ -405,9 +407,21 @@ domkdist() {
>
> cd $src/.. || exit 1
> echo creating "$tarstem"-src.tar.bz2
> - ls -d $package_src/* | egrep -v 'autom4te.cache|\.cvsignore|\.bak$|\.o$|~$|^.#|CVS|%redact|/tags$' | egrep -v "$src_exclude" | tar -T - --no-recursion -chf "$tarstem"-src.tar
> - find $package_src/* -print -follow | egrep -v "^$package_src/[^/]*$" | egrep -v 'autom4te.cache|\.cvsignore|\.bak$|\.o$|~$|^.#|CVS|%redact|/tags$' | egrep -v "$src_exclude" | sort | tar -T - --no-recursion -rf "$tarstem"-src.tar
> - bzip2 -f "$tarstem"-src.tar
> + cd $package_src \
> + && tar -cj \
> + --exclude='\.cvsignore' \
> + --exclude='\.bak$' \
> + --exclude='\.orig$' \
> + --exclude='\.o$' \
> + --exclude='~$' \
> + --exclude='^.#' \
> + --exclude='CVS' \
> + --exclude='%redact' \
> + --exclude='/tags$' \
> + --exclude='/TAGS$' \
> + --owner=0 \
> + --group=0 \
> + -f "$tarstem"-src.tar.bz2 .
> postpackage
> }
Jan,
Thanks for taking care of this. BTW, your problem, AFAICS, was simply the
"-follow" in the second "find" command, and this patch will not exclude
things like "autom4te.cache" and the contents of "$src_exclude" -- though
it probably doesn't matter for tetex.
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT
More information about the Cygwin-apps
mailing list