]> git.proxmox.com Git - mirror_kronosnet.git/commitdiff
[build] drop debian support from upstream
authorFabio M. Di Nitto <fdinitto@redhat.com>
Thu, 26 Oct 2017 15:56:55 +0000 (17:56 +0200)
committerFabio M. Di Nitto <fdinitto@redhat.com>
Thu, 26 Oct 2017 15:56:55 +0000 (17:56 +0200)
On Debian HA team request, we are dropping the debian/ dir

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
14 files changed:
Makefile.am
NOTES_TO_PACKAGE_MAINTAINERS
debian/changelog.in [deleted file]
debian/compat [deleted file]
debian/control [deleted file]
debian/copyright [deleted file]
debian/kronosnetd.install [deleted file]
debian/kronosnetd.postinst.in [deleted file]
debian/libknet-dev.install [deleted file]
debian/libknet1.install [deleted file]
debian/libtap-dev.install [deleted file]
debian/libtap1.install [deleted file]
debian/rules [deleted file]
debian/source/format [deleted file]

index 32e157e45d23dc08af2abf00a3b728ddb8e9e338..647f35e755b655f29c3220188ab7e7240943e0b8 100644 (file)
@@ -21,13 +21,9 @@ ACLOCAL_AMFLAGS              = -I m4
 
 SPEC                   = $(PACKAGE_NAME).spec
 
-DEBCHANGELOG           = debian/changelog
-DEBPOSTINST            = debian/kronosnetd.postinst
-
 TARGZFILE              = $(PACKAGE_NAME)-$(VERSION).tar.gz
 
 EXTRA_DIST             = build-aux autogen.sh .version \
-                         debian $(DEBCHANGELOG) $(DEBPOSTINST) \
                          $(SPEC) $(SPEC).in
 
 SUBDIRS                        = init libtap libknet kronosnetd
@@ -48,18 +44,16 @@ dist_doc_DATA               = \
                          README \
                          TODO
 
-all-local: $(SPEC) $(DEBCHANGELOG) $(DEBPOSTINST)
+all-local: $(SPEC)
 
 clean-local:
        rm -f $(SPEC)
-       rm -f $(DEBPOSTINST)
 
 distclean-local:
        rm -f $(PACKAGE_NAME)-*.tar.* $(PACKAGE_NAME)-*.sha256* tag-*
 
 maintainer-clean-local:
-       make -f debian/rules clean || true
-       rm -rf m4 $(DEBCHANGELOG) $(DEBPOSTINST) debian/patches
+       rm -rf m4
 
 ## make rpm/srpm section.
 
@@ -176,69 +170,6 @@ rpm: clean
        $(MAKE) $(SPEC) $(TARGZFILE)
        rpmbuild $(RPMBUILDOPTS) -ba $(SPEC)
 
