Displaying 11 results from an estimated 11 matches for "fake_root".
2001 Oct 17
3
Again: bugs in contrib/solaris/opensshd.in and buildpkg.sh
...t-working killproc
here my version tested on Solaris 2.4 and 8
(no pgrep with solaris 2.4, XARGS was undefined, simpler
syntax)
J?rg
--- contrib/solaris/buildpkg.sh Fri Oct 12 22:30:53 2001
+++ contrib/solaris/buildpkg.sh Tue Oct 16 13:53:07 2001
@@ -40,9 +40,9 @@
../opensshd.in > $FAKE_ROOT/etc/init.d/opensshd
chmod 711 $FAKE_ROOT/etc/init.d/opensshd
-ln -s $FAKE_ROOT/etc/init.d/opensshd $FAKE_ROOT/etc/rcS.d/K30opensshd
-ln -s $FAKE_ROOT/etc/init.d/opensshd $FAKE_ROOT/etc/rc1.d/K30opensshd
-ln -s $FAKE_ROOT/etc/init.d/opensshd $FAKE_ROOT/etc/rc2.d/S98opensshd
+ln -s /etc/init.d/open...
2002 Feb 28
4
Update to solaris package creation
...rototype so that the system
>> directories are marked as shared (using ? for permissions, owner and group)
>>
>> that's more or less about it.
--- buildpkg.sh.orig Fri Oct 19 15:36:24 2001
+++ buildpkg.sh Thu Feb 28 08:50:09 2002
@@ -42,10 +42,10 @@
../opensshd.in > $FAKE_ROOT/etc/init.d/opensshd
chmod 711 $FAKE_ROOT/etc/init.d/opensshd
-ln -s ../init.d/opensshd $FAKE_ROOT/etc/rcS.d/K30opensshd
-ln -s ../init.d/opensshd $FAKE_ROOT/etc/rc0.d/K30opensshd
-ln -s ../init.d/opensshd $FAKE_ROOT/etc/rc1.d/K30opensshd
-ln -s ../init.d/opensshd $FAKE_ROOT/etc/rc2.d/S98opensshd...
2002 Jun 18
0
Solaris packaging of rsync - script comes here
...t
# but for now it is hard coded
BASEDIR=/usr/local
VERSION="2.5.5"
ARCH=`uname -p`
NAME=rsync
# Definitions end here
# Please do not edit below this line or you know what you do.
## Start by faking root install
echo "Creating install directory (fake $BASEDIR)..."
START=`pwd`
FAKE_ROOT=$START/${PKGNAME}
mkdir $FAKE_ROOT
# copy the binary and the man page to their places
mkdir $FAKE_ROOT/bin
mkdir -p $FAKE_ROOT/doc/rsync
mkdir -p $FAKE_ROOT/man/man1
mkdir -p $FAKE_ROOT/man/man5
cp ../../../rsync $FAKE_ROOT/bin/rsync
cp ../../../rsync.1 $FAKE_ROOT/man/man1/rsync.1
cp ../../../rsy...
2004 Apr 30
0
buildpkg.sh enhancements
...and comment on these
changes before I commit them to CVS.
None of the defaults have changed.
Some of the patch is is just moving chunks of code to a different
location to make some of the enhancements work.
Some things you may find usefull:
New variables you can put in your config.local
REMOVE_FAKE_ROOT_WHEN_DONE Remove fake root dir when done.
SYSVINITSTART System V init start level
SYSVINITSTOPT System V init start level
POST_MAKE_INSTALL_FIXES Name of script to run after "make install"
POST_PROTOTYPE_EDITS Name of script to run after prototype is made
PKG_PREINSTALL_LOCAL Local...
2004 Feb 27
0
PAM patch for openssh 3.7.1p2
...7 # Default privsep gid
# uncomment these next two as needed
#PERMIT_ROOT_LOGIN=no
#X11_FORWARDING=yes
+#USEPAM=yes
# list of system directories we do NOT want to change owner/group/perms
# when installing our package
SYSTEM_DIR="/etc \
@@ -143,6 +144,9 @@
$FAKE_ROOT/${sysconfdir}/sshd_config
[ "${X11_FORWARDING}" = yes ] && \
perl -p -i -e "s/#X11Forwarding no/X11Forwarding yes/" \
+ $FAKE_ROOT/${sysconfdir}/sshd_config
+[ "${USEPAM}" = yes ] && \
+ perl -p -i -e "s/#UsePAM y...
2003 Dec 05
1
OpenSSH Contrib/solaris buildpkg.sh
Hi,
thanks for this great work. Just a minor point - maybe
you should mention the
rm -rf $FAKE_ROOT
command within your README file:
It caught me unexpected and I was looking a couple
of minutes for the package artifact before I actually
read the last line.
Regards,
Burkhard Kohl
Lead Engineer Content Management
burkhard.kohl at intershop.de
INTERSHOP?
http://www.intershop.de
INTERSHOP Co...
2002 Jul 15
10
Patch: Solaris packages don't create privsep user or group
Hi.
Solaris packages created by buildpkg.sh don't create privsep user or
group and sshd won't start until they are created (or privsep is
disabled):
## Executing postinstall script.
starting /usr/local/sbin/sshd... Privilege separation user sshd does not
exist
/etc/init.d/opensshd: Error 255 starting /usr/local/sbin/sshd...
bailing.
The attached patch (against -cvs) ports the relevant
2004 Jul 02
0
Problem locating stream files
...asterisk configuration where I intend to be redirected to the
voicemail whenever I dial 100 with my kphone SIP client. The problem is that asterisk can not find
the stream 'vm-theperson'. I have made a non-standard installation (since I am just testing), and
that file is located in /mnt/tr2/fake_root/installed/usr/local/var/lib/asterisk/sounds.
1. How can I tell asterisk where to look for the streams?
2. I have traced (with strace) all 6 threads created by asterisk to find out which directories it
is accessing to try to open the vm-theperson stream, but interestingly this system call does not...
2002 Mar 09
0
OpenSSH-3.1p1 AIX buildbff.sh patch
...sk 022
PKGNAME=openssh
+ PKGDIR=package
! PATH=`pwd`:$PATH # set path for external tools
export PATH
! # Clean build directory
rm -rf $PKGDIR
mkdir $PKGDIR
if [ ! -f ../../Makefile ]
then
***************
*** 40,45 ****
--- 33,61 ----
cd ../..
make install-nokeys DESTDIR=$FAKE_ROOT
+ if [ $? -gt 0 ]
+ then
+ echo "Fake root install failed, stopping."
+ exit 1
+ fi
+
+ #
+ # Extract common info requires for the 'info' part of the package.
+ # AIX requires 4-part version numbers
+ #
+ VERSION=`./ssh -V 2>&1 | sed -e 's/,.*//' | cut -f 2 -d...
2002 Mar 17
1
[patch] AIX package build fixes, please commit
...sk 022
PKGNAME=openssh
+ PKGDIR=package
! PATH=`pwd`:$PATH # set path for external tools
export PATH
! # Clean build directory
rm -rf $PKGDIR
mkdir $PKGDIR
if [ ! -f ../../Makefile ]
then
***************
*** 40,45 ****
--- 33,61 ----
cd ../..
make install-nokeys DESTDIR=$FAKE_ROOT
+ if [ $? -gt 0 ]
+ then
+ echo "Fake root install failed, stopping."
+ exit 1
+ fi
+
+ #
+ # Extract common info requires for the 'info' part of the package.
+ # AIX requires 4-part version numbers
+ #
+ VERSION=`./ssh -V 2>&1 | sed -e 's/,.*//' | cut -f 2 -d...
2009 Aug 05
5
[Bug 1629] New: allow --port=#### option at configuration time?
https://bugzilla.mindrot.org/show_bug.cgi?id=1629
Summary: allow --port=#### option at configuration time?
Product: Portable OpenSSH
Version: 5.2p1
Platform: Other
OS/Version: Other
Status: NEW
Severity: enhancement
Priority: P2
Component: Build system
AssignedTo: unassigned-bugs at mindrot.org