Author: mvidner Date: Thu Jul 3 14:14:28 2008 New Revision: 48812 URL: http://svn.opensuse.org/viewcvs/yast?rev=48812&view=rev Log: moved much of readme to makefile Added: branches/tmp/lslezak/workshop/scr_dbus/Makefile branches/tmp/lslezak/workshop/scr_dbus/org.opensuse.YaST.service branches/tmp/lslezak/workshop/scr_dbus/yast.conf Modified: branches/tmp/lslezak/workshop/scr_dbus/readme.txt Added: branches/tmp/lslezak/workshop/scr_dbus/Makefile URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/workshop/scr_dbus/Makefile?rev=48812&view=auto ============================================================================== --- branches/tmp/lslezak/workshop/scr_dbus/Makefile (added) +++ branches/tmp/lslezak/workshop/scr_dbus/Makefile Thu Jul 3 14:14:28 2008 @@ -0,0 +1,7 @@ +libdir=/usr/$(shell y2tool get-lib) +install: + cp yast.conf /etc/dbus-1/system.d + cp org.opensuse.YaST.service /usr/share/dbus-1/system-services + cp yast_service.py /usr/sbin + cp DBusValueToPythonValue.py ${libdir}/python/site-packages + cp DBus.py /usr/share/YaST/modules Added: branches/tmp/lslezak/workshop/scr_dbus/org.opensuse.YaST.service URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/workshop/scr_dbus/org.opensuse.YaST.service?rev=48812&view=auto ============================================================================== --- branches/tmp/lslezak/workshop/scr_dbus/org.opensuse.YaST.service (added) +++ branches/tmp/lslezak/workshop/scr_dbus/org.opensuse.YaST.service Thu Jul 3 14:14:28 2008 @@ -0,0 +1,4 @@ +[D-BUS Service] +Name=org.opensuse.YaST +Exec=/usr/sbin/yast_service.py +User=root Modified: branches/tmp/lslezak/workshop/scr_dbus/readme.txt URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/workshop/scr_dbus/readme.txt?rev=48812&r1=48811&r2=48812&view=diff ============================================================================== --- branches/tmp/lslezak/workshop/scr_dbus/readme.txt (original) +++ branches/tmp/lslezak/workshop/scr_dbus/readme.txt Thu Jul 3 14:14:28 2008 @@ -1,46 +1,7 @@ How to cofigure it: =================== -Config Files: - -/etc/dbus-1/system.d/yast.conf ------------------------------- -<!DOCTYPE busconfig PUBLIC - "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" - "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> -<busconfig> - <policy user="root"> - <allow own="org.opensuse.YaST"/> - <allow send_destination="org.opensuse.YaST"/> - <allow send_interface="org.opensuse.YaST"/> - - </policy> - <policy at_console="true"> - <allow send_destination="org.opensuse.YaST"/> - <allow send_interface="org.opensuse.YaST"/> - </policy> - <policy context="default"> - <deny own="org.opensuse.YaST"/> - <deny send_destination="org.opensuse.YaST"/> - <deny send_interface="org.opensuse.YaST"/> - - </policy> - - <limit name="max_replies_per_connection">512</limit> -</busconfig> - -/usr/share/dbus-1/system-services/org.opensuse.YaST.service ------------------------------------------------------------ -[D-BUS Service] -Name=org.opensuse.YaST -Exec=/path/to/yast_service.py -User=root - - -DBusValueToPythonValue.py -------------------------- -this file should by in python library path (/usr/lib64/python/site-packages) - +make install How to run it: ============= Added: branches/tmp/lslezak/workshop/scr_dbus/yast.conf URL: http://svn.opensuse.org/viewcvs/yast/branches/tmp/lslezak/workshop/scr_dbus/yast.conf?rev=48812&view=auto ============================================================================== --- branches/tmp/lslezak/workshop/scr_dbus/yast.conf (added) +++ branches/tmp/lslezak/workshop/scr_dbus/yast.conf Thu Jul 3 14:14:28 2008 @@ -0,0 +1,24 @@ +<!DOCTYPE busconfig PUBLIC + "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" + "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> +<busconfig> + <policy user="root"> + <allow own="org.opensuse.YaST"/> + <allow send_destination="org.opensuse.YaST"/> + <allow send_interface="org.opensuse.YaST"/> + + </policy> + <policy at_console="true"> + <allow send_destination="org.opensuse.YaST"/> + <allow send_interface="org.opensuse.YaST"/> + </policy> + <policy context="default"> + <deny own="org.opensuse.YaST"/> + <deny send_destination="org.opensuse.YaST"/> + <deny send_interface="org.opensuse.YaST"/> + + </policy> + + <limit name="max_replies_per_connection">512</limit> +</busconfig> + -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org