2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +00:00

Add debian packaging for vtbuffered

This commit is contained in:
Jarrod Johnson 2021-07-01 16:31:59 -04:00
parent 08cf1bbf48
commit b87580466e
7 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,23 @@
#!/bin/bash
set -x
cd `dirname $0`
PKGNAME=$(basename $(pwd))
DPKGNAME=$(basename $(pwd) | sed -e s/_/-/)
OPKGNAME=$(basename $(pwd) | sed -e s/_/-/)
DSCARGS="--with-python3=True --with-python2=False"
VERSION=`git describe|cut -d- -f 1`
NUMCOMMITS=`git describe|cut -d- -f 2`
if [ "$NUMCOMMITS" != "$VERSION" ]; then
VERSION=$VERSION.dev$NUMCOMMITS.g`git describe|cut -d- -f 3`
fi
cd ..
rm -rf /tmp/confluent
mkdir -p /tmp/confluent # $DPKGNAME
cp -a * .git /tmp/confluent # $DPKGNAME
cd /tmp/confluent
mv $PKGNAME $DPKGNAME-${VERSION}
sed -i s/%%VERSION%%/$VERSION/ $DPKGNAME-${VERSION}/debian/changelog
tar cvzf ${DPKGNAME}_${VERSION}.orig.tar.gz $DPKGNAME-${VERSION}
cd $DPKGNAME-${VERSION}
debuild -us -uc
exit 0

View File

@ -0,0 +1,6 @@
confluent-vtbufferd (%%VERSION%%-1) UNRELEASED; urgency=medium
* Initial release.
-- Lenovo HPC Team <hpchelp@lenovo.com> Thu, 01 Jul 2021 19:57:36 +0000

View File

@ -0,0 +1 @@
12

View File

@ -0,0 +1,13 @@
Source: confluent-vtbufferd
Maintainer: HPC Team <hpchelp@lenovo.com>
Section: misc
Priority: optional
Standards-Version: 4.5.0
Build-Depends: debhelper (>= 12)
Package: confluent-vtbufferd
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Description: VT buffers for confluent service
Provides VT consoles in memory for redraw on connections.

View File

View File

@ -0,0 +1 @@
3.0 (quilt)

View File

@ -0,0 +1,3 @@
#!/usr/bin/make -f
%:
dh $@