Packager: Stefan Waldherr <stefan@waldherr.org>
Obsoletes: junkbuster-raw junkbuster-blank
Prereq: /usr/sbin/useradd , /sbin/chkconfig , /sbin/service
+BuildRequires: perl
Conflicts: junkbuster-raw junkbuster-blank
%description
%post
if [ "$1" = "1" ]; then
- /sbin/chkconfig --add junkbuster
+ /sbin/chkconfig --add junkbuster
+ /sbin/service junkbuster condrestart > /dev/null 2>&1
fi
# for upgrade from 2.0.x
chown junkbust:junkbust /var/log/junkbuster/* 2>/dev/null
fi
%postun
-if [ "$1" -ge "1" ]; then
- /sbin/service junkbuster condrestart > /dev/null 2>&1
-fi
+#if [ "$1" -ge "1" ]; then
+# /sbin/service junkbuster condrestart > /dev/null 2>&1
+#fi
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
-%doc doc/webserver/developer-manual doc/webserver/user-manual README
-%doc junkbuster.weekly junkbuster.monthly
+%doc doc/webserver/developer-manual doc/webserver/user-manual README
+%doc junkbuster.weekly junkbuster.monthly AUTHORS
%dir %{ijbconf}
%config %{ijbconf}/*
%attr(0744,junkbust,junkbust) %dir /var/log/junkbuster
data stream between\r
web servers and browsers.\r
\fBJunkbuster\fP can be used to protect privacy, manage cookies, filter web\r
-page content, manage access restrictions, and to remove such annoying Internet\r
+page content, manage access restrictions, and to discard such annoying Internet\r
junk as ads, banners, and pop-ups. Or whatever other annoyances strike your\r
fancy.\r
\r
# Block any URLs that match these patterns\r
{+block}\r
/.*/(.*[-_.])?ads?[0-9]?(/|[-_.].*|\\.(gif|jpe?g))\r
- /.*/(.*[-_.])?count(er)?(\\.cgi|\\.dll|\\.exe|[?/])\r
/.*/(plain|live|rotate)[-_.]?ads?/\r
/.*/(sponsor)s?[0-9]?/\r
/.*/ad(server|stream|juggler)\\.(cgi|pl|dll|exe)\r
/.*/adv((er)?ts?|ertis(ing|ements?))?/\r
/.*/banners?/\r
/.*/popupads/\r
- /.*/sponsor.*\\.gif\r
/.*/advert[0-9]+\\.jpg\r
/ad_images/\r
/.*/ads/\r
.sp\r
.PP\r
See the comments in the configuration files themselves, or the user-manual \r
-for explanations of the above syntax.\r
+for explanations of the above syntax, and other \fBJunkbuster\fP configuration \r
+options.\r
\r
.SH "FILES"\r
\fI/usr/sbin/junkbuster\fP\r
\fI/var/log/junkbuster/logfile\fP\r
\r
.P\r
-Various other files should be included, but may vary depending on platform.\r
-More documentation should be included in the local documentation directory,\r
-though is not complete at this time.\r
+Various other files should be included, but may vary depending on platform \r
+and build configuration. More documentation should be included in the local\r
+documentation directory, though is not complete at this time.\r
\r
.SH NOTES\r
-This is a development version of \fBJunkbuster\fP. All features are not \r
+This is a development version of \fBJunkbuster\fP. Not all features are \r
complete.\r
\r
.SH BUGS\r
.br\r
Hal Burgiss\r
\r
-\r
-.SH COPYRIGHT AND GPL\r
+.SH COPYRIGHT AND LICENSE\r
Orginally written by, and copyrighted by, the Anonymous Coders and Junkbusters\r
Corporation. \r
.P\r