Remove paypal links and icond refs from Debian package.

This commit is contained in:
Simon Kelley
2014-09-09 14:28:01 +01:00
parent d54409dcd3
commit 933878f2c8
2 changed files with 4 additions and 3 deletions

4
debian/rules vendored
View File

@@ -132,7 +132,9 @@ binary-arch: checkroot
-d debian/base/var/lib/misc -d debian/base/var/lib/misc
make $(TARGET) PREFIX=/usr DESTDIR=`pwd`/debian/base CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" COPTS="$(DEB_COPTS)" CC=gcc make $(TARGET) PREFIX=/usr DESTDIR=`pwd`/debian/base CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" COPTS="$(DEB_COPTS)" CC=gcc
ifeq (,$(findstring nodocs,$(DEB_BUILD_OPTIONS))) ifeq (,$(findstring nodocs,$(DEB_BUILD_OPTIONS)))
install -m 644 doc.html debian/base/usr/share/doc/$(package)/. # Need to remove paypal links in Debian Package for policy reasons.
sed -e /\<H2\>Donations/Q -e /icon.png/d doc.html -e /favicon.ico/d >debian/base/usr/share/doc/$(package)/doc.html
echo "</BODY>" >>debian/base/usr/share/doc/$(package)/doc.html
install -m 644 setup.html debian/base/usr/share/doc/$(package)/. install -m 644 setup.html debian/base/usr/share/doc/$(package)/.
install -m 644 dnsmasq.conf.example debian/base/usr/share/doc/$(package)/examples/. install -m 644 dnsmasq.conf.example debian/base/usr/share/doc/$(package)/examples/.
install -m 644 trust-anchors.conf debian/base/usr/share/$(package)/. install -m 644 trust-anchors.conf debian/base/usr/share/$(package)/.

View File

@@ -1,8 +1,7 @@
<HTML> <HTML>
<HEAD> <HEAD>
<TITLE> Dnsmasq - network services for small networks.</TITLE> <TITLE> Dnsmasq - network services for small networks.</TITLE>
<link rel="icon" <link rel="icon" href="http://www.thekelleys.org.uk/dnsmasq/images/favicon.ico">
href="http://www.thekelleys.org.uk/dnsmasq/images/favicon.ico">
</HEAD> </HEAD>
<BODY BGCOLOR="WHITE"> <BODY BGCOLOR="WHITE">
<table width="100%" border="0" cellpadding="0" cellspacing="0"> <table width="100%" border="0" cellpadding="0" cellspacing="0">