2017-10-27 20:46:27 +02:00
|
|
|
|
# Tanım: Freedesktop.org ileti taşıma sistemi
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: http://www.freedesktop.org/wiki/Software/dbus/
|
2017-10-27 20:46:27 +02:00
|
|
|
|
# Paketçi: milisarge
|
2018-01-25 18:05:56 +01:00
|
|
|
|
# Gerekler: xorg-libx11 xorg-libsm xorg-libice
|
2016-02-24 01:27:23 +01:00
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
isim=dbus
|
|
|
|
|
surum=1.10.6
|
|
|
|
|
devir=1
|
|
|
|
|
kaynak=(http://dbus.freedesktop.org/releases/dbus/$isim-$surum.tar.gz \
|
2016-02-24 01:27:23 +01:00
|
|
|
|
dbus.system-local.conf)
|
|
|
|
|
|
2017-10-27 23:59:41 +02:00
|
|
|
|
derle() {
|
2016-02-24 01:27:23 +01:00
|
|
|
|
source /etc/blfs-bootscripts
|
2017-01-21 19:16:00 +01:00
|
|
|
|
wget http://anduin.linuxfromscratch.org/BLFS/blfs-bootscripts/$scripts-$scriptsversion.tar.bz2
|
2016-02-24 01:27:23 +01:00
|
|
|
|
tar xvf $scripts-$scriptsversion.tar.bz2
|
|
|
|
|
|
2017-10-28 14:10:23 +02:00
|
|
|
|
cd $isim-$surum
|
2016-02-24 01:27:23 +01:00
|
|
|
|
./configure --prefix=/usr --with-x \
|
|
|
|
|
--localstatedir=/var \
|
|
|
|
|
--disable-doxygen-docs \
|
|
|
|
|
--disable-xml-docs \
|
2017-10-28 14:10:23 +02:00
|
|
|
|
--docdir=/usr/share/doc/$isim-$surum \
|
2016-02-24 01:27:23 +01:00
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
|
--with-console-auth-dir=/run/console \
|
|
|
|
|
--without-systemdsystemunitdir \
|
|
|
|
|
--disable-systemd --disable-static
|
|
|
|
|
|
|
|
|
|
make
|
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
# Adjust some files
|
|
|
|
|
chown -v root:messagebus $PKG/usr/libexec/dbus-daemon-launch-helper
|
|
|
|
|
chmod -v 4750 $PKG/usr/libexec/dbus-daemon-launch-helper
|
|
|
|
|
mkdir -p $PKG/etc/dbus-1
|
|
|
|
|
mv ../dbus.system-local.conf $PKG/etc/dbus-1/system-local.conf
|
|
|
|
|
# service
|
|
|
|
|
cd ../$scripts-$scriptsversion
|
|
|
|
|
make DESTDIR=$PKG install-dbus
|
|
|
|
|
mkdir -p $PKG/usr/lib/dbus-1.0/services
|
|
|
|
|
mkdir -p $PKG/usr/share/dbus-1/services
|
|
|
|
|
mkdir -p $PKG/etc/dbus-1/system.d/
|
|
|
|
|
mkdir -p $PKG/etc/dbus-1/session.d/
|
|
|
|
|
for i in 2 3 4 5
|
2017-01-31 01:37:09 +01:00
|
|
|
|
do
|
2016-02-24 01:27:23 +01:00
|
|
|
|
mv $PKG/etc/rc.d/rc$i.d/S{29,15}dbus
|
|
|
|
|
done
|
|
|
|
|
for i in 0 1 6
|
|
|
|
|
do
|
|
|
|
|
mv $PKG/etc/rc.d/rc$i.d/K{30,85}dbus
|
|
|
|
|
done
|
|
|
|
|
}
|