update Debian files for new Greenlight version

v2
Max Erenberg 1 year ago
parent d6eead5e68
commit 9e23c23285
  1. 3
      .gitignore
  2. 10
      Makefile
  3. 2
      bin/start
  4. 6
      debian/changelog
  5. 10
      debian/control
  6. 2
      make_tarball.sh

3
.gitignore vendored

@ -10,6 +10,9 @@
# Ignore bundler config.
/.bundle
# Ignore .gem directory
/.gem
# Ignore Debian auto-generated files.
/debian/debhelper-build-stamp
/debian/files

@ -1,14 +1,16 @@
prefix = /opt/greenlight
BUNDLE = $(HOME)/.gem/ruby/2.5.0/bin/bundle
RUBY_VERSION = 2.7.0
BUNDLE = $(prefix)/.gem/ruby/$(RUBY_VERSION)/bin/bundle
all: export HOME = $(prefix)
all:
[ -x $(BUNDLE) ] || gem install --user-install bundler
$(BUNDLE) config --global frozen 1
$(BUNDLE) install --deployment --without development:test:assets -j4 --path=vendor/bundle
rm -rf vendor/bundle/ruby/2.5.0/cache/*.gem
find vendor/bundle/ruby/2.5.0/gems/ -name "*.c" -delete
find vendor/bundle/ruby/2.5.0/gems/ -name "*.o" -delete
rm -rf vendor/bundle/ruby/$(RUBY_VERSION)/cache/*.gem
find vendor/bundle/ruby/$(RUBY_VERSION)/gems/ -name "*.c" -delete
find vendor/bundle/ruby/$(RUBY_VERSION)/gems/ -name "*.o" -delete
install:
cp -r app bin .bundle config config.ru db Gemfile Gemfile.lock greenlight.nginx \

@ -1,6 +1,6 @@
#!/bin/bash
RUBYBIN=$HOME/.gem/ruby/2.5.0/bin
RUBYBIN=$HOME/.gem/ruby/2.7.0/bin
NODEBIN=$PWD/node_modules/.bin
export PATH=$RUBYBIN:$NODEBIN:$PATH
export RAILS_ENV=production

6
debian/changelog vendored

@ -1,3 +1,9 @@
greenlight (2.8.4-1) xenial; urgency=medium
* Upgrade to release 2.8.4.
-- Max Erenberg <merenber@csclub.uwaterloo.ca> Wed, 12 May 2021 20:22:30 +0000
greenlight (2.7.19-1) xenial; urgency=medium
* Initial release.

10
debian/control vendored

@ -7,8 +7,8 @@ Build-Depends:
debhelper (>= 9),
build-essential (>= 12.1),
libcurl4-gnutls-dev,
ruby2.5,
ruby2.5-dev,
ruby2.7,
ruby2.7-dev,
libpq-dev (>= 9.5),
libsqlite3-dev,
libyaml-dev (>= 0.1.6),
@ -21,15 +21,15 @@ Depends:
${shlibs:Depends},
${misc:Depends},
libcurl3-gnutls,
ruby2.5,
ruby2.7,
libpq5,
libsqlite3-0,
libyaml-0-2,
zlib1g (>= 1:1.2),
zlib1g (<< 1:1.3),
tzdata,
nodejs (>= 8),
nodejs (<< 9),
nodejs (>= 14),
nodejs (<< 15),
npm
Description: simple end-user interface for BigBlueButton
Greenlight is a simple front-end interface for your BigBlueButton server.

@ -1,6 +1,6 @@
#!/bin/sh
VER=2.7.19
VER=2.8.4
make clean
cd ..