]>
Commit | Line | Data |
---|---|---|
ac828673 ER |
1 | New browser-plugins |
2 | ||
22f27ac8 ER |
3 | Technical implementation |
4 | ~~~~~~~~~~~~~~~~~~~~~~~~ | |
5 | ||
6 | browser-plugins(%{_target_base_arch}) provides: | |
7 | - %dir /etc/browser-plugins | |
8 | - %{_sbindir}/update-browser-plugins script | |
9 | The script will parse /etc/browser-plugins/*.blacklist and delete dead and add | |
10 | new symlinks to browser specific plugin directories. | |
11 | ||
12 | update-browser-plugins script knows about browsers. it has hardcoded list of | |
13 | browser plugin directories. | |
14 | ||
15 | plugin provides | |
16 | - %config(noreplace) /etc/browser-plugins/<plugin>-<browser>-%{_target_base_arch}.blacklist | |
17 | The blacklist contains shell globs of filenames to be excluded from linking to | |
18 | browser specific plugin directory. The shell globs are base of %{_plugindir}, | |
19 | subdirectories are allowed. | |
20 | - %post/%postun scriptlet | |
21 | the scriptlet will call %update_browser_plugins | |
22 | ||
23 | browser provides | |
24 | - /etc/browser-plugins/browser.d/<browser>.%{_target_base_arch} symlink | |
25 | the symlink will point to the single directory where it searches for its plugins. | |
26 | - %post/%postun scriptlet | |
27 | the scriptlet will call %update_browser_plugins |