forked from lagopus/lagopus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request lagopus#90 from lagopus/release-0.2
Release 0.2.9
- Loading branch information
Showing
45 changed files
with
12,406 additions
and
2,069 deletions.
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
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
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 was deleted.
Oops, something went wrong.
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 @@ | ||
lagopus (@PKG_VERSION@-@PKG_REVISION@) unstable; urgency=low | ||
|
||
* Pakaged a version @PKG_VERSION@-@PKG_REVISION@ | ||
|
||
-- lagopus <[email protected]> @PKG_DATE@ +0000 |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Package: @PKG_NAME@-dpdk | ||
Conflicts: @PKG_NAME@-raw-socket | ||
Architecture: any | ||
Depends: ${shlibs:Depends}, ${misc:Depends}, python-lxml, python-paramiko, python-zopeinterface, python-webob, python-paste, python-pastedeploy, python-twisted-conch | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: @PKG_DESCRIPTION_DPDK@ |
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Package: @PKG_NAME@-raw-socket | ||
Architecture: any | ||
Conflicts: @PKG_NAME@-dpdk | ||
Depends: ${shlibs:Depends}, ${misc:Depends}, python-lxml, python-paramiko, python-zopeinterface, python-webob, python-paste, python-pastedeploy, python-twisted-conch | ||
Depends: ${shlibs:Depends}, ${misc:Depends} | ||
Description: @PKG_DESCRIPTION_RAW_SOCKET@ |
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
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 |
---|---|---|
|
@@ -67,8 +67,9 @@ cf.) https://www.debian.org/doc/debian-policy/ch-controlfields.html | |
|
||
#### MUST | ||
* PKG_NAME : The package name (Same as `Source` in debian/control file.) | ||
* PKG_VERSION : The package version (Same as `Package` in debian/control file.) | ||
* PKG_VERSION(auto generate) : The package version (Same as `Package` in debian/control file.). | ||
* PKG_REVISION : The package revision number (Same as `Package` in debian/control file.) | ||
* PKG_DATE(auto generate) : Creation date of the packages | ||
* PKG_MAINTAINER : The package maintainer's name and email address (Same as `Maintainer` in debian/control file.) | ||
* PKG_SECTION : Classification of the packages (Same as `Section` in debian/control file.) | ||
* PKG_PRIORITY : Priority of the packages (Same as `Priority` in debian/control file.) | ||
|
@@ -88,8 +89,9 @@ e.g.) | |
|
||
``` | ||
PKG_NAME="lagopus" | ||
PKG_VERSION="1.0.0" | ||
PKG_VERSION="1.0.0" # auto generate. | ||
PKG_REVISION="1" | ||
PKG_DATE="Fri, 6 Nov 2015 00:00:00 +0000" # auto generate. | ||
PKG_MAINTAINER="lagopus <[email protected]>" | ||
PKG_SECTION="unknown" | ||
PKG_PRIORITY="extra" | ||
|
@@ -109,17 +111,7 @@ e.g.) | |
/etc/lagopus/ofconf-passwords' | ||
``` | ||
|
||
### 2. Edit `debian/changelog` file. | ||
You execute the following commands and update the changelog file. | ||
`<version>-<release no>` is the same as the value of `PKG_VERSION-PKG_REVISION`. | ||
More information about the fields in changelog, see the following URL: | ||
cf.) https://www.debian.org/doc/manuals/maint-guide/dreq.en.html#changelog | ||
|
||
``` | ||
% dch -v <version>-<release no> | ||
``` | ||
|
||
### 3. Execute configure. | ||
### 2. Execute configure. | ||
* In the case of make the package for raw socket version: | ||
You execute `configure` script with no options. | ||
|
||
|
@@ -135,7 +127,7 @@ cf.) https://www.debian.org/doc/manuals/maint-guide/dreq.en.html#changelog | |
% ./configure --with-dpdk-dir=${RTE_SDK} | ||
``` | ||
### 4. Execute make. | ||
### 3. Execute make. | ||
You execute the following commands. | ||
``` | ||
|
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
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 |
---|---|---|
@@ -1,9 +1,27 @@ | ||
#!/bin/sh | ||
|
||
# | ||
# ARGS | ||
# | ||
TOPDIR=$1 | ||
|
||
if [ "x${TOPDIR}" = "x" ]; then | ||
echo "ERROR : Invalid args." 1>&2 | ||
exit 1; | ||
fi | ||
|
||
LAGOPUS_VERSION_FILE=${TOPDIR}/src/include/lagopus_version.h | ||
PKG_VERSION_MAJOR=`grep LAGOPUS_VERSION_MAJOR ${LAGOPUS_VERSION_FILE} | awk '{print $3}'` | ||
PKG_VERSION_MINOR=`grep LAGOPUS_VERSION_MINOR ${LAGOPUS_VERSION_FILE} | awk '{print $3}'` | ||
PKG_VERSION_PATCH=`grep LAGOPUS_VERSION_PATCH ${LAGOPUS_VERSION_FILE} | awk '{print $3}'` | ||
|
||
# | ||
# MUST(common) | ||
# | ||
PKG_NAME='lagopus' | ||
PKG_VERSION='0.2.2' | ||
PKG_VERSION=${PKG_VERSION_MAJOR}.${PKG_VERSION_MINOR}.${PKG_VERSION_PATCH} | ||
PKG_REVISION='1' | ||
PKG_DATE=`LANG=C date -u "+%a, %-d %b %Y %T"` | ||
|
||
# | ||
# MUST(deb) | ||
|
@@ -24,15 +42,9 @@ PKG_DESCRIPTION_DPDK='Lagopus(DPDK version).'${PKG_DESCRIPTION} | |
PKG_HP_URL='http://lagopus.github.io/' | ||
PKG_VCS='[email protected]:lagopus/lagopus.git' | ||
PKG_VCS_URL='https://github.com/lagopus/lagopus' | ||
PKG_REMOVE_DIRS='/usr/sbin/of_config | ||
/usr/sbin/ovsdb | ||
/usr/share/doc/lagopus-raw-socket | ||
PKG_REMOVE_DIRS='/usr/share/doc/lagopus-raw-socket | ||
/usr/share/doc/lagopus-dpdk' | ||
PKG_REMOVE_FILES='' | ||
PKG_PURGE_DIRS=${PKG_REMOVE_DIRS} | ||
PKG_PURGE_FILES='/etc/lagopus/lagopus.dsl | ||
/etc/lagopus/configuration.xml | ||
/etc/lagopus/operational.xml | ||
/etc/lagopus/ofconf_rsa | ||
/etc/lagopus/ofconf_rsa.pub | ||
/etc/lagopus/ofconf-passwords' | ||
PKG_PURGE_DIRS=${PKG_REMOVE_DIRS}' /etc/lagopus' | ||
PKG_PURGE_FILES='/etc/lagopus/lagopus.dsl' | ||
echo ${PKG_PURGE_DIRS} |
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
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
Oops, something went wrong.