diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-17 12:38:26 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-07-17 12:38:26 +0000 |
commit | c134007ab991a1c63dcab93e679c68929b0bb8ce (patch) | |
tree | 5ec2e1259864fcca78e91a5990ba8535fd00593e | |
parent | e6133eaa2e9b2589040a4130c5094fee9d2d180b (diff) | |
download | alpine_aports-c134007ab991a1c63dcab93e679c68929b0bb8ce.tar.bz2 alpine_aports-c134007ab991a1c63dcab93e679c68929b0bb8ce.tar.xz alpine_aports-c134007ab991a1c63dcab93e679c68929b0bb8ce.zip |
core/alpine-baselayout: default PATH fix
-rw-r--r-- | core/alpine-baselayout/0001-profile-change-default-path.patch | 22 | ||||
-rw-r--r-- | core/alpine-baselayout/APKBUILD | 10 |
2 files changed, 29 insertions, 3 deletions
diff --git a/core/alpine-baselayout/0001-profile-change-default-path.patch b/core/alpine-baselayout/0001-profile-change-default-path.patch new file mode 100644 index 0000000000..8f6945ce7b --- /dev/null +++ b/core/alpine-baselayout/0001-profile-change-default-path.patch | |||
@@ -0,0 +1,22 @@ | |||
1 | From 963370a09dba86b661d4fec6f9152c219419f861 Mon Sep 17 00:00:00 2001 | ||
2 | From: Natanael Copa <ncopa@alpinelinux.org> | ||
3 | Date: Fri, 17 Jul 2009 12:35:21 +0000 | ||
4 | Subject: [PATCH] profile: change default path | ||
5 | |||
6 | --- | ||
7 | profile | 2 +- | ||
8 | 1 files changed, 1 insertions(+), 1 deletions(-) | ||
9 | |||
10 | diff --git a/profile b/profile | ||
11 | index ef97cc8..a292008 100644 | ||
12 | --- a/profile | ||
13 | +++ b/profile | ||
14 | @@ -1,4 +1,4 @@ | ||
15 | -export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin | ||
16 | +export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin | ||
17 | export PAGER=less | ||
18 | export PS1='\h:\w\$ ' | ||
19 | umask 022 | ||
20 | -- | ||
21 | 1.6.3.3 | ||
22 | |||
diff --git a/core/alpine-baselayout/APKBUILD b/core/alpine-baselayout/APKBUILD index a993d6870c..ffa96bd446 100644 --- a/core/alpine-baselayout/APKBUILD +++ b/core/alpine-baselayout/APKBUILD | |||
@@ -1,16 +1,20 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
2 | pkgname=alpine-baselayout | 2 | pkgname=alpine-baselayout |
3 | pkgver=2.0_beta1 | 3 | pkgver=2.0_beta1 |
4 | pkgrel=0 | 4 | pkgrel=1 |
5 | pkgdesc="Alpine base dir structure and init scripts" | 5 | pkgdesc="Alpine base dir structure and init scripts" |
6 | url=http://git.alpinelinux.org/cgit/alpine-baselayout | 6 | url=http://git.alpinelinux.org/cgit/alpine-baselayout |
7 | depends= | 7 | depends= |
8 | source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2" | 8 | source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2 |
9 | 0001-profile-change-default-path.patch | ||
10 | " | ||
9 | license=GPL-2 | 11 | license=GPL-2 |
10 | 12 | ||
11 | build() { | 13 | build() { |
12 | cd "$srcdir"/$pkgname-$pkgver | 14 | cd "$srcdir"/$pkgname-$pkgver |
15 | patch -p1 < ../0001-profile-change-default-path.patch || return 1 | ||
13 | make | 16 | make |
14 | make install PREFIX= DESTDIR="$pkgdir" || return 1 | 17 | make install PREFIX= DESTDIR="$pkgdir" || return 1 |
15 | } | 18 | } |
16 | md5sums="6b25fc0c261e9182a68582c38249a3e8 alpine-baselayout-2.0_beta1.tar.bz2" | 19 | md5sums="6b25fc0c261e9182a68582c38249a3e8 alpine-baselayout-2.0_beta1.tar.bz2 |
20 | 085c7e50bb57307fd9a24ee8c14e4749 0001-profile-change-default-path.patch" | ||