OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 27-Nov-2003 14:35:38
Branch: HEAD Handle: 2003112713353700
Modified files:
openpkg-src/openpkg HISTORY openpkg.spec rc rpmtool
Log:
only allow exact section command matches in rc, and briefly explain
CORE and BASE grades in rpmtool
Summary:
Revision Changes Path
1.93 +1 -0 openpkg-src/openpkg/HISTORY
1.250 +1 -1 openpkg-src/openpkg/openpkg.spec
1.47 +1 -1 openpkg-src/openpkg/rc
1.27 +3 -0 openpkg-src/openpkg/rpmtool
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/HISTORY
============================================================================
$ cvs diff -u -r1.92 -r1.93 HISTORY
--- openpkg-src/openpkg/HISTORY 24 Nov 2003 19:32:19 -0000 1.92
+++ openpkg-src/openpkg/HISTORY 27 Nov 2003 13:35:37 -0000 1.93
@@ -2,6 +2,7 @@
2003
====
+20031127 only allow exact section command matches in rc
20031124 upgrade to zlib 1.2.1
20031121 rc manual page additions
20031117 automatically check for %NoSource/%NoPatch integrity and package class in
%prep
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/openpkg.spec
============================================================================
$ cvs diff -u -r1.249 -r1.250 openpkg.spec
--- openpkg-src/openpkg/openpkg.spec 24 Nov 2003 19:32:19 -0000 1.249
+++ openpkg-src/openpkg/openpkg.spec 27 Nov 2003 13:35:37 -0000 1.250
@@ -39,7 +39,7 @@
# o any cc(1)
# the package version/release
-%define V_openpkg 20031124
+%define V_openpkg 20031127
# the used software versions
%define V_rpm 4.2.1
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/rc
============================================================================
$ cvs diff -u -r1.46 -r1.47 rc
--- openpkg-src/openpkg/rc 5 Aug 2003 06:52:31 -0000 1.46
+++ openpkg-src/openpkg/rc 27 Nov 2003 13:35:37 -0000 1.47
@@ -333,7 +333,7 @@
#fi
# check whether command exists in script at all
- cmdline=`grep "^%$cmd" $rcdir/rc.$s_name`
+ cmdline=`grep "^%$cmd[^a-zA-Z0-9]" $rcdir/rc.$s_name`
if [ ".$cmdline" != . ]; then
# parse local command options
cmdopts=`echo "$cmdline" | sed -e "s;^%$cmd *;;"`
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/rpmtool
============================================================================
$ cvs diff -u -r1.26 -r1.27 rpmtool
--- openpkg-src/openpkg/rpmtool 19 Nov 2003 11:17:36 -0000 1.26
+++ openpkg-src/openpkg/rpmtool 27 Nov 2003 13:35:37 -0000 1.27
@@ -1343,6 +1343,7 @@
echo "It is in prerelease state and might be ready for release
soon."
echo "Nevertheless, use it with great care in production
environments."
echo "It might be unstable and break your environment."
+ echo "Only CORE and BASE class packages are production grade."
) | @l_prefix@/lib/openpkg/rpmtool msg -r -t notice | sed -e
's;^;echo ";' -e 's;$;";'
echo "set -x"
;;
@@ -1352,6 +1353,7 @@
echo "It is in evaluation state and still not ready for release."
echo "Hence, do not use it in production environments."
echo "It might be unstable or incompletely packaged."
+ echo "Only CORE and BASE class packages are production grade."
) | @l_prefix@/lib/openpkg/rpmtool msg -r -t warn | sed -e
's;^;echo ";' -e 's;$;";'
echo "set -x"
;;
@@ -1360,6 +1362,7 @@
( echo "This OpenPKG package is of class JUNK."
echo "It is in development state and still not even ready for
evaluation."
echo "Do not use it at all, as it is definitely unstable and
incomplete."
+ echo "Only CORE and BASE class packages are production grade."
) | @l_prefix@/lib/openpkg/rpmtool msg -r -t warn | sed -e
's;^;echo ";' -e 's;$;";'
echo "set -x"
;;
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]