Debian package lint
- Tweak description synopsis to make Debian happy - Put bash completion files in correct directory - Add a manpage for zcash-fetch-params
This commit is contained in:
@@ -13,7 +13,7 @@ Package: zcash
|
|||||||
Version: 1.0.4
|
Version: 1.0.4
|
||||||
Architecture: amd64
|
Architecture: amd64
|
||||||
Depends: libgomp1
|
Depends: libgomp1
|
||||||
Description: An implementation of the "Zerocash" protocol.
|
Description: HTTPS for money.
|
||||||
Based on Bitcoin's code, it intends to offer a far higher standard
|
Based on Bitcoin's code, it intends to offer a far higher standard
|
||||||
of privacy and anonymity through a sophisticiated zero-knowledge
|
of privacy and anonymity through a sophisticiated zero-knowledge
|
||||||
proving scheme which preserves confidentiality of transaction metadata.
|
proving scheme which preserves confidentiality of transaction metadata.
|
||||||
|
|||||||
28
contrib/DEBIAN/manpages/zcash-fetch-params.1
Normal file
28
contrib/DEBIAN/manpages/zcash-fetch-params.1
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
|
||||||
|
.TH ZCASH-FETCH-PARAMS "1" "January 2017" "Zcash - zcash-fetch-params" "User Commands"
|
||||||
|
.SH NAME
|
||||||
|
zcash-fetch-params \- Downloads the Zcash network parameters
|
||||||
|
.SH DESCRIPTION
|
||||||
|
Zcash \- zcash-fetch\-params
|
||||||
|
.PP
|
||||||
|
This script will fetch the Zcash zkSNARK parameters and verify their
|
||||||
|
integrity with sha256sum.
|
||||||
|
.PP
|
||||||
|
If they already exist locally, it will exit now and do nothing else.
|
||||||
|
.PP
|
||||||
|
This script will fetch the Zcash zkSNARK parameters and verify their
|
||||||
|
integrity with sha256sum.
|
||||||
|
.PP
|
||||||
|
If they already exist locally, it will exit now and do nothing else.
|
||||||
|
.SH "SEE ALSO"
|
||||||
|
The full documentation for
|
||||||
|
.B Zcash
|
||||||
|
is maintained as a Texinfo manual. If the
|
||||||
|
.B info
|
||||||
|
and
|
||||||
|
.B Zcash
|
||||||
|
programs are properly installed at your site, the command
|
||||||
|
.IP
|
||||||
|
.B info Zcash
|
||||||
|
.PP
|
||||||
|
should give you access to the complete manual.
|
||||||
@@ -23,8 +23,8 @@ if [ -d $BUILD_DIR ]; then
|
|||||||
rm -R $BUILD_DIR
|
rm -R $BUILD_DIR
|
||||||
fi
|
fi
|
||||||
|
|
||||||
DEB_CMP=$BUILD_DIR/etc/bash_completion.d
|
|
||||||
DEB_BIN=$BUILD_DIR/usr/bin
|
DEB_BIN=$BUILD_DIR/usr/bin
|
||||||
|
DEB_CMP=$BUILD_DIR/usr/share/bash-completion/completions
|
||||||
DEB_DOC=$BUILD_DIR/usr/share/doc/$PACKAGE_NAME
|
DEB_DOC=$BUILD_DIR/usr/share/doc/$PACKAGE_NAME
|
||||||
DEB_MAN=$BUILD_DIR/usr/share/man/man1
|
DEB_MAN=$BUILD_DIR/usr/share/man/man1
|
||||||
mkdir -p $BUILD_DIR/DEBIAN $DEB_CMP $DEB_BIN $DEB_DOC $DEB_MAN
|
mkdir -p $BUILD_DIR/DEBIAN $DEB_CMP $DEB_BIN $DEB_DOC $DEB_MAN
|
||||||
@@ -49,6 +49,7 @@ cp -r $SRC_DEB/examples $DEB_DOC
|
|||||||
# Copy manpages
|
# Copy manpages
|
||||||
cp $SRC_DEB/manpages/zcashd.1 $DEB_MAN
|
cp $SRC_DEB/manpages/zcashd.1 $DEB_MAN
|
||||||
cp $SRC_DEB/manpages/zcash-cli.1 $DEB_MAN
|
cp $SRC_DEB/manpages/zcash-cli.1 $DEB_MAN
|
||||||
|
cp $SRC_DEB/manpages/zcash-fetch-params.1 $DEB_MAN
|
||||||
# Copy bash completion files
|
# Copy bash completion files
|
||||||
cp $SRC_PATH/contrib/bitcoind.bash-completion $DEB_CMP/zcashd
|
cp $SRC_PATH/contrib/bitcoind.bash-completion $DEB_CMP/zcashd
|
||||||
cp $SRC_PATH/contrib/bitcoin-cli.bash-completion $DEB_CMP/zcash-cli
|
cp $SRC_PATH/contrib/bitcoin-cli.bash-completion $DEB_CMP/zcash-cli
|
||||||
@@ -57,6 +58,7 @@ gzip --best -n $DEB_DOC/changelog
|
|||||||
gzip --best -n $DEB_DOC/changelog.Debian
|
gzip --best -n $DEB_DOC/changelog.Debian
|
||||||
gzip --best -n $DEB_MAN/zcashd.1
|
gzip --best -n $DEB_MAN/zcashd.1
|
||||||
gzip --best -n $DEB_MAN/zcash-cli.1
|
gzip --best -n $DEB_MAN/zcash-cli.1
|
||||||
|
gzip --best -n $DEB_MAN/zcash-fetch-params.1
|
||||||
|
|
||||||
# Create the Debian package
|
# Create the Debian package
|
||||||
fakeroot dpkg-deb --build $BUILD_DIR
|
fakeroot dpkg-deb --build $BUILD_DIR
|
||||||
|
|||||||
Reference in New Issue
Block a user