We are no longer offering accounts on this server. Consider https://gitlab.freedesktop.org/ as a place to host projects.

Commit 19f46f2c authored by Sam Geeraerts's avatar Sam Geeraerts

Bogofilter: exclude non-free documentation.

parent 7ef7ea29
......@@ -149,6 +149,7 @@ SEAMONKEY_VERSION=1
AUDACITY_VERSION=1
LIFEREA_VERSION=1
KDEBASE_VERSION=1
BOGOFILTER_VERSION=1
# PATHS
WORKINGDIR=$BASEDIR/tmp
......
......@@ -334,6 +334,7 @@ while [ $REDO -eq 1 ]; do # If versions in the config change, we could need to r
# ensure_updated srcname gnssrcname
ensure_updated apt apt $RELEASE$distro_release ./gen-apt $APT_VERSION
ensure_updated audacity audacity $RELEASE$distro_release ./gen-audacity $AUDACITY_VERSION
ensure_updated bogofilter bogofilter $RELEASE$distro_release ./gen-bogofilter $BOGOFILTER_VERSION
ensure_updated cia-clients cia-clients $RELEASE$distro_release ./gen-cia-clients $CIA_SCRIPTS_VERSION
ensure_updated base-files base-files $RELEASE$distro_release ./gen-base-files $BASE_FILES_VERSION
ensure_updated example-content example-content $RELEASE$distro_release ./gen-example-content $EXAMPLE_CONTENT_VERSION
......
#!/bin/bash
#
# Copyright (C) 2009 Sam Geeraerts
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
. config
rm -rf $WORKINGDIR
mkdir -p $WORKINGDIR
cd $WORKINGDIR
apt-get source bogofilter$VERSION
apt-get --yes build-dep bogofilter$VERSION
cd bogofilter-*
rm doc/bogofilter-SA-2005-01
rm doc/bogofilter-SA-2005-02
echo | dch -D $RELEASE -v $(sed -n '1s#^.*(\(.*\)).*#\1'${DISTRONAME_L}${BOGOFILTER_VERSION}'#p' debian/changelog) "Removed non-free documentation."
dpkg-buildpackage $DPKGOPTS
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment