Small changes to deb-generator.
This commit is contained in:
@@ -14,7 +14,7 @@ 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}
|
||||||
PKGFILE=$PKGNAME-linux-$PKGARCH-v$PKGVERSION-nogui.deb
|
PKGFILE=$PKGNAME-$PKGARCH-v$PKGVERSION.deb
|
||||||
PKGREPLACES=alfis
|
PKGREPLACES=alfis
|
||||||
|
|
||||||
#if [ $PKGBRANCH = "master" ]; then
|
#if [ $PKGBRANCH = "master" ]; then
|
||||||
@@ -56,8 +56,8 @@ Maintainer: Revertron <revertron@users.noreply.github.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 and contains DNS-resolver on its own to resolve domain records
|
supported on multiple platforms. It contains DNS-resolver on its own to resolve domain records
|
||||||
contained in blockchain and forward DNS requests of ordinary domain zones to upstream forwarders.
|
contained in blockchain and forward DNS requests of ordinary (IANA) 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/
|
||||||
@@ -81,7 +81,7 @@ if ! getent passwd alfis >/dev/null 2>&1; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
mkdir -p /var/lib/alfis
|
mkdir -p /var/lib/alfis
|
||||||
chgrp alfis /var/lib/alfis
|
chown alfis:alfis /var/lib/alfis
|
||||||
|
|
||||||
if [ -f /etc/alfis.conf ];
|
if [ -f /etc/alfis.conf ];
|
||||||
then
|
then
|
||||||
@@ -129,4 +129,4 @@ ar -r $PKGFILE \
|
|||||||
/tmp/$PKGNAME/control.tar.gz \
|
/tmp/$PKGNAME/control.tar.gz \
|
||||||
/tmp/$PKGNAME/data.tar.gz
|
/tmp/$PKGNAME/data.tar.gz
|
||||||
|
|
||||||
rm -rf /tmp/$PKGNAME
|
rm -rf /tmp/$PKGNAME
|
||||||
Reference in New Issue
Block a user