[CVS] OpenPKG: openpkg-src/openpkg/ HISTORY openpkg.boot openpkg.spec ...

2004-02-16 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   16-Feb-2004 15:49:01
  Branch: HEAD Handle: 2004021614490001

  Modified files:
openpkg-src/openpkg HISTORY openpkg.boot openpkg.spec rpmmacros

  Log:
fixed --tag processing in bootstrapping situation

  Summary:
RevisionChanges Path
1.135   +1  -0  openpkg-src/openpkg/HISTORY
1.46+1  -0  openpkg-src/openpkg/openpkg.boot
1.290   +1  -0  openpkg-src/openpkg/openpkg.spec
1.58+3  -2  openpkg-src/openpkg/rpmmacros
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/HISTORY
  
  $ cvs diff -u -r1.134 -r1.135 HISTORY
  --- openpkg-src/openpkg/HISTORY   16 Feb 2004 10:05:32 -  1.134
  +++ openpkg-src/openpkg/HISTORY   16 Feb 2004 14:49:00 -  1.135
  @@ -2,6 +2,7 @@
   2004
   
   
  +20040216 fixed --tag processing in bootstrapping situation
   20040216 upgraded to OSSP uuid 1.0.0
   20040214 use sane build environment already in pre-expanded sanity checking macros
   20040213 upgraded to OSSP uuid 0.9.7
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/openpkg.boot
  
  $ cvs diff -u -r1.45 -r1.46 openpkg.boot
  --- openpkg-src/openpkg/openpkg.boot  9 Feb 2004 20:18:30 -   1.45
  +++ openpkg-src/openpkg/openpkg.boot  16 Feb 2004 14:49:00 -  1.46
  @@ -440,6 +440,7 @@
   -e "s;@NGRP@;$ngrp;" \
   -e "s;@TAG@;$tag;" \
   -e "s;\\(%{l_prefix}/lib/openpkg/rpmtool\\);%{l_bash} \\1;g" \
  +-e "s;@l_prefix_static@;$prefix;g" \
   -e "s;@l_prefix@;$RPM_BUILD_ROOT$prefix;g" \
   -e "s;%l_prefix;%l_prefix_INTERNAL;g" \
   -e "s;%{l_prefix};%{l_prefix_INTERNAL};g" \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/openpkg.spec
  
  $ cvs diff -u -r1.289 -r1.290 openpkg.spec
  --- openpkg-src/openpkg/openpkg.spec  16 Feb 2004 10:05:32 -  1.289
  +++ openpkg-src/openpkg/openpkg.spec  16 Feb 2004 14:49:00 -  1.290
  @@ -983,6 +983,7 @@
   <`SOURCE rpmrc` \
   >$RPM_BUILD_ROOT%{l_prefix}/etc/openpkg/rpmrc
   sed -e "s:@l_prefix@:%{l_prefix}:g" \
  +-e "s:@l_prefix_static@:%{l_prefix}:g" \
   -e "s;@l_build_path@;$l_build_path;g" \
   -e "s;@l_build_ldlp@;$l_build_ldlp;g" \
   -e "s;@l_build_ulim@;$l_build_ulim;g" \
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/rpmmacros
  
  $ cvs diff -u -r1.57 -r1.58 rpmmacros
  --- openpkg-src/openpkg/rpmmacros 14 Feb 2004 17:39:11 -  1.57
  +++ openpkg-src/openpkg/rpmmacros 16 Feb 2004 14:49:01 -  1.58
  @@ -38,8 +38,8 @@
   
   #   the OpenPKG package tagging
   %l_tag_fmt   @TAG@
  -%l_tag_fmt_compat%(prefix="%{l_prefix}"; if [ ".`expr $prefix : 
'/[^/][^/]*$'`" != .0 ]; then loc=`echo $prefix | cut -c2-4`; else loc=`echo $prefix | 
sed -e 's;/\\(.\\)[^/]*;\\1;g' | cut -c1-3`; fi; echo $loc)
  -%l_tag_fmt_loc   %(echo "%{l_prefix}" | sed -e 
's;^/\\([^/]\\)[^/]*/\\([^/]\\)[^/]*/\\([^/]\\).*;\\1\\2\\3;' -e 
's;^/\\([^/]\\)[^/]*/\\([^/][^/]\\).*;\\1\\2;' -e 
's;^/\\([^/][^/]\\)[^/]*/\\([^/]\\).*;\\1\\2;' -e 
's;^/\\([^/]\\)[^/]*/\\([^/]\\).*;\\1\\2;' -e 's;^/\\([^/][^/][^/]\\).*;\\1;' -e 
's;^/\\([^/][^/]\\).*;\\1;' -e 's;^/\\([^/]\\).*;\\1;')
  +%l_tag_fmt_compat%(prefix="%{l_prefix_static}"; if [ ".`expr $prefix : 
'/[^/][^/]*$'`" != .0 ]; then loc=`echo $prefix | cut -c2-4`; else loc=`echo $prefix | 
sed -e 's;/\\(.\\)[^/]*;\\1;g' | cut -c1-3`; fi; echo $loc)
  +%l_tag_fmt_loc   %(echo "%{l_prefix_static}" | sed -e 
's;^/\\([^/]\\)[^/]*/\\([^/]\\)[^/]*/\\([^/]\\).*;\\1\\2\\3;' -e 
's;^/\\([^/]\\)[^/]*/\\([^/][^/]\\).*;\\1\\2;' -e 
's;^/\\([^/][^/]\\)[^/]*/\\([^/]\\).*;\\1\\2;' -e 
's;^/\\([^/]\\)[^/]*/\\([^/]\\).*;\\1\\2;' -e 's;^/\\([^/][^/][^/]\\).*;\\1;' -e 
's;^/\\([^/][^/]\\).*;\\1;' -e 's;^/\\([^/]\\).*;\\1;')
   %l_tag_fmt_opt   %(uuid_ns="`%{l_uuid} -v3 ns:OID 
%{l_openpkg_oid_tagfmtopt}`"; %{l_uuid} -v3 $uuid_ns '%{?_options}')
   %l_tag_fmt_uuid  %(%{l_uuid} -v1)
   %l_tag_fmt_time  %(date '+%%Y%%m%%d%%H%%M%%S')
  @@ -131,6 +131,7 @@
   
   #   define the installation hierarchy (used parts)
   %l_prefix@l_prefix@
  +%l_prefix_static @l_prefix_static@
   
   #   define the installation hierarchy (unused 

[CVS] OpenPKG: openpkg-src/openpkg/ HISTORY openpkg.boot openpkg.spec ...

2004-02-09 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src  Date:   09-Feb-2004 21:18:30
  Branch: HEAD Handle: 2004020920182901

  Modified files:
openpkg-src/openpkg HISTORY openpkg.boot openpkg.spec rpmmacros

  Log:
cleanup "rpmmacros" for consistent "%l_prefix" usage and this way
implicitly fix "rpmtool not found" issue during bootstrapping from scratch.

  Summary:
RevisionChanges Path
1.126   +1  -0  openpkg-src/openpkg/HISTORY
1.45+5  -3  openpkg-src/openpkg/openpkg.boot
1.282   +1  -1  openpkg-src/openpkg/openpkg.spec
1.54+46 -47 openpkg-src/openpkg/rpmmacros
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/HISTORY
  
  $ cvs diff -u -r1.125 -r1.126 HISTORY
  --- openpkg-src/openpkg/HISTORY   8 Feb 2004 08:17:43 -   1.125
  +++ openpkg-src/openpkg/HISTORY   9 Feb 2004 20:18:29 -   1.126
  @@ -2,6 +2,7 @@
   2004
   
   
  +20040209 cleanup "rpmmacros" for consistent "%l_prefix" usage and fix "rpmtool not 
found" issue
   20040208 added version tracking for OSSP uuid
   20040206 upgraded to OSSP uuid 0.9.5
   20040206 disable %prep checks under --track-dump and cleanup its output
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/openpkg.boot
  
  $ cvs diff -u -r1.44 -r1.45 openpkg.boot
  --- openpkg-src/openpkg/openpkg.boot  28 Jan 2004 13:04:35 -  1.44
  +++ openpkg-src/openpkg/openpkg.boot  9 Feb 2004 20:18:30 -   1.45
  @@ -439,9 +439,10 @@
   -e "s;@NUSR@;$nusr;" \
   -e "s;@NGRP@;$ngrp;" \
   -e "s;@TAG@;$tag;" \
  --e "s;^\\(%l_root_install *\\)@l_prefix@;\\1 $prefix;" \
  --e "s;^\\(%l_root_rpm *\\)@l_prefix@;\\1 $RPM_BUILD_ROOT$prefix;" \
  --e "s;@l_prefix@;$RPM_BUILD_ROOT$prefix;" \
  +-e "s;\\(%{l_prefix}/lib/openpkg/rpmtool\\);%{l_bash} \\1;g" \
  +-e "s;@l_prefix@;$RPM_BUILD_ROOT$prefix;g" \
  +-e "s;%l_prefix;%l_prefix_INTERNAL;g" \
  +-e "s;%{l_prefix};%{l_prefix_INTERNAL};g" \
   -e "s;^\\(%_specdir *\\).*;\\1 `pwd`;" \
   -e "s;^\\(%_sourcedir *\\).*;\\1 $distdir;" \
   -e "s;^\\(%_builddir *\\).*;\\1 $tmpdir;" \
  @@ -450,6 +451,7 @@
   -e "s;@l_build_path@;/bin:/sbin:/usr/bin:/usr/sbin;g" \
   -e "s;@l_build_ldlp@;/usr/lib;g" \
   -e "s;@l_build_ulim@;:;g"
  +echo "%l_prefix $prefix" >>$tmpdir/rpm.3
   
   #   use an own $HOME/.popt in order to make sure the "rpm"
   #   tool is able to execute its sub-tools "rpm".
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/openpkg.spec
  
  $ cvs diff -u -r1.281 -r1.282 openpkg.spec
  --- openpkg-src/openpkg/openpkg.spec  8 Feb 2004 08:17:43 -   1.281
  +++ openpkg-src/openpkg/openpkg.spec  9 Feb 2004 20:18:30 -   1.282
  @@ -39,7 +39,7 @@
   #   o any cc(1)
   
   #   the package version/release
  -%define   V_openpkg  20040208
  +%define   V_openpkg  20040209
   
   #   the used software versions
   %define   V_rpm  4.2.1
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/rpmmacros
  
  $ cvs diff -u -r1.53 -r1.54 rpmmacros
  --- openpkg-src/openpkg/rpmmacros 4 Feb 2004 08:37:10 -   1.53
  +++ openpkg-src/openpkg/rpmmacros 9 Feb 2004 20:18:30 -   1.54
  @@ -27,7 +27,7 @@
   ##
   
   #   the OpenPKG release identification (for the current package or as a fallback 
for the bootstrap package)
  -%l_openpkg_release(F:)   %(echo "%{?release}%{!?release:%(@l_prefix@/bin/rpm -q 
--qf '%{release}' openpkg)}" | sed -e 's;^;X;' -e 
's;^X\\([0-9][0-9]*\\.[0-9][0-9]*\\).*$;\\1;' -e 
's;^X\\([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]\\)$;CURRENT;' -e 's;^X.*$;UNKNOWN;' | 
awk '{ printf(%{?-F:%{-F*}}%{!?-F:"OpenPKG-%s"}, $0); }')
  +%l_openpkg_release(F:)   %(echo "%{?release}%{!?release:%(%{l_prefix}/bin/rpm -q 
--qf '%{release}' openpkg)}" | sed -e 's;^;X;' -e 
's;^X\\([0-9][0-9]*\\.[0-9][0-9]*\\).*$;\\1;' -e 
's;^X\\([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]\\)$;CURRENT;' -e 's;^X.*$;UNKNOWN;' | 
awk '{ printf(%{?-F:%{-F*}}%{!?-F:"OpenPKG-%s"}, $0); }')
   
   #   the OpenPKG OIDs (root is officially registered at IANA)
   %l_openpkg_oid   1.3.6.1.4.1.18749
  @@ -93,7 +93,7 @@
   %l_host  %{_host_cpu}-%{_host_os}
   
   #   new OpenPKG platform identification
  -%l_platform(cptF:)   %(if [ ".%{?-F}" != .

[CVS] OpenPKG: openpkg-src/openpkg/ HISTORY openpkg.boot openpkg.spec ...

2003-11-29 Thread Thomas Lotterer
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Thomas Lotterer
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web  Date:   29-Nov-2003 16:44:24
  Branch: HEAD Handle: 2003112915442102

  Modified files:
openpkg-src/openpkg HISTORY openpkg.boot openpkg.spec
openpkg-web news.txt

  Log:
do not enforce uudecode availability as raw tarballs introduced a
month ago do no longer require it

  Summary:
RevisionChanges Path
1.94+1  -0  openpkg-src/openpkg/HISTORY
1.40+0  -16 openpkg-src/openpkg/openpkg.boot
1.251   +1  -1  openpkg-src/openpkg/openpkg.spec
1.7615  +1  -0  openpkg-web/news.txt
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/HISTORY
  
  $ cvs diff -u -r1.93 -r1.94 HISTORY
  --- openpkg-src/openpkg/HISTORY   27 Nov 2003 13:35:37 -  1.93
  +++ openpkg-src/openpkg/HISTORY   29 Nov 2003 15:44:23 -  1.94
  @@ -2,6 +2,7 @@
   2003
   
   
  +20031129 do not enforce uudecode availability as raw tarballs introduced a month 
ago do no longer require it
   20031127 only allow exact section command matches in rc
   20031124 upgrade to zlib 1.2.1
   20031121 rc manual page additions
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/openpkg.boot
  
  $ cvs diff -u -r1.39 -r1.40 openpkg.boot
  --- openpkg-src/openpkg/openpkg.boot  31 Oct 2003 16:29:38 -  1.39
  +++ openpkg-src/openpkg/openpkg.boot  29 Nov 2003 15:44:23 -  1.40
  @@ -252,22 +252,6 @@
   umask 022
   unset ls rm mv cp sed grep awk >/dev/null 2>&1 || true
   
  -#   find reasonable UUENCODE
  -l_uuencode=''
  -for t in guuencode uuencode; do
  -for p in `IFS=":"; echo . $PATH`; do
  -if [ -f "$p/$t" ]; then
  -l_uuencode="$p/$t"
  -break
  -fi
  -done
  -[ ".$l_uuencode" != . ] && break
  -done
  -if [ ".$l_uuencode" = . ]; then
  -echo "$0:FAILED: required UUENCODE not found"
  -exit 1
  -fi
  -
   #   find reasonable TAR
   l_tar=''
   for t in gtar tar; do
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/openpkg.spec
  
  $ cvs diff -u -r1.250 -r1.251 openpkg.spec
  --- openpkg-src/openpkg/openpkg.spec  27 Nov 2003 13:35:37 -  1.250
  +++ openpkg-src/openpkg/openpkg.spec  29 Nov 2003 15:44:23 -  1.251
  @@ -39,7 +39,7 @@
   #   o any cc(1)
   
   #   the package version/release
  -%define   V_openpkg  20031127
  +%define   V_openpkg  20031129
   
   #   the used software versions
   %define   V_rpm  4.2.1
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  
  $ cvs diff -u -r1.7614 -r1.7615 news.txt
  --- openpkg-web/news.txt  29 Nov 2003 13:34:57 -  1.7614
  +++ openpkg-web/news.txt  29 Nov 2003 15:44:21 -  1.7615
  @@ -1,3 +1,4 @@
  +29-Nov-2003: Upgraded package: P
   29-Nov-2003: New package: P
   29-Nov-2003: Upgraded package: P
   29-Nov-2003: Upgraded package: P
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


[CVS] OpenPKG: openpkg-src/openpkg/ HISTORY openpkg.boot openpkg.spec ...

2003-09-18 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web  Date:   18-Sep-2003 13:45:09
  Branch: HEAD Handle: 2003091812450404

  Added files:
openpkg-src/openpkg rpmdb
  Modified files:
openpkg-src/openpkg HISTORY openpkg.boot openpkg.spec rpm.patch.bugfix
rpm.patch.feature rpm.patch.porting
rpm.patch.regen rpmpopt
openpkg-web news.txt

  Log:
Completely revamp the RPM database fiddling:

1. Introduce new /lib/openpkg/rpmdb utility for administrating
   the RPM database on the lower level and hook it into the
   /bin/rpm command line with four options:

   --db-build RPM database administration: build new
  database (destructive operation; you have
  to know what you are doing)

   --db-rebuild   RPM database administration: rebuild new
  from old database (upgrading operation;
  reasonable after upgrades or on DB
  corruption)

   --db-cleanup   RPM database administration: cleanup
  existing database (cleaning operation;
  reasonable after DB out-of-sync situations)

   --db-fixateRPM database administration: fixate
  existing database (harmless operation; for
  fixating files only)

2. Use rpmdb from within openpkg.boot to create initial database the
   correct way and to query the list of filenames of all database files.

3. Use rpmdb from within openpkg.spec:%post to fixate the
   database on upgrades only (no more rebuilding) but drop note to RPM
   4.0 to 4.2 upgraders about "rpm --db-rebuild" and "rpm --db-cleanup".

4. Patch RPM's embedded Berkeley-DB to accept zero-size DB region files.
   Because permissions and ownership on Berkeley-DB region files
   __db.XXX have to be already fixed in advance and those files cannot
   be created in advance on the command line with some reasonable
   default (as it is the case for the other files which are created
   with [rpm]db_load), we have to force Berkeley-DB to accept those
   zero-sized files and (on DB_CREATE) create/overwrite them (instead of
   thinking another process is currently creating them).

   This especially workarounds the "Resource temporarily unavailable"
   problems we've seen on some platforms, which were mainly caused by
   the pre-existing DB region files.

5. Patch RPM so it passes flag DB_CREATE to Berkeley-DB also if DB
   region file __db.001 exists, but is (still) zero-size.

With those changes all together we are now able to perform lower-level
administration of the RPM database, have moved all RPM database fiddling
into a single script (rpmdb), this way removed all redundancy related to
this database fiddling, and should workround the "Resource temporarily
unavailable" problems we experienced.

OpenPKG-CURRENT drivers are strongly advised to immediately upgrade to
this "openpkg-20030918-20030918" release of the bootstrap package and
especially perform an "rpm --db-rebuild" once after the installation.

If you have already trouble ("Resource temporarily unavailable" or
other hangs) in upgrading the previous "openpkg" package to this latest
version, you can workaround it with the following more upgrade procedure
(note the "private" on the __dbi_cdb macro definition):

$ /bin/rpm --rebuild openpkg-20030918-20030918.src.rpm
$ rm /RPM/DB/__db.*
$ /bin/rpm -Uvh \
  --define '__dbi_cdb create cdb mpool mp_mmapsize=16Mb mp_size=1Mb private' \
  /RPM/PKG/openpkg-20030918-20030918.*.rpm
$ /bin/rpm --db-rebuild

  Summary:
RevisionChanges Path
1.54+1  -0  openpkg-src/openpkg/HISTORY
1.34+12 -30 openpkg-src/openpkg/openpkg.boot
1.219   +54 -56 openpkg-src/openpkg/openpkg.spec
1.21+1  -1  openpkg-src/openpkg/rpm.patch.bugfix
1.22+62 -1  openpkg-src/openpkg/rpm.patch.feature
1.25+1  -1  openpkg-src/openpkg/rpm.patch.porting
1.20+1  -1  openpkg-src/openpkg/rpm.patch.regen
1.1 +425 -0 openpkg-src/openpkg/rpmdb
1.7 +37 -0  openpkg-src/openpkg/rpmpopt
1.6611  +1  -0  openpkg-web/news.txt
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/HISTORY
  
  $ 

[CVS] OpenPKG: openpkg-src/openpkg/ HISTORY openpkg.boot openpkg.spec ...

2003-08-20 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web  Date:   20-Aug-2003 12:31:15
  Branch: HEAD Handle: 2003082011311301

  Modified files:
openpkg-src/openpkg HISTORY openpkg.boot openpkg.spec
openpkg-web news.txt

  Log:
name internal bootstrapping tarball just .tar instead of .tar.Z -- it
is no longer compressed.

  Summary:
RevisionChanges Path
1.30+1  -0  openpkg-src/openpkg/HISTORY
1.28+4  -4  openpkg-src/openpkg/openpkg.boot
1.192   +1  -1  openpkg-src/openpkg/openpkg.spec
1.6243  +1  -0  openpkg-web/news.txt
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/HISTORY
  
  $ cvs diff -u -r1.29 -r1.30 HISTORY
  --- openpkg-src/openpkg/HISTORY   6 Aug 2003 15:27:26 -   1.29
  +++ openpkg-src/openpkg/HISTORY   20 Aug 2003 10:31:14 -  1.30
  @@ -2,6 +2,7 @@
   2003
   
   
  +20030820 name internal bootstrapping tarball just .tar instead of .tar.Z -- it is 
no longer compressed.
   20030806 fix "rcTmp -f" functionality
   20030805 trick cURL to skip some useless F77 autoconf checks to get it working 
under NetBSD again
   20030805 allow variables with other characters than A-Z (e.g. LD_LIBRARY_PATH) to 
be set in %env, too.
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/openpkg.boot
  
  $ cvs diff -u -r1.27 -r1.28 openpkg.boot
  --- openpkg-src/openpkg/openpkg.boot  19 Jul 2003 10:45:13 -  1.27
  +++ openpkg-src/openpkg/openpkg.boot  20 Aug 2003 10:31:14 -  1.28
  @@ -175,9 +175,9 @@
   sh $tmpdir/.sh
   rm -f $tmpdir/.sh
   sed <$srcdir/aux.wrapsrc.sh >$pkgdir/$name-$version-$release.src.sh \
  --e "s;@DIR@;$name-$version-$release.src;" -e 
"s;@TGZ@;$name-$version-$release.src.tar.Z;"
  +-e "s;@DIR@;$name-$version-$release.src;" -e 
"s;@TGZ@;$name-$version-$release.src.tar;"
   (cd $tmpdir && tar cf - *) |\
  -uuencode $name-$version-$release.src.tar.Z |\
  +uuencode $name-$version-$release.src.tar |\
   dd bs=64000 2>/dev/null >>$pkgdir/$name-$version-$release.src.sh
   rm -rf $tmpdir
   exit 0
  @@ -540,7 +540,7 @@
   -e "s;@MUID@;$muid;" -e "s;@MGID@;$mgid;" \
   -e "s;@RUID@;$ruid;" -e "s;@RGID@;$rgid;" \
   -e "s;@NUID@;$nuid;" -e "s;@NGID@;$ngid;" \
  --e "s;@l_prefix@;$prefix;" -e "s;@TGZ@;openpkg-$v.$t.tar.Z;" \
  +-e "s;@l_prefix@;$prefix;" -e "s;@TGZ@;openpkg-$v.$t.tar;" \
   -e "/[EMAIL PROTECTED]@/r $tmpdir/rpm.pre" |\
   sed -e '/[EMAIL PROTECTED]@/d' >$dstdir/openpkg-$v.$t.sh
   files=`cat $spec |\
  @@ -554,7 +554,7 @@
   done
   ( cd $RPM_BUILD_ROOT$prefix;
 $RPM_BUILD_ROOT$prefix/lib/openpkg/tar --no-recursion -cf - $files) |\
  -$l_uuencode openpkg-$v.$t.tar.Z >>$dstdir/openpkg-$v.$t.sh
  +$l_uuencode openpkg-$v.$t.tar >>$dstdir/openpkg-$v.$t.sh
   
   #   cleanup
   echo "++ cleaning up"
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/openpkg.spec
  
  $ cvs diff -u -r1.191 -r1.192 openpkg.spec
  --- openpkg-src/openpkg/openpkg.spec  15 Aug 2003 18:48:42 -  1.191
  +++ openpkg-src/openpkg/openpkg.spec  20 Aug 2003 10:31:14 -  1.192
  @@ -39,7 +39,7 @@
   #   o any cc(1)
   
   #   the package version/release
  -%define   V_openpkg 20030815
  +%define   V_openpkg 20030820
   
   #   the used software versions
   %define   V_rpm 4.0.2
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  
  $ cvs diff -u -r1.6242 -r1.6243 news.txt
  --- openpkg-web/news.txt  20 Aug 2003 07:01:38 -  1.6242
  +++ openpkg-web/news.txt  20 Aug 2003 10:31:13 -  1.6243
  @@ -1,3 +1,4 @@
  +20-Aug-2003: Upgraded package: P
   20-Aug-2003: Upgraded package: P
   20-Aug-2003: Upgraded package: P
   20-Aug-2003: Upgraded package: P
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]


[CVS] OpenPKG: openpkg-src/openpkg/ HISTORY openpkg.boot openpkg.spec ...

2003-07-19 Thread Ralf S. Engelschall
  OpenPKG CVS Repository
  http://cvs.openpkg.org/
  

  Server: cvs.openpkg.org  Name:   Ralf S. Engelschall
  Root:   /e/openpkg/cvs   Email:  [EMAIL PROTECTED]
  Module: openpkg-src openpkg-web  Date:   19-Jul-2003 12:45:14
  Branch: HEAD Handle: 2003071911451102

  Modified files:
openpkg-src/openpkg HISTORY openpkg.boot openpkg.spec
openpkg-web news.txt

  Log:
openpkg.boot: try to make build environment more sane by setting umask
and unsetting some strange aliases

  Summary:
RevisionChanges Path
1.18+1  -0  openpkg-src/openpkg/HISTORY
1.27+4  -0  openpkg-src/openpkg/openpkg.boot
1.178   +1  -1  openpkg-src/openpkg/openpkg.spec
1.5664  +1  -0  openpkg-web/news.txt
  

  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/HISTORY
  
  $ cvs diff -u -r1.17 -r1.18 HISTORY
  --- openpkg-src/openpkg/HISTORY   18 Jul 2003 20:34:08 -  1.17
  +++ openpkg-src/openpkg/HISTORY   19 Jul 2003 10:45:13 -  1.18
  @@ -2,6 +2,7 @@
   2003
   
   
  +20030719 openpkg.boot: try to make build environment more sane by setting umask and 
unsetting some strange aliases
   20030718 rc.func: opXXX replaced by rcXXX; add rc(8) manual page; add pod2man.sh; 
fix perl/ warnings under building
   20030717 rc.func: add opService, switch to Bash; rc: rewrite --eval to use Bash; 
rpmmacros: add l_tmp{dir,file}
   20030716 cleaned and enhanced "rc" again; added %{l_value} killer macro
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/openpkg.boot
  
  $ cvs diff -u -r1.26 -r1.27 openpkg.boot
  --- openpkg-src/openpkg/openpkg.boot  15 Jul 2003 10:08:26 -  1.26
  +++ openpkg-src/openpkg/openpkg.boot  19 Jul 2003 10:45:13 -  1.27
  @@ -229,6 +229,10 @@
   done
   export PATH
   
  +#   make environment at least partly sane
  +umask 022
  +unset ls rm mv cp sed grep awk >/dev/null 2>&1 || true
  +
   #   find reasonable UUENCODE
   l_uuencode=''
   for t in guuencode uuencode; do
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-src/openpkg/openpkg.spec
  
  $ cvs diff -u -r1.177 -r1.178 openpkg.spec
  --- openpkg-src/openpkg/openpkg.spec  18 Jul 2003 20:34:08 -  1.177
  +++ openpkg-src/openpkg/openpkg.spec  19 Jul 2003 10:45:13 -  1.178
  @@ -39,7 +39,7 @@
   #   o any cc(1)
   
   #   the package version/release
  -%define   V_openpkg 20030718
  +%define   V_openpkg 20030719
   
   #   the used software versions
   %define   V_rpm 4.0.2
  @@ .
  patch -p0 <<'@@ .'
  Index: openpkg-web/news.txt
  
  $ cvs diff -u -r1.5663 -r1.5664 news.txt
  --- openpkg-web/news.txt  19 Jul 2003 10:21:24 -  1.5663
  +++ openpkg-web/news.txt  19 Jul 2003 10:45:11 -  1.5664
  @@ -1,3 +1,4 @@
  +19-Jul-2003: Upgraded package: P
   19-Jul-2003: Upgraded package: P
   19-Jul-2003: Upgraded package: P
   19-Jul-2003: Upgraded package: P
  @@ .
__
The OpenPKG Projectwww.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]