X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-lf0-f68.google.com (mail-lf0-f68.google.com [209.85.215.68]) by lists.alpinelinux.org (Postfix) with ESMTP id D97815C43E2 for ; Thu, 2 Mar 2017 15:29:00 +0000 (GMT) Received: by mail-lf0-f68.google.com with SMTP id g70so5003188lfh.3 for ; Thu, 02 Mar 2017 07:29:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=9hoL99B3nt15vwVA5UtjGyhg3t/msBzB52okdwyc+yw=; b=G4phIfHfJwUhJ3HkuPgMZsfocgNjaSR8iAhYAf/DqqENxBRsggf0DRERWtldtrgZmQ NwWynJRFA0c9uSkYDEvFFambvTMTFLSUaE1kHpiBtwnqk3zIXs1fDT0+BWYpIWSq2u/m iLjdoJsPQ/9MAtXdpi/QwSlH8SVxOq0Bo/dQjE5bB4YNoA+9NSSD/jmIX+SgO9kDpPSS foL2dQhsJNk73SYEcBJhvyjbNTfqoLBG0uyeVZS8oPCA2BZH8x+xK+D6VeVZ4Rwfdopp 6MZQ1anfpmPzCLFhGxQM+a+gmlWeRsNvbhKX5YpF4nqf/W/qIL9ECSAGwt+46Y+lS47P 7ymg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=9hoL99B3nt15vwVA5UtjGyhg3t/msBzB52okdwyc+yw=; b=T8u6YB/8MnwOs+vYGSZ6k542Go0eO9VCNnFJcGVmvR9hMk85s49rsi1s8cnjZD6fJO hytvUF1w0e6yIZaSowXo0KhfM3JqxxMG/VrlSQVf8ghZrkxb8um3Aw9guW3wz/lCZefU j/z9DL62TfxUQ6kZCt7nqH2E+9/NMNRh6PXAprGSEK85N6KozJVnZD86l7RRaQFGSt5F kj45BJZlg/9YBS7fUHnjRanhY3i9TsKh42uMrNEwaqGJ3nF253I0yQcDJ25hIrmlsDML nt33fC2xXLIAvlBPT1ILHmcNZ3uIvbqWo1nHUuP7RSrQ+zR6w5oA230AxzZvpB6PSEvI FT5w== X-Gm-Message-State: AMke39kB29nUz0LX5QGrkAYxMXBIZJ97OnG4RL2HFOeuRrwNPZiZCQZfhpJtLoYk3cDRNw== X-Received: by 10.46.72.2 with SMTP id v2mr5078371lja.5.1488468539876; Thu, 02 Mar 2017 07:28:59 -0800 (PST) Received: from localhost.localdomain (l37-195-1-4.novotelecom.ru. [37.195.1.4]) by smtp.gmail.com with ESMTPSA id 18sm1808621ljj.3.2017.03.02.07.28.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Mar 2017 07:28:58 -0800 (PST) From: Mikhail Ivko To: alpine-aports@lists.alpinelinux.org Cc: Mikhail Ivko Subject: [alpine-aports] [PATCH] unmaintained/pptpclient: upgrade to 1.9.0, move from unmaintained Date: Thu, 2 Mar 2017 22:24:58 +0700 Message-Id: <20170302152458.11206-1-ivko.mv@gmail.com> X-Mailer: git-send-email 2.11.1 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: --- testing/pptpclient/APKBUILD | 34 +++++++++++++++++++++++++ testing/pptpclient/pptpclient-musl.patch | 12 +++++++++ unmaintained/pptpclient/APKBUILD | 32 ----------------------- unmaintained/pptpclient/pptpclient-uclibc.patch | 21 --------------- 4 files changed, 46 insertions(+), 53 deletions(-) create mode 100644 testing/pptpclient/APKBUILD create mode 100644 testing/pptpclient/pptpclient-musl.patch delete mode 100644 unmaintained/pptpclient/APKBUILD delete mode 100644 unmaintained/pptpclient/pptpclient-uclibc.patch diff --git a/testing/pptpclient/APKBUILD b/testing/pptpclient/APKBUILD new file mode 100644 index 0000000000..c5ca7cfb0c --- /dev/null +++ b/testing/pptpclient/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Mikhail Ivko +# Maintainer: +pkgname=pptpclient +pkgver=1.9.0 +pkgrel=1 +pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP." +url="http://pptpclient.sourceforge.net/" +arch="all" +license="GPL" +depends="ppp-daemon iproute2" +makedepends="perl-dev" +subpackages="$pkgname-doc" +options="!check" +source="http://downloads.sourceforge.net/sourceforge/$pkgname/pptp-$pkgver.tar.gz + pptpclient-musl.patch" + +prepare() { + cd "$srcdir"/pptp-$pkgver + patch -p1 -i "$srcdir"/pptpclient-musl.patch || return 1 + sed -i '/CFLAGS/d' Makefile + sed -i 's|\/bin\/ip|\/usr\/sbin\/ip|g' Makefile +} + +build() { + cd "$srcdir"/pptp-$pkgver + make || return 1 +} + +package() { + cd "$srcdir"/pptp-$pkgver + make DESTDIR="$pkgdir" install +} +sha512sums="2eefa1cdb45f4fbd2b83fff4d199f2d3868add2577d561061ac692f8bc248d648272f04e5f37158c6c67e4a3c44183eaca4aec4c84745f9a4e4123c35687f814 pptp-1.9.0.tar.gz +22ee1490fe88e1a993edb9379fefa0ce195ab52f18a064e40d88bb536330c777ace773314989b20044d358c1edfc59085bcea5e953c1f9171d6d95dac614638b pptpclient-musl.patch" diff --git a/testing/pptpclient/pptpclient-musl.patch b/testing/pptpclient/pptpclient-musl.patch new file mode 100644 index 0000000000..ff67d328cc --- /dev/null +++ b/testing/pptpclient/pptpclient-musl.patch @@ -0,0 +1,12 @@ +diff --git a/pqueue.h b/pqueue.h +index c37ba7b..ae4cc6a 100644 +--- a/pqueue.h ++++ b/pqueue.h +@@ -3,6 +3,7 @@ + + #include + #include ++#include + + /* wait this many seconds for missing packets before forgetting about them */ + #define DEFAULT_PACKET_TIMEOUT 0.3 diff --git a/unmaintained/pptpclient/APKBUILD b/unmaintained/pptpclient/APKBUILD deleted file mode 100644 index 757fff26b8..0000000000 --- a/unmaintained/pptpclient/APKBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer: Natanael Copa -pkgname=pptpclient -pkgver=1.7.2 -pkgrel=1 -pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP." -url="http://pptpclient.sourceforge.net/" -arch="all" -license="GPL" -depends="ppp iproute2" -makedepends="perl" -subpackages="$pkgname-doc" -source="http://downloads.sourceforge.net/sourceforge/$pkgname/pptp-$pkgver.tar.gz - pptpclient-uclibc.patch" - -prepare() { - cd "$srcdir"/pptp-$pkgver - patch -p1 -i "$srcdir"/pptpclient-uclibc.patch || return 1 - sed -i '/CFLAGS/d' Makefile - sed -i 's|\/bin\/ip|\/usr\/sbin\/ip|g' routing.c -} - -build() { - cd "$srcdir"/pptp-$pkgver - make || return 1 -} - -package() { - cd "$srcdir"/pptp-$pkgver - make DESTDIR="$pkgdir" install -} -md5sums="4c3d19286a37459a632c7128c92a9857 pptp-1.7.2.tar.gz -34b643e4e4224e723f6a768018b46015 pptpclient-uclibc.patch" diff --git a/unmaintained/pptpclient/pptpclient-uclibc.patch b/unmaintained/pptpclient/pptpclient-uclibc.patch deleted file mode 100644 index aa9536e4df..0000000000 --- a/unmaintained/pptpclient/pptpclient-uclibc.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff --git a/pptp_compat.c b/pptp_compat.c -index 1760a3b..6ebbea4 100644 ---- a/pptp_compat.c -+++ b/pptp_compat.c -@@ -2,6 +2,7 @@ - * - */ - -+#if defined (__SVR4) && defined (__sun) /* Solaris */ - #include - #include - #include -@@ -14,8 +15,6 @@ - #include - #include "util.h" - -- --#if defined (__SVR4) && defined (__sun) /* Solaris */ - /* - * daemon implementation from uClibc - */ -- 2.11.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---