Small changes in deb generator.
This commit is contained in:
@@ -10,7 +10,7 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
PKGBRANCH=$(basename `git name-rev --name-only HEAD`)
|
#PKGBRANCH=$(basename `git name-rev --name-only HEAD`)
|
||||||
PKGNAME=$(sh contrib/semver/name.sh)
|
PKGNAME=$(sh contrib/semver/name.sh)
|
||||||
PKGVERSION=$(sh contrib/semver/version.sh --bare)
|
PKGVERSION=$(sh contrib/semver/version.sh --bare)
|
||||||
PKGARCH=${PKGARCH-amd64}
|
PKGARCH=${PKGARCH-amd64}
|
||||||
@@ -23,7 +23,7 @@ PKGREPLACES=alfis
|
|||||||
|
|
||||||
# Building nogui versions only
|
# Building nogui versions only
|
||||||
if [ $PKGARCH = "amd64" ]; then cargo build --release --no-default-features --target x86_64-unknown-linux-musl && cp target/x86_64-unknown-linux-musl/release/alfis ./alfis
|
if [ $PKGARCH = "amd64" ]; then cargo build --release --no-default-features --target x86_64-unknown-linux-musl && cp target/x86_64-unknown-linux-musl/release/alfis ./alfis
|
||||||
elif [ $PKGARCH = "i686" ]; then cross build --target i686-unknown-linux-musl --release --no-default-features && cp target/i686-unknown-linux-musl/release/alfis ./alfis
|
elif [ $PKGARCH = "i686" ]; then cross build --release --no-default-features --target i686-unknown-linux-musl && cp target/i686-unknown-linux-musl/release/alfis ./alfis
|
||||||
elif [ $PKGARCH = "mipsel" ]; then cross build --release --no-default-features --target mipsel-unknown-linux-musl && cp target/mipsel-unknown-linux-musl/release/alfis ./alfis
|
elif [ $PKGARCH = "mipsel" ]; then cross build --release --no-default-features --target mipsel-unknown-linux-musl && cp target/mipsel-unknown-linux-musl/release/alfis ./alfis
|
||||||
elif [ $PKGARCH = "mips" ]; then cross build --release --no-default-features --target mips-unknown-linux-musl && cp target/mips-unknown-linux-musl/release/alfis ./alfis
|
elif [ $PKGARCH = "mips" ]; then cross build --release --no-default-features --target mips-unknown-linux-musl && cp target/mips-unknown-linux-musl/release/alfis ./alfis
|
||||||
elif [ $PKGARCH = "armhf" ]; then cross build --release --no-default-features --target armv7-unknown-linux-musleabihf && cp target/armv7-unknown-linux-musleabihf/release/alfis ./alfis
|
elif [ $PKGARCH = "armhf" ]; then cross build --release --no-default-features --target armv7-unknown-linux-musleabihf && cp target/armv7-unknown-linux-musleabihf/release/alfis ./alfis
|
||||||
@@ -52,12 +52,12 @@ Priority: extra
|
|||||||
Architecture: $PKGARCH
|
Architecture: $PKGARCH
|
||||||
Replaces: $PKGREPLACES
|
Replaces: $PKGREPLACES
|
||||||
Conflicts: $PKGREPLACES
|
Conflicts: $PKGREPLACES
|
||||||
Maintainer: Revertron <revertron@users.noreply.github.com>
|
Maintainer: Revertron <r@revertron.com>
|
||||||
Description: ALFIS
|
Description: ALFIS
|
||||||
ALFIS (ALternative Free Identity System) is an implementation of a Domain Name System
|
ALFIS (ALternative Free Identity System) is an implementation of a Domain Name System
|
||||||
based on a small, slowly growing blockchain. It is lightweight, self-contained,
|
based on a small, slowly growing blockchain. It is lightweight, self-contained,
|
||||||
supported on multiple platforms. It contains DNS-resolver on its own to resolve domain records
|
supported on multiple platforms and contains DNS-resolver on its own to resolve domain records
|
||||||
contained in blockchain and forward DNS requests of ordinary (IANA) domain zones to upstream forwarders.
|
contained in blockchain and forward DNS requests of ordinary domain zones to upstream forwarders.
|
||||||
EOF
|
EOF
|
||||||
cat > /tmp/$PKGNAME/debian/copyright << EOF
|
cat > /tmp/$PKGNAME/debian/copyright << EOF
|
||||||
Please see https://github.com/Revertron/Alfis/
|
Please see https://github.com/Revertron/Alfis/
|
||||||
|
|||||||
Reference in New Issue
Block a user