diff options
| author | Michael Mason <ms13sp@gmail.com> | 2009-12-31 14:44:37 +0000 |
|---|---|---|
| committer | Michael Mason <ms13sp@gmail.com> | 2009-12-31 14:44:37 +0000 |
| commit | 9575da1e656708dfdef124f81bad80050c92ae3e (patch) | |
| tree | e1bc120abddf299bf1991004785223bdbe83e005 /testing | |
| parent | 924ee4d8efcb71c021838dbe94a1dbb27f6e1f1e (diff) | |
| parent | 5c91d160da4c1a8891c8c3968757c14c8df1f5cc (diff) | |
| download | aports-9575da1e656708dfdef124f81bad80050c92ae3e.tar.bz2 aports-9575da1e656708dfdef124f81bad80050c92ae3e.tar.xz | |
Merge branch 'master' of git://git.alpinelinux.org/aports
Diffstat (limited to 'testing')
| -rw-r--r-- | testing/cciss_vol_status/APKBUILD | 35 | ||||
| -rw-r--r-- | testing/pptpclient/APKBUILD | 31 | ||||
| -rw-r--r-- | testing/pptpclient/pptpclient-uclibc.patch | 21 |
3 files changed, 87 insertions, 0 deletions
diff --git a/testing/cciss_vol_status/APKBUILD b/testing/cciss_vol_status/APKBUILD new file mode 100644 index 0000000000..5891845025 --- /dev/null +++ b/testing/cciss_vol_status/APKBUILD @@ -0,0 +1,35 @@ +# Maintainer: Natanael Copa +pkgname=cciss_vol_status +pkgver=1.06 +pkgrel=0 +pkgdesc="Drivers for the HP (previously Compaq) Smart Array controllers which provide hardware RAID capability." +url="http://cciss.sourceforge.net/" +license="GPL" +depends= +makedepends= +install= +subpackages="$pkgname-doc" +source="http://downloads.sourceforge.net/cciss/$pkgname-$pkgver.tar.gz" + +_builddir="$srcdir"/$pkgname-$pkgver + +prepare() { + cd "$_builddir" + # apply patches here +} + +build() { + cd "$_builddir" + ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="210b97af7adeb601a49ee0e743c4d2b7 cciss_vol_status-1.06.tar.gz" diff --git a/testing/pptpclient/APKBUILD b/testing/pptpclient/APKBUILD new file mode 100644 index 0000000000..acdc734ab7 --- /dev/null +++ b/testing/pptpclient/APKBUILD @@ -0,0 +1,31 @@ +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=pptpclient +pkgver=1.7.2 +pkgrel=0 +pkgdesc="Client for the proprietary Microsoft Point-to-Point Tunneling Protocol, PPTP." +url="http://pptpclient.sourceforge.net/" +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/testing/pptpclient/pptpclient-uclibc.patch b/testing/pptpclient/pptpclient-uclibc.patch new file mode 100644 index 0000000000..aa9536e4df --- /dev/null +++ b/testing/pptpclient/pptpclient-uclibc.patch @@ -0,0 +1,21 @@ +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 <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> +@@ -14,8 +15,6 @@ + #include <stdio.h> + #include "util.h" + +- +-#if defined (__SVR4) && defined (__sun) /* Solaris */ + /* + * daemon implementation from uClibc + */ |
