diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-19 07:40:01 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-12-19 07:40:01 +0000 |
commit | de21ac3d42029a595f8fa3d809c930e9a8a09ca0 (patch) | |
tree | 67ee83671be82274f920b043187c0eb1edbf33ee /main/augeas | |
parent | a3bc6bac46069e6e03f9309e05a10e8062e05c64 (diff) | |
download | aports-de21ac3d42029a595f8fa3d809c930e9a8a09ca0.tar.bz2 aports-de21ac3d42029a595f8fa3d809c930e9a8a09ca0.tar.xz |
main/augeas: upgrade to 0.10.0
Diffstat (limited to 'main/augeas')
-rw-r--r-- | main/augeas/APKBUILD | 16 | ||||
-rw-r--r-- | main/augeas/regexp.c.patch | 15 |
2 files changed, 26 insertions, 5 deletions
diff --git a/main/augeas/APKBUILD b/main/augeas/APKBUILD index de3cceda18..39b481211d 100644 --- a/main/augeas/APKBUILD +++ b/main/augeas/APKBUILD @@ -1,21 +1,26 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=augeas -pkgver=0.9.0 +pkgver=0.10.0 pkgrel=0 pkgdesc="a configuration editing tool" url="http://augeas.net" arch="all" license="LGPL" depends= -makedepends="readline-dev" +makedepends="readline-dev libxml2-dev" install= subpackages="$pkgname-dev $pkgname-doc $pkgname-tests" -source="http://augeas.net/download/augeas-$pkgver.tar.gz" +source="http://augeas.net/download/augeas-$pkgver.tar.gz + regexp.c.patch" _builddir="$srcdir"/$pkgname-$pkgver prepare() { cd "$_builddir" - # apply patches here + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done } build() { @@ -39,4 +44,5 @@ tests() { mv "$pkgdir"/usr/share/augeas/lenses/dist/tests \ "$subpkgdir"/usr/share/augeas/lenses/dist/ } -md5sums="5ef0ce53ce4c75f59ab2523506731084 augeas-0.9.0.tar.gz" +md5sums="fe1834e90a066c3208ac0214622c7352 augeas-0.10.0.tar.gz +a9f0fe2cd7e6aebf916747207cc2b537 regexp.c.patch" diff --git a/main/augeas/regexp.c.patch b/main/augeas/regexp.c.patch new file mode 100644 index 0000000000..87ba795ba6 --- /dev/null +++ b/main/augeas/regexp.c.patch @@ -0,0 +1,15 @@ +X-Git-Url: http://git.fedorahosted.org/git?p=augeas.git;a=blobdiff_plain;f=src%2Fregexp.c;h=811087d8f2de1d7adc80b4d9308dc7c9f3827c99;hp=cf0ea5d37e21bed27295bd788fc474ba900a910d;hb=021ea39f8e400225e2d01b4c62eb9d56404f2ecd;hpb=1d5b19760d4d92153a8eb9279bf9709b7ead20c7 + +diff --git a/src/regexp.c b/src/regexp.c +index cf0ea5d..811087d 100644 +--- a/src/regexp.c ++++ b/src/regexp.c +@@ -50,7 +50,7 @@ char *regexp_escape(const struct regexp *r) { + ret = fa_restrict_alphabet(r->pattern->str, strlen(r->pattern->str), + &nre, &nre_len, 2, 1); + if (ret == 0) { +- pat = escape(nre, nre_len); ++ pat = escape(nre, nre_len, RX_ESCAPES); + free(nre); + } + #endif |