]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blobdiff - bash/bash.nm
multipath-tools: Update to latest development snapshot (120613).
[people/ms/ipfire-3.x.git] / bash / bash.nm
index f2a57a2da8059b8ae144c97e4987dda682adf901..d78fb71c62bd6a6ceaf2d48fbd3e68c689269428 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = bash
 version    = 4.2
-release    = 6
+release    = 10
 
 groups     = System/Tools
 url        = http://www.gnu.org/software/bash/
@@ -26,8 +26,10 @@ build
                autoconf
                automake
                bison
+               filesystem >= 002
                ncurses-devel
                readline-devel
+               texinfo
        end
 
        prepare_cmds
@@ -41,7 +43,6 @@ build
        end
 
        configure_options += \
-               --bindir=/bin \
                --without-bash-malloc \
                --with-installed-readline
 
@@ -51,7 +52,7 @@ build
        #end
 
        install_cmds
-               mkdir -pv %{BUILDROOT}/{bin,etc/profile.d,root}
+               mkdir -pv %{BUILDROOT}/{etc/profile.d,root}
 
                # Bash startup files
                cp -vf %{DIR_SOURCE}/dot_bash_logout %{BUILDROOT}/root/.bash_logout
@@ -61,7 +62,7 @@ build
                # /etc/profile.d
                cp -vf %{DIR_SOURCE}/profile.d/* %{BUILDROOT}/etc/profile.d
 
-               ln -svf bash %{BUILDROOT}/bin/sh
+               ln -svf bash %{BUILDROOT}%{bindir}/sh
        end
 end
 
@@ -69,12 +70,21 @@ packages
        package %{name}
                groups += Base Build
 
-               prerequires = coreutils
                requires
+                       coreutils
                        /etc/bashrc
                        /etc/profile
                end
 
+               provides
+                       /bin/bash
+                       /bin/sh
+               end
+
+               conflicts
+                       filesystem < 002
+               end
+
                script posttransin
                        # Create /etc/shells, if it does not exist.
                        [ -f "/etc/shells" ] || touch /etc/shells