From 3a4234699e662e1e611b31829ea898029b66a6f4 Mon Sep 17 00:00:00 2001 From: Tim Rice Date: Sun, 17 Mar 2002 14:05:24 -0800 Subject: [contrib/aix/buildbff.sh contrib/aix/inventory.sh] AIX package build fixes. Patch by Darren Tucker [contrib/solaris/buildpkg.sh] add missing dirs to SYSTEM_DIR. Have postinstall check for $piddir and add if necessary. --- contrib/solaris/buildpkg.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'contrib/solaris/buildpkg.sh') diff --git a/contrib/solaris/buildpkg.sh b/contrib/solaris/buildpkg.sh index 20f8544aa..1be6ed8d1 100755 --- a/contrib/solaris/buildpkg.sh +++ b/contrib/solaris/buildpkg.sh @@ -29,6 +29,7 @@ SYSTEM_DIR="/etc \ /etc/rc0.d \ /etc/rc1.d \ /etc/rc2.d \ +/etc/opt \ /opt \ /opt/bin \ /usr \ @@ -49,6 +50,7 @@ SYSTEM_DIR="/etc \ /usr/local/sbin \ /usr/local/share \ /var \ +/var/opt \ /var/run \ /var/tmp \ /tmp" @@ -201,6 +203,9 @@ installf ${PKGNAME} $TEST_DIR/etc/rcS.d/K30${SYSVINIT_NAME}=$TEST_DIR/etc/init.d installf ${PKGNAME} $TEST_DIR/etc/rc2.d/S98${SYSVINIT_NAME}=$TEST_DIR/etc/init.d/${SYSVINIT_NAME} l fi +# If piddir doesn't exist we add it. (Ie. --with-pid-dir=/var/opt/ssh) +[ -d $piddir ] || installf ${PKGNAME} $TEST_DIR$piddir d 755 root sys + installf -f ${PKGNAME} [ "\${POST_INS_START}" = "yes" ] && ${TEST_DIR}/etc/init.d/${SYSVINIT_NAME} start -- cgit v1.2.3