From: Jose V Beneyto Date: Mon, 25 Oct 2010 13:38:56 +0000 (+0200) Subject: apr: initial import (verified compilation) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=d6890e50b3ff6aa79eaf328dc34bbf002a65d133;p=attic%2Fports%2Fopt-cross.git apr: initial import (verified compilation) --- diff --git a/apr/.footprint b/apr/.footprint new file mode 100644 index 0000000..7e9151d --- /dev/null +++ b/apr/.footprint @@ -0,0 +1,94 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/apr-1-config +-rwxr-xr-x root/root usr/bin/apu-1-config +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/apr-1/ +-rw-r--r-- root/root usr/include/apr-1/apr.h +-rw-r--r-- root/root usr/include/apr-1/apr_allocator.h +-rw-r--r-- root/root usr/include/apr-1/apr_anylock.h +-rw-r--r-- root/root usr/include/apr-1/apr_atomic.h +-rw-r--r-- root/root usr/include/apr-1/apr_base64.h +-rw-r--r-- root/root usr/include/apr-1/apr_buckets.h +-rw-r--r-- root/root usr/include/apr-1/apr_date.h +-rw-r--r-- root/root usr/include/apr-1/apr_dbd.h +-rw-r--r-- root/root usr/include/apr-1/apr_dbm.h +-rw-r--r-- root/root usr/include/apr-1/apr_dso.h +-rw-r--r-- root/root usr/include/apr-1/apr_env.h +-rw-r--r-- root/root usr/include/apr-1/apr_errno.h +-rw-r--r-- root/root usr/include/apr-1/apr_file_info.h +-rw-r--r-- root/root usr/include/apr-1/apr_file_io.h +-rw-r--r-- root/root usr/include/apr-1/apr_fnmatch.h +-rw-r--r-- root/root usr/include/apr-1/apr_general.h +-rw-r--r-- root/root usr/include/apr-1/apr_getopt.h +-rw-r--r-- root/root usr/include/apr-1/apr_global_mutex.h +-rw-r--r-- root/root usr/include/apr-1/apr_hash.h +-rw-r--r-- root/root usr/include/apr-1/apr_hooks.h +-rw-r--r-- root/root usr/include/apr-1/apr_inherit.h +-rw-r--r-- root/root usr/include/apr-1/apr_ldap.h +-rw-r--r-- root/root usr/include/apr-1/apr_ldap_init.h +-rw-r--r-- root/root usr/include/apr-1/apr_ldap_option.h +-rw-r--r-- root/root usr/include/apr-1/apr_ldap_rebind.h +-rw-r--r-- root/root usr/include/apr-1/apr_ldap_url.h +-rw-r--r-- root/root usr/include/apr-1/apr_lib.h +-rw-r--r-- root/root usr/include/apr-1/apr_md4.h +-rw-r--r-- root/root usr/include/apr-1/apr_md5.h +-rw-r--r-- root/root usr/include/apr-1/apr_memcache.h +-rw-r--r-- root/root usr/include/apr-1/apr_mmap.h +-rw-r--r-- root/root usr/include/apr-1/apr_network_io.h +-rw-r--r-- root/root usr/include/apr-1/apr_optional.h +-rw-r--r-- root/root usr/include/apr-1/apr_optional_hooks.h +-rw-r--r-- root/root usr/include/apr-1/apr_poll.h +-rw-r--r-- root/root usr/include/apr-1/apr_pools.h +-rw-r--r-- root/root usr/include/apr-1/apr_portable.h +-rw-r--r-- root/root usr/include/apr-1/apr_proc_mutex.h +-rw-r--r-- root/root usr/include/apr-1/apr_queue.h +-rw-r--r-- root/root usr/include/apr-1/apr_random.h +-rw-r--r-- root/root usr/include/apr-1/apr_reslist.h +-rw-r--r-- root/root usr/include/apr-1/apr_ring.h +-rw-r--r-- root/root usr/include/apr-1/apr_rmm.h +-rw-r--r-- root/root usr/include/apr-1/apr_sdbm.h +-rw-r--r-- root/root usr/include/apr-1/apr_sha1.h +-rw-r--r-- root/root usr/include/apr-1/apr_shm.h +-rw-r--r-- root/root usr/include/apr-1/apr_signal.h +-rw-r--r-- root/root usr/include/apr-1/apr_strings.h +-rw-r--r-- root/root usr/include/apr-1/apr_strmatch.h +-rw-r--r-- root/root usr/include/apr-1/apr_support.h +-rw-r--r-- root/root usr/include/apr-1/apr_tables.h +-rw-r--r-- root/root usr/include/apr-1/apr_thread_cond.h +-rw-r--r-- root/root usr/include/apr-1/apr_thread_mutex.h +-rw-r--r-- root/root usr/include/apr-1/apr_thread_pool.h +-rw-r--r-- root/root usr/include/apr-1/apr_thread_proc.h +-rw-r--r-- root/root usr/include/apr-1/apr_thread_rwlock.h +-rw-r--r-- root/root usr/include/apr-1/apr_time.h +-rw-r--r-- root/root usr/include/apr-1/apr_uri.h +-rw-r--r-- root/root usr/include/apr-1/apr_user.h +-rw-r--r-- root/root usr/include/apr-1/apr_uuid.h +-rw-r--r-- root/root usr/include/apr-1/apr_version.h +-rw-r--r-- root/root usr/include/apr-1/apr_want.h +-rw-r--r-- root/root usr/include/apr-1/apr_xlate.h +-rw-r--r-- root/root usr/include/apr-1/apr_xml.h +-rw-r--r-- root/root usr/include/apr-1/apu.h +-rw-r--r-- root/root usr/include/apr-1/apu_version.h +-rw-r--r-- root/root usr/include/apr-1/apu_want.h +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libapr-1.a +-rwxr-xr-x root/root usr/lib/libapr-1.la +lrwxrwxrwx root/root usr/lib/libapr-1.so -> libapr-1.so.0.4.2 +lrwxrwxrwx root/root usr/lib/libapr-1.so.0 -> libapr-1.so.0.4.2 +-rwxr-xr-x root/root usr/lib/libapr-1.so.0.4.2 +-rw-r--r-- root/root usr/lib/libaprutil-1.a +-rwxr-xr-x root/root usr/lib/libaprutil-1.la +lrwxrwxrwx root/root usr/lib/libaprutil-1.so -> libaprutil-1.so.0.3.10 +lrwxrwxrwx root/root usr/lib/libaprutil-1.so.0 -> libaprutil-1.so.0.3.10 +-rwxr-xr-x root/root usr/lib/libaprutil-1.so.0.3.10 +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/apr-1.pc +-rw-r--r-- root/root usr/lib/pkgconfig/apr-util-1.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/apr-1/ +-rw-r--r-- root/root usr/share/apr-1/apr_rules.mk +-rwxr-xr-x root/root usr/share/apr-1/libtool +-rw-r--r-- root/root usr/share/apr-1/make_exports.awk +-rw-r--r-- root/root usr/share/apr-1/make_var_export.awk +-rwxr-xr-x root/root usr/share/apr-1/mkdir.sh diff --git a/apr/.md5sum b/apr/.md5sum new file mode 100644 index 0000000..d12132f --- /dev/null +++ b/apr/.md5sum @@ -0,0 +1,2 @@ +4b00e8f70c067893d075577962656b35 apr-1.4.2.tar.bz2 +6a6f501a1b2a45166b8ffd6df29204bb apr-util-1.3.10.tar.bz2 diff --git a/apr/Pkgfile b/apr/Pkgfile new file mode 100644 index 0000000..065c558 --- /dev/null +++ b/apr/Pkgfile @@ -0,0 +1,61 @@ +# Description: Apache Portable Runtime library +# URL: http://apr.apache.org/ +# Maintainer: Juergen Daubert, juergen dot daubert at t-online dot de +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: util-linux-ng expat db gdbm + +name=apr +version=1.4.2 +release=2 +source=(http://www.apache.org/dist/$name/$name-$version.tar.bz2 \ + http://www.apache.org/dist/$name/$name-util-1.3.10.tar.bz2) + +build(){ + cd $name-$version + + echo "ac_cv_file__dev_zero=yes" > config.cache + echo "ac_cv_func_setpgrp_void=no" >> config.cache + echo "ac_cv_define_PTHREAD_PROCESS_SHARED=no" >> config.cache + echo "apr_cv_mutex_robust_shared=no" >> config.cache + echo "ac_cv_tcp_nodelay_inherited=no" >> config.cache + echo "ac_cv_o_nonblock_inherited=no" >> config.cache + echo "apr_cv_tcp_nodelay_with_cork=no" >> config.cache + echo "ac_cv_sizeof_struct_iovec=yes" >> config.cache + + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --with-installbuilddir=/usr/share/apr-1 \ + --cache-file=config.cache + + sed -i Makefile \ + -e "s|-L/usr|-L$CLFS/usr|g" \ + -e "s|-I/usr|-I$CLFS/usr|g" + + make + make DESTDIR=$PKG install + + cd $SRC/$name-util-1.3.10 + ./configure --build=$CHOST \ + --host=$CTARGET \ + --prefix=/usr \ + --with-apr=$SRC/$name-$version \ + --with-expat=$CLFS/usr \ + --with-berkeley-db=$CLFS/usr \ + --with-gdbm=$CLFS/usr \ + --without-sqlite3 \ + --disable-util-dso + + + sed -i Makefile \ + -e '/APRUTIL_LIBS/ s/ldb-5\.0/ldb-4\.7/' \ + -e "s|-L/usr|-L$CLFS/usr|g" \ + -e "s|-I/usr|-I$CLFS/usr|g" + + make + make DESTDIR=$PKG install + + sed -i -r "/^APR_(SOURCE|BUILD)/s|=.*|=|" $PKG/usr/bin/apr-1-config + sed -i -r "/^APU_(SOURCE|BUILD)/s|=.*|=|" $PKG/usr/bin/apu-1-config + rm -r $PKG/usr/lib/*.exp +}