aboutsummaryrefslogtreecommitdiffstats
path: root/main/dircproxy/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-08-14 14:47:28 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-08-14 14:47:51 +0000
commit5b217ffc21a3a78f24a6b491717ac95b0a1929ab (patch)
tree5ea53a2562c6547770cf502b7d4b585599df441a /main/dircproxy/APKBUILD
parent358c1f6ef7d9d2bd879594e9bef73ca3f69bf05c (diff)
downloadaports-5b217ffc21a3a78f24a6b491717ac95b0a1929ab.tar.bz2
aports-5b217ffc21a3a78f24a6b491717ac95b0a1929ab.tar.xz
main/dircproxy: upgrade to 1.2.0_rc1
Diffstat (limited to 'main/dircproxy/APKBUILD')
-rw-r--r--main/dircproxy/APKBUILD39
1 files changed, 21 insertions, 18 deletions
diff --git a/main/dircproxy/APKBUILD b/main/dircproxy/APKBUILD
index f308892ea4..45e87b5744 100644
--- a/main/dircproxy/APKBUILD
+++ b/main/dircproxy/APKBUILD
@@ -1,8 +1,9 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dircproxy
-pkgver=1.1.0
-pkgrel=2
+pkgver=1.2.0_rc1
+_ver=${pkgver/_rc/-RC}
+pkgrel=0
pkgdesc="IRC proxy server designed for people who use IRC from lots of different workstations or clients"
url="http://code.google.com/p/dircproxy/"
arch="all"
@@ -11,19 +12,21 @@ depends=""
makedepends=""
install=
subpackages="$pkgname-doc"
-source="http://dircproxy.googlecode.com/files/$pkgname-$pkgver.tar.gz
- 1.0.5-CVE-2007-5226.patch
- 1.1.0-less-lag-on-attach.patch
- dircproxy-gcc4.patch
+source="http://dircproxy.googlecode.com/files/$pkgname-$_ver.tar.gz
"
-build() {
- cd "$srcdir/$pkgname-$pkgver"
- for i in ../*.patch; do
- msg "Applying $i..."
- patch -p1 -i $i || return 1
+_builddir="$srcdir/$pkgname-$_ver"
+prepare() {
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
done
+}
+build() {
+ cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -33,13 +36,13 @@ build() {
--infodir=/usr/share/info \
|| return 1
make || return 1
- make DESTDIR="$pkgdir" install
+}
- # install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
- # install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="066bd39d80f286ae5ce69a2adbbd01e4 dircproxy-1.1.0.tar.gz
-fdd98d0bad6ef36afba7fa2604c43520 1.0.5-CVE-2007-5226.patch
-a83ab2a3bce526ba0d8f8a05c88f9a47 1.1.0-less-lag-on-attach.patch
-3b70d62b2eb88013548871e634e33c43 dircproxy-gcc4.patch"
+md5sums="4fe2e82619c7b575599bfb236adbd872 dircproxy-1.2.0-RC1.tar.gz"
+sha256sums="40ad50ffd13681114f995519dc3f65f48cb5eac41e780ad14ce8ffd49463757f dircproxy-1.2.0-RC1.tar.gz"
+sha512sums="edc4234a5249d06e7342250401c79f3f2190b38ca54f9e7fb4b93a093a7e383057043dc42039fb90f9a012f8cb4fe7a6587d35c045bb58d500ecdbcd16354c17 dircproxy-1.2.0-RC1.tar.gz"