X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from correo.mendoza-conicet.gob.ar (mx1.mendoza-conicet.gob.ar [168.96.255.91]) by mail.alpinelinux.org (Postfix) with ESMTP id 38663DC016F for ; Wed, 12 Dec 2012 16:20:40 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by correo.mendoza-conicet.gob.ar (Postfix) with ESMTP id 463E3AC14088 for ; Wed, 12 Dec 2012 13:11:56 -0300 (ART) X-Virus-Scanned: amavisd-new at mendoza-conicet.gob.ar Received: from correo.mendoza-conicet.gob.ar ([127.0.0.1]) by localhost (correo.mendoza-conicet.gob.ar [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yX3VZybRJeJX; Wed, 12 Dec 2012 13:11:52 -0300 (ART) Received: from pcastorino-cct.admin.cricyt.edu.ar (unknown [172.16.18.34]) by correo.mendoza-conicet.gob.ar (Postfix) with ESMTPA id 53379AC14083; Wed, 12 Dec 2012 13:11:52 -0300 (ART) From: Pablo Castorino To: alpine-devel@lists.alpinelinux.org Cc: Pablo Castorino Subject: [alpine-devel] [PATCH] testing/csync2: upgrade to 2.0_rc1_git20121210 Date: Wed, 12 Dec 2012 13:20:23 -0300 Message-Id: <1355329223-20989-1-git-send-email-pcastorino@mendoza-conicet.gob.ar> X-Mailer: git-send-email 1.7.10 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/csync2/03-strlcpy_disable.patch | 21 ++++++++++++++++ testing/ipvsadm/APKBUILD | 42 +++++++++++++++++++++++++++++++ 2 files changed, 63 insertions(+) create mode 100644 testing/csync2/03-strlcpy_disable.patch create mode 100644 testing/ipvsadm/APKBUILD diff --git a/testing/csync2/03-strlcpy_disable.patch b/testing/csync2/03-strlcpy_disable.patch new file mode 100644 index 0000000..f0e9d45 --- /dev/null +++ b/testing/csync2/03-strlcpy_disable.patch @@ -0,0 +1,21 @@ +--- old/rsync.c ++++ new/rsync.c +@@ -49,6 +49,9 @@ + * + * @return index of the terminating byte. + **/ ++ ++/* disabled ** ++ + static size_t strlcpy(char *d, const char *s, size_t bufsize) + { + size_t len = strlen(s); +@@ -61,7 +64,7 @@ + } + return ret; + } +- ++*/ + + /* This has been taken from rsync sources: receiver.c */ + diff --git a/testing/ipvsadm/APKBUILD b/testing/ipvsadm/APKBUILD new file mode 100644 index 0000000..6c35179 --- /dev/null +++ b/testing/ipvsadm/APKBUILD @@ -0,0 +1,42 @@ +# Contributor: Pablo Castorino +pkgname=ipvsadm +pkgver=1.26 +pkgrel=0 +pkgdesc="ipvsadm is a utility to administer the IP virtual server services +offered by the Linux kernel with IP virtual server support" +url="http://www.linuxvirtualserver.org/software/ipvs.html" +arch="all" +license="GPL" +depends= +makedepends=" linux-headers popt-dev libnl-dev" +install= +subpackages="" +source="http://www.linuxvirtualserver.org/software/kernel-2.6/$pkgname-$pkgver.tar.gz" +# keepalived-1.1.20-ipvs_haeader_check.patch + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + # apply patches here + for i in $source; do + case $i in + *.patch) + msg "Applying $i" + patch -p1 -i "$srcdir"/$i || return 1 + ;; + esac + done +} + +build() { + cd "$_builddir" + make || return 1 +} + +package() { + cd "$_builddir" + make BUILD_ROOT="$pkgdir" install +} + +md5sums="eac3ba3f62cd4dea2da353aeddd353a8 ipvsadm-1.26.tar.gz" -- 1.7.10 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---