Skip to content

Commit

Permalink
enable AppArmor profile /etc/apparmor.d/usr.lib.sdwdate.url_to_unixtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Schleizer committed Nov 30, 2015
1 parent 47e9a0e commit 5340203
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ Source: sdwdate
Section: misc
Priority: optional
Maintainer: Patrick Schleizer <adrelanos@riseup.net>
Build-Depends: debhelper (>= 9), faketime, genmkfile, ruby-ronn (>= 0.7.3), dh-systemd
Build-Depends: debhelper (>= 9), faketime, genmkfile, ruby-ronn (>= 0.7.3),
dh-systemd, dh-apparmor
Homepage: https://github.com/Whonix/sdwdate
Vcs-Browser: https://github.com/Whonix/sdwdate
Vcs-Git: https://github.com/Whonix/sdwdate.git
Expand Down
4 changes: 2 additions & 2 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
%:
dh $@ --with systemd

#APPARMOR_PROFILE_NAME=$(shell basename $$(echo ./debian/$(shell dh_listpackages)/etc/apparmor.d/*.*))
APPARMOR_PROFILE_NAME=$(shell basename $$(echo ./debian/$(shell dh_listpackages)/etc/apparmor.d/*.*))

override_dh_install:
#dh_apparmor --profile-name=$(APPARMOR_PROFILE_NAME) -p$(shell dh_listpackages)
dh_apparmor --profile-name=$(APPARMOR_PROFILE_NAME) -p$(shell dh_listpackages)
make manpages
dh_installman $(CURDIR)/debian/tmp-man/*

Expand Down

0 comments on commit 5340203

Please sign in to comment.