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: 07-Jun-2007 21:59:37
Branch: HEAD Handle: 2007060720593600
Modified files:
openpkg-src/openpkg HISTORY openpkg.spec
Log:
use path /etc/rc.d/init.d/ instead of non-standard /etc/init.d/ under
AIX
Summary:
Revision Changes Path
1.459 +1 -0 openpkg-src/openpkg/HISTORY
1.594 +6 -6 openpkg-src/openpkg/openpkg.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/HISTORY
============================================================================
$ cvs diff -u -r1.458 -r1.459 HISTORY
--- openpkg-src/openpkg/HISTORY 6 Jun 2007 10:11:17 -0000 1.458
+++ openpkg-src/openpkg/HISTORY 7 Jun 2007 19:59:36 -0000 1.459
@@ -2,6 +2,7 @@
2007
====
+20070607 use path /etc/rc.d/init.d/ instead of non-standard /etc/init.d/
under AIX
20070606 under MacOS X do not add -Wl,-search_paths_first if -c or -E is
present on the cc command line
20070605 upgrade to GNU gzip 1.3.12
20070605 upgrade to latest GNU shtool snapshot for final Mac OS X
identification and some small improvements for CentOS
@@ .
patch -p0 <<'@@ .'
Index: openpkg-src/openpkg/openpkg.spec
============================================================================
$ cvs diff -u -r1.593 -r1.594 openpkg.spec
--- openpkg-src/openpkg/openpkg.spec 6 Jun 2007 10:11:17 -0000 1.593
+++ openpkg-src/openpkg/openpkg.spec 7 Jun 2007 19:59:36 -0000 1.594
@@ -39,7 +39,7 @@
# o any cc(1)
# the package version/release
-%define V_openpkg 20070606
+%define V_openpkg 20070607
# the used software versions
%define V_rpm 4.2.1
@@ -2129,7 +2129,7 @@
fi
;;
AIX/* )
- if [ ! -f /etc/init.d/${name} ]; then
+ if [ ! -f /etc/rc.d/init.d/${name} ]; then
# install transfer script
( echo "#!/bin/sh"
echo "##"
@@ -2141,11 +2141,11 @@
echo " start ) exec ${prefix}/etc/rc all start ;;"
echo " stop ) exec ${prefix}/etc/rc all stop ;;"
echo "esac"
- ) >/etc/init.d/${name}
- chmod 755 /etc/init.d/${name}
+ ) >/etc/rc.d/init.d/${name}
+ chmod 755 /etc/rc.d/init.d/${name}
# create corresponding symbolic links
( cd /etc/rc.d
- ln -s ../../init.d/${name} rc2.d/S99${name}
+ ln -s ../init.d/${name} rc2.d/S99${name}
) || exit $?
fi
;;
@@ -2773,7 +2773,7 @@
rm -f /etc/rc1.d/K00${name} >/dev/null 2>&1
;;
AIX/* )
- rm -f /etc/init.d/${name} >/dev/null 2>&1
+ rm -f /etc/rc.d/init.d/${name} >/dev/null 2>&1
rm -f /etc/rc.d/rc2.d/S99${name} >/dev/null 2>&1
;;
OSF1/V5.* )
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]