pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/31899: Linux-related fixes to mk/sandbox and mk/tools



>Number:         31899
>Category:       pkg
>Synopsis:       Linux-related fixes to mk/sandbox and mk/tools
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 23 21:20:00 +0000 2005
>Originator:     Sergey Svishchev
>Release:        
>Organization:
>Environment:
>Description:
On Linux, mount is usually installed as /bin/mount, lex as /usr/bin/flex.  
Also, on Red Hat Enterprise Linux, certain crypto libraries are in 
/usr/kerberos.  Without them, and /dev/random in sandbox, OpenSSL doesn't build.
>How-To-Repeat:

>Fix:
--- mk/bulk/mksandbox   21 Apr 2005 21:44:56 -0000      1.40
+++ mk/bulk/mksandbox   3 Oct 2005 12:26:11 -0000
@@ -88,10 +88,10 @@
        idprog=/usr/bin/id
        mkdirprog="/bin/mkdir -p"
        mountflags="--bind"
-       mountprog=/sbin/mount
+       mountprog=/bin/mount
        paxprog=""
        sedprog=/bin/sed
-       sandboxMountDirs="$sandboxMountDirs /proc"
+       sandboxMountDirs="$sandboxMountDirs /proc /usr/kerberos"
        ;;
 NetBSD)
        bmakeprog=make
@@ -221,7 +221,7 @@
        ;;
 Linux)
        $cpprog /dev/MAKEDEV* $sandbox/dev
-       (cd $sandbox/dev; ./MAKEDEV generic)
+       (cd $sandbox/dev; ./MAKEDEV generic random)
        ;;
 *)
        $cpprog /dev/MAKEDEV* $sandbox/dev
--- mk/tools/tools.Linux.mk     16 Jun 2005 04:30:46 -0000      1.20
+++ mk/tools/tools.Linux.mk     3 Oct 2005 12:26:12 -0000
@@ -91,6 +91,7 @@
 .endif
 TOOLS_PLATFORM.install?=       /usr/bin/install
 TOOLS_PLATFORM.ldconfig?=      /sbin/ldconfig
+TOOLS_PLATFORM.lex?=           /usr/bin/flex
 TOOLS_PLATFORM.ln?=            /bin/ln
 TOOLS_PLATFORM.ls?=            /bin/ls
 TOOLS_PLATFORM.m4?=            ${TOOLS_PLATFORM.gm4}




Home | Main Index | Thread Index | Old Index