search for: pkg_install_root

Displaying 6 results from an estimated 6 matches for "pkg_install_root".

2002 May 24
1
patch for openssh/contrib/solaris/buildpkg.sh
...ctory.. If this package is installed as part of a Solaris Jumpstart installation, this will not be the case. Consequentially, the /etc/ssh/sshd_config.default will never get copied to /etc/ssh/sshd_config on the new operating system. The Solaris package installer defines the environment variable PKG_INSTALL_ROOT to point to the root directory of the installed package. The attached patch makes the postinstall script aware of this. It should now function as designed in a Jumpstart environment also (or any other environment where the PKG_INSTALL_ROOT != /) Cheers! -- kevin brintnall =~ <kbrint at rufu...
1998 Oct 05
0
samba-1.9.18p10 - Solaris 2.6, postinstall and postremove scripts
...packaging/Solaris/pkg-specs. Regards Anthnoy :::::::::::::: postinstall :::::::::::::: #!/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[...
2004 Apr 30
0
buildpkg.sh enhancements
...EOF # [ "\${PRE_INS_STOP}" = "yes" ] && ${TEST_DIR}/etc/init.d/${SYSVINIT_NAME} stop exit 0 @@ -189,7 +245,7 @@ ## Build postinstall file echo "Building postinstall file..." cat > postinstall << _EOF -#! /sbin/sh +#! ${SCRIPT_SHELL} # [ -f \${PKG_INSTALL_ROOT}${sysconfdir}/ssh_config ] || \\ cp -p \${PKG_INSTALL_ROOT}${sysconfdir}/ssh_config.default \\ @@ -214,21 +270,27 @@ if [ "\${USE_SYM_LINKS}" = yes ] then [ "$RCS_D" = yes ] && \ -installf ${PKGNAME} \${PKG_INSTALL_ROOT}$TEST_DIR/etc/rcS.d/K30${SYSVINIT_NAME}=....
2001 May 08
2
Patch to update contrib/solaris package builder
...worth spending some extra time looking for the old one + ### to avoid a bunch of "host identification has changed" warnings. + ### Note that some old keys from the commercial SSH2 might not + ### be compatible, but we don't test for that. + if [ -f "${PKG_INSTALL_ROOT}/etc/ssh_host_rsa_key" ]; then + mv ${PKG_INSTALL_ROOT}/etc/ssh_host_rsa_key ${CONFDIR} + elif [ -f "${PKG_INSTALL_ROOT}/usr/local/etc/ssh_host_rsa_key" ]; then + mv ${PKG_INSTALL_ROOT}/usr/local/etc/ssh_host_rsa_key ${CONFDIR} + else + ${D...
2007 Nov 20
5
Solaris 10 Jumpstart instructions on the wiki now
Not that I''m much of a Solaris guy, and definitely not a Solaris 10 guy, but since nobody else had posted anything yet: http://reductivelabs.com/trac/puppet/wiki/PuppetSolaris#Solaris10 The good news is that it appears to be a completely hands-off puppetd installation. Just sign the client key afterwards on the puppetmaster and you''re set. The bad news is that it''s
2002 Jul 15
10
Patch: Solaris packages don't create privsep user or group
...not defined +if [ -z "$SSH_PRIVSEP_USER" ] +then + SSH_PRIVSEP_USER=sshd +fi + ## Extract common info requires for the 'info' part of the package. VERSION=`./ssh -V 2>&1 | sed -e 's/,.*//'` @@ -213,6 +226,33 @@ [ -d $piddir ] || installf ${PKGNAME} \${PKG_INSTALL_ROOT}$TEST_DIR$piddir d 755 root sys installf -f ${PKGNAME} + +if egrep '^[ \t]*UsePrivilegeSeparation[ \t]+no' $sysconfdir/sshd_config >/dev/null +then + echo "UsePrivilegeSeparation disabled in config, not creating PrivSep user" + echo "or group." +else...