Changeset 0b402ff for scripts/scripts/untested/blfs-scripts/blfs-dbus.sh
- Timestamp:
- Feb 21, 2006, 1:05:50 AM (18 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- df7a253
- Parents:
- b9181e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
scripts/scripts/untested/blfs-scripts/blfs-dbus.sh
rb9181e6 r0b402ff 14 14 fi 15 15 16 if [ "Y" = "${MULTIARCH}" ]; then17 # temporarily set PYTHON env var18 export PYTHON=python${suffix}19 fi20 21 16 unpack_tarball dbus-${DBUS_VER} 22 17 cd ${PKGDIR} … … 25 20 CC="${CC-gcc} ${ARCH_CFLAGS}" \ 26 21 CXX="${CXX-g++} ${ARCH_CFLAGS}" \ 27 CFLAGS="${TGT_CFLAGS}" \ 28 CXXFLAGS="${TGT_CFLAGS}" \ 22 CFLAGS="-O2 -pipe ${TGT_CFLAGS}" \ 23 CXXFLAGS="-O2 -pipe ${TGT_CFLAGS}" \ 24 LDFLAGS="-L/usr/${libdirname}" \ 29 25 ./configure --prefix=/usr ${extra_conf} \ 30 --localstatedir=/var\31 --sysconfdir=/etc\32 --with-xml=libxml\33 --mandir=/usr/share/man\34 --infodir=/usr/share/info\26 --sysconfdir=/etc \ 27 --localstatedir=/var \ 28 --mandir=/usr/share/man \ 29 --infodir=/usr/share/info \ 30 --with-system-socket=/var/lib/dbus/system_bus_socket \ 35 31 >> ${LOGFILE} 2>&1 && 36 32 echo " o Configure OK" && … … 42 38 43 39 min_log_init ${INSTLOGS} && 44 make install \ 45 >> ${LOGFILE} 2>&1 && 40 ( 41 # for the moment create messagebus group and user to be 65533... 42 groupadd -g 65533 messagebus 43 useradd -u 65533 -g messagebus -c "dbus messagebus user" -d /dev/null \ 44 -s /bin/false messagebus 45 mkdir /var/lib/dbus 46 make install 47 48 cp bus/rc.messagebus /etc/rc.d/init.d/messagebus 49 50 sed -i -e 's@status \$processname@statusproc $processname@g' \ 51 -e '/init.d\/functions/s@^#@@g' \ 52 -e '/^processname=/s@^#@@g' \ 53 -e 's@/usr/bin/dbus-daemon --system@loadproc &@g' \ 54 -e 's@killall@killproc@g' \ 55 /etc/rc.d/init.d/messagebus 56 57 for runlevel in 3 4 5; do 58 ln -sf ../init.d/messagebus /etc/rc.d/rc${runlevel}.d/S97messagebus 59 done 60 61 for runlevel in 0 1 2 6; do 62 ln -sf ../init.d/messagebus /etc/rc.d/rc${runlevel}.d/K03messagebus 63 done 64 ) >> ${LOGFILE} 2>&1 && 46 65 echo " o ALL OK" || barf 47 66 48 # Need to create a startup script 67 cat <<EOF 68 -------------------------------------------------------- 69 Please edit /etc/rc.d/init.d/messagebus and fix up 70 the stop function so /var/run/dbus.pid gets removed 71 -------------------------------------------------------- 72 EOF 73
Note: See TracChangeset
for help on using the changeset viewer.