Skip to content
Commits on Source (5)
torbrowser-launcher (0.3.2-5) unstable; urgency=medium
* debian/maintscript:
- Move from torbrowser-launcher.maintscript to maintscript.
- The following files are still shipped by this package, so removed them
from rm_conffile line:
/etc/apparmor.d/local/torbrowser.Browser.firefox
/etc/apparmor.d/local/torbrowser.Tor.tor
* debian/manpages:
- Move from torbrowser-launcher.manpages to manpages.
* debian/rules:
- Remove copying apparmor profile, since this is handled by setup.py.
* debian/preinst:
- Remove old apparmor profiles shipped not as conffile before, only
if the checksum matches, which means without user modification:
/etc/apparmor.d/local/torbrowser.Browser.firefox
/etc/apparmor.d/local/torbrowser.Tor.tor
(Closes: #934119)
-- Roger Shimizu <rosh@debian.org> Mon, 06 Jan 2020 01:07:36 +0900
torbrowser-launcher (0.3.2-4) unstable; urgency=medium
* debian/tests:
......
rm_conffile /etc/apparmor.d/torbrowser.start-tor-browser 0.2.8-5~ torbrowser-launcher
rm_conffile /etc/apparmor.d/usr.bin.torbrowser-launcher 0.2.8-4~ torbrowser-launcher
rm_conffile /etc/apparmor.d/local/torbrowser.Browser.firefox 0.2.9-5~ torbrowser-launcher
rm_conffile /etc/apparmor.d/local/torbrowser.Browser.plugin-container 0.2.9-5~ torbrowser-launcher
rm_conffile /etc/apparmor.d/local/torbrowser.Tor.tor 0.2.9-5~ torbrowser-launcher
rm_conffile /etc/apparmor.d/torbrowser.Browser.plugin-container 0.3.2-1~ torbrowser-launcher
#!/bin/sh
set -e
# Remove old apparmor profiles shipped not as conffile before, only
# if the checksum matches, which means without user modification
for PROFILE in torbrowser.Browser.firefox torbrowser.Tor.tor ; do
profile=/etc/apparmor.d/local/$PROFILE
# commit [91652b6]:
# db8bcb0d87df8a9727707615ac3651c4 torbrowser.Browser.firefox
# 6862d1564692f7e61a55e2888d671dff torbrowser.Tor.tor
# commit [064ad1f]:
# f211f31857d84b30b7d2bf5b4106dde3 torbrowser.Browser.firefox
[ -f "$profile" ] &&
case $(md5sum "$profile"| sed -e 's/ .*//') in
"db8bcb0d87df8a9727707615ac3651c4" |\
"6862d1564692f7e61a55e2888d671dff" |\
"f211f31857d84b30b7d2bf5b4106dde3" )
rm -f "$profile"
;;
esac
done
#DEBHELPER#
......@@ -7,7 +7,6 @@ include /usr/share/dpkg/pkg-info.mk
override_dh_install:
for PROFILE in torbrowser.Tor.tor torbrowser.Browser.firefox ; do \
cp apparmor/$$PROFILE debian/torbrowser-launcher/etc/apparmor.d/ ; \
dh_apparmor --profile-name=$$PROFILE -ptorbrowser-launcher ; \
done
help2man -N -n "helps download and run the Tor Browser Bundle" \
......