-
Notifications
You must be signed in to change notification settings - Fork 352
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Debian packaging and LGPL license.
- Loading branch information
Showing
8 changed files
with
599 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
.PHONY: all | ||
|
||
all: | ||
# Install is just xcopy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
vyos-smoketest (1.0.0) unstable; urgency=medium | ||
|
||
* Initial release | ||
|
||
-- Daniil Baturin <[email protected]> Tue, 02 Jul 2019 22:29:53 +0200 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
9 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Source: vyos-smoketest | ||
Section: contrib/net | ||
Priority: extra | ||
Maintainer: VyOS Package Maintainers <[email protected]> | ||
Build-Depends: debhelper (>= 9), | ||
quilt, | ||
python3, | ||
python3-setuptools, | ||
quilt, | ||
python3-lxml, | ||
python3-nose, | ||
python3-coverage | ||
Standards-Version: 3.9.6 | ||
|
||
Package: vyos-smoketest | ||
Architecture: all | ||
Depends: python3, | ||
${python3:Depends}, | ||
${shlibs:Depends}, | ||
${misc:Depends}, | ||
vyos-1x | ||
Description: VyOS build sanity checking toolkit | ||
VyOS build sanity checking toolkit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
This package was debianized by Daniil Baturin <[email protected]> on | ||
Tue, 02 Jul 2019 22:24:20 +0200 | ||
|
||
It's original content from the GIT repository <http://github.com/vyos/vyos-smoketest> | ||
|
||
Upstream Author: | ||
|
||
<[email protected]> | ||
|
||
Copyright: | ||
|
||
Copyright (C) 2019 VyOS maintainers and contributors | ||
All Rights Reserved. | ||
|
||
License: | ||
|
||
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, or (at your option) | ||
any later version. | ||
|
||
This program 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 | ||
General Public License for more details. | ||
|
||
A copy of the GNU General Public License is available as | ||
`/usr/share/common-licenses/GPL' in the Debian GNU/Linux distribution | ||
or on the World Wide Web at `http://www.gnu.org/copyleft/lgpl.html'. | ||
You can also obtain it by writing to the Free Software Foundation, | ||
Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, | ||
MA 02110-1301, USA. | ||
|
||
The Debian packaging is (C) 2019, Daniil Baturin <[email protected]> and | ||
is licensed under the GPL, see above. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
#!/usr/bin/make -f | ||
|
||
DIR := debian/vyos-smoketest | ||
VYOS_SBIN_DIR := usr/sbin/ | ||
VYOS_BIN_DIR := usr/bin/ | ||
VYOS_LIBEXEC_DIR := usr/libexec/vyos | ||
VYOS_DATA_DIR := /usr/share/vyos | ||
VYOS_CFG_TMPL_DIR := /opt/vyatta/share/vyatta-cfg/templates | ||
VYOS_OP_TMPL_DIR := /opt/vyatta/share/vyatta-op/templates | ||
|
||
MIGRATION_SCRIPTS_DIR := /opt/vyatta/etc/config-migrate/migrate/ | ||
|
||
SBINDIR := $(DIR)/usr/sbin | ||
|
||
%: | ||
dh $@ --with python3, --with quilt | ||
|
||
override_dh_auto_build: | ||
make all | ||
|
||
override_dh_auto_install: | ||
# Install smoke test scripts | ||
mkdir -p $(DIR)/$(VYOS_LIBEXEC_DIR)/tests/smoke/ | ||
cp -r scripts/* $(DIR)/$(VYOS_LIBEXEC_DIR)/tests/smoke | ||
|
||
# Install system programs | ||
mkdir -p $(SBINDIR) | ||
cp -r bin/* $(SBINDIR) |