Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id D867E7A469 for ; Sun, 10 Jul 2016 01:32:45 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 842CE85EA1; Sun, 10 Jul 2016 01:32:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 1575285E11 for ; Sun, 10 Jul 2016 01:32:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id AO0cq0tH5cgZ for ; Sun, 10 Jul 2016 01:32:44 +0000 (UTC) Received: from cvs.NetBSD.org (unknown [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 28FD484CF0 for ; Sun, 10 Jul 2016 01:32:44 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 1A5D5FBB5; Sun, 10 Jul 2016 01:32:44 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_146811436462320" MIME-Version: 1.0 Date: Sun, 10 Jul 2016 01:32:44 +0000 From: "Sevan Janiyan" Subject: CVS commit: pkgsrc/doc/guide/files To: pkgsrc-changes@NetBSD.org Reply-To: sevan@netbsd.org X-Mailer: log_accum Message-Id: <20160710013244.1A5D5FBB5@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_146811436462320 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: sevan Date: Sun Jul 10 01:32:44 UTC 2016 Modified Files: pkgsrc/doc/guide/files: platforms.xml Log Message: Remove the Interix section now that the content has been moved to bootstrap/README.Interix To generate a diff of this commit: cvs rdiff -u -r1.98 -r1.99 pkgsrc/doc/guide/files/platforms.xml Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_146811436462320 Content-Disposition: inline Content-Length: 10956 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/doc/guide/files/platforms.xml diff -u pkgsrc/doc/guide/files/platforms.xml:1.98 pkgsrc/doc/guide/files/platforms.xml:1.99 --- pkgsrc/doc/guide/files/platforms.xml:1.98 Sat Jul 9 16:19:15 2016 +++ pkgsrc/doc/guide/files/platforms.xml Sun Jul 10 01:32:43 2016 @@ -1,4 +1,4 @@ - + Using pkgsrc on systems other than &os; @@ -69,209 +69,5 @@ For details related to supported versions consult the platform-specific README files found in - - Interix - - Interix is a POSIX-compatible subsystem for the Windows NT kernel, - providing a Unix-like environment with a tighter kernel integration than - available with Cygwin. It is part of the Windows Services for Unix - package, available for free for any licensed copy of Windows 2000, XP - (not including XP Home), or 2003. SFU can be downloaded from http://www.microsoft.com/windows/sfu/. - - Services for Unix 3.5 has been tested. 3.0 or 3.1 may work, but - are not officially supported. (The main difference in 3.0/3.1 is lack - of pthreads, but other parts of libc may also be lacking.) - - Services for Unix Applications (aka SUA) is an integrated - component of Windows Server 2003 R2 (5.2), Windows Vista and - Windows Server 2008 (6.0), Windows 7 and Windows Server 2008 R2 - (6.1). As of this writing, the SUA's Interix 6.0 (32bit) and - 6.1 (64bit) subsystems have been tested. Other versions may - work as well. The Interix 5.x subsystem has not yet been tested - with pkgsrc. - - - When installing Interix/SFU - - At an absolute minimum, the following packages must be installed from - the Windows Services for Unix 3.5 distribution in order to use pkgsrc: - - - Utilities -> Base Utilities - Interix GNU Components -> (all) - Remote Connectivity - Interix SDK - - - When using pkgsrc on Interix, DO NOT install the Utilities subcomponent - "UNIX Perl". That is Perl 5.6 without shared module support, installed to - /usr/local, and will only cause confusion. Instead, install Perl 5.8 from - pkgsrc (or from a binary package). - - The Remote Connectivity subcomponent "Windows Remote Shell Service" does - not need to be installed, but Remote Connectivity itself should be - installed in order to have a working inetd. - - During installation you may be asked whether to enable setuid - behavior for Interix programs, and whether to make pathnames default to - case-sensitive. Setuid should be enabled, and case-sensitivity MUST be - enabled. (Without case-sensitivity, a large number of packages including - perl will not build.) - - NOTE: Newer Windows service packs change the way binary execution - works (via the Data Execution Prevention feature). In order to use - pkgsrc and other gcc-compiled binaries reliably, a hotfix containing - POSIX.EXE, PSXDLL.DLL, PSXRUN.EXE, and PSXSS.EXE (899522 or newer) - must be installed. Hotfixes are available from Microsoft through a - support contract; however, Debian Interix Port has made most Interix - hotfixes available for personal use from http://www.debian-interix.net/hotfixes/. - - In addition to the hotfix noted above, it may be necessary to - disable Data Execution Prevention entirely to make Interix functional. - This may happen only with certain types of CPUs; the cause is not fully - understood at this time. If gcc or other applications still segfault - repeatedly after installing one of the hotfixes note above, the - following option can be added to the appropriate "boot.ini" line on the - Windows boot drive: /NoExecute=AlwaysOff - (WARNING, this will disable DEP completely, which may be a security - risk if applications are often run as a user in the Administrators - group!) - - - - - What to do if Interix/SFU is already installed - - If SFU is already installed and you wish to alter these settings to work - with pkgsrc, note the following things. - - - - To uninstall UNIX Perl, use Add/Remove Programs, select Microsoft - Windows Services for UNIX, then click Change. In the installer, choose - Add or Remove, then uncheck Utilities->UNIX Perl. - - - To enable case-sensitivity for the file system, run REGEDIT.EXE, and - change the following registry key: - HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\kernel - Set the DWORD value "obcaseinsensitive" to 0; then reboot. - - - To enable setuid binaries (optional), run REGEDIT.EXE, and change the - following registry key: - HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Services for UNIX - Set the DWORD value "EnableSetuidBinaries" to 1; then reboot. - - - - - - Important notes for using pkgsrc - - The package manager (either the pkgsrc "su" user, or the user - running "pkg_add") must be a member of the local Administrators - group. Such a user must also be used to run the bootstrap. This is - slightly relaxed from the normal pkgsrc requirement of "root". - - The package manager should use a umask of 002. "make install" will - automatically complain if this is not the case. This ensures that - directories written in /var/db/pkg are Administrators-group writeable. - - The popular Interix binary packages from http://www.interopsystems.com/ - use an older version of pkgsrc's pkg_* tools. Ideally, these should - NOT be used in conjunction with pkgsrc. If you choose to use them at - the same time as the pkgsrc packages, ensure that you use the proper - pkg_* tools for each type of binary package. - - The TERM setting used for DOS-type console windows (including those - invoked by the csh and ksh startup shortcuts) is "interix". Most systems - don't have a termcap/terminfo entry for it, but the following .termcap - entry provides adequate emulation in most cases: - - -interix:kP=\E[S:kN=\E[T:kH=\E[U:dc@:DC@:tc=pcansi: - - - - - Limitations of the Interix platform - - Though Interix suffices as a familiar and flexible substitute - for a full Unix-like platform, it has some drawbacks that should - be noted for those desiring to make the most of Interix. - - - - X11: - Interix comes with the standard set of X11R6 client libraries, - and can run X11 based applications, but it does - not come with an X server. Some options are - StarNet X-Win32, - Hummingbird Exceed - (available in a trimmed version for Interix from Interop Systems as the - Interop X Server), - and the free X11 server included with - Cygwin. - - - X11 acceleration: - Because Interix runs in a completely different NT subsystem from - Win32 applications, it does not currently support various X11 - protocol extensions for acceleration (such as MIT-SHM or DGA). - Most interactive applications to a local X server will run - reasonably fast, but full motion video and other graphics - intensive applications may require a faster-than-expected CPU. - - Audio: - Interix has no native support for audio output. For audio - support, pkgsrc uses the esound client/server - audio system on Interix. Unlike on most platforms, the - audio/esound package does - not contain the esd - server component. To output audio via an Interix host, the - emulators/cygwin_esound package - must also be installed. - - CD/DVDs, USB, and SCSI: - Direct device access is not currently supported in Interix, so it - is not currently possible to access CD/DVD drives, USB devices, - or SCSI devices through non-filesystem means. Among other things, - this makes it impossible to use Interix directly for CD/DVD - burning. - - Tape drives: - Due to the same limitations as for CD-ROMs and SCSI devices, tape - drives are also not directly accessible in Interix. However, - support is in work to make tape drive access possible by using - Cygwin as a bridge (similarly to audio bridged via Cygwin's - esound server). - - - - - Known issues for pkgsrc on Interix - - It is not necessary, in general, to have a "root" user on the - Windows system; any member of the local Administrators group will - suffice. However, some packages currently assume that the user - named "root" is the privileged user. To accommodate these, you - may create such a user; make sure it is in the local group - Administrators (or your language equivalent). - - pkg_add creates directories of mode - 0755, not 0775, in $PKG_DBDIR. For the - time being, install packages as the local Administrator (or - your language equivalent), or run the following command after - installing a package to work around the issue: - - -&rprompt; chmod -R g+w $PKG_DBDIR - - - - --_----------=_146811436462320--