Commit 81687d0c authored by Joost van Baal-Ilić's avatar Joost van Baal-Ilić

s/.diff.gz/.debian.tar.xz/: adjust to new dpkg-source; s/aangifte-ib/publicfile/

parent f557eb5c
......@@ -24,12 +24,12 @@ check_sources
if test -z "$DIFFDIR"
then
echo "No valid .diff.gz found"
echo "No valid .debian.tar.gz found"
fi
if test -z "$TARDIR"
then
echo "No valid .tar.gz found"
echo "No valid upstream .tar.gz found"
fi
if test -z "$TARDIR" -o -z "$DIFFDIR"
......
......@@ -33,7 +33,7 @@ check_sources
if test -n "$TARDIR"
then
echo "Found valid .tar.gz in $TARDIR, no need to download"
echo "Found valid upstream .tar.gz in $TARDIR, no need to download"
else
echo "Downloading $TARURL..."
wget --output-document=$TARFILE --quiet $TARURL
......@@ -41,14 +41,14 @@ else
then
TARDIR=`pwd`
else
echo "Downloaded file $TARFILE seems corrupt. Giving up."
echo "Downloaded upstream file $TARFILE seems corrupt. Giving up."
exit 1
fi
fi
if test -n "$DIFFDIR"
then
echo "Found valid .diff.gz in $DIFFDIR, no need to download"
echo "Found valid .debian.tar.xz in $DIFFDIR, no need to download"
else
# wget --recursive --accept diff.gz --level=1 --no-directories --no-parent \
# http://mdcc.cx/pub/publicfile/
......@@ -66,7 +66,7 @@ fi
echo ",---------------------------- - - - -"
echo "| $TARFILE verified and installed in $TARDIR."
echo "| $DIFFFILE verified and installed in $DIFFDIR."
echo "`---------------------------- - - - -"
echo " ---------------------------- - - - -"
if test "$1" = "go"
then
......
.\" this file maintained using GNU Arch at
.\" http://mdcc.cx/arch/{archives}/2006-aangifte-ib
.\" this file maintained using git at
.\" FIXME
.\" Copyright (C) 2006 Joost van Baal
.\" Copyright (C) 2015 Joost van Baal-Ilić
.\"
.\" This file is free software; you can redistribute it and/or modify it under
.\" the terms of the GNU GPL.
.\"
.\" See http://people.debian.org/~branden/talks/wtfm/ for hints
.\" See a cached version of http://people.debian.org/~branden/talks/wtfm/ for hints
.\" on writing manpages.
.\"
.\" Headings for Manpages in Sections 1, 6, or 8
......@@ -24,7 +25,6 @@
.\" AUTHOR or AUTHORS
.\" SEE ALSO
.\"
.\"
.\" URL - macro for URLs
.\" The first argument is the URL, the second is the text to be
.\" hyperlinked, and the third (optional) argument is any text that
......@@ -35,48 +35,48 @@
\\$2 \(laURL: \\$1 \(ra\\$3
..
.if \n[.g] .mso www.tmac
.TH aangifte-ib-installer 1 2007-07-11 "aangifte-ib-installer 0.7"
.TH publicfile-installer 1 2007-07-11 "publicfile-installer 0.7"
.SH NAME
aangifte-ib-installer \- get, build and install aangifte-ib
publicfile-installer \- get, build and install publicfile
.
.SH SYNOPSIS
.BR "get\-aangifte\-ib " [ "go" ]
.BR "get\-publicfile " [ "go" ]
.br
.BR "build\-aangifte\-ib " [ "go" ]
.BR "build\-publicfile " [ "go" ]
.br
.B install\-aangifte\-ib
.B install\-publicfile
.SH DESCRIPTION
.TP
.I get\-aangifte\-ib
\fBget\-aangifte\-ib\fR downloads and verifies aangifte\-ib sources.
.I get\-publicfile
\fBget\-publicfile\fR downloads and verifies publicfile sources.
.PP
.TP
.I build\-aangifte\-ib
\fBbuild\-aangifte\-ib\fR builds the aangifte\-ib package from its
.I build\-publicfile
\fBbuild\-publicfile\fR builds the publicfile package from its
sources.
.PP
.TP
.I install\-aangifte\-ib
\fBinstall\-aangifte\-ib\fR installs the built aangifte\-ib package,
.I install\-publicfile
\fBinstall\-publicfile\fR installs the built publicfile package,
using the native package installer. Unlike the other two scripts,
this script needs to be run as root.
.PP
All three scripts are pretty verbose. The scripts \fBget\-aangifte\-ib\fR and
\fBbuild\-aangifte\-ib\fR are interactive (but see below).
All three scripts are pretty verbose. The scripts \fBget\-publicfile\fR and
\fBbuild\-publicfile\fR are interactive (but see below).
.SH OPTIONS
When \fBget\-aangifte\-ib\fR or \fBbuild\-aangifte\-ib\fR are passed
When \fBget\-publicfile\fR or \fBbuild\-publicfile\fR are passed
the argument \fBgo\fR, they run in non-interactive
mode. This is useful when calling these scripts from within
a package installer.
.SH FILES
The scripts install files, and search for files in
.IR "$HOME/.aangifte-ib-installer/ " "and " "/usr/src/aangifte-ib-installer/" "."
The \fBinstall\-aangifte\-ib\fR script searches for the binary package in
.IR "/tmp/aangifte-ib-installer" "."
.IR "$HOME/.publicfile-installer/ " "and " "/usr/src/publicfile-installer/" "."
The \fBinstall\-publicfile\fR script searches for the binary package in
.IR "/tmp/publicfile-installer" "."
The scripts are configured using
.IR "/etc/aangifte-ib-installer.conf " "and " "$HOME/.aangifte-ib-installer.conf" "."
.IR "/etc/publicfile-installer.conf " "and " "$HOME/.publicfile-installer.conf" "."
.SH AUTHOR
Copyright \(co 2006 Joost van Baal
Copyright \(co 2006 Joost van Baal, Copyright \(co 2015 Joost van Baal-Ilić
.br
This document is free software; you can redistribute it and/or modify it under
the terms of the GNU GPL as published by the FSF; version 3 of the License,
......@@ -84,5 +84,5 @@ or any later version. You should have received a copy of the GNU GPL along
with this file (see COPYING); if not, check
.URL "http://www.gnu.org/copyleft/gpl.html" "the copy on the FSF website" "."
.SH SEE ALSO
The
.URL "http://mdcc.cx/aangifte-ib" "aangifte-ib website" "."
The authors
.URL "http://mdcc.cx/publicfile" "publicfile website" "."
......@@ -4,24 +4,26 @@
#
# TARFILE=ib2006_linux.tar.gz
TARFILE=ib2007_linux.tar.gz
# TARFILE=ib2007_linux.tar.gz
TARFILE=publicfile-0.52.tar.gz
# http://www.pvcf.nl/easytax/source/ ib2007_linux.tar.gz was released 12 juni 2007
# TARURL=http://www.pvcf.nl/easytax/source/$TARFILE
TARURL=http://download.belastingdienst.nl/belastingdienst/apps/linux/$TARFILE
# TARURL=http://download.belastingdienst.nl/belastingdienst/apps/linux/$TARFILE
TARURL=http://cr.yp.to/publicfile/$TARFILE
# official version:
# http://www.belastingdienst.nl/download/ links to
# http://www.belastingdienst.nl/download/1706.html links to
# http://download.belastingdienst.nl/belastingdienst/apps/linux/ib2007_linux.tar.gz released 2008-02-07
# DIFFFILE=aangifte-ib_0.2007-0.0.test.2007.06.12-1.diff.gz
DIFFFILE=aangifte-ib_0.2007-1.0.official.2008.02.07-1.diff.gz
DIFFFILE=aangifte-ib_0.2007-1.0.official.2008.02.07-1.diff.gz FIXME
# DEBFILE=aangifte-ib_0.2007-0.0.test.2007.06.12-1_i386.deb
DEBFILE=aangifte-ib_0.2007-1.0.official.2008.02.07-1_i386.deb
DEBFILE=aangifte-ib_0.2007-1.0.official.2008.02.07-1_i386.deb FIXME
MD5SUM_TAR="90b3e1e8bd922c9061dc8bf237d489d3 $TARFILE"
MD5SUM_DIFF="4c5f90585825a208de007991f6776154 $DIFFFILE"
MD5SUM_TAR="90b3e1e8bd922c9061dc8bf237d489d3 $TARFILE" FIXME
MD5SUM_DIFF="4c5f90585825a208de007991f6776154 $DIFFFILE" FIXME
# don't change anything below this line (unless you really know what you
# are doing, of course)
......@@ -31,7 +33,7 @@ MD5SUM_DIFF="4c5f90585825a208de007991f6776154 $DIFFFILE"
check_sources() {
TARDIR=
DIFFDIR=
for d in $HOME/.aangifte-ib-installer /usr/src/aangifte-ib-installer /usr/local/src/aangifte-ib-installer
for d in $HOME/.publicfile-installer /usr/src/publicfile-installer /usr/local/src/publicfile-installer
do
if test -d $d
then
......
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