Procházet zdrojové kódy

upgrade to bash 2.05b

Ralf S. Engelschall před 24 roky
rodič
revize
1bc5ba5a8e
2 změnil soubory, kde provedl 21 přidání a 4 odebrání
  1. 1 1
      openpkg/README
  2. 20 3
      openpkg/openpkg.spec

+ 1 - 1
openpkg/README

@@ -17,7 +17,7 @@
   gzip-1.3.tar ............ untouched distribution tarball of the GNU gzip tool
   make-3.79.1.tar.gz ...... untouched distribution tarball of the GNU make tool
   patch-2.5.4.tar.gz ...... untouched distribution tarball of the GNU patch tool
-  bash-2.05a.tar.gz ....... untouched distribution tarball of the GNU bash tool
+  bash-2.05b.tar.gz ....... untouched distribution tarball of the GNU bash tool
   curl-7.9.1.tar.gz ....... untouched distribution tarball of the cURL tool
   curl.patch .............. patch for cURL tool
 

+ 20 - 3
openpkg/openpkg.spec

@@ -39,8 +39,8 @@
 #   o any cc(1)
 
 #   the package version and release
-%define       V_openpkg 20020714
-%define       R_openpkg 20020714
+%define       V_openpkg 20020718
+%define       R_openpkg 20020718
 
 #   the used software versions
 %define       V_rpm     4.0.2
@@ -52,7 +52,7 @@
 %define       V_gzip    1.3.3
 %define       V_patch   2.5.4
 %define       V_tar     1.13.25
-%define       V_bash    2.05a
+%define       V_bash    2.05b
 
 #   package information
 Name:         openpkg
@@ -189,6 +189,20 @@ Provides:     OpenPKG
     fi
     echo "l_cc=\"$l_cc\"; export l_cc" >>.buildenv
 
+    #   manually make sure ar(1) is available
+    l_ar=`sh $shtool path ar`; export l_ar
+    if [ ".$l_ar" = . ]; then
+        echo "openpkg: prerequisite tool \`ar' not found"
+        exit 1
+    fi
+
+    #   manually make sure ld(1) is available
+    l_ld=`sh $shtool path ld`; export l_ld
+    if [ ".$l_ld" = . ]; then
+        echo "openpkg: prerequisite tool \`ld' not found"
+        exit 1
+    fi
+
     #   determine path to aux.usrgrp.sh script
     usrgrp=`SOURCE aux.usrgrp.sh`
     echo "usrgrp=$usrgrp" >>./.buildenv
@@ -408,6 +422,9 @@ Provides:     OpenPKG
       sed -e 's;^\(SUBDIRS[ 	]*=.*\) po$;\1;' \
           <popt/Makefile.in >popt/Makefile.in.n && \
           mv popt/Makefile.in.n popt/Makefile.in
+      sed -e 's;BUFSIZ;8192;g' \
+          <rpmio/macro.c >rpmio/macro.c.n && \
+          mv rpmio/macro.c.n rpmio/macro.c
       ( echo 'ac_cv_path_MSGFMT=${ac_cv_path_MSGFMT=no}' 
         echo 'ac_cv_path_GMSGFMT=${ac_cv_path_GMSGFMT=no}' 
       ) >config.cache