JBoss Native SVN: r1406 - trunk/build/unix/util.
by jbossnative-commits@lists.jboss.org
Author: jfrederic.clere(a)jboss.com
Date: 2008-02-29 11:42:25 -0500 (Fri, 29 Feb 2008)
New Revision: 1406
Modified:
trunk/build/unix/util/buildroot.hpux.sh
Log:
typo.
Modified: trunk/build/unix/util/buildroot.hpux.sh
===================================================================
--- trunk/build/unix/util/buildroot.hpux.sh 2008-02-29 16:41:19 UTC (rev 1405)
+++ trunk/build/unix/util/buildroot.hpux.sh 2008-02-29 16:42:25 UTC (rev 1406)
@@ -113,7 +113,7 @@
chmod a+rwx $root/tmp
# Tricky part.
+mkdir -p $root/usr/sbin
mkdir -p $root/var/spool/sockets/pwgr
sudo cp -rp /var/spool/pwgr $root/var/spool/
sudo cp -p /usr/sbin/pwgrd $root/usr/sbin/pwgrd-jfclere
-mkdir -p $root
16 years, 10 months
JBoss Native SVN: r1405 - trunk/build/unix.
by jbossnative-commits@lists.jboss.org
Author: jfrederic.clere(a)jboss.com
Date: 2008-02-29 11:41:19 -0500 (Fri, 29 Feb 2008)
New Revision: 1405
Modified:
trunk/build/unix/buildbin.rhel-httpd.sh
Log:
Arrange the files names.
Modified: trunk/build/unix/buildbin.rhel-httpd.sh
===================================================================
--- trunk/build/unix/buildbin.rhel-httpd.sh 2008-02-29 15:50:48 UTC (rev 1404)
+++ trunk/build/unix/buildbin.rhel-httpd.sh 2008-02-29 16:41:19 UTC (rev 1405)
@@ -208,5 +208,14 @@
cp ${common_loc}/bin/openssl ${install_loc}/bin
fi
+# Arrange the sl file into so on hpux
+if [ "$BUILD_SYS" = "hpux" ]; then
+ for file in `find ${RPM_BUILD_ROOT}/opt/jboss/httpd/lib/httpd -name *.sl`
+ do
+ nfile=`echo $file | sed 's:\.sl:\.so:'`
+ mv $file $nfile
+ done
+fi
+
echo "Done"
exit 0
16 years, 10 months
JBoss Native SVN: r1404 - trunk/build/unix/util.
by jbossnative-commits@lists.jboss.org
Author: jfrederic.clere(a)jboss.com
Date: 2008-02-29 10:50:48 -0500 (Fri, 29 Feb 2008)
New Revision: 1404
Modified:
trunk/build/unix/util/buildroot.hpux.sh
Log:
Fix the uniqueid problem... Resolver... /usr/lib/hpux32/libnss_dns.so.1
Modified: trunk/build/unix/util/buildroot.hpux.sh
===================================================================
--- trunk/build/unix/util/buildroot.hpux.sh 2008-02-29 14:55:24 UTC (rev 1403)
+++ trunk/build/unix/util/buildroot.hpux.sh 2008-02-29 15:50:48 UTC (rev 1404)
@@ -23,7 +23,7 @@
#
# Build a chrootable environment.
# $1 : Directory where the chroot will takes place.
-tools="/bin/bash /etc/passwd /etc/group /etc/hosts /etc/netconfig /etc/resolv.conf /usr/lib/dld.sl /usr/lib/hpux32/uld.so /usr/lib/hpux32/dld.so /usr/lib/hpux32/libm.so.1 /usr/lib/hpux32/libpthread.so.1"
+tools="/bin/bash /etc/passwd /etc/group /etc/hosts /etc/netconfig /etc/resolv.conf /usr/lib/dld.sl /usr/lib/hpux32/uld.so /usr/lib/hpux32/dld.so /usr/lib/hpux32/libm.so.1 /usr/lib/hpux32/libpthread.so.1 /usr/lib/hpux32/libnss_dns.so.1"
depfiles="/bin/sh /usr/bin/test /usr/bin/dirname /usr/bin/basename /usr/bin/uname /usr/bin/grep /usr/bin/sh /usr/bin/expr /usr/bin/false /usr/bin/true"
# tools are the tools we need for the tests.
# depfiles are files the packages needed (to be generated).
@@ -99,7 +99,7 @@
mkdir -p $root/proc
# Create needed devices
-devices="ip kmem null random rawip tcp tcp6 zero tcp tcp6"
+devices="ip kmem null random rawip tcp tcp6 zero tcp tcp6 tlclts tlcotsod tlcots upd upd6"
mkdir -p $root/dev
sudo chown root $root/dev
16 years, 10 months
JBoss Native SVN: r1403 - trunk/build/unix/util.
by jbossnative-commits@lists.jboss.org
Author: jfrederic.clere(a)jboss.com
Date: 2008-02-29 09:55:24 -0500 (Fri, 29 Feb 2008)
New Revision: 1403
Modified:
trunk/build/unix/util/buildroot.hpux.sh
Log:
Add upd devices.
Modified: trunk/build/unix/util/buildroot.hpux.sh
===================================================================
--- trunk/build/unix/util/buildroot.hpux.sh 2008-02-29 14:51:01 UTC (rev 1402)
+++ trunk/build/unix/util/buildroot.hpux.sh 2008-02-29 14:55:24 UTC (rev 1403)
@@ -99,7 +99,7 @@
mkdir -p $root/proc
# Create needed devices
-devices="ip kmem null random rawip tcp tcp6 zero"
+devices="ip kmem null random rawip tcp tcp6 zero tcp tcp6"
mkdir -p $root/dev
sudo chown root $root/dev
16 years, 10 months
JBoss Native SVN: r1402 - trunk/build/unix.
by jbossnative-commits@lists.jboss.org
Author: jfrederic.clere(a)jboss.com
Date: 2008-02-29 09:51:01 -0500 (Fri, 29 Feb 2008)
New Revision: 1402
Modified:
trunk/build/unix/buildtest.rhel-httpd.sh
Log:
Start/Stop the "hpux" password daemon too.
Modified: trunk/build/unix/buildtest.rhel-httpd.sh
===================================================================
--- trunk/build/unix/buildtest.rhel-httpd.sh 2008-02-29 14:40:13 UTC (rev 1401)
+++ trunk/build/unix/buildtest.rhel-httpd.sh 2008-02-29 14:51:01 UTC (rev 1402)
@@ -53,6 +53,13 @@
util/confssl.sh $base $root $build_cache_dir ${IPLOCAL}
fi
+# start pwgrd-jfclere if needed
+pid=""
+if [ -f $base/$root/usr/sbin/pwgrd-jfclere ] ; then
+ sudo /usr/sbin/chroot $base/$root /usr/sbin/pwgrd-jfclere
+ pid=`ps -ef | grep pwgrd-jfclere | grep -v grep |awk ' { print $2 }'`
+fi
+
# Test it.
sudo /usr/sbin/chroot $base/$root /opt/jboss/httpd/sbin/apachectl start
sleep 65
@@ -60,6 +67,9 @@
if [ $? -ne 0 ]; then
sudo /usr/sbin/chroot $base/$root /opt/jboss/httpd/sbin/apachectl stop
${base}/${root}/jbossas/${JBOSSDIR}/bin/shutdown.sh -S -s ${IPLOCAL}
+ if [ "x$pid" != "x" ]; then
+ sudo kill -15 $pid
+ fi
echo "Test FAILED cant start?"
exit 1
fi
@@ -68,6 +78,9 @@
if [ $? -ne 0 ]; then
sudo /usr/sbin/chroot $base/$root /opt/jboss/httpd/sbin/apachectl stop
${base}/${root}/jbossas/${JBOSSDIR}/bin/shutdown.sh -S -s ${IPLOCAL}
+ if [ "x$pid" != "x" ]; then
+ sudo kill -15 $pid
+ fi
echo "Test FAILED cant connect to Jboss?"
exit 1
fi
@@ -77,6 +90,9 @@
if [ $? -ne 0 ]; then
sudo /usr/sbin/chroot $base/$root /opt/jboss/httpd/sbin/apachectl stop
${base}/${root}/jbossas/${JBOSSDIR}/bin/shutdown.sh -S -s ${IPLOCAL}
+ if [ "x$pid" != "x" ]; then
+ sudo kill -15 $pid
+ fi
echo "Test FAILED cant use SSL?"
exit 1
fi
@@ -84,6 +100,9 @@
# Stop it.
sudo /usr/sbin/chroot $base/$root /opt/jboss/httpd/sbin/apachectl stop
${base}/${root}/jbossas/${JBOSSDIR}/bin/shutdown.sh -S -s ${IPLOCAL}
+if [ "x$pid" != "x" ]; then
+ sudo kill -15 $pid
+fi
sleep 30
curl -v http://${IPLOCAL}
if [ $? -eq 0 ]; then
16 years, 10 months
JBoss Native SVN: r1401 - trunk/build/unix/util.
by jbossnative-commits@lists.jboss.org
Author: jfrederic.clere(a)jboss.com
Date: 2008-02-29 09:40:13 -0500 (Fri, 29 Feb 2008)
New Revision: 1401
Modified:
trunk/build/unix/util/buildroot.hpux.sh
Log:
Add logic for the hpux password mechanism.
Modified: trunk/build/unix/util/buildroot.hpux.sh
===================================================================
--- trunk/build/unix/util/buildroot.hpux.sh 2008-02-29 13:59:06 UTC (rev 1400)
+++ trunk/build/unix/util/buildroot.hpux.sh 2008-02-29 14:40:13 UTC (rev 1401)
@@ -111,3 +111,9 @@
# create /tmp
mkdir $root/tmp
chmod a+rwx $root/tmp
+
+# Tricky part.
+mkdir -p $root/var/spool/sockets/pwgr
+sudo cp -rp /var/spool/pwgr $root/var/spool/
+sudo cp -p /usr/sbin/pwgrd $root/usr/sbin/pwgrd-jfclere
+mkdir -p $root
16 years, 10 months
JBoss Native SVN: r1400 - trunk/build/unix/data.
by jbossnative-commits@lists.jboss.org
Author: jfrederic.clere(a)jboss.com
Date: 2008-02-29 08:59:06 -0500 (Fri, 29 Feb 2008)
New Revision: 1400
Modified:
trunk/build/unix/data/rhel-httpd.httpd
Log:
Autoconf patch is always needed.
And disablemods speeds up the mpm worker build.
Modified: trunk/build/unix/data/rhel-httpd.httpd
===================================================================
--- trunk/build/unix/data/rhel-httpd.httpd 2008-02-29 13:56:40 UTC (rev 1399)
+++ trunk/build/unix/data/rhel-httpd.httpd 2008-02-29 13:59:06 UTC (rev 1400)
@@ -1 +1 @@
-httpd-2.0.45-deplibs.patch httpd-2.0.54-selinux.patch httpd-2.2.2-ac260.patch httpd-2.1.10-apctl.patch httpd-2.1.10-apxs.patch httpd-2.1.10-disablemods.patch
+httpd-2.0.45-deplibs.patch httpd-2.0.54-selinux.patch httpd-2.1.10-apctl.patch httpd-2.1.10-apxs.patch
16 years, 10 months
JBoss Native SVN: r1399 - trunk/build/unix.
by jbossnative-commits@lists.jboss.org
Author: jfrederic.clere(a)jboss.com
Date: 2008-02-29 08:56:40 -0500 (Fri, 29 Feb 2008)
New Revision: 1399
Modified:
trunk/build/unix/buildbin.rhel-httpd.sh
Log:
Make sure that things like experimental libtool are used in both prefork and worker.
Modified: trunk/build/unix/buildbin.rhel-httpd.sh
===================================================================
--- trunk/build/unix/buildbin.rhel-httpd.sh 2008-02-29 13:53:58 UTC (rev 1398)
+++ trunk/build/unix/buildbin.rhel-httpd.sh 2008-02-29 13:56:40 UTC (rev 1399)
@@ -135,18 +135,20 @@
fi
# Ajust some more platform dependent stuff.
+add_conf_sys=""
case ${BUILD_SYS} in
linux*)
add_conf="$add_conf --enable-pie"
;;
hpux*)
- add_conf="$add_conf --enable-experimental-libtool --enable-shared"
+ add_conf_sys="--enable-experimental-libtool"
+ add_conf="$add_conf --enable-shared"
;;
esac
case ${BUILD_CPU} in
ppc64)
# XXX: It is also in build.sh but not exported.
- add_conf="${add_conf} CFLAGS=-m64"
+ add_conf_sys="CFLAGS=-m64"
;;
esac
echo "Building prefork and mpm with add_conf: $add_conf"
@@ -157,6 +159,7 @@
mpmbuild prefork \
--enable-mods-shared=all \
${add_conf} \
+ ${add_conf_sys} \
--enable-proxy \
--enable-cache --enable-mem-cache \
--enable-file-cache --enable-disk-cache \
@@ -179,7 +182,7 @@
make clean
# For the other MPMs, just build httpd and no optional modules
-mpmbuild worker --enable-modules=none
+mpmbuild worker --enable-modules=none ${add_conf_sys}
if [ $? -ne 0 ]; then
echo "mpmbuild worker failed"
exit 1
16 years, 10 months
JBoss Native SVN: r1398 - trunk/build/unix/util.
by jbossnative-commits@lists.jboss.org
Author: jfrederic.clere(a)jboss.com
Date: 2008-02-29 08:53:58 -0500 (Fri, 29 Feb 2008)
New Revision: 1398
Modified:
trunk/build/unix/util/jlibtool.c
Log:
Otherwise HP-UX stores and uses the location of library at the build time
and will use them at the runtime (and don't find any libraries).
Modified: trunk/build/unix/util/jlibtool.c
===================================================================
--- trunk/build/unix/util/jlibtool.c 2008-02-28 18:51:41 UTC (rev 1397)
+++ trunk/build/unix/util/jlibtool.c 2008-02-29 13:53:58 UTC (rev 1398)
@@ -178,6 +178,7 @@
# define DYNAMIC_LINK_OPTS "-Wl,+s"
# define LINKER_FLAG_PREFIX "-Wl,"
# define LD_LIBRARY_PATH "SHLIB_PATH"
+# define ADD_MINUS_L
#endif
#ifndef SHELL_CMD
16 years, 10 months
JBoss Native SVN: r1397 - trunk/build/unix/util.
by jbossnative-commits@lists.jboss.org
Author: jfrederic.clere(a)jboss.com
Date: 2008-02-28 13:51:41 -0500 (Thu, 28 Feb 2008)
New Revision: 1397
Modified:
trunk/build/unix/util/buildroot.hpux.sh
Log:
Add missing library for httpd.
Modified: trunk/build/unix/util/buildroot.hpux.sh
===================================================================
--- trunk/build/unix/util/buildroot.hpux.sh 2008-02-28 14:47:20 UTC (rev 1396)
+++ trunk/build/unix/util/buildroot.hpux.sh 2008-02-28 18:51:41 UTC (rev 1397)
@@ -23,7 +23,7 @@
#
# Build a chrootable environment.
# $1 : Directory where the chroot will takes place.
-tools="/bin/bash /etc/passwd /etc/group /etc/hosts /etc/netconfig /etc/resolv.conf"
+tools="/bin/bash /etc/passwd /etc/group /etc/hosts /etc/netconfig /etc/resolv.conf /usr/lib/dld.sl /usr/lib/hpux32/uld.so /usr/lib/hpux32/dld.so /usr/lib/hpux32/libm.so.1 /usr/lib/hpux32/libpthread.so.1"
depfiles="/bin/sh /usr/bin/test /usr/bin/dirname /usr/bin/basename /usr/bin/uname /usr/bin/grep /usr/bin/sh /usr/bin/expr /usr/bin/false /usr/bin/true"
# tools are the tools we need for the tests.
# depfiles are files the packages needed (to be generated).
16 years, 10 months