path: root/packaging/rpm
diff options
authorMaros Marsalek <>2016-11-10 12:22:28 +0100
committerMaros Marsalek <>2016-11-10 12:47:24 +0100
commit8e0c7007906730fe4547b0265a895ad8a322a7dc (patch)
treedbc3310da5c7b7083cc6b9ecffee633d2cf5cd7f /packaging/rpm
parentaa7e652e6105a6972d6c41ff0738cd9e31ce0188 (diff)
Remove hc2vpp codebase
Moved to a dedicated hc2vpp project in Change-Id: I03dc3b3029f21b127a00c69a86bcd8e467896241 Signed-off-by: Maros Marsalek <>
Diffstat (limited to 'packaging/rpm')
6 files changed, 0 insertions, 99 deletions
diff --git a/packaging/rpm/.gitignore b/packaging/rpm/.gitignore
deleted file mode 100644
index 2da6c3117..000000000
--- a/packaging/rpm/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
diff --git a/packaging/rpm/honeycomb.service b/packaging/rpm/honeycomb.service
deleted file mode 100644
index d8fe9cde4..000000000
--- a/packaging/rpm/honeycomb.service
+++ /dev/null
@@ -1,10 +0,0 @@
-[Unit] Honeycomb
diff --git a/packaging/rpm/honeycomb.spec b/packaging/rpm/honeycomb.spec
deleted file mode 100644
index e95b5455a..000000000
--- a/packaging/rpm/honeycomb.spec
+++ /dev/null
@@ -1,66 +0,0 @@
-# Honyecomb is a noarch package, so this isn't necessary. It's also very slow.
-%define __jar_repack 0
-%define _version %(./version)
-%define _release %(./release)
-Name: honeycomb
-Version: %{_version}
-# The Fedora/CentOS packaging guidelines *require* the use of a disttag. Honeycomb's
-# RPM build doesn't do anything Fedora/CentOS specific, so the disttag is
-# unnecessary and unused in our case, but both the docs and the pros (apevec)
-# agree that we should include it.
-# See:
-Release: %{_release}
-BuildArch: noarch
-Summary: Honeycomb
-Group: Applications/Communications
-License: Apache-1.0
-Source0: vpp-integration-distribution-%{_version}
-Source1: honeycomb.service
-Requires: vpp, vpp-plugins, java >= 1:1.8.0
-# Required for creating honeycomb group
-Requires(pre): shadow-utils
-# Required for configuring systemd
-BuildRequires: systemd
-# Create `honeycomb` user/group
-# Short circuits if the user/group already exists
-# Home dir must be a valid path for various files to be created in it
-getent passwd honeycomb > /dev/null || useradd honeycomb -M -d $RPM_BUILD_ROOT/opt/%name
-getent group honeycomb > /dev/null || groupadd honeycomb
-getent group vpp > /dev/null && usermod -a -G vpp honeycomb
-%description Honeycomb
-# Extract Source0 (Honeycomb archive)
-%autosetup -n vpp-integration-distribution-%{_version}-SNAPSHOT
-# Create directory in build root for Honeycomb
-mkdir -p $RPM_BUILD_ROOT/opt/%name
-# Copy Honeycomb from archive to its dir in build root
-cp -r ../vpp-integration-distribution-%{_version}-SNAPSHOT/* $RPM_BUILD_ROOT/opt/%name
-# Create directory in build root for systemd .service file
-mkdir -p $RPM_BUILD_ROOT/%{_unitdir}
-# Copy Honeycomb's systemd .service file to correct dir in build root
-echo "PWD:$PWD"
-cp ${RPM_BUILD_ROOT}/../../%{name}.service $RPM_BUILD_ROOT/%{_unitdir}/%name.service
-# When the RPM is removed, the subdirs containing new files wouldn't normally
-# be deleted. Manually clean them up.
-# Warning: This does assume there's no data there that should be preserved
-if [ $1 -eq 0 ]; then
- rm -rf $RPM_BUILD_ROOT/opt/%name
-# Honeycomb will run as honeycomb:honeycomb, set as user:group for honeycomb dir, don't override mode
-%attr(-,honeycomb,honeycomb) /opt/%name
-# Configure systemd unitfile user/group/mode
-%attr(0644,root,root) %{_unitdir}/%name.service
diff --git a/packaging/rpm/release b/packaging/rpm/release
deleted file mode 100755
index c4bf723b5..000000000
--- a/packaging/rpm/release
+++ /dev/null
@@ -1,2 +0,0 @@
diff --git a/packaging/rpm/ b/packaging/rpm/
deleted file mode 100755
index 5e8ab6e7a..000000000
--- a/packaging/rpm/
+++ /dev/null
@@ -1,13 +0,0 @@
-set -xe
-DIR=$(dirname $0)
-DIR=$(readlink -f $DIR)
-mkdir -p ${DIR}/SOURCES/
-cp ${DIR}/honeycomb.spec ${DIR}/SOURCES/
-cd ${DIR}
-rpmbuild -bb --define "_topdir ${DIR}" ${DIR}/honeycomb.spec
-cd -
diff --git a/packaging/rpm/version b/packaging/rpm/version
deleted file mode 100755
index d1194ffdb..000000000
--- a/packaging/rpm/version
+++ /dev/null
@@ -1,2 +0,0 @@
-echo 1.16.12