]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/commitdiff
bash: Move to /usr.
authorMichael Tremer <michael.tremer@ipfire.org>
Sat, 14 Apr 2012 20:41:34 +0000 (22:41 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sat, 14 Apr 2012 20:41:34 +0000 (22:41 +0200)
bash/bash.nm

index 4ea4fb9db6d564503ca673d34bc4d8c94814ff3b..c71e528774d7daf325c3fe1b2e990266d50a4b6f 100644 (file)
@@ -5,7 +5,7 @@
 
 name       = bash
 version    = 4.2
-release    = 8
+release    = 9
 
 groups     = System/Tools
 url        = http://www.gnu.org/software/bash/
@@ -26,6 +26,7 @@ build
                autoconf
                automake
                bison
+               filesystem >= 002
                ncurses-devel
                readline-devel
        end
@@ -41,7 +42,6 @@ build
        end
 
        configure_options += \
-               --bindir=/bin \
                --without-bash-malloc \
                --with-installed-readline
 
@@ -51,7 +51,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 +61,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
 
@@ -75,6 +75,15 @@ packages
                        /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