OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 09-Jun-2005 14:17:58
Branch: HEAD Handle: 2005060913175700
Modified files:
openpkg-src/openpkg HISTORY openpkg.spec
Log:
part 3 of AIX port: cleanups and fixes for system hooks
Summary:
Revision Changes Path
1.268 +1 -0 openpkg-src/openpkg/HISTORY
1.420 +12 -6 openpkg-src/openpkg/openpkg.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/HISTORY
============================================================================
$ cvs diff -u -r1.267 -r1.268 HISTORY
--- openpkg-src/openpkg/HISTORY 8 Jun 2005 14:52:21 -0000 1.267
+++ openpkg-src/openpkg/HISTORY 9 Jun 2005 12:17:57 -0000 1.268
@@ -2,6 +2,7 @@
2005
====
+20050609 part 3 of AIX port: cleanups and fixes for system hooks
20050608 part 2 of AIX port: RPM patches, system hooks
20050607 part 1 of AIX port: RPM patches
20050606 fix and enhance various vendor file trackings
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/openpkg.spec
============================================================================
$ cvs diff -u -r1.419 -r1.420 openpkg.spec
--- openpkg-src/openpkg/openpkg.spec 8 Jun 2005 14:52:21 -0000 1.419
+++ openpkg-src/openpkg/openpkg.spec 9 Jun 2005 12:17:57 -0000 1.420
@@ -38,7 +38,7 @@
# o any cc(1)
# the package version/release
-%define V_openpkg 20050608
+%define V_openpkg 20050609
# the used software versions
%define V_rpm 4.2.1
@@ -1490,7 +1490,11 @@
niutil -createprop . "/users/${usr}" shell
"${shell}"
;;
AIX/* )
- mkuser id="${uid}" groups="${grp}"
gecos="${realname}" home="${prefix}" shell="${shell}" "${usr}"
+ mkuser id="${uid}" gecos="${realname}"
home="${prefix}" "${usr}"
+ # defer both the setting of the primary group and
the shell,
+ # as they do not exist at this stage of processing.
+ ( echo "chuser id=\"${uid}\" pgrp=\"${grp}\"
shell=\"${prefix}\" \"${usr}\""
+ ) >%{l_prefix}.pre-post-process.sh
;;
* )
cp $file $file.bak && \
@@ -1808,8 +1812,6 @@
# create corresponding symbolic links
( cd /etc/rc.d
ln -s ../../init.d/${name} rc2.d/S99${name}
- ln -s ../../init.d/${name} rc0.d/K00${name}
- ln -s ../../init.d/${name} rc1.d/K00${name}
) || exit $?
fi
;;
@@ -1999,6 +2001,12 @@
fi
%post
+ # optional post-processing from "pre" section
+ if [ -f %{l_prefix}.pre-post-process.sh ]; then
+ sh %{l_prefix}.pre-post-process.sh
+ rm -f %{l_prefix}.pre-post-process.sh
+ fi
+
# update or initially create OpenPKG UUID configuration
%{l_prefix}/bin/openpkg uuid update >/dev/null 2>&1 || true
@@ -2304,8 +2312,6 @@
AIX/* )
rm -f /etc/init.d/${name} >/dev/null 2>&1
rm -f /etc/rc2.d/S99${name} >/dev/null 2>&1
- rm -f /etc/rc1.d/K00${name} >/dev/null 2>&1
- rm -f /etc/rc0.d/K00${name} >/dev/null 2>&1
;;
OSF1/V5.* )
rm -f /sbin/init.d/${name} >/dev/null 2>&1
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [email protected]