Commit 9e4389da authored by Alessio Treglia's avatar Alessio Treglia

Imported Debian patch 0~20161010~0git3baa390-1

parent b54df94a
tendermint-go-clist (0~20161010~0git3baa390-1) unstable; urgency=medium
* Initial release. (Closes: #840263)
-- Alessio Treglia <alessio@debian.org> Mon, 10 Oct 2016 06:37:14 +0100
Source: tendermint-go-clist
Section: devel
Priority: extra
Maintainer: Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
Uploaders: Alessio Treglia <alessio@debian.org>
Build-Depends:
debhelper (>= 9~),
dh-golang,
golang-go,
golang-godebiancontrol-dev
Standards-Version: 3.9.8
Homepage: http://github.com/tendermint/go-clist
XS-Go-Import-Path: github.com/tenderming/go-clist
Vcs-Git: https://anonscm.debian.org/git/pkg-go/packages/tendermint-go-common.git
Vcs-Browser: https://anonscm.debian.org/cgit/pkg-go/packages/tendermint-go-clist
Package: golang-github-tendermint-go-clist-dev
Architecture: all
Depends:
${misc:Depends},
${shlibs:Depends},
golang-go
Description: goroutine-safe linked-list implementation
The purpose of CList is to provide a goroutine-safe linked-list.
This list can be traversed concurrently by any number of goroutines.
However, removed CElements cannot be added back.
.
This package is a dependency of the Tendermint core.
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: Tendermint
Source: https://github.com/tendermint/go-clist
Files: *
Copyright: 2015 Tendermint
License: Apache-2.0
Files: debian/*
Copyright: 2014-2016 Alessio Treglia <alessio@debian.org>
License: LGPL-2.1+
License: Apache-2.0
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
.
http://www.apache.org/licenses/LICENSE-2.0
.
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
.
On Debian systems, the complete text of the Apache License 2.0 can
be found in "/usr/share/common-licenses/Apache-2.0"
License: LGPL-2.1+
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
.
You should have received a copy of the GNU Lesser General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
[DEFAULT]
pristine-tar = True
#!/bin/bash
# get-git-source.sh - Retrieve upstream's sources from a GIT repository
#
# Copyright 2014-2016 Alessio Treglia <alessio@debian.org>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
set -ex
PACKAGE=tendermint-go-clist
REPO='https://github.com/tendermint/go-clist'
SEP='~'
BASE_REL=${BASE_REL:-$(dpkg-parsechangelog 2>/dev/null | sed -ne 's/Version: \([0-9]\+\)~.*/\1/p')}
TIMESTAMP="$(date +%Y%m%d)"
OLDDIR=${PWD}
GOS_DIR=${OLDDIR}/get-orig-source
REPACK_EXT=
if [ -z ${BASE_REL} ]; then
echo 'Please run this script from the sources root directory.'
exit 1
fi
rm -rf ${GOS_DIR}
mkdir -p ${GOS_DIR} && cd ${GOS_DIR}
git clone "${REPO}" "${PACKAGE}"
cd ${PACKAGE}/
GIT_DESCRIBE=$(git describe --always)
VERSION="${BASE_REL}${SEP}${TIMESTAMP}${SEP}0git${GIT_DESCRIBE}"
cd .. && mv ${PACKAGE} ${PACKAGE}-${VERSION}
tar cf ${OLDDIR}/${PACKAGE}_${VERSION}.orig.tar --exclude-vcs ${PACKAGE}-${VERSION}
gzip -9fn ${OLDDIR}/${PACKAGE}_${VERSION}.orig.tar
rm -rf ${GOS_DIR}
#!/usr/bin/make -f
export DH_OPTIONS
export DH_GOPKG := github.com/tendermint/go-clist
%:
dh $@ --buildsystem=golang --with=golang
get-orig-source:
debian/get-git-source.sh
# Use debian/rules get-orig-source
# to download the original sources.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment