aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-07-17 12:38:26 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-07-17 12:38:26 +0000
commitc134007ab991a1c63dcab93e679c68929b0bb8ce (patch)
tree5ec2e1259864fcca78e91a5990ba8535fd00593e
parente6133eaa2e9b2589040a4130c5094fee9d2d180b (diff)
downloadalpine_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.patch22
-rw-r--r--core/alpine-baselayout/APKBUILD10
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 @@
1From 963370a09dba86b661d4fec6f9152c219419f861 Mon Sep 17 00:00:00 2001
2From: Natanael Copa <ncopa@alpinelinux.org>
3Date: Fri, 17 Jul 2009 12:35:21 +0000
4Subject: [PATCH] profile: change default path
5
6---
7 profile | 2 +-
8 1 files changed, 1 insertions(+), 1 deletions(-)
9
10diff --git a/profile b/profile
11index 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--
211.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>
2pkgname=alpine-baselayout 2pkgname=alpine-baselayout
3pkgver=2.0_beta1 3pkgver=2.0_beta1
4pkgrel=0 4pkgrel=1
5pkgdesc="Alpine base dir structure and init scripts" 5pkgdesc="Alpine base dir structure and init scripts"
6url=http://git.alpinelinux.org/cgit/alpine-baselayout 6url=http://git.alpinelinux.org/cgit/alpine-baselayout
7depends= 7depends=
8source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2" 8source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
9 0001-profile-change-default-path.patch
10 "
9license=GPL-2 11license=GPL-2
10 12
11build() { 13build() {
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}
16md5sums="6b25fc0c261e9182a68582c38249a3e8 alpine-baselayout-2.0_beta1.tar.bz2" 19md5sums="6b25fc0c261e9182a68582c38249a3e8 alpine-baselayout-2.0_beta1.tar.bz2
20085c7e50bb57307fd9a24ee8c14e4749 0001-profile-change-default-path.patch"