mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 01:22:00 +00:00
Add debian packaging for vtbuffered
This commit is contained in:
parent
08cf1bbf48
commit
b87580466e
23
confluent_vtbufferd/builddeb
Normal file
23
confluent_vtbufferd/builddeb
Normal 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
|
6
confluent_vtbufferd/debian/changelog
Normal file
6
confluent_vtbufferd/debian/changelog
Normal 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
|
||||
|
1
confluent_vtbufferd/debian/compat
Normal file
1
confluent_vtbufferd/debian/compat
Normal file
@ -0,0 +1 @@
|
||||
12
|
13
confluent_vtbufferd/debian/control
Normal file
13
confluent_vtbufferd/debian/control
Normal 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.
|
||||
|
0
confluent_vtbufferd/debian/copyright
Normal file
0
confluent_vtbufferd/debian/copyright
Normal file
1
confluent_vtbufferd/debian/format
Normal file
1
confluent_vtbufferd/debian/format
Normal file
@ -0,0 +1 @@
|
||||
3.0 (quilt)
|
3
confluent_vtbufferd/debian/rules
Normal file
3
confluent_vtbufferd/debian/rules
Normal file
@ -0,0 +1,3 @@
|
||||
#!/usr/bin/make -f
|
||||
%:
|
||||
dh $@
|
Loading…
Reference in New Issue
Block a user