diff options
-rw-r--r-- | package/base-files/Makefile | 2 | ||||
-rwxr-xr-x | package/base-files/src/init | 7 | ||||
-rw-r--r-- | package/busybox/Makefile | 2 | ||||
-rw-r--r-- | package/busybox/files/network.init | 1 | ||||
-rw-r--r-- | package/pptpd/Makefile | 4 | ||||
-rw-r--r-- | package/procps/Makefile | 7 | ||||
-rw-r--r-- | package/procps/killall | 25 | ||||
-rw-r--r-- | package/ruby/Makefile | 20 | ||||
-rw-r--r-- | package/ruby/patches/patch-Makefile_in | 15 | ||||
-rw-r--r-- | package/ruby/patches/patch-common_mk | 11 | ||||
-rw-r--r-- | package/ruby/patches/patch-configure | 11 | ||||
-rw-r--r-- | package/ruby/patches/patch-ext_openssl_ossl_c | 29 | ||||
-rw-r--r-- | package/ruby/patches/patch-ext_openssl_ossl_h | 19 | ||||
-rw-r--r-- | package/ruby/patches/patch-ext_openssl_ossl_pkcs7_c | 12 | ||||
-rw-r--r-- | target/alix1c/files/etc/tmpfs | 1 |
15 files changed, 41 insertions, 125 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile index 56e30e431..e3eb84fbf 100644 --- a/package/base-files/Makefile +++ b/package/base-files/Makefile @@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk PKG_NAME:= base-files PKG_VERSION:= 1.0 -PKG_RELEASE:= 27 +PKG_RELEASE:= 28 PKG_SECTION:= base PKG_DESCR:= basic files and scripts diff --git a/package/base-files/src/init b/package/base-files/src/init index 0031b63c3..553cb5b3d 100755 --- a/package/base-files/src/init +++ b/package/base-files/src/init @@ -4,10 +4,9 @@ export PATH=/bin:/sbin:/usr/bin:/usr/sbin mount -nt proc proc /proc mount -o nosuid,nodev,noexec -t sysfs sysfs /sys [ ! -f /etc/notmpfs ] && { - size=$(cat /etc/tmpfs 2>/dev/null) - [ -z $size ] && size=2048 - mount none /tmp -t tmpfs -o size=${size}k - mount none /tmp -t tmpfs -o remount,nosuid,nodev,mode=1777 + size=$(cat /etc/tmpfs 2>/dev/null) + [ -z $size ] && size=2048 + mount none /tmp -t tmpfs -o remount,nosuid,nodev,mode=1777,size=${size}k } mount -o remount,nosuid,size=128k,mode=0755 -t tmpfs mdev /dev mkdir /dev/pts /dev/shm diff --git a/package/busybox/Makefile b/package/busybox/Makefile index 8d6ff4f9f..47bb590fb 100644 --- a/package/busybox/Makefile +++ b/package/busybox/Makefile @@ -5,7 +5,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:= busybox PKG_VERSION:= 1.17.2 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= 7360b7138b899ee7fc885791c740c3c3 PKG_DESCR:= Core utilities for embedded systems PKG_SECTION:= base diff --git a/package/busybox/files/network.init b/package/busybox/files/network.init index ee70efcbf..4989fcbcb 100644 --- a/package/busybox/files/network.init +++ b/package/busybox/files/network.init @@ -12,6 +12,7 @@ start) ifup -a ;; autostop|stop) + [ -f /etc/network/interfaces ] || exit 1 ifdown -a ;; restart) diff --git a/package/pptpd/Makefile b/package/pptpd/Makefile index 948298522..f2875b0ae 100644 --- a/package/pptpd/Makefile +++ b/package/pptpd/Makefile @@ -5,11 +5,11 @@ include ${TOPDIR}/rules.mk PKG_NAME:= pptpd PKG_VERSION:= 1.3.4 -PKG_RELEASE:= 1 +PKG_RELEASE:= 2 PKG_MD5SUM:= b38df9c431041922c997c1148bedf591 PKG_DESCR:= a Point-to-Point Tunneling Protocol (PPTP) server PKG_SECTION:= ppp -PKG_DEPENDS:= ppp kmod-crypto kmod-ppp-mppe kmod-ppp +PKG_DEPENDS:= ppp kmod-crypto kmod-ppp-mppe kmod-ppp kmod-net-ipgre PKG_URL:= http://www.poptop.org/ PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=poptop/} diff --git a/package/procps/Makefile b/package/procps/Makefile index cba4846d2..a93c6dfa2 100644 --- a/package/procps/Makefile +++ b/package/procps/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= procps -PKG_VERSION:= 3.2.7 -PKG_RELEASE:= 4 -PKG_MD5SUM:= f490bca772b16472962c7b9f23b1e97d +PKG_VERSION:= 3.2.8 +PKG_RELEASE:= 1 +PKG_MD5SUM:= 9532714b6846013ca9898984ba4cd7e0 PKG_DESCR:= The /proc file system utilities PKG_SECTION:= utils PKG_DEPENDS:= libncurses @@ -40,6 +40,5 @@ post-install: ln -sf ../../bin/kill skill; \ ln -sf ../../bin/kill snice; \ ln -sf pgrep pkill - ${INSTALL_BIN} killall ${IDIR_PROCPS}/usr/bin/ include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/procps/killall b/package/procps/killall deleted file mode 100644 index 0f4ed7ceb..000000000 --- a/package/procps/killall +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/ash -dolist=0 -doquiet=0 -l=1 -x=$# -signal= -while [ $x -gt 0 ]; do - case $1 in - -l) dolist=1 ;; - -q) doquiet=1 ;; - -lq|-ql) - dolist=1 - doquiet=1 - ;; - -*) signal=$1 ;; - *) break ;; - esac - shift - x=$(expr $x - 1) -done -[ $dolist = 1 ] && kill -l -pkill -x $signal "$@" -rv=$? -[ $doquiet = 1 ] && exit 0 -exit $rv diff --git a/package/ruby/Makefile b/package/ruby/Makefile index f956be9dc..755c20ebc 100644 --- a/package/ruby/Makefile +++ b/package/ruby/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= ruby -PKG_VERSION:= 1.9.1 +PKG_VERSION:= 1.9.2 PKG_RELEASE:= 1 -PKG_MD5SUM:= 0f6d7630f26042e00bc59875755cf879 +PKG_MD5SUM:= 755aba44607c580fddc25e7c89260460 PKG_DESCR:= interpreter for the ruby language PKG_SECTION:= lang PKG_URL:= http://www.ruby-lang.org/ @@ -15,8 +15,8 @@ PKG_NOPARALLEL:= 1 PKG_HOST_DEPENDS:= !freebsd !cygwin !darwin -DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-p429.tar.gz -WRKDIST= ${WRKDIR}/${PKG_NAME}-1.9.1-p429 +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}-p0.tar.gz +WRKDIST= ${WRKDIR}/${PKG_NAME}-1.9.2-p0 include ${TOPDIR}/mk/package.mk @@ -26,13 +26,15 @@ MAKE_FILE:= GNUmakefile XAKE_FLAGS+= optflags='' debugflags='' BASERUBY="${WRKBUILD}/hostruby" # uClibc setpgrp does not take arguments CONFIGURE_ENV+= ac_cv_func_setpgrp_void=yes +CONFIGURE_ARGS+= --disable-install-doc +ALL_TARGET:= main INSTALL_TARGET:= install-nodoc pre-configure: cp ${WRKBUILD}/ext/Setup ${WRKBUILD}/ext/Setup.orig echo "option nodynamic" >> ${WRKBUILD}/ext/Setup (cd ${WRKBUILD}; rm -rf config.{cache,status} ; \ - ./configure --prefix=$(STAGING_TOOLS) \ + ./configure --prefix=$(STAGING_TOOLS) --disable-install-doc \ ); $(MAKE) -C ${WRKBUILD} ruby cp ${WRKBUILD}/ruby ${WRKBUILD}/hostruby @@ -41,8 +43,10 @@ pre-configure: $(MAKE) -C ${WRKBUILD} clean post-install: - rm -rf ${WRKINST}/usr/lib/site_ruby - rm -rf ${WRKINST}/usr/include - ${CP} ${WRKINST}/usr ${IDIR_RUBY}/ + ${INSTALL_DIR} ${IDIR_RUBY}/usr/lib/ruby + ${INSTALL_DIR} ${IDIR_RUBY}/usr/bin + ${CP} ${WRKINST}/usr/lib/libruby.so* ${IDIR_RUBY}/usr/lib + ${CP} ${WRKINST}/usr/lib/ruby/* ${IDIR_RUBY}/usr/lib/ruby/ + ${INSTALL_BIN} ${WRKINST}/usr/bin/* ${IDIR_RUBY}/usr/bin include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/ruby/patches/patch-Makefile_in b/package/ruby/patches/patch-Makefile_in index 992921e8c..6c71409cd 100644 --- a/package/ruby/patches/patch-Makefile_in +++ b/package/ruby/patches/patch-Makefile_in @@ -1,11 +1,8 @@ ---- ruby-1.9.1-p378.orig/Makefile.in 2009-11-12 17:01:28.000000000 +0100 -+++ ruby-1.9.1-p378/Makefile.in 2010-06-02 20:50:05.821613650 +0200 -@@ -274,7 +274,7 @@ INSNS = opt_sc.inc optinsn.inc optunifs. - - $(INSNS): - @$(RM) $(PROGRAM) +--- ruby-1.9.2-p0.orig/Makefile.in 2010-07-11 08:15:13.000000000 +0200 ++++ ruby-1.9.2-p0/Makefile.in 2010-11-08 16:53:07.774995217 +0100 +@@ -315,4 +315,4 @@ INSNS = opt_sc.inc optinsn.inc optunifs. + $(INSNS): $(srcdir)/insns.def vm_opts.h \ + $(srcdir)/defs/opt_operand.def $(srcdir)/defs/opt_insn_unif.def \ + $(srcdir)/tool/instruction.rb $(srcdir)/tool/insns2vm.rb - $(BASERUBY) -Ks $(srcdir)/tool/insns2vm.rb $(INSNS2VMOPT) $@ + $(BASERUBY) $(srcdir)/tool/insns2vm.rb $(INSNS2VMOPT) $@ - - node_name.inc: - $(BASERUBY) -n $(srcdir)/tool/node_name.rb $? > $@ diff --git a/package/ruby/patches/patch-common_mk b/package/ruby/patches/patch-common_mk deleted file mode 100644 index 80870ae97..000000000 --- a/package/ruby/patches/patch-common_mk +++ /dev/null @@ -1,11 +0,0 @@ ---- ruby-1.9.1-p378.orig/common.mk 2009-11-12 17:01:28.000000000 +0100 -+++ ruby-1.9.1-p378/common.mk 2010-06-02 20:50:05.701612890 +0200 -@@ -400,7 +400,7 @@ extconf: $(PREP) - $(RUNRUBY) -C "$(EXTCONFDIR)" $(EXTCONF) $(EXTCONFARGS) - - $(RBCONFIG): $(srcdir)/mkconfig.rb config.status $(PREP) -- @$(MINIRUBY) $(srcdir)/mkconfig.rb -timestamp=$@ \ -+ $(MINIRUBY) $(srcdir)/mkconfig.rb -timestamp=$@ \ - -install_name=$(RUBY_INSTALL_NAME) \ - -so_name=$(RUBY_SO_NAME) rbconfig.rb - diff --git a/package/ruby/patches/patch-configure b/package/ruby/patches/patch-configure new file mode 100644 index 000000000..efd25b6ff --- /dev/null +++ b/package/ruby/patches/patch-configure @@ -0,0 +1,11 @@ +--- ruby-1.9.2-p0.orig/configure 2010-08-18 07:56:27.000000000 +0200 ++++ ruby-1.9.2-p0/configure 2010-11-08 18:00:26.561241080 +0100 +@@ -15431,7 +15431,7 @@ esac + esac + fi + if test "$enable_rpath" = yes; then +- LIBRUBY_RPATHFLAGS="${linker_flag}-R ${linker_flag}\$(libdir) -L\$(libdir)" ++ LIBRUBY_RPATHFLAGS="${linker_flag}-R ${linker_flag}\$(libdir)" + LIBRUBYARG_SHARED="$LIBRUBY_RPATHFLAGS $LIBRUBYARG_SHARED" + LIBRUBYARG_STATIC="$LIBRUBY_RPATHFLAGS $LIBRUBYARG_STATIC" + fi diff --git a/package/ruby/patches/patch-ext_openssl_ossl_c b/package/ruby/patches/patch-ext_openssl_ossl_c deleted file mode 100644 index 2b649c7dd..000000000 --- a/package/ruby/patches/patch-ext_openssl_ossl_c +++ /dev/null @@ -1,29 +0,0 @@ ---- ruby-1.9.1-p378.orig/ext/openssl/ossl.c 2009-01-15 16:39:30.000000000 +0100 -+++ ruby-1.9.1-p378/ext/openssl/ossl.c 2010-06-12 21:01:58.171613505 +0200 -@@ -92,7 +92,7 @@ ossl_x509_ary2sk(VALUE ary) - - #define OSSL_IMPL_SK2ARY(name, type) \ - VALUE \ --ossl_##name##_sk2ary(STACK *sk) \ -+ossl_##name##_sk2ary(STACK_OF(type) *sk) \ - { \ - type *t; \ - int i, num; \ -@@ -102,7 +102,7 @@ ossl_##name##_sk2ary(STACK *sk) \ - OSSL_Debug("empty sk!"); \ - return Qnil; \ - } \ -- num = sk_num(sk); \ -+ num = sk_##type##_num(sk); \ - if (num < 0) { \ - OSSL_Debug("items in sk < -1???"); \ - return rb_ary_new(); \ -@@ -110,7 +110,7 @@ ossl_##name##_sk2ary(STACK *sk) \ - ary = rb_ary_new2(num); \ - \ - for (i=0; i<num; i++) { \ -- t = (type *)sk_value(sk, i); \ -+ t = sk_##type##_value(sk, i); \ - rb_ary_push(ary, ossl_##name##_new(t)); \ - } \ - return ary; \ diff --git a/package/ruby/patches/patch-ext_openssl_ossl_h b/package/ruby/patches/patch-ext_openssl_ossl_h deleted file mode 100644 index b33b476aa..000000000 --- a/package/ruby/patches/patch-ext_openssl_ossl_h +++ /dev/null @@ -1,19 +0,0 @@ ---- ruby-1.9.1-p378.orig/ext/openssl/ossl.h 2008-09-26 05:05:47.000000000 +0200 -+++ ruby-1.9.1-p378/ext/openssl/ossl.h 2010-06-12 21:10:22.781613550 +0200 -@@ -109,6 +109,16 @@ extern VALUE eOSSLError; - int string2hex(const unsigned char *, int, char **, int *); - - /* -+ * Compatibility -+ */ -+#if OPENSSL_VERSION_NUMBER >= 0x10000000L -+#define OSSL_MORE_CONST const -+#define STACK _STACK -+#else -+#define OSSL_MORE_CONST -+#endif -+ -+/* - * Data Conversion - */ - STACK_OF(X509) *ossl_x509_ary2sk0(VALUE); diff --git a/package/ruby/patches/patch-ext_openssl_ossl_pkcs7_c b/package/ruby/patches/patch-ext_openssl_ossl_pkcs7_c deleted file mode 100644 index 1649e0f10..000000000 --- a/package/ruby/patches/patch-ext_openssl_ossl_pkcs7_c +++ /dev/null @@ -1,12 +0,0 @@ ---- ruby-1.9.1-p378.orig/ext/openssl/ossl_pkcs7.c 2008-07-22 17:34:23.000000000 +0200 -+++ ruby-1.9.1-p378/ext/openssl/ossl_pkcs7.c 2010-06-02 21:05:44.261613234 +0200 -@@ -572,7 +572,8 @@ ossl_pkcs7_add_certificate(VALUE self, V - return self; - } - --static STACK * -+ -+static STACK_OF(X509) * - pkcs7_get_certs_or_crls(VALUE self, int want_certs) - { - PKCS7 *pkcs7; diff --git a/target/alix1c/files/etc/tmpfs b/target/alix1c/files/etc/tmpfs new file mode 100644 index 000000000..08558e471 --- /dev/null +++ b/target/alix1c/files/etc/tmpfs @@ -0,0 +1 @@ +16384 |