From 32a965e09ce4befe971855e11e1fb5ceb51a9ed1 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 13 Dec 1999 13:35:20 +0000 Subject: 2nd phase of head branch sync with SAMBA_2_0 - this delets all the files that were in the head branch but weren't in SAMBA_2_0 (This used to be commit d7b208786590b5a28618590172b8d523627dda09) --- packaging/Solaris/pkg-specs/Packaging.script | 5 ---- packaging/Solaris/pkg-specs/mkprototype | 31 ----------------------- packaging/Solaris/pkg-specs/postinstall | 37 ---------------------------- packaging/Solaris/pkg-specs/postremove | 30 ---------------------- 4 files changed, 103 deletions(-) delete mode 100644 packaging/Solaris/pkg-specs/Packaging.script delete mode 100644 packaging/Solaris/pkg-specs/mkprototype delete mode 100644 packaging/Solaris/pkg-specs/postinstall delete mode 100644 packaging/Solaris/pkg-specs/postremove (limited to 'packaging/Solaris') diff --git a/packaging/Solaris/pkg-specs/Packaging.script b/packaging/Solaris/pkg-specs/Packaging.script deleted file mode 100644 index 6f182c33e5..0000000000 --- a/packaging/Solaris/pkg-specs/Packaging.script +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh -./mkprototype -pkgmk -o -d /tmp -b `pwd` -f ./prototype -cd /tmp -pkgtrans . samba.pkg samba diff --git a/packaging/Solaris/pkg-specs/mkprototype b/packaging/Solaris/pkg-specs/mkprototype deleted file mode 100644 index 5ca0746bee..0000000000 --- a/packaging/Solaris/pkg-specs/mkprototype +++ /dev/null @@ -1,31 +0,0 @@ -#!/bin/sh -# this creates prototype files -pkgproto * > prototype -nawk 'BEGIN { print "# d directory" - print "# e a file to be edited upon installation or removal" - print "# f a standard executable or data file" - print "# i installation script or information file" - print "# l linked file" - print "# s symbolic link" - print "# v volatile file (one whose contents are expected to -change)" - print "#" } -/ pkginfo / { print "i pkginfo" ; next } -/ postinstall / { print "i postinstall" ; next } -/ postremove / { print "i postremove" ; next } -/d none usr / { print "d none usr ? ? ?" ; next } -/d none usr\/local / { print "d none usr/local ? ? ?" ; next } -/d none etc / { print "d none etc ? ? ?" ; next } -/f none etc\// { $1 = "v" } -/d none opt / { print "d none opt ? ? ?" ; next } -/d none var / { print "d none var ? ? ?" ; next } -/none prototype / { next } -/none mkprototype / { next } -/ src[ \/]/ { next } -/^[dfv]/ { $5 = "bin" - $6 = "bin" - print - next } -{ print }' prototype >/tmp/prototype.$$ -mv /tmp/prototype.$$ prototype - diff --git a/packaging/Solaris/pkg-specs/postinstall b/packaging/Solaris/pkg-specs/postinstall deleted file mode 100644 index 0fbe9da10b..0000000000 --- a/packaging/Solaris/pkg-specs/postinstall +++ /dev/null @@ -1,37 +0,0 @@ -#!/bin/sh -# install samba - -nawk '/^netbios-[ns]*[ ]/ {next} -{print} -END { print "netbios-ssn 139/tcp" - print "netbios-ns 137/udp # samba service" }' \ - ${PKG_INSTALL_ROOT}/etc/inet/services > /tmp/services.$$ && \ - mv -f /tmp/services.$$ ${PKG_INSTALL_ROOT}/etc/inet/services && -\ - chmod 644 ${PKG_INSTALL_ROOT}/etc/inet/services && \ - echo "Updated ${PKG_INSTALL_ROOT}/etc/inet/services" - -nawk '/samba.*mbd[ ]/ { next } -{print} -END { print "# samba connections are handled by smbd and nmbd" - print "netbios-ssn stream tcp nowait root /opt/samba/bin/smbd -smbd" - print "netbios-ns dgram udp wait root /opt/samba/bin/nmbd nmbd" }' -\ - ${PKG_INSTALL_ROOT}/etc/inet/inetd.conf > /tmp/inetd.conf.$$ && -\ - mv -f /tmp/inetd.conf.$$ ${PKG_INSTALL_ROOT}/etc/inet/inetd.conf -&& \ - chmod 644 ${PKG_INSTALL_ROOT}/etc/inet/inetd.conf && \ - echo "Updated ${PKG_INSTALL_ROOT}/etc/inet/inetd.conf" - -echo "Installed samba service into ${PKG_INSTALL_ROOT:-/}" - -inetpid=`/bin/ps -ef | awk '/ \/usr\/sbin\/inetd / { print $2 } '` -if [ "X$inetpid" = "X" ]; then - echo "inetd not running" -else - echo "Restarting inetd($inetpid)" - kill -HUP $inetpid -fi - diff --git a/packaging/Solaris/pkg-specs/postremove b/packaging/Solaris/pkg-specs/postremove deleted file mode 100644 index 7f7a5c1f8e..0000000000 --- a/packaging/Solaris/pkg-specs/postremove +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh -# remove samba - -nawk '/^netbios-[ns]*[ ]/ {next} -{print} ' \ - ${PKG_INSTALL_ROOT}/etc/inet/services > /tmp/services.$$ && \ - mv -f /tmp/services.$$ ${PKG_INSTALL_ROOT}/etc/inet/services && -\ - chmod 644 ${PKG_INSTALL_ROOT}/etc/inet/services && \ - echo "Updated ${PKG_INSTALL_ROOT}/etc/inet/services" - -nawk '/samba.*mbd[ ]/ { next } -{print} ' \ - ${PKG_INSTALL_ROOT}/etc/inet/inetd.conf > /tmp/inetd.conf.$$ && -\ - mv -f /tmp/inetd.conf.$$ ${PKG_INSTALL_ROOT}/etc/inet/inetd.conf -&& \ - chmod 644 ${PKG_INSTALL_ROOT}/etc/inet/inetd.conf && \ - echo "Updated ${PKG_INSTALL_ROOT}/etc/inet/inetd.conf" - -echo "Removed samba service from ${PKG_INSTALL_ROOT:-/}" - -inetpid=`/bin/ps -ef | awk '/ \/usr\/sbin\/inetd / { print $2 } '` -if [ "X$inetpid" = "X" ]; then - echo "inetd not running" -else - echo "Restarting inetd($inetpid)" - kill -HUP $inetpid -fi - -- cgit