-## make deb
-
-$(DEBPOSTINST): $(DEBPOSTINST).in config.h
-       mkdir -p debian
-       rm -f $@-t $@
-       sed -e "s#@defaultadmgroup@#$(DEFAULTADMGROUP)#g" $(abs_srcdir)/$@.in > $@-t
-       chmod a-w $@-t
-       mv $@-t $@
-
-$(DEBCHANGELOG): $(DEBCHANGELOG).in .version
-       mkdir -p debian
-       rm -f $@-t $@
-       date="`LC_ALL=C date -R`" && \
-       if [ -f .tarball-version ]; then \
-               gitver="`cat .tarball-version`" && \
-               debver=$$gitver && \
-               alphatag="" && \
-               dirty="" && \
-               numcomm="0"; \
-       else \
-               gitver="`GIT_DIR=$(abs_srcdir)/.git git describe --abbrev=4 --match='v*' HEAD 2>/dev/null`" && \
-               debver=`echo $$gitver | sed -e "s/^v//" -e "s/-.*//g"` && \
-               alphatag=`echo $$gitver | sed -e "s/.*-//" -e "s/^g//"` && \
-               vtag=`echo $$gitver | sed -e "s/-.*//g"` && \
-               numcomm=`GIT_DIR=$(abs_srcdir)/.git git rev-list $$vtag..HEAD | wc -l` && \
-               GIT_DIR=$(abs_srcdir)/.git git update-index --refresh > /dev/null 2>&1 || true && \
-               dirty=`GIT_DIR=$(abs_srcdir)/.git git diff-index --name-only HEAD 2>/dev/null`; \
-       fi && \
-       if [ -n "$$dirty" ]; then dirty="-dirty"; else dirty=""; fi && \
-       if [ "$$numcomm" = "0" ]; then \
-               sed \
-                       -e "s#@version@#$$debver#g" \
-                       -e "s#-@alphatag@##g" \
-                       -e "s#.@numcomm@##g" \
-                       -e "s#@dirty@#$$dirty#g" \
-                       -e "s#@date@#$$date#g" \
-               $(abs_srcdir)/$@.in > $@-t; \
-       else \
-               sed \
-                       -e "s#@version@#$$debver#g" \
-                       -e "s#@alphatag@#$$alphatag#g" \
-                       -e "s#@numcomm@#$$numcomm#g" \
-                       -e "s#@dirty@#$$dirty#g" \
-                       -e "s#@date@#$$date#g" \
-               $(abs_srcdir)/$@.in > $@-t; \
-       fi;
-       chmod a-w $@-t
-       mv $@-t $@
-
-deb-clean:
-       make -f debian/rules clean
-       ./configure
-
-debs: deb-clean dist
-       if [ -f .tarball-version ]; then \
-               gitver="`cat .tarball-version`"; \
-       else \
-               gitver="`git describe --abbrev=4 --match='v*' HEAD 2>/dev/null`" && \
-               gitver=`echo $$gitver | sed -e "s/^v//" -e "s/-g/-/" -e "s/-/./"`; \
-       fi && \
-       cp $(TARGZFILE) ../$(PACKAGE_NAME)_$$gitver.orig.tar.gz
-       dpkg-buildpackage -uc -us
-
 # release/versioning
 BUILT_SOURCES  = .version
 .version:
index b70e294118cbf88f7fdedf57b2d62fe5ec0b7afb..829e7331ad8a0676418a327370865c218db04db2 100644 (file)
@@ -2,11 +2,6 @@ To: distribution package maintainers
 
 Those are a few things about this project that you should know.
 
-Both spec file and debian/ are up for adoption. The spec file
-is most often up to date to handle current HEAD of the tree.
-The debian/ directory is probably obsoleted vs current
-Debian packaging guidelines.
-
 I surely welcome patches to support both in a better way.
 
 DO NOT ship kronosnetd. It's an experimental piece of super
