7 TMPDIR
=/tmp
/ipt-release
8 IPTDIR
="$TMPDIR/iptables-$VERSION"
10 PATCH
="patch-iptables-$PREV_VERSION-$VERSION.bz2";
11 TARBALL
="iptables-$VERSION.tar.bz2";
12 CHANGELOG
="changes-iptables-$PREV_VERSION-$VERSION.txt";
15 git shortlog
"v$PREV_VERSION..v$VERSION" > "$TMPDIR/$CHANGELOG"
16 git
diff "v$PREV_VERSION..v$VERSION" |
bzip2 > "$TMPDIR/$PATCH"
17 git archive
--prefix="iptables-$VERSION/" "v$VERSION" |
tar -xC "$TMPDIR/"
24 tar -cjf "$TARBALL" "iptables-$VERSION";
25 gpg
-u "Netfilter Core Team" -sb "$TARBALL";
26 md5sum "$TARBALL" >"$TARBALL.md5sum";
27 sha1sum "$TARBALL" >"$TARBALL.sha1sum";
29 gpg
-u "Netfilter Core Team" -sb "$PATCH";
30 md5sum "$PATCH" >"$PATCH.md5sum";
31 sha1sum "$PATCH" >"$PATCH.sha1sum";