Compare commits

...

9 Commits

Author SHA1 Message Date
Pekka Enberg
6a5a856e2e release: prepare for 1.1.3 2016-06-16 13:40:36 +03:00
Pekka Enberg
e740c3617f release: prepare for 1.1.2 2016-06-06 14:48:03 +03:00
Pekka Enberg
eb902152c1 release: prepare for 1.1.1 2016-05-26 12:58:58 +03:00
Pekka Enberg
1537946798 release: prepare for 1.1.0 2016-05-16 09:31:44 +03:00
Takuya ASADA
d24181129b dist/ubuntu: fix build error on Ubuntu 16.04
(cherry picked from commit 19a0e72752a3a02c3a7449cba618b6e8b382989a)
2016-05-04 13:20:31 +03:00
Takuya ASADA
128d70db96 dist/ubuntu: resolve build time dependency by mk-build-deps command
Resolve dependency packages from debian/control, intead of doing apt-get manually.

(cherry picked from commit 72aae6bf3b1e59f4a7e2fe0b4973da34727f8461)
2016-05-04 13:20:26 +03:00
Takuya ASADA
a9162cd86a dist/ubuntu: generate correct distribution codename on debian/changelog
Since we supported more than one version of Ubuntu, need to generate each codename on changelog.

(cherry picked from commit d8d3023334348f875533032d91cae74d2877fe0d)
2016-05-04 13:20:20 +03:00
Takuya ASADA
bf11bc30cc dist: #!/bin/bash for all scripts
Like we did on scylla-server, switch to bash.

(cherry picked from commit ef15d9541612249f0234184a7730311861db1dec)
2016-05-04 13:20:16 +03:00
Pekka Enberg
2caf534834 release: prepare for 1.1.rc1 2016-04-29 08:50:00 +03:00
6 changed files with 19 additions and 8 deletions

View File

@ -1,6 +1,6 @@
#!/bin/sh
VERSION=666.development
VERSION=1.1.3
if test -f version
then

View File

@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/bash -e
RPMBUILD=`pwd`/build/rpmbuild

View File

@ -1,4 +1,4 @@
#!/bin/sh -e
#!/bin/bash -e
if [ ! -e dist/ubuntu/build_deb.sh ]; then
echo "run build_deb.sh in top of scylla dir"
@ -9,6 +9,10 @@ if [ -e debian ] || [ -e build ] || [ -e target ] || [ -e m2 ] || [ -e dependenc
rm -rf debian build target m2 dependency-reduced-pom.xml
fi
DISTRIBUTION=`lsb_release -i|awk '{print $3}'`
RELEASE=`lsb_release -r|awk '{print $2}'`
CODENAME=`lsb_release -c|awk '{print $2}'`
VERSION=$(./SCYLLA-VERSION-GEN)
SCYLLA_VERSION=$(cat build/SCYLLA-VERSION-FILE | sed 's/\.rc/~rc/')
SCYLLA_RELEASE=$(cat build/SCYLLA-RELEASE-FILE)
@ -20,8 +24,15 @@ echo $VERSION > version
cp -a dist/ubuntu/debian debian
cp dist/ubuntu/changelog.in debian/changelog
cp dist/ubuntu/rules.in debian/rules
sed -i -e "s/@@VERSION@@/$SCYLLA_VERSION/g" debian/changelog
sed -i -e "s/@@RELEASE@@/$SCYLLA_RELEASE/g" debian/changelog
sed -i -e "s/@@CODENAME@@/$CODENAME/g" debian/changelog
if [ "$RELEASE" = "14.04" ]; then
sed -i -e "s/@@DH_INSTALLINIT@@/--upstart-only/g" debian/rules
else
sed -i -e "s/@@DH_INSTALLINIT@@//g" debian/rules
fi
sudo apt-get -y install debhelper maven openjdk-7-jdk devscripts
echo Y | sudo mk-build-deps -i -r
debuild -r fakeroot -us -uc

View File

@ -1,4 +1,4 @@
scylla-jmx (@@VERSION@@-@@RELEASE@@-ubuntu1) trusty; urgency=medium
scylla-jmx (@@VERSION@@-@@RELEASE@@-ubuntu1) @@CODENAME@@; urgency=medium
* Initial release.

View File

@ -4,11 +4,11 @@ Homepage: http://scylladb.com
Section: database
Priority: optional
Standards-Version: 3.9.5
Build-Depends: debhelper (>= 9), maven, openjdk-7-jdk | java7-jdk | openjdk-8-jdk | java8-jdk
Build-Depends: debhelper (>= 9), maven, default-jdk | java7-jdk | java8-jdk
Package: scylla-jmx
Architecture: all
Depends: ${shlibs:Depends}, ${misc:Depends}, openjdk-7-jre-headless | openjdk-8-jre-headless | java-runtime-headless, scylla-server
Depends: ${shlibs:Depends}, ${misc:Depends}, default-jre-headless | java-runtime-headless, scylla-server
Description: Scylla JMX server binaries
Scylla is a highly scalable, eventually consistent, distributed,
partitioned row DB.

View File

@ -24,7 +24,7 @@ override_dh_auto_install:
cp $(CURDIR)/target/scylla-jmx-1.0.jar $(DEST)
override_dh_installinit:
dh_installinit --no-start --upstart-only
dh_installinit --no-start @@DH_INSTALLINIT@@
%:
dh $@