From d77663023612cfc8d6690748b49c407315b62995 Mon Sep 17 00:00:00 2001 From: "Tom G. Christensen" Date: Fri, 14 May 2004 09:48:35 +0000 Subject: [PATCH] meta data files should have a suffix matching the section header in pkgdef for the package they belong to. --- openssh/build.sh | 2 +- openssh/meta/{depend => depend.openssh} | 0 openssh/meta/{postinstall => postinstall.openssh} | 8 ++++---- openssh/meta/{postremove => postremove.openssh} | 0 openssh/meta/{preremove => preremove.openssh} | 0 5 files changed, 5 insertions(+), 5 deletions(-) rename openssh/meta/{depend => depend.openssh} (100%) rename openssh/meta/{postinstall => postinstall.openssh} (96%) rename openssh/meta/{postremove => postremove.openssh} (100%) rename openssh/meta/{preremove => preremove.openssh} (100%) diff --git a/openssh/build.sh b/openssh/build.sh index 529bbee..e7106a9 100755 --- a/openssh/build.sh +++ b/openssh/build.sh @@ -9,7 +9,7 @@ # Check the following 4 variables before running the script topdir=openssh version=3.8.1p1 -pkgver=1 +pkgver=2 source[0]=$topdir-$version.tar.gz # If there are no patches, simply comment this #patch[0]= diff --git a/openssh/meta/depend b/openssh/meta/depend.openssh similarity index 100% rename from openssh/meta/depend rename to openssh/meta/depend.openssh diff --git a/openssh/meta/postinstall b/openssh/meta/postinstall.openssh similarity index 96% rename from openssh/meta/postinstall rename to openssh/meta/postinstall.openssh index f62869f..0750b68 100644 --- a/openssh/meta/postinstall +++ b/openssh/meta/postinstall.openssh @@ -73,10 +73,10 @@ ${REMOVEF} -f ${PKGINST} mv /usr/local/etc/sshd.init /etc/init.d/sshd.local # Install new *symlinks* -ln -s /etc/init.d/sshd.local /etc/rc0.d/K30sshd.local -ln -s /etc/init.d/sshd.local /etc/rc1.d/K30sshd.local -ln -s /etc/init.d/sshd.local /etc/rc2.d/S78sshd.local -ln -s /etc/init.d/sshd.local /etc/rcS.d/K30sshd.local +ln -sf /etc/init.d/sshd.local /etc/rc0.d/K30sshd.local +ln -sf /etc/init.d/sshd.local /etc/rc1.d/K30sshd.local +ln -sf /etc/init.d/sshd.local /etc/rc2.d/S78sshd.local +ln -sf /etc/init.d/sshd.local /etc/rcS.d/K30sshd.local # Then installf the new pathnames ${INSTALLF} ${PKGINST} /etc/init.d/sshd.local f 744 root sys diff --git a/openssh/meta/postremove b/openssh/meta/postremove.openssh similarity index 100% rename from openssh/meta/postremove rename to openssh/meta/postremove.openssh diff --git a/openssh/meta/preremove b/openssh/meta/preremove.openssh similarity index 100% rename from openssh/meta/preremove rename to openssh/meta/preremove.openssh