summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2009-05-18 14:43:52 +0000
committerLeonardo Arena <rnalrd@gmail.com>2009-05-18 14:43:52 +0000
commit117bb35f373bca86f4beece1ff41db07c4a6a347 (patch)
treeb2e618a26ed0a7179b335a45c5b260e50a67ca1a /core
parentd49d45a62859902c50f2747066d09ae5b3eacd81 (diff)
parent3beca4265af9bc5d5370a0474b6374cf743ae76d (diff)
downloadaports-117bb35f373bca86f4beece1ff41db07c4a6a347.tar.bz2
aports-117bb35f373bca86f4beece1ff41db07c4a6a347.tar.xz
Merge branch 'master' of git://dev.alpinelinux.org/aports
Diffstat (limited to 'core')
-rw-r--r--core/mkinitfs/APKBUILD9
-rw-r--r--core/mkinitfs/blacklist.patch15
-rw-r--r--core/openssh/APKBUILD3
-rw-r--r--core/uclibc/APKBUILD4
-rw-r--r--core/uclibc/ppoll.patch59
5 files changed, 85 insertions, 5 deletions
diff --git a/core/mkinitfs/APKBUILD b/core/mkinitfs/APKBUILD
index d4e4c7966..86bf8333d 100644
--- a/core/mkinitfs/APKBUILD
+++ b/core/mkinitfs/APKBUILD
@@ -1,16 +1,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkinitfs
pkgver=1.4
-pkgrel=0
+pkgrel=1
pkgdesc="Tool to generate initramfs images for Alpine"
url=http://git.alpinelinux.org/cgit/mkinitfs
depends="busybox"
-source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2"
+source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
+ blacklist.patch"
license="GPL-2"
build() {
cd "$srcdir"/$pkgname-$pkgver
+ patch -p1 < ../blacklist.patch || return 1
make
make install DESTDIR="$pkgdir" || return 1
}
-md5sums="a50e5ca22364be12f1cf0f089b4ab52e mkinitfs-1.4.tar.bz2"
+md5sums="a50e5ca22364be12f1cf0f089b4ab52e mkinitfs-1.4.tar.bz2
+88de14691e09e7b6b156f1cc7d5d93a6 blacklist.patch"
diff --git a/core/mkinitfs/blacklist.patch b/core/mkinitfs/blacklist.patch
new file mode 100644
index 000000000..6d11954f9
--- /dev/null
+++ b/core/mkinitfs/blacklist.patch
@@ -0,0 +1,15 @@
+commit 1c050920d584c2a26b9088fb8e5234b6818ba682
+Author: Natanael Copa <ncopa@alpinelinux.org>
+Date: Fri May 15 13:21:43 2009 +0000
+
+ add the modprobe blacklist to initramfs image
+
+diff --git a/files.d/base b/files.d/base
+index 3387370..c16fe0b 100644
+--- a/files.d/base
++++ b/files.d/base
+@@ -10,3 +10,4 @@
+ /lib/ld-uClibc.so*
+ /lib/mdev
+ /sbin/apk
++/etc/modprobe.d/blacklist
diff --git a/core/openssh/APKBUILD b/core/openssh/APKBUILD
index 0261ba8eb..b81ae46ef 100644
--- a/core/openssh/APKBUILD
+++ b/core/openssh/APKBUILD
@@ -2,7 +2,7 @@
pkgname=openssh
pkgver=5.2_p1
_myver=5.2p1
-pkgrel=0
+pkgrel=1
pkgdesc="Port of OpenBSD's free SSH release"
url="http://www.openssh.org/portable.html"
license="as-is"
@@ -25,6 +25,7 @@ build ()
--mandir=/usr/share/man \
--with-ldflags="${LDFLAGS}" \
--disable-strip \
+ --disable-lastlog \
--sysconfdir=/etc/ssh \
--datadir=/usr/share/openssh \
--with-privsep-path=/var/empty \
diff --git a/core/uclibc/APKBUILD b/core/uclibc/APKBUILD
index 836dff1b5..67baa2828 100644
--- a/core/uclibc/APKBUILD
+++ b/core/uclibc/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=uclibc
pkgver=0.9.30.1
-pkgrel=5
+pkgrel=6
pkgdesc="C library for developing embedded Linux systems"
url=http://uclibc.org
license="LGPL-2"
@@ -14,6 +14,7 @@ source="http://uclibc.org/downloads/$_mynamever.tar.bz2
$pkgname-0.9.30.1-resolv.patch
uclibc-0.9.30.1-pthread_getattr_np.patch
0001-ldd-segfault-fix.patch
+ ppoll.patch
uclibcconfig
"
@@ -48,4 +49,5 @@ md5sums="1a4b84e5536ad8170563ffa88c34679c uClibc-0.9.30.1.tar.bz2
ea91460617601b6e084ead66bc3948f5 uclibc-0.9.30.1-resolv.patch
cf80c0d44a41e02f389be427ee615d61 uclibc-0.9.30.1-pthread_getattr_np.patch
4079b20c763727863bc53408e4988434 0001-ldd-segfault-fix.patch
+60738298e377295d359768a09adac0bb ppoll.patch
a4512d5594f1b450ffbf2ff9eda6263b uclibcconfig"
diff --git a/core/uclibc/ppoll.patch b/core/uclibc/ppoll.patch
new file mode 100644
index 000000000..e73733e21
--- /dev/null
+++ b/core/uclibc/ppoll.patch
@@ -0,0 +1,59 @@
+commit f82635e74a7e174f71f955eaa4f5dc788e596cc0
+Author: Denis Vlasenko <vda.linux@googlemail.com>
+Date: Wed Jan 28 23:42:01 2009 +0000
+
+ fix ppoll. we forgot to pass 5th parameter to the syscall
+
+diff --git a/libc/sysdeps/linux/common/ppoll.c b/libc/sysdeps/linux/common/ppoll.c
+index edcb1dc..d550ae8 100644
+--- a/libc/sysdeps/linux/common/ppoll.c
++++ b/libc/sysdeps/linux/common/ppoll.c
+@@ -17,6 +17,7 @@
+ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ 02111-1307 USA. */
+
++#include <signal.h>
+ #include <sys/syscall.h>
+ #include <sys/poll.h>
+
+@@ -26,24 +27,26 @@
+
+ # define __NR___libc_ppoll __NR_ppoll
+ static __always_inline
+-_syscall4(int, __libc_ppoll, struct pollfd *, fds,
+- nfds_t, nfds, const struct timespec *, timeout,
+- const __sigset_t *, sigmask)
++_syscall5(int, __libc_ppoll,
++ struct pollfd *, fds,
++ nfds_t, nfds,
++ const struct timespec *, timeout,
++ const __sigset_t *, sigmask,
++ size_t, sigsetsize)
+
+ int
+-ppoll (struct pollfd *fds, nfds_t nfds, const struct timespec *timeout,
++ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout,
+ const __sigset_t *sigmask)
+ {
+- /* The Linux kernel can in some situations update the timeout value.
+- We do not want that so use a local variable. */
+- struct timespec tval;
+- if (timeout != NULL)
+- {
+- tval = *timeout;
+- timeout = &tval;
+- }
+-
+- return __libc_ppoll(fds, nfds, timeout, sigmask);
++ /* The Linux kernel can in some situations update the timeout value.
++ We do not want that so use a local variable. */
++ struct timespec tval;
++ if (timeout != NULL) {
++ tval = *timeout;
++ timeout = &tval;
++ }
++
++ return __libc_ppoll(fds, nfds, timeout, sigmask, _NSIG / 8);
+ }
+ libc_hidden_def(ppoll)
+