diff options
author | Andrew Manison <amanison@anselsystems.com> | 2010-06-11 13:17:35 +0000 |
---|---|---|
committer | Andrew Manison <amanison@anselsystems.com> | 2010-06-11 13:17:35 +0000 |
commit | 8fdcdf953f865c691b01d546a0baea1a1143deeb (patch) | |
tree | a4dd7a1e0507814b7a42a0ce784921eb9752ac0a | |
parent | 8e157a2055bf4e5f3ec2113b32080f3fcf2f7f34 (diff) | |
download | alpine_aports-8fdcdf953f865c691b01d546a0baea1a1143deeb.tar.bz2 alpine_aports-8fdcdf953f865c691b01d546a0baea1a1143deeb.tar.xz alpine_aports-8fdcdf953f865c691b01d546a0baea1a1143deeb.zip |
Fixes for total repository build.
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | main/openssl/APKBUILD | 2 | ||||
-rwxr-xr-x | rebuild-alpine.sh | 13 |
3 files changed, 15 insertions, 4 deletions
diff --git a/.gitignore b/.gitignore index eae900da00..9d9743a234 100644 --- a/.gitignore +++ b/.gitignore | |||
@@ -7,3 +7,7 @@ | |||
7 | src | 7 | src |
8 | pkg | 8 | pkg |
9 | pkg-* | 9 | pkg-* |
10 | main/vim/7.2.* | ||
11 | main_*.txt | ||
12 | testing_*.txt | ||
13 | unstable_*.txt | ||
diff --git a/main/openssl/APKBUILD b/main/openssl/APKBUILD index 1bab1385ff..4a0f45f1a1 100644 --- a/main/openssl/APKBUILD +++ b/main/openssl/APKBUILD | |||
@@ -45,7 +45,7 @@ dev() { | |||
45 | replaces="libcrypto openssl" | 45 | replaces="libcrypto openssl" |
46 | default_dev | 46 | default_dev |
47 | # move symlinks | 47 | # move symlinks |
48 | mv "$pkgdir"/usr/lib/*.so "$subpkgdir"/usr/lib/ | 48 | #mv "$pkgdir"/usr/lib/*.so "$subpkgdir"/usr/lib/ |
49 | } | 49 | } |
50 | 50 | ||
51 | libcrypto() { | 51 | libcrypto() { |
diff --git a/rebuild-alpine.sh b/rebuild-alpine.sh index f613265ae4..a163e8a70b 100755 --- a/rebuild-alpine.sh +++ b/rebuild-alpine.sh | |||
@@ -14,9 +14,15 @@ distclean () { | |||
14 | build () { | 14 | build () { |
15 | local pkgs | 15 | local pkgs |
16 | local maintainer | 16 | local maintainer |
17 | local pkgno | ||
18 | local failed | ||
17 | pkgs=$(./aport.lua deplist $rootdir $1) | 19 | pkgs=$(./aport.lua deplist $rootdir $1) |
20 | pktcnt=$(echo $pkgs | wc -w) | ||
21 | pkgno=0 | ||
22 | failed=0 | ||
18 | for p in $pkgs ; do | 23 | for p in $pkgs ; do |
19 | echo "Building $p" | 24 | pkgno=$(expr "$pkgno" + 1) |
25 | echo "Building $p ($pkgno of $pktcnt in $1 - $failed failed)" | ||
20 | cd $rootdir/$1/$p | 26 | cd $rootdir/$1/$p |
21 | abuild -rm > $rootdir/$1_$p.txt 2>&1 | 27 | abuild -rm > $rootdir/$1_$p.txt 2>&1 |
22 | if [ "$?" = "0" ] ; then | 28 | if [ "$?" = "0" ] ; then |
@@ -27,7 +33,8 @@ build () { | |||
27 | maintainer="default maintainer" | 33 | maintainer="default maintainer" |
28 | fi | 34 | fi |
29 | echo "Package $1/$p failed to build (output in $rootdir/$1_$p.txt)" | 35 | echo "Package $1/$p failed to build (output in $rootdir/$1_$p.txt)" |
30 | echo "Package $1/$p failed to build. Notify $maintainer. Output is attached" | email -s "NOT SPAM $p build report" -a $rootdir/$1_$p.txt -n AlpineBuildBot -f build@alpinelinux.org amanison@anselsystems.com | 36 | # echo "Package $1/$p failed to build. Notify $maintainer. Output is attached" | email -s "NOT SPAM $p build report" -a $rootdir/$1_$p.txt -n AlpineBuildBot -f build@alpinelinux.org amanison@anselsystems.com |
37 | failed=$(expr "$failed" + 1) | ||
31 | fi | 38 | fi |
32 | done | 39 | done |
33 | cd $rootdir | 40 | cd $rootdir |
@@ -43,7 +50,7 @@ fi | |||
43 | echo "Refresh aports tree" | 50 | echo "Refresh aports tree" |
44 | git pull | 51 | git pull |
45 | 52 | ||
46 | for s in main testing nonfree unstable ; do | 53 | for s in main testing unstable ; do |
47 | echo "Building packages in $s" | 54 | echo "Building packages in $s" |
48 | build $s | 55 | build $s |
49 | done | 56 | done |