summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am1
-rwxr-xr-xpkg/solaris/solpkg5
2 files changed, 6 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 8e2de78..ce6ae6a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -45,6 +45,7 @@ solpkg:
45 if [ ! -d $(PACKDIR) ] ; then mkdir $(PACKDIR); fi 45 if [ ! -d $(PACKDIR) ] ; then mkdir $(PACKDIR); fi
46 $(MAKE) all 46 $(MAKE) all
47 $(MAKE) DESTDIR=$$PWD/$(BUILDDIR) install 47 $(MAKE) DESTDIR=$$PWD/$(BUILDDIR) install
48 $(INSTALL) plugins-root/pst3 $(BUILDDIR)$(libexecdir)
48 $(INSTALL) pkg/solaris/pkginfo $(BUILDDIR) 49 $(INSTALL) pkg/solaris/pkginfo $(BUILDDIR)
49 $(INSTALL) pkg/solaris/preinstall $(BUILDDIR) 50 $(INSTALL) pkg/solaris/preinstall $(BUILDDIR)
50 cd $(BUILDDIR) && $(PERL) ../$(PKGSCRIPT) ../$(PACKDIR) 51 cd $(BUILDDIR) && $(PERL) ../$(PKGSCRIPT) ../$(PACKDIR)
diff --git a/pkg/solaris/solpkg b/pkg/solaris/solpkg
index 6307bcd..a21176e 100755
--- a/pkg/solaris/solpkg
+++ b/pkg/solaris/solpkg
@@ -34,6 +34,11 @@ while (<PREPROTO>) {
34 or $thisline =~ " pkginfo " 34 or $thisline =~ " pkginfo "
35 or $thisline =~ " preinstall ") { 35 or $thisline =~ " preinstall ") {
36 # Don't do anything as they aren't important 36 # Don't do anything as they aren't important
37 } elsif ($thisline =~ "pst3") {
38 # Needs to be installed SUID root
39 ($dir, $none, $file, $mode, $user, $group) = split / /,$thisline;
40 print PROTO "$dir $none $file 4755 root bin\n";
41
37 } elsif ($thisline =~ "^[fd] ") { 42 } elsif ($thisline =~ "^[fd] ") {
38 # Change the ownership of files and directories 43 # Change the ownership of files and directories
39 ($dir, $none, $file, $mode, $user, $group) = split / /,$thisline; 44 ($dir, $none, $file, $mode, $user, $group) = split / /,$thisline;