diff --git a/debian/changelog.in b/debian/changelog.in
deleted file mode 100644 (file)
index 74ce9a0..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-kronosnet (@version@.@numcomm@-@alphatag@@dirty@-1) unstable; urgency=low
-
-  * These aren't the droids you're looking for.
-
- -- Autotools generated version <nobody@nowhere.org>  @date@
diff --git a/debian/compat b/debian/compat
deleted file mode 100644 (file)
index 7f8f011..0000000
+++ /dev/null
@@ -1 +0,0 @@
-7
diff --git a/debian/control b/debian/control
deleted file mode 100644 (file)
index 0e6dd15..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-Source: kronosnet
-Priority: extra
-Maintainer: Fabio M. Di Nitto <fabbione@kronosnet.org>
-Build-Depends: debhelper (>= 7.0.50~), autoconf, autotools-dev, libtool, libqb-dev (>= 0.14.3), libnss3-dev, libnspr4-dev, libssl-dev, pkg-config, libpam-dev, zlib1g-dev, liblz4-dev (>= 1.7.3), liblzo2-dev, liblzma-dev, libbz2-dev, libsctp-dev
-Standards-Version: 3.8.4
-Section: admin
-
-Package: kronosnetd
-Section: admin
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Multipoint-to-Multipoint VPN daemon
- The kronosnet daemon is a bridge between kronosnet switching engine
- and kernel network tap devices, to create and administer a
- distributed LAN over multipoint-to-multipoint VPNs.
- The daemon does a poor attempt to provide a configure UI similar
- to other known network devices/tools (Cisco, quagga).
- Beside looking horrific, it allows runtime changes and
- reconfiguration of the kronosnet(s) without daemon reload
- or service disruption.
- .
- This package contains the kronosnet daemon and utils.
-
-Package: libtap1
-Section: libs
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: Simple userland wrapper around kernel tap devices
- This is an over-engineered commodity library to manage a pool
- of tap devices and provides the basic
- pre-up.d/up.d/down.d/post-down.d infrastructure.
- .
- This package contains libraries that should be used by libtap clients.
-
-Package: libtap-dev
-Section: libdevel
-Architecture: any
-Depends: libtap1 (= ${binary:Version}), ${misc:Depends}
-Description: Simple userland wrapper around kernel tap devices (developer files)
- This is an over-engineered commodity library to manage a pool
- of tap devices and provides the basic
- pre-up.d/up.d/down.d/post-down.d infrastructure.
- .
- This package contains header files required to build clients for libtap clients.
-
-Package: libknet1
-Section: libs
-Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}
-Description: kronosnet core switching implementation
- The whole kronosnet core is implemented in this library.
- Please refer to the not-yet-existing documentation for further
- information.
- .
- This package contains libraries that should be used by libknet clients.
-
-Package: libknet-dev
-Section: libdevel
-Architecture: any
-Depends: libknet1 (= ${binary:Version}), ${misc:Depends}
-Description: kronosnet core switching implementation (developer files)
- The whole kronosnet core is implemented in this library.
- Please refer to the not-yet-existing documentation for further
- information.
- .
- This package contains header files required to build clients for
- libknet clients.
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644 (file)
index 41603a8..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-Format: http://dep.debian.net/deps/dep5
-Upstream-Name: kronosnetd
-Source: https://github.com/fabbione/kronosnet
-
-Files: *
-Copyright: 2010-2015 Red Hat, Inc.  All rights reserved.
-License: GPL-2.0+, LGPL-2.0+
-
-License: GPL-2.0+, LGPL-2.0+
- This package 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 of the License, or (at your option) any later version.
- .
- This package 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 General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
- .
- On Debian systems, the complete text of the GNU Lesser General
- Public License can be found in "/usr/share/common-licenses/LGPL-2".
diff --git a/debian/kronosnetd.install b/debian/kronosnetd.install
deleted file mode 100644 (file)
index 48b46d6..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-etc/kronosnet/*
-etc/default/kronosnetd
-etc/init.d/kronosnetd
-etc/logrotate.d/kronosnetd
-etc/pam.d/kronosnetd
-usr/sbin/*
-usr/share/man/man8/*
diff --git a/debian/kronosnetd.postinst.in b/debian/kronosnetd.postinst.in
deleted file mode 100644 (file)
index 3070c27..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-
-set -e
-
-case "$1" in
-       configure)
-               groupadd --force --system @defaultadmgroup@ > /dev/null 2>&1
-               ;;
-       purge|abort-upgrade|abort-remove|abort-deconfigure)
-               ;;
-       *)
-               echo "postinst called with unknown argument \`$1'" >&2
-               exit 0
-               ;;
-esac
-
-#DEBHELPER#
-
-exit 0
diff --git a/debian/libknet-dev.install b/debian/libknet-dev.install
deleted file mode 100644 (file)
index f97a677..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/include/libknet.h
-usr/lib/libknet.a
-usr/lib/libknet.so
-usr/lib/pkgconfig/libknet.pc
diff --git a/debian/libknet1.install b/debian/libknet1.install
deleted file mode 100644 (file)
index 23db98c..0000000
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/libknet.so.*
diff --git a/debian/libtap-dev.install b/debian/libtap-dev.install
deleted file mode 100644 (file)
index 7fc2715..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-usr/include/libtap.h
-usr/lib/libtap.a
-usr/lib/libtap.so
-usr/lib/pkgconfig/libtap.pc
diff --git a/debian/libtap1.install b/debian/libtap1.install
deleted file mode 100644 (file)
index 68050e2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-usr/lib/libtap.so.*
diff --git a/debian/rules b/debian/rules
deleted file mode 100755 (executable)
index 6b22c65..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-#!/usr/bin/make -f
-# -*- makefile -*-
-# Sample debian/rules that uses debhelper.
-# This file was originally written by Joey Hess and Craig Small.
-# As a special exception, when this file is copied by dh-make into a
-# dh-make output file, you may use that output file without restriction.
-# This special exception was added by Craig Small in version 0.37 of dh-make.
-
-# Uncomment this to turn on verbose mode.
-#export DH_VERBOSE=1
-
-# package check requires root and does nasty things
-export DEB_BUILD_OPTIONS=nocheck
-
-%:
-       dh $@
-
-override_dh_installinit:
-       dh_installinit \
-               --package kronosnetd \
-               --onlyscripts \
-               --no-restart-on-upgrade \
-               --init-script=kronosnetd
diff --git a/debian/source/format b/debian/source/format
deleted file mode 100644 (file)
index 163aaf8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-3.0 (quilt)