Browse Source

Generate Debian control file to fix shlibs lint

pull/4/head
Jack Grigg 7 years ago
parent
commit
b50b4d5c38
No known key found for this signature in database GPG Key ID: 6A6914DAFBEA00DA
  1. 3
      .gitignore
  2. 0
      contrib/debian/changelog
  3. 0
      contrib/debian/compat
  4. 10
      contrib/debian/control
  5. 0
      contrib/debian/copyright
  6. 0
      contrib/debian/examples/zcash.conf
  7. 0
      contrib/debian/manpages/zcash-cli.1
  8. 0
      contrib/debian/manpages/zcash-fetch-params.1
  9. 0
      contrib/debian/manpages/zcashd.1
  10. 0
      contrib/debian/postinst
  11. 0
      contrib/debian/postrm
  12. 0
      contrib/debian/preinst
  13. 0
      contrib/debian/prerm
  14. 0
      contrib/debian/rules
  15. 0
      contrib/debian/zcash.examples
  16. 0
      contrib/debian/zcash.install
  17. 0
      contrib/debian/zcash.manpages
  18. 1
      doc/release-process.md
  19. 12
      zcutil/build-debian-package.sh

3
.gitignore

@ -123,3 +123,6 @@ qa/pull-tester/test.*/*
/doc/doxygen/
libzcashconsensus.pc
contrib/debian/files
contrib/debian/substvars

0
contrib/DEBIAN/changelog → contrib/debian/changelog

0
contrib/DEBIAN/compat → contrib/debian/compat

10
contrib/DEBIAN/control → contrib/debian/control

@ -3,16 +3,16 @@ Section: utils
Priority: optional
Maintainer: Zcash Company <team@z.cash>
Homepage: https://z.cash
Build-Depends: autoconf, automake, bsdmainutils, build-essential
git, g++-multilib, libc6-dev, libtool
m4, ncurses-dev, pkg-config, python
Build-Depends: autoconf, automake, bsdmainutils, build-essential,
git, g++-multilib, libc6-dev, libtool,
m4, ncurses-dev, pkg-config, python,
unzip, wget, zlib1g-dev
Vcs-Git: https://github.com/zcash/zcash.git
Vcs-Browser: https://github.com/zcash/zcash
Package: zcash
Version: 1.0.4
Architecture: amd64
Depends: libgomp1
Depends: ${shlibs:Depends}
Description: HTTPS for money.
Based on Bitcoin's code, it intends to offer a far higher standard
of privacy and anonymity through a sophisticiated zero-knowledge

0
contrib/DEBIAN/copyright → contrib/debian/copyright

0
contrib/DEBIAN/examples/zcash.conf → contrib/debian/examples/zcash.conf

0
contrib/DEBIAN/manpages/zcash-cli.1 → contrib/debian/manpages/zcash-cli.1

0
contrib/DEBIAN/manpages/zcash-fetch-params.1 → contrib/debian/manpages/zcash-fetch-params.1

0
contrib/DEBIAN/manpages/zcashd.1 → contrib/debian/manpages/zcashd.1

0
contrib/DEBIAN/postinst → contrib/debian/postinst

0
contrib/DEBIAN/postrm → contrib/debian/postrm

0
contrib/DEBIAN/preinst → contrib/debian/preinst

0
contrib/DEBIAN/prerm → contrib/debian/prerm

0
contrib/DEBIAN/rules → contrib/debian/rules

0
contrib/DEBIAN/zcash.examples → contrib/debian/zcash.examples

0
contrib/DEBIAN/zcash.install → contrib/debian/zcash.install

0
contrib/DEBIAN/zcash.manpages → contrib/debian/zcash.manpages

1
doc/release-process.md

@ -35,7 +35,6 @@ previous release:
README.md
src/clientversion.h
configure.ac
contrib/DEBIAN/control
contrib/gitian-descriptors/gitian-linux.yml
Build and commit to update versions, and then perform the following commands:

12
zcutil/build-debian-package.sh

@ -8,7 +8,7 @@ set -x
BUILD_PATH="/tmp/zcbuild"
PACKAGE_NAME="zcash"
SRC_PATH=`pwd`
SRC_DEB=$SRC_PATH/contrib/DEBIAN
SRC_DEB=$SRC_PATH/contrib/debian
umask 022
@ -16,7 +16,7 @@ if [ ! -d $BUILD_PATH ]; then
mkdir $BUILD_PATH
fi
PACKAGE_VERSION=$(grep Version $SRC_PATH/contrib/DEBIAN/control | cut -d: -f2 | tr -d ' ')
PACKAGE_VERSION=$($SRC_PATH/src/zcashd --version | grep version | cut -d' ' -f4 | tr -d v)
BUILD_DIR="$BUILD_PATH/$PACKAGE_NAME-$PACKAGE_VERSION-amd64"
if [ -d $BUILD_DIR ]; then
@ -30,8 +30,6 @@ DEB_MAN=$BUILD_DIR/usr/share/man/man1
mkdir -p $BUILD_DIR/DEBIAN $DEB_CMP $DEB_BIN $DEB_DOC $DEB_MAN
chmod 0755 -R $BUILD_DIR/*
# Copy control file
cp $SRC_DEB/control $BUILD_DIR/DEBIAN
# Package maintainer scripts (currently empty)
#cp $SRC_DEB/postinst $BUILD_DIR/DEBIAN
#cp $SRC_DEB/postrm $BUILD_DIR/DEBIAN
@ -60,6 +58,12 @@ gzip --best -n $DEB_MAN/zcashd.1
gzip --best -n $DEB_MAN/zcash-cli.1
gzip --best -n $DEB_MAN/zcash-fetch-params.1
cd $SRC_PATH/contrib
# Create the control file
dpkg-shlibdeps $DEB_BIN/zcashd $DEB_BIN/zcash-cli
dpkg-gencontrol -P$BUILD_DIR
# Create the Debian package
fakeroot dpkg-deb --build $BUILD_DIR
cp $BUILD_PATH/$PACKAGE_NAME-$PACKAGE_VERSION-amd64.deb $SRC_PATH

Loading…
Cancel
Save