Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate

Advertising

Anonymous
Tuesday, April 24th, 2012 at 4:25:54pm UTC 

  1. cat /var/lib/dpkg/info/clamav-daemon.list
  2.  
  3.  
  4. /.
  5. /etc
  6. /etc/logrotate.d
  7. /etc/clamav
  8. /etc/clamav/virusevent.d
  9. /etc/apparmor.d
  10. /etc/apparmor.d/force-complain
  11. /etc/apparmor.d/usr.sbin.clamd
  12. /etc/logcheck
  13. /etc/logcheck/ignore.d.server
  14. /etc/logcheck/ignore.d.server/clamav-daemon
  15. /etc/logcheck/ignore.d.paranoid
  16. /etc/logcheck/ignore.d.paranoid/clamav-daemon
  17. /etc/init.d
  18. /etc/init.d/clamav-daemon
  19. /usr
  20. /usr/sbin
  21. /usr/sbin/clamd
  22. /usr/share
  23. /usr/share/bug
  24. /usr/share/bug/clamav-daemon
  25. /usr/share/bug/clamav-daemon/script
  26. /usr/share/man
  27. /usr/share/man/man8
  28. /usr/share/man/man8/clamd.8.gz
  29. /usr/share/man/man1
  30. /usr/share/man/man1/clamdtop.1.gz
  31. /usr/share/man/man1/clamdscan.1.gz
  32. /usr/share/man/man1/clamconf.1.gz
  33. /usr/share/doc
  34. /usr/share/doc/clamav-daemon
  35. /usr/share/doc/clamav-daemon/copyright
  36. /usr/bin
  37. /usr/bin/clamdscan
  38. /usr/bin/clamdtop
  39. /usr/bin/clamconf
  40. /usr/share/doc/clamav-daemon/changelog.Debian.gz
  41. /usr/share/doc/clamav-daemon/NEWS.Debian.gz
  42. /usr/share/doc/clamav-daemon/README.Debian.gz
  43. /usr/share/doc/clamav-daemon/README.gz
  44. /usr/share/doc/clamav-daemon/FAQ
  45. /usr/share/doc/clamav-daemon/BUGS
  46. /usr/share/doc/clamav-daemon/AUTHORS
  47.  
  48. --------------------------------------------------------------------------------
  49.  
  50. cat /var/lib/dpkg/info/clamav-daemon.conffiles
  51.  
  52. /etc/apparmor.d/usr.sbin.clamd
  53. /etc/logcheck/ignore.d.server/clamav-daemon
  54. /etc/logcheck/ignore.d.paranoid/clamav-daemon
  55. /etc/init.d/clamav-daemon
  56.  
  57. --------------------------------------------------------------------------------
  58.  
  59. cat /var/lib/dpkg/info/clamav-daemon.md5sums
  60.  
  61. 7f08487899a77232a18c1379c720edcb  etc/apparmor.d/usr.sbin.clamd
  62. 80f0bd4a535fd133f037ddd195d7c09c  etc/init.d/clamav-daemon
  63. a2d0bd9c56a1b58dc939b4eb84d92206  etc/logcheck/ignore.d.paranoid/clamav-daemon
  64. 5124f89490b134ebe8bb898f41c25e79  etc/logcheck/ignore.d.server/clamav-daemon
  65. de08506caeb1020f0101ddc538f7bd80  usr/bin/clamconf
  66. ef6ae7ef4189222f3b11ab52126f2e16  usr/bin/clamdscan
  67. 9290c91d0658019adc6d677b7a5f4ace  usr/bin/clamdtop
  68. 6d9f06cc450c9d73f0616404304693d8  usr/sbin/clamd
  69. 5e40a5daa82b6f5e04853abfe49c4394  usr/share/bug/clamav-daemon/script
  70. df0edb625693c9c9b90a6b3144b5387d  usr/share/doc/clamav-daemon/copyright
  71. a51b1971207038c5f0bdbc277d5266f5  usr/share/man/man1/clamconf.1.gz
  72. ae07d48904cdac3af67c0f9b83344e47  usr/share/man/man1/clamdscan.1.gz
  73. 4f647929eb44706064132a9ce8a4eac3  usr/share/man/man1/clamdtop.1.gz
  74. 998cca04eb92ae21a9a15b0567ddcc6e  usr/share/man/man8/clamd.8.gz
  75.  
  76. --------------------------------------------------------------------------------
  77.  
  78. cat /var/lib/dpkg/info/clamav-daemon.postrm
  79.  
  80. #! /bin/sh
  81. # postrm script for #PACKAGE#
  82. #
  83. # see: dh_installdeb(1)
  84. # summary of how this script can be called:
  85. #        * <postrm> `remove'
  86. #        * <postrm> `purge'
  87. #        * <old-postrm> `upgrade' <new-version>
  88. #        * <new-postrm> `failed-upgrade' <old-version>
  89. #        * <new-postrm> `abort-install'
  90. #        * <new-postrm> `abort-install' <old-version>
  91. #        * <new-postrm> `abort-upgrade' <old-version>
  92. #        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
  93. # for details, see /usr/share/doc/packaging-manual/
  94.  
  95. set -e
  96.  
  97. # dh_installdeb will replace this with shell code automatically
  98. # generated by other debhelper scripts.
  99.  
  100. # Automatically added by dh_installinit
  101. if [ "$1" = "purge" ] ; then
  102.         update-rc.d clamav-daemon remove >/dev/null
  103. fi
  104. # End automatically added section
  105.  
  106.  
  107. # remove AppArmor files
  108. if [ "$1" = "purge" ]; then
  109.     rm -f "/etc/apparmor.d/disable/usr.sbin.clamd" || true
  110.     rm -f "/etc/apparmor.d/force-complain/usr.sbin.clamd" || true
  111.     rm -f "/etc/apparmor.d/local/usr.sbin.clamd" || true
  112.     rmdir /etc/apparmor.d/local 2>/dev/null || true
  113. fi
  114.  
  115. case "$1" in
  116.   purge)
  117.   LOGROTATE_FILE='/etc/logrotate.d/clamav-daemon'
  118.   if [ -x "/usr/bin/ucf" ]; then
  119.     ucf -p $LOGROTATE_FILE || true
  120.   fi
  121.   if [ -e "$LOGROTATE_FILE" ]; then
  122.     rm -f $LOGROTATE_FILE
  123.   fi
  124.   for dir in /etc/clamav/ /var/log/clamav /var/lib/clamav/; do
  125.     if [ -d "$dir" ]; then
  126.       rmdir "$dir" --ignore-fail-on-non-empty || true
  127.     fi
  128.   done
  129.   ;;
  130.   remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
  131.   ;;
  132.   *)
  133.   echo "postrm called with unknown argument \`$1'" >&2
  134.   exit 0
  135. esac
  136.  
  137. exit 0
  138.  
  139. -------------------------------------------------------------------------
  140.  
  141. cat /var/lib/dpkg/info/clamav-daemon.postinst
  142.  
  143. To much content, can't copy
  144.  
  145. -------------------------------------------------------------------------
  146.  
  147. cat /var/lib/dpkg/info/clamav-daemon.preinst
  148.  
  149. #! /bin/sh
  150. # preinst script for #PACKAGE#
  151. #
  152.  
  153. set -e
  154.  
  155. APP_PROFILE="usr.sbin.clamd"
  156. APP_CONFFILE="/etc/apparmor.d/$APP_PROFILE"
  157. APP_COMPLAIN="/etc/apparmor.d/force-complain/$APP_PROFILE"
  158. if [ "$1" = "upgrade" ]; then
  159.     mkdir -p `dirname $APP_COMPLAIN` 2>/dev/null || true
  160.     if dpkg --compare-versions $2 lt 0.92.1~dfsg2-1.1~feisty3 ; then
  161.         # force-complain for pre-apparmor upgrades
  162.         ln -sf $APP_CONFFILE $APP_COMPLAIN
  163.     elif dpkg --compare-versions $2 lt 0.93.3.dfsg-1ubuntu1 ; then
  164.         if [ -e "$APP_CONFFILE" ]; then
  165.             md5sum="`md5sum \"$APP_CONFFILE\" | sed -e \"s/ .*//\"`"
  166.             pkg_md5sum="`sed -n -e \"/^Conffiles:/,/^[^ ]/{\\\\' $APP_CONFFILE'{s/.* //;p}}\" /var/lib/dpkg/status`"
  167.             if [ "$md5sum" = "$pkg_md5sum" ]; then
  168.                 # force-complain on upgrade from pre-shipped profile and
  169.                 # existing profile is same as in conffiles
  170.                 ln -sf $APP_CONFFILE $APP_COMPLAIN
  171.             fi
  172.         else
  173.             # force-complain on upgrade from pre-shipped profile and
  174.             # there is no existing profile
  175.             ln -sf $APP_CONFFILE $APP_COMPLAIN
  176.         fi
  177.     fi
  178. fi
  179.  
  180.  
  181.  
  182. exit 0
  183.  
  184. -----------------------------------------------------------------
  185.  
  186. cat /var/lib/dpkg/info/clamav-daemon.prerm
  187.  
  188. #!/bin/sh
  189. set -e
  190. # Automatically added by dh_installinit
  191. if [ -x "/etc/init.d/clamav-daemon" ]; then
  192.         invoke-rc.d clamav-daemon stop || exit $?
  193. fi
  194. # 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.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



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.

comments powered by Disqus
worth-right
worth-right
worth-right