xl2tpd: Updated to 1.3.11
Actually, nothing really changed that affects TomatoUSB...arm-ng
parent
c6eb41f46c
commit
ecb5ef1a3f
@ -1 +1 @@
|
|||||||
7
|
9
|
||||||
|
@ -1,41 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
# Repackage upstream source to exclude non-distributable files
|
|
||||||
# should be called as "repack sh --upstream-source <ver> <downloaded file>
|
|
||||||
# (for example, via uscan)
|
|
||||||
|
|
||||||
set -e
|
|
||||||
set -u
|
|
||||||
|
|
||||||
FILE=$3
|
|
||||||
PKG=`dpkg-parsechangelog|grep ^Source:|sed 's/^Source: //'`
|
|
||||||
VER="$2+dfsg"
|
|
||||||
|
|
||||||
printf "\nRepackaging $FILE\n"
|
|
||||||
|
|
||||||
DIR=`mktemp -d ./tmpRepackXXXXXX`
|
|
||||||
trap "rm -rf $DIR" QUIT INT EXIT
|
|
||||||
|
|
||||||
tar xzf $FILE -C $DIR
|
|
||||||
|
|
||||||
TARGET=`echo $FILE |sed 's/_\(.*\)\.orig/_\1+dfsg.orig/'`
|
|
||||||
REPACK=`basename $TARGET`
|
|
||||||
|
|
||||||
UP_DIR=`ls -1 $DIR`
|
|
||||||
|
|
||||||
(
|
|
||||||
set -e
|
|
||||||
set -u
|
|
||||||
|
|
||||||
cd $DIR
|
|
||||||
|
|
||||||
rm -rv $UP_DIR/debian/
|
|
||||||
|
|
||||||
REPACK_DIR="$PKG-$VER.orig"
|
|
||||||
mv $UP_DIR $REPACK_DIR
|
|
||||||
tar -c $REPACK_DIR | gzip -9 > $REPACK
|
|
||||||
)
|
|
||||||
|
|
||||||
rm -v $FILE
|
|
||||||
mv $DIR/$REPACK $TARGET
|
|
||||||
|
|
||||||
echo "*** $FILE repackaged as $TARGET"
|
|
@ -1,9 +1,3 @@
|
|||||||
# The uversionmangle option separates consecutive digits in the version string
|
version=4
|
||||||
# with a period. The reason for this is that in the past, upstream used
|
opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/xl2tpd-$1\.tar\.gz/ \
|
||||||
# version numbers like 1.00, 1.00, and 1.1.08. For some time now they have
|
https://github.com/xelerance/xl2tpd/tags .*/v?(\d\S+)\.tar\.gz
|
||||||
# switched to a more "standard" 1.2.8, 1.3.0, 1.3.1, and so forth, versioning
|
|
||||||
# scheme.
|
|
||||||
|
|
||||||
version=3
|
|
||||||
opts="dversionmangle=s/\+dfsg//,uversionmangle=s/(\d)(\d)/\1\.\2/g" https://github.com/xelerance/xl2tpd/tags .*/v?(\d[\d\.]+)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz)) debian debian/repack.sh
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue