Summary: Milter filter for renaming dangerous MIME attachments Name: vbsfilter Version: 1.11 Release: 2.8x Source: vbsfilter-%{version}.tar.gz Patch0: vbsfilter-linux.ioctl URL: http://aeschi.ch.eu.org/milter/ License: GPL Group: System Environment/Daemons Packager: Milan Kerslager BuildRoot: /tmp/vbsfilter Requires: sendmail >= 8.11.6 BuildRequires: sendmail-devel gcc make patch %description Daemon for renaming dangerous mail attachments. Uses milter library from sendmail package. To utilize this filter you have to modify /etc/mail/sendmail.cf so read the README.html please. %prep %setup -q %patch -p1 -b .linux.ioctl %build ln -s Makefile-Linux Makefile make CFLAGS="$RPM_OPT_FLAGS" %install mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d \ $RPM_BUILD_ROOT/usr/sbin install -m 755 vbsfilter-init $RPM_BUILD_ROOT/etc/rc.d/init.d/vbsfilter install -m 755 vbsfilter $RPM_BUILD_ROOT/usr/sbin/vbsfilter %clean rm -rf $RPM_BUILD_ROOT %post /sbin/chkconfig --add vbsfilter %preun if [ $1 = 0 ]; then /sbin/chkconfig --del vbsfilter /sbin/service vbsfilter stop >/dev/null 2>&1 fi %postun if [ "$1" -ge "1" ]; then /sbin/service vbsfilter condrestart >/dev/null 2>&1 fi %files %doc README.html %defattr(0644,root,root,0755) %attr(0755,root,root) /etc/rc.d/init.d/vbsfilter %attr(0755,root,root) /usr/sbin/vbsfilter %changelog * Thu Jan 23 2003 Milan Kerslager 1.11-2.8x - rebuild for 8.0 * Thu Jan 23 2003 Milan Kerslager 1.11-2.7x - BuildRequires: patch gcc - bumped Release to make builds for RH 7.x and 8.x * Tue Jan 14 2003 Milan Kerslager 1.11-1 - updated to v1.11 - Linux ioctl.h patch - vbsfilter binary is now included (uff!) * Tue Nov 19 2002 Milan Kerslager 1.9-1 - initial version