Advertising
- Anonymous
- Tuesday, April 24th, 2012 at 4:25:54pm UTC
- cat /var/lib/dpkg/info/clamav-daemon.list
- /.
- /etc
- /etc/logrotate.d
- /etc/clamav
- /etc/clamav/virusevent.d
- /etc/apparmor.d
- /etc/apparmor.d/force-complain
- /etc/apparmor.d/usr.sbin.clamd
- /etc/logcheck
- /etc/logcheck/ignore.d.server
- /etc/logcheck/ignore.d.server/clamav-daemon
- /etc/logcheck/ignore.d.paranoid
- /etc/logcheck/ignore.d.paranoid/clamav-daemon
- /etc/init.d
- /etc/init.d/clamav-daemon
- /usr
- /usr/sbin
- /usr/sbin/clamd
- /usr/share
- /usr/share/bug
- /usr/share/bug/clamav-daemon
- /usr/share/bug/clamav-daemon/script
- /usr/share/man
- /usr/share/man/man8
- /usr/share/man/man8/clamd.8.gz
- /usr/share/man/man1
- /usr/share/man/man1/clamdtop.1.gz
- /usr/share/man/man1/clamdscan.1.gz
- /usr/share/man/man1/clamconf.1.gz
- /usr/share/doc
- /usr/share/doc/clamav-daemon
- /usr/share/doc/clamav-daemon/copyright
- /usr/bin
- /usr/bin/clamdscan
- /usr/bin/clamdtop
- /usr/bin/clamconf
- /usr/share/doc/clamav-daemon/changelog.Debian.gz
- /usr/share/doc/clamav-daemon/NEWS.Debian.gz
- /usr/share/doc/clamav-daemon/README.Debian.gz
- /usr/share/doc/clamav-daemon/README.gz
- /usr/share/doc/clamav-daemon/FAQ
- /usr/share/doc/clamav-daemon/BUGS
- /usr/share/doc/clamav-daemon/AUTHORS
- --------------------------------------------------------------------------------
- cat /var/lib/dpkg/info/clamav-daemon.conffiles
- /etc/apparmor.d/usr.sbin.clamd
- /etc/logcheck/ignore.d.server/clamav-daemon
- /etc/logcheck/ignore.d.paranoid/clamav-daemon
- /etc/init.d/clamav-daemon
- --------------------------------------------------------------------------------
- cat /var/lib/dpkg/info/clamav-daemon.md5sums
- 7f08487899a77232a18c1379c720edcb etc/apparmor.d/usr.sbin.clamd
- 80f0bd4a535fd133f037ddd195d7c09c etc/init.d/clamav-daemon
- a2d0bd9c56a1b58dc939b4eb84d92206 etc/logcheck/ignore.d.paranoid/clamav-daemon
- 5124f89490b134ebe8bb898f41c25e79 etc/logcheck/ignore.d.server/clamav-daemon
- de08506caeb1020f0101ddc538f7bd80 usr/bin/clamconf
- ef6ae7ef4189222f3b11ab52126f2e16 usr/bin/clamdscan
- 9290c91d0658019adc6d677b7a5f4ace usr/bin/clamdtop
- 6d9f06cc450c9d73f0616404304693d8 usr/sbin/clamd
- 5e40a5daa82b6f5e04853abfe49c4394 usr/share/bug/clamav-daemon/script
- df0edb625693c9c9b90a6b3144b5387d usr/share/doc/clamav-daemon/copyright
- a51b1971207038c5f0bdbc277d5266f5 usr/share/man/man1/clamconf.1.gz
- ae07d48904cdac3af67c0f9b83344e47 usr/share/man/man1/clamdscan.1.gz
- 4f647929eb44706064132a9ce8a4eac3 usr/share/man/man1/clamdtop.1.gz
- 998cca04eb92ae21a9a15b0567ddcc6e usr/share/man/man8/clamd.8.gz
- --------------------------------------------------------------------------------
- cat /var/lib/dpkg/info/clamav-daemon.postrm
- #! /bin/sh
- # postrm script for #PACKAGE#
- #
- # see: dh_installdeb(1)
- # summary of how this script can be called:
- # * <postrm> `remove'
- # * <postrm> `purge'
- # * <old-postrm> `upgrade' <new-version>
- # * <new-postrm> `failed-upgrade' <old-version>
- # * <new-postrm> `abort-install'
- # * <new-postrm> `abort-install' <old-version>
- # * <new-postrm> `abort-upgrade' <old-version>
- # * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
- # for details, see /usr/share/doc/packaging-manual/
- set -e
- # dh_installdeb will replace this with shell code automatically
- # generated by other debhelper scripts.
- # Automatically added by dh_installinit
- if [ "$1" = "purge" ] ; then
- update-rc.d clamav-daemon remove >/dev/null
- fi
- # End automatically added section
- # remove AppArmor files
- if [ "$1" = "purge" ]; then
- rm -f "/etc/apparmor.d/disable/usr.sbin.clamd" || true
- rm -f "/etc/apparmor.d/force-complain/usr.sbin.clamd" || true
- rm -f "/etc/apparmor.d/local/usr.sbin.clamd" || true
- rmdir /etc/apparmor.d/local 2>/dev/null || true
- fi
- case "$1" in
- purge)
- LOGROTATE_FILE='/etc/logrotate.d/clamav-daemon'
- if [ -x "/usr/bin/ucf" ]; then
- ucf -p $LOGROTATE_FILE || true
- fi
- if [ -e "$LOGROTATE_FILE" ]; then
- rm -f $LOGROTATE_FILE
- fi
- for dir in /etc/clamav/ /var/log/clamav /var/lib/clamav/; do
- if [ -d "$dir" ]; then
- rmdir "$dir" --ignore-fail-on-non-empty || true
- fi
- done
- ;;
- remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- ;;
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 0
- esac
- exit 0
- -------------------------------------------------------------------------
- cat /var/lib/dpkg/info/clamav-daemon.postinst
- To much content, can't copy
- -------------------------------------------------------------------------
- cat /var/lib/dpkg/info/clamav-daemon.preinst
- #! /bin/sh
- # preinst script for #PACKAGE#
- #
- set -e
- APP_PROFILE="usr.sbin.clamd"
- APP_CONFFILE="/etc/apparmor.d/$APP_PROFILE"
- APP_COMPLAIN="/etc/apparmor.d/force-complain/$APP_PROFILE"
- if [ "$1" = "upgrade" ]; then
- mkdir -p `dirname $APP_COMPLAIN` 2>/dev/null || true
- if dpkg --compare-versions $2 lt 0.92.1~dfsg2-1.1~feisty3 ; then
- # force-complain for pre-apparmor upgrades
- ln -sf $APP_CONFFILE $APP_COMPLAIN
- elif dpkg --compare-versions $2 lt 0.93.3.dfsg-1ubuntu1 ; then
- if [ -e "$APP_CONFFILE" ]; then
- md5sum="`md5sum \"$APP_CONFFILE\" | sed -e \"s/ .*//\"`"
- pkg_md5sum="`sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' $APP_CONFFILE'{s/.* //;p}}\" /var/lib/dpkg/status`"
- if [ "$md5sum" = "$pkg_md5sum" ]; then
- # force-complain on upgrade from pre-shipped profile and
- # existing profile is same as in conffiles
- ln -sf $APP_CONFFILE $APP_COMPLAIN
- fi
- else
- # force-complain on upgrade from pre-shipped profile and
- # there is no existing profile
- ln -sf $APP_CONFFILE $APP_COMPLAIN
- fi
- fi
- fi
- exit 0
- -----------------------------------------------------------------
- cat /var/lib/dpkg/info/clamav-daemon.prerm
- #!/bin/sh
- set -e
- # Automatically added by dh_installinit
- if [ -x "/etc/init.d/clamav-daemon" ]; then
- invoke-rc.d clamav-daemon stop || exit $?
- fi
- # End automatically added section
advertising
Update the Post
Either update this post and resubmit it with changes, or make a new post.
You may also comment on this post.
Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.