<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://cblfs.nicewhileitlasted.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=71.172.53.135</id>
	<title>CBLFS - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://cblfs.nicewhileitlasted.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=71.172.53.135"/>
	<link rel="alternate" type="text/html" href="https://cblfs.nicewhileitlasted.com/Special:Contributions/71.172.53.135"/>
	<updated>2026-05-21T05:02:31Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>?title=Bash_Startup_Files&amp;diff=7895</id>
		<title>Bash Startup Files</title>
		<link rel="alternate" type="text/html" href="?title=Bash_Startup_Files&amp;diff=7895"/>
		<updated>2007-02-21T23:52:16Z</updated>

		<summary type="html">&lt;p&gt;71.172.53.135: /* 50-multilib.sh (For Multilib Only) */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== /etc/bashrc ==&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/bashrc &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 # Begin /etc/bashrc&lt;br /&gt;
 &lt;br /&gt;
 source /etc/profile&lt;br /&gt;
 &lt;br /&gt;
 # End /etc/bashrc&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
== /etc/profile ==&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/profile &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 # Begin /etc/profile&lt;br /&gt;
 # Based on the profile scripts in BLFS http://www.linuxfromscratch.org/blfs/view/svn/postlfs/profile.html&lt;br /&gt;
 &lt;br /&gt;
 for script in /etc/profile.d/*.sh&lt;br /&gt;
 do&lt;br /&gt;
   source $script&lt;br /&gt;
 done&lt;br /&gt;
 unset script&lt;br /&gt;
 &lt;br /&gt;
 # End /etc/profile.d&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
 install -d -m755 /etc/profile.d&lt;br /&gt;
&lt;br /&gt;
=== 05-i18n.sh ===&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/profile.d/05-i18n.sh &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 # Begin /etc/profile.d/05-i18n.sh&lt;br /&gt;
 &lt;br /&gt;
 export LANG=[ll]_[CC].[charset]&lt;br /&gt;
 export G_FILENAME_ENCODING=@locale&lt;br /&gt;
  &lt;br /&gt;
 # End /etc/profile.d/05-i18n.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
=== 10-path.sh ===&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/profile.d/10-path.sh &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 # Begin /etc/profile.d/10-path.sh&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;$EUID&amp;quot; -eq 0 ]; then&lt;br /&gt;
   export PATH=&amp;quot;/sbin:/bin:/usr/sbin:/usr/bin&amp;quot;&lt;br /&gt;
   if [ -d &amp;quot;/usr/local/sbin&amp;quot; ]; then&lt;br /&gt;
     export PATH=&amp;quot;$PATH:/usr/local/sbin&amp;quot;&lt;br /&gt;
   fi&lt;br /&gt;
 else&lt;br /&gt;
   export PATH=&amp;quot;/bin:/usr/bin&amp;quot;&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 if [ -d &amp;quot;/usr/local/bin&amp;quot; ]; then&lt;br /&gt;
   export PATH=&amp;quot;$PATH:/usr/local/bin&amp;quot;&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 if [ -d &amp;quot;$HOME/bin&amp;quot; ]; then&lt;br /&gt;
   export PATH=&amp;quot;$HOME/bin:$PATH&amp;quot;&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 # End /etc/profile.d/10-path.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
=== 10-pkg_config_path.sh (Multilib Only) ===&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/profile.d/10-pkg_config_path.sh &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 # Begin /etc/profile.d/10-pkg_config_path.sh&lt;br /&gt;
 &lt;br /&gt;
 export PKG_CONFIG_PATH32=&amp;quot;/usr/lib/pkgconfig&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATHN32=&amp;quot;/usr/lib32/pkgconfig&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATH64=&amp;quot;/usr/lib64/pkgconfig&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # End /etc/profile.d/10-pkg_config_path.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
=== 10-xdg.sh ===&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/profile.d/10-xdg.sh &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 # Begin /etc/profild.d/10-xdg.sh&lt;br /&gt;
 &lt;br /&gt;
 export XDG_DATA_DIRS=&amp;quot;/usr/share&amp;quot;&lt;br /&gt;
 export XDG_CONFIG_DIRS=&amp;quot;/usr/share&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # End /etc/profild.d/10-xdg.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
=== 15-xorg.sh ===&lt;br /&gt;
&lt;br /&gt;
Change &#039;&#039;XORG_PREFIX&#039;&#039; to wherever you are going to install Xorg to. Even if you are going to install [[Xorg6]] make sure that &#039;&#039;XORG_PREFIX&#039;&#039; is still set to the appropriate value.&lt;br /&gt;
&lt;br /&gt;
==== Non-Multilib 15-xorg.sh ====&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/profile.d/15-xorg.sh &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 # Begin /etc/profile.d/15-xorg.sh&lt;br /&gt;
 &lt;br /&gt;
 export XORG_PREFIX=/usr/X11R7&lt;br /&gt;
 &lt;br /&gt;
 export PATH=&amp;quot;${PATH}:${XORG_PREFIX}/bin&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATH=&amp;quot;${PKG_CONFIG_PATH}${PKG_CONFIG_PATH+:}${XORG_PREFIX}/lib/pkgconfig&amp;quot;&lt;br /&gt;
 export ACLOCAL=&amp;quot;aclocal -I $XORG_PREFIX/share/aclocal&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # End /etc/profile.d/15-xorg.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
==== Multilib 15-xorg.sh ====&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/profile.d/15-xorg.sh &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 # Begin /etc/profile.d/15-xorg.sh&lt;br /&gt;
 &lt;br /&gt;
 export XORG_PREFIX=/usr/X11R7&lt;br /&gt;
 &lt;br /&gt;
 export PATH=&amp;quot;${PATH}:${XORG_PREFIX}/bin&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATH32=&amp;quot;${PKG_CONFIG_PATH32}${PKG_CONFIG_PATH32+:}${XORG_PREFIX}/lib/pkgconfig&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATHN32=&amp;quot;${PKG_CONFIG_PATHN32}${PKG_CONFIG_PATHN32+:}${XORG_PREFIX}/lib32/pkgconfig&amp;quot;&lt;br /&gt;
 export PKG_CONFIG_PATH64=&amp;quot;${PKG_CONFIG_PATH64}${PKG_CONFIG_PATH64+:}${XORG_PREFIX}/lib64/pkgconfig&amp;quot;&lt;br /&gt;
 export ACLOCAL=&amp;quot;aclocal -I $XORG_PREFIX/share/aclocal&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # End /etc/profile.d/15-xorg.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
=== 50-dircolors.sh ===&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/profile.d/50-dircolors.sh &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 # Begin /etc/profile.d/50-dircolors.sh&lt;br /&gt;
 &lt;br /&gt;
 alias ls=&#039;ls --color=auto&#039;&lt;br /&gt;
 if [ -f &amp;quot;$HOME/.dircolors&amp;quot; ]; then&lt;br /&gt;
   eval `dircolors -b &amp;quot;$HOME/.dircolors&amp;quot;`&lt;br /&gt;
 else&lt;br /&gt;
   if [ -f &amp;quot;/etc/dircolors&amp;quot; ]; then&lt;br /&gt;
     eval `dircolors -b &amp;quot;/etc/dircolors&amp;quot;`&lt;br /&gt;
   fi&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 # End /etc/profile.d/50-dircolors.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
To create /etc/dircolors run the following command:&lt;br /&gt;
&lt;br /&gt;
 dircolors -p &amp;gt; /etc/dircolors&lt;br /&gt;
&lt;br /&gt;
=== 50-history.sh ===&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/profile.d/50-history.sh &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 # Begin /etc/profile.d/50-history.sh&lt;br /&gt;
 &lt;br /&gt;
 export HISTSIZE=1000&lt;br /&gt;
 export HISTIGNORE=&amp;quot;&amp;amp;:[bf]g:exit&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # End /etc/profile.d/50-history.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
=== 50-prompt.sh ===&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/profile.d/50-prompt.sh &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 # Begin /etc/profile.d/50-prompt.sh&lt;br /&gt;
 &lt;br /&gt;
 export PS1=&amp;quot;\u:\w\$ &amp;quot;&lt;br /&gt;
 if [ &amp;quot;${TERM:0:5}&amp;quot; = &amp;quot;xterm&amp;quot; ]; then&lt;br /&gt;
   export PS1=&amp;quot;\[\e]2;\u@\H :: \w\a\]$PS1&amp;quot;&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 shopt -s checkwinsize&lt;br /&gt;
 &lt;br /&gt;
 # End /etc/profile.d/50-prompt.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
If you&#039;re after a colorful PS1 try using &#039;&#039;&#039;&amp;lt;nowiki&amp;gt;\[\e[1;32m\]\u\[\e[1;33m\]@\[\e[1;31m\]\H \[\e[1;34m\]\w \[\e[1;32m\]\$ \[\e[0;0m\]&amp;lt;/nowiki&amp;gt;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;checkwinsize&#039;&#039;&#039; forces bash to check the size of the window at the end of each command. This is useful if you resized your terminal while a command was running.&lt;br /&gt;
&lt;br /&gt;
=== 50-readline.sh ===&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/profile.d/50-readline.sh &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 # Begin /etc/profile.d/50-readline.sh&lt;br /&gt;
 &lt;br /&gt;
 if [ -z &amp;quot;$INPUTRC&amp;quot; ]; then&lt;br /&gt;
   if [ -f &amp;quot;$HOME/.inputrc&amp;quot; ]; then&lt;br /&gt;
     export INPUTRC=&amp;quot;$HOME/.inputrc&amp;quot;&lt;br /&gt;
   else&lt;br /&gt;
     if [ -f &amp;quot;/etc/inputrc&amp;quot; ]; then&lt;br /&gt;
       export INPUTRC=&amp;quot;/etc/inputrc&amp;quot;&lt;br /&gt;
     fi&lt;br /&gt;
   fi&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 # End /etc/profile.d/50-readline.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
=== 50-umask.sh ===&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/profile.d/50-umask.sh &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 # Begin /etc/profile.d/50-umask.sh&lt;br /&gt;
 &lt;br /&gt;
 if [ &amp;quot;`id -un`&amp;quot; = &amp;quot;`id -gn`&amp;quot; -a $EUID -gt 99 ]; then&lt;br /&gt;
   umask 002&lt;br /&gt;
 else&lt;br /&gt;
   umask 022&lt;br /&gt;
 fi&lt;br /&gt;
 &lt;br /&gt;
 # End /etc/profile.d/50-umask.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
=== 50-multilib.sh (For Multilib Only) ===&lt;br /&gt;
&lt;br /&gt;
==== Non-Mips ====&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/profile.d/50-multilib.sh &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 # Begin /etc/profile.d/50-multilib.sh&lt;br /&gt;
 &lt;br /&gt;
 export BUILD32=&amp;quot;-m32&amp;quot;&lt;br /&gt;
 export BUILD64=&amp;quot;-m64&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 export CLFS_TARGET32=&amp;quot;i686-pc-linux-gnu&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 export LD_BUILD32=&amp;quot;-m elf_i386&amp;quot;&lt;br /&gt;
 export LD_BUILD64=&amp;quot;-m elf_x86_64&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # End /etc/profile.d/50-multilib.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Adjust CLFS_TARGET32 to be the same as what was placed in ~clfs/.bashrc while building CLFS.&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Adjust elf_i386 and elf_x86_64 accordingly for your architecture. If you&#039;re unsure what to set the value to see the output of:&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
 ld --help | grep emulations&lt;br /&gt;
&lt;br /&gt;
==== Mips ====&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/profile.d/50-multilib.sh &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 # Begin /etc/profile.d/50-multilib.sh&lt;br /&gt;
 &lt;br /&gt;
 export BUILD32=&amp;quot;-mabi=32&amp;quot;&lt;br /&gt;
 export BUILDN32=&amp;quot;-mabi=n32&amp;quot;&lt;br /&gt;
 export BUILD64=&amp;quot;-mabi=64&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 export LD_BUILD32=&amp;quot;&amp;quot;&lt;br /&gt;
 export LD_BUILDN32=&amp;quot;&amp;quot;&lt;br /&gt;
 export LD_BUILD64=&amp;quot;&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # End /etc/profile.d/50-multilib.sh&lt;br /&gt;
 EOF&lt;/div&gt;</summary>
		<author><name>71.172.53.135</name></author>
	</entry>
	<entry>
		<id>?title=Wine&amp;diff=7592</id>
		<title>Wine</title>
		<link rel="alternate" type="text/html" href="?title=Wine&amp;diff=7592"/>
		<updated>2007-02-04T19:56:04Z</updated>

		<summary type="html">&lt;p&gt;71.172.53.135: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{| style=&amp;quot;text-align: left; background-color: AliceBlue;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
!Download Source:&lt;br /&gt;
| http://downloads.sourceforge.net/wine/wine-{{Wine-Version}}.tar.bz2&lt;br /&gt;
|-&lt;br /&gt;
!Alternative Source:&lt;br /&gt;
| http://ibiblio.org/pub/linux/system/emulators/wine/wine-{{Wine-Version}}.tar.bz2&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;&#039;&#039;Remember that Wine is not an emulator therefore it will only work on x86 or x86_64 Multilib systems.&#039;&#039;&#039;&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
== Dependencies ==&lt;br /&gt;
&lt;br /&gt;
=== Required ===&lt;br /&gt;
&lt;br /&gt;
=== Recomended ===&lt;br /&gt;
* [[X Window System]]&lt;br /&gt;
* [[FreeType]]&lt;br /&gt;
* [[FontForge]]&lt;br /&gt;
=== Optional ===&lt;br /&gt;
* [[Pkg-config]]&lt;br /&gt;
* [[LibXML2]]&lt;br /&gt;
* [[HAL]]&lt;br /&gt;
* [[SANE]]&lt;br /&gt;
* [[libgphoto2]]&lt;br /&gt;
* [[CUPS]]&lt;br /&gt;
* [[libicu]]&lt;br /&gt;
* [[little cms]]&lt;br /&gt;
* [[OpenLDAP]]&lt;br /&gt;
* [[NAS]]&lt;br /&gt;
* [[aRts]]&lt;br /&gt;
* [[EsounD]]&lt;br /&gt;
* [[AudioIO]]&lt;br /&gt;
&lt;br /&gt;
== Non-Multilib x86 ==&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 ./configure --prefix=/opt/wine-{{Wine-Version}} --disable-debug &amp;amp;&amp;amp;&lt;br /&gt;
 make depend &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package&lt;br /&gt;
&lt;br /&gt;
 make install &amp;amp;&amp;amp;&lt;br /&gt;
 ln -sfvn wine-{{Wine-Version}} /opt/wine&lt;br /&gt;
&lt;br /&gt;
== Multilib x86_64 ==&lt;br /&gt;
&lt;br /&gt;
=== For running 32bit apps ===&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 PKG_CONFIG_PATH=&amp;quot;${PKG_CONFIG_PATH32}&amp;quot; USE_ARCH=32 \&lt;br /&gt;
 ./configure --prefix=/opt/wine-{{Wine-Version}} --disable-debug &amp;amp;&amp;amp;&lt;br /&gt;
 make depend &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package&lt;br /&gt;
&lt;br /&gt;
 make install &amp;amp;&amp;amp;&lt;br /&gt;
 ln -sfvn wine-{{Wine-Version}} /opt/wine&lt;br /&gt;
&lt;br /&gt;
=== For running 64bit apps (Not Worth It) ===&lt;br /&gt;
See http://www.winehq.com/pipermail/wine-devel/2006-June/048758.html for more information. If you would like to build it anyway don&#039;t let this warning stop you.&lt;br /&gt;
&lt;br /&gt;
Compile the package:&lt;br /&gt;
&lt;br /&gt;
 PKG_CONFIG_PATH=&amp;quot;${PKG_CONFIG_PATH64}&amp;quot; USE_ARCH=64 \&lt;br /&gt;
 ./configure --prefix=/opt/wine-{{Wine-Version}} --enable-win64 --disable-debug &amp;amp;&amp;amp;&lt;br /&gt;
 make depend &amp;amp;&amp;amp;&lt;br /&gt;
 make&lt;br /&gt;
&lt;br /&gt;
Install the package&lt;br /&gt;
&lt;br /&gt;
 make install &amp;amp;&amp;amp;&lt;br /&gt;
 ln -sfvn wine-{{Wine-Version}} /opt/wine&lt;br /&gt;
&lt;br /&gt;
== Configuration ==&lt;br /&gt;
&lt;br /&gt;
=== 50-wine.sh ===&lt;br /&gt;
&lt;br /&gt;
If you&#039;re using the [[Bash Startup Files]] create an addition for them with the following command:&lt;br /&gt;
&lt;br /&gt;
 cat &amp;gt; /etc/profile.d/50-wine.sh &amp;lt;&amp;lt; &amp;quot;EOF&amp;quot;&lt;br /&gt;
 # Begin /etc/profile.d/50-wine.sh&lt;br /&gt;
 &lt;br /&gt;
 export PATH=&amp;quot;${PATH}:/opt/wine/bin&amp;quot;&lt;br /&gt;
 export XDG_DATA_DIRS=&amp;quot;${XDG_DATA_DIRS}${XDG_DATA_DIRS+:}/opt/wine/share&amp;quot;&lt;br /&gt;
 &lt;br /&gt;
 # End /etc/profile.d/50-wine.sh&lt;br /&gt;
 EOF&lt;br /&gt;
&lt;br /&gt;
Simple config&lt;br /&gt;
 /opt/wine/bin/winecfg&lt;/div&gt;</summary>
		<author><name>71.172.53.135</name></author>
	</entry>
</feed>