debian: Remove openvswitch-pki-server package.
authorBen Pfaff <blp@nicira.com>
Tue, 4 Jan 2011 18:19:59 +0000 (10:19 -0800)
committerBen Pfaff <blp@nicira.com>
Tue, 4 Jan 2011 22:52:04 +0000 (14:52 -0800)
The functionality provided by this package was used only by
openvswitch-switch-config, which was removed some time ago.  If I had been
more careful at the time, I would have removed this package at the same
time.

debian/.gitignore
debian/automake.mk
debian/control
debian/openvswitch-pki-server.apache2 [deleted file]
debian/openvswitch-pki-server.dirs [deleted file]
debian/openvswitch-pki-server.install [deleted file]
debian/openvswitch-pki-server.postinst [deleted file]
debian/rules

index f2e3c97..3ebb73b 100644 (file)
@@ -13,7 +13,6 @@
 /openvswitch-dbg
 /openvswitch-ipsec
 /openvswitch-pki
-/openvswitch-pki-server
 /openvswitch-switch
 /openvswitch-switch.copyright
 /python-openvswitch
index a423c6b..f493100 100644 (file)
@@ -24,10 +24,6 @@ EXTRA_DIST += \
        debian/openvswitch-ipsec.dirs \
        debian/openvswitch-ipsec.init \
        debian/openvswitch-ipsec.install \
-       debian/openvswitch-pki-server.apache2 \
-       debian/openvswitch-pki-server.dirs \
-       debian/openvswitch-pki-server.install \
-       debian/openvswitch-pki-server.postinst \
        debian/openvswitch-pki.postinst \
        debian/openvswitch-switch.README.Debian \
        debian/openvswitch-switch.dirs \
index f488cfb..2970915 100644 (file)
@@ -69,20 +69,6 @@ Description: A dependency package for the Open vSwitch public key infrastructure
  .
  Open vSwitch is a full-featured software-based Ethernet switch.
 
-Package: openvswitch-pki-server
-Architecture: all
-Depends:
- ${misc:Depends}, ${perl:Depends}, openvswitch-pki (= ${binary:Version}),
- apache2
-Description: Open vSwitch public key infrastructure (HTTP server support)
- openvswitch-pki-server provides HTTP access to the Open vSwitch PKI (public
- key infrastructure) maintained on the local machine by the
- openvswitch-pki package.  This HTTP access is needed for secure and
- convenient OpenFlow switch setup using the ovs-switch-setup program
- in the openvswitch-switch package.
- .
- Open vSwitch is a full-featured software-based Ethernet switch.
-
 Package: openvswitch-controller
 Architecture: linux-any
 Depends:
diff --git a/debian/openvswitch-pki-server.apache2 b/debian/openvswitch-pki-server.apache2
deleted file mode 100644 (file)
index d0bc8ba..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Alias /openvswitch/pki/ /usr/share/openvswitch/pki/
diff --git a/debian/openvswitch-pki-server.dirs b/debian/openvswitch-pki-server.dirs
deleted file mode 100644 (file)
index 7307777..0000000
+++ /dev/null
@@ -1 +0,0 @@
-etc/apache2/sites-available
diff --git a/debian/openvswitch-pki-server.install b/debian/openvswitch-pki-server.install
deleted file mode 100644 (file)
index 5af75da..0000000
+++ /dev/null
@@ -1 +0,0 @@
-_debian/utilities/ovs-pki-cgi usr/lib/cgi-bin
diff --git a/debian/openvswitch-pki-server.postinst b/debian/openvswitch-pki-server.postinst
deleted file mode 100755 (executable)
index 79d73a4..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-#!/bin/sh
-# postinst script for openflow-pki-server
-#
-# see: dh_installdeb(1)
-
-set -e
-
-# summary of how this script can be called:
-#        * <postinst> `configure' <most-recently-configured-version>
-#        * <old-postinst> `abort-upgrade' <new version>
-#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
-#          <new-version>
-#        * <postinst> `abort-remove'
-#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
-#          <failed-install-package> <version> `removing'
-#          <conflicting-package> <version>
-# for details, see http://www.debian.org/doc/debian-policy/ or
-# the debian-policy package
-
-case "$1" in
-    configure)
-        # Enable site under Apache.
-        a2ensite openflow-pki >/dev/null
-        if command -v invoke-rc.d >/dev/null 2>&1; then
-                invoke-rc.d apache2 force-reload || :
-        else
-                [ -x /etc/init.d/apache2 ] && /etc/init.d/apache2 force-reload || :
-        fi
-        ;;
-
-    abort-upgrade|abort-remove|abort-deconfigure)
-        ;;
-
-    *)
-        echo "postinst called with unknown argument \`$1'" >&2
-        exit 1
-        ;;
-esac
-
-#DEBHELPER#
-
-exit 0
-
-
index 4a02a49..bbc7357 100755 (executable)
@@ -77,7 +77,6 @@ install-indep: build-indep
                > debian/openvswitch-datapath-source/usr/src/modules/openvswitch-datapath/debian/rules
        chmod 755 debian/openvswitch-datapath-source/usr/src/modules/openvswitch-datapath/debian/rules
        cd debian/openvswitch-datapath-source/usr/src && tar -c modules | bzip2 -9 > openvswitch-datapath.tar.bz2 && rm -rf modules
-       install -m644 debian/openvswitch-pki-server.apache2 debian/openvswitch-pki-server/etc/apache2/sites-available/openvswitch-pki
 
 install-arch: build-arch
        dh_testdir