update Debian files for new Greenlight version

This commit is contained in:
Max Erenberg 2021-06-06 20:17:54 -04:00
parent d6eead5e68
commit 9e23c23285
6 changed files with 22 additions and 11 deletions

3
.gitignore vendored
View File

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

View File

@ -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 \

View File

@ -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
View File

@ -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
View File

@ -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.

View File

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