diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-22 07:11:37 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-03-22 07:11:37 +0000 |
commit | 2d6a88aee9d3341086fdafeb51c94386c8b3c418 (patch) | |
tree | 0deb1fabd98467b7bec3957d33249458ea79cc5b | |
parent | 8a4121f5c0be6861060ca097914024d688b7ab6a (diff) | |
parent | 77fc2b5be0bbc51e4b6534b9dba37d1be41aa0bd (diff) | |
download | alpine_aports-2d6a88aee9d3341086fdafeb51c94386c8b3c418.tar.bz2 alpine_aports-2d6a88aee9d3341086fdafeb51c94386c8b3c418.tar.xz alpine_aports-2d6a88aee9d3341086fdafeb51c94386c8b3c418.zip |
Merge remote branch 'tdtrask/1.10-stable' into 1.10-stable
-rw-r--r-- | main/acf-tinydns/APKBUILD | 4 | ||||
-rw-r--r-- | main/acf-weblog/APKBUILD | 4 | ||||
-rw-r--r-- | main/acf-weblog/acf-weblog.post-upgrade | 14 |
3 files changed, 18 insertions, 4 deletions
diff --git a/main/acf-tinydns/APKBUILD b/main/acf-tinydns/APKBUILD index 7b256601e6..82b9ceb243 100644 --- a/main/acf-tinydns/APKBUILD +++ b/main/acf-tinydns/APKBUILD | |||
@@ -1,6 +1,6 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
2 | pkgname=acf-tinydns | 2 | pkgname=acf-tinydns |
3 | pkgver=0.5.2 | 3 | pkgver=0.5.3 |
4 | pkgrel=0 | 4 | pkgrel=0 |
5 | pkgdesc="A web-based system administration interface for tinydns" | 5 | pkgdesc="A web-based system administration interface for tinydns" |
6 | url="http://git.alpinelinux.org/cgit/acf-tinydns" | 6 | url="http://git.alpinelinux.org/cgit/acf-tinydns" |
@@ -12,4 +12,4 @@ build() { | |||
12 | cd "$srcdir/$pkgname-$pkgver" | 12 | cd "$srcdir/$pkgname-$pkgver" |
13 | make DESTDIR="$pkgdir" install | 13 | make DESTDIR="$pkgdir" install |
14 | } | 14 | } |
15 | md5sums="906c2d284f4aa5a9059ae3c1c980a309 acf-tinydns-0.5.2.tar.bz2" | 15 | md5sums="0fec252d8cef53ffe226b3adf2acb9c3 acf-tinydns-0.5.3.tar.bz2" |
diff --git a/main/acf-weblog/APKBUILD b/main/acf-weblog/APKBUILD index 6600623f8b..ec2f111cad 100644 --- a/main/acf-weblog/APKBUILD +++ b/main/acf-weblog/APKBUILD | |||
@@ -1,7 +1,7 @@ | |||
1 | # Contributor: Ted Trask <ttrask01@yahoo.com> | 1 | # Contributor: Ted Trask <ttrask01@yahoo.com> |
2 | # Maintainer: Ted Trask <ttrask01@yahoo.com> | 2 | # Maintainer: Ted Trask <ttrask01@yahoo.com> |
3 | pkgname=acf-weblog | 3 | pkgname=acf-weblog |
4 | pkgver=0.5.3 | 4 | pkgver=0.5.4 |
5 | pkgrel=0 | 5 | pkgrel=0 |
6 | pkgdesc="ACF for web proxy (squid and dansguardian) logfiles" | 6 | pkgdesc="ACF for web proxy (squid and dansguardian) logfiles" |
7 | url="http://git.alpinelinux.org/cgit/acf-weblog" | 7 | url="http://git.alpinelinux.org/cgit/acf-weblog" |
@@ -17,4 +17,4 @@ build() { | |||
17 | make DESTDIR="$pkgdir" install | 17 | make DESTDIR="$pkgdir" install |
18 | } | 18 | } |
19 | 19 | ||
20 | md5sums="ec29bf0cf9ab0a3deb892ff28d8c98bc acf-weblog-0.5.3.tar.bz2" | 20 | md5sums="8926a8178bf646363678bc9feacbc310 acf-weblog-0.5.4.tar.bz2" |
diff --git a/main/acf-weblog/acf-weblog.post-upgrade b/main/acf-weblog/acf-weblog.post-upgrade index aec1e22c4d..a15590cc73 100644 --- a/main/acf-weblog/acf-weblog.post-upgrade +++ b/main/acf-weblog/acf-weblog.post-upgrade | |||
@@ -3,6 +3,20 @@ | |||
3 | new=$1 | 3 | new=$1 |
4 | old=$2 | 4 | old=$2 |
5 | 5 | ||
6 | # if current is not older than 0.5.4 we exit. | ||
7 | if ! [ "$(apk version -t $old 0.5.4)" = "<" ]; then | ||
8 | exit 0 | ||
9 | fi | ||
10 | |||
11 | psql -U postgres -c "ALTER TABLE weblog ALTER bytes TYPE bigint"\ | ||
12 | webproxylog | ||
13 | psql -U postgres -c "ALTER TABLE pubweblog ALTER bytes TYPE bigint"\ | ||
14 | webproxylog | ||
15 | psql -U postgres -c "ALTER TABLE blocklog ALTER bytes TYPE bigint"\ | ||
16 | webproxylog | ||
17 | psql -U postgres -c "ALTER TABLE pubblocklog ALTER bytes TYPE bigint"\ | ||
18 | webproxylog | ||
19 | |||
6 | # if current is not older than 0.4.5 we exit. | 20 | # if current is not older than 0.4.5 we exit. |
7 | if ! [ "$(apk version -t $old 0.4.5)" = "<" ]; then | 21 | if ! [ "$(apk version -t $old 0.4.5)" = "<" ]; then |
8 | exit 0 | 22 | exit 0 |