瀏覽代碼

Added pst3 to Solaris package.

Eric Stanley 14 年之前
父節點
當前提交
355ad150eb
共有 2 個文件被更改,包括 6 次插入0 次删除
  1. 1 0
      Makefile.am
  2. 5 0
      pkg/solaris/solpkg

+ 1 - 0
Makefile.am

@@ -45,6 +45,7 @@ solpkg:
 	if [ ! -d $(PACKDIR) ] ; then mkdir $(PACKDIR); fi
 	$(MAKE) all
 	$(MAKE) DESTDIR=$$PWD/$(BUILDDIR) install
+	$(INSTALL) plugins-root/pst3 $(BUILDDIR)$(libexecdir)
 	$(INSTALL) pkg/solaris/pkginfo $(BUILDDIR)
 	$(INSTALL) pkg/solaris/preinstall $(BUILDDIR)
 	cd $(BUILDDIR) && $(PERL) ../$(PKGSCRIPT) ../$(PACKDIR)

+ 5 - 0
pkg/solaris/solpkg

@@ -34,6 +34,11 @@ while (<PREPROTO>) {
 	  or $thisline =~ " pkginfo "
 	  or $thisline =~ " preinstall ") {
 	    # Don't do anything as they aren't important
+	} elsif ($thisline =~ "pst3") {
+		# Needs to be installed SUID root
+	  ($dir, $none, $file, $mode, $user, $group) = split / /,$thisline;
+	  print PROTO "$dir $none $file 4755 root bin\n";
+		
 	} elsif ($thisline =~ "^[fd] ") {
 	  # Change the ownership of files and directories
 	  ($dir, $none, $file, $mode, $user, $group) = split / /,$thisline;