forked from brjohnsn/mdbtools
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bumped version to 0.8.2 and updated change log
- Loading branch information
1 parent
e24c481
commit b753ff3
Showing
5 changed files
with
16 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
#!/bin/bash -ex | ||
|
||
# You must run this as sudo | ||
|
||
function usage(){ | ||
echo "" | ||
echo "This script packages mdbtools into a .deb and .rpm packages" | ||
|
@@ -30,14 +32,17 @@ if [ ! -z "$2" ]; then | |
PKG_RELEASE=$2 | ||
fi | ||
|
||
sudo checkinstall -y --pkgname=cyber-mdbtools --pkgversion=${PKG_VERSION} --pkgrelease=${PKG_RELEASE} --pkggroup=Tools \ | ||
autoreconf -i -f | ||
./configure | ||
|
||
checkinstall -y --pkgname=cyber-mdbtools --pkgversion=${PKG_VERSION} --pkgrelease=${PKG_RELEASE} --pkggroup=Tools \ | ||
--pkgsource=https://github.com/cyberemissary/mdbtools/archive/master.zip \ | ||
[email protected] --provides=mdbtools | ||
|
||
# remove directory in case we are rebuilding the same version and we quite prematurely before | ||
rm -Rf cyber-mdbtools-${PKG_VERSION} | ||
sudo alien -r -g -v -k cyber-mdbtools_${PKG_VERSION}-${PKG_RELEASE}_amd64.deb | ||
alien -r -g -v -k cyber-mdbtools_${PKG_VERSION}-${PKG_RELEASE}_amd64.deb | ||
|
||
cd cyber-mdbtools-${PKG_VERSION} | ||
sudo rpmbuild --buildroot $(pwd)/ --bb cyber-mdbtools-${PKG_VERSION}-${PKG_RELEASE}.spec | ||
rpmbuild --buildroot $(pwd)/ --bb cyber-mdbtools-${PKG_VERSION}-${PKG_RELEASE}.spec | ||
cd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
dnl Process this file with autoconf to produce a configure script. | ||
AC_INIT([mdbtools],[0.8.1],[[email protected]]) | ||
AC_INIT([mdbtools],[0.8.2],[[email protected]]) | ||
AC_CONFIG_MACRO_DIR([m4]) | ||
AC_CONFIG_AUX_DIR([build-aux]) | ||
AC_CONFIG_SRCDIR(src/extras/mdb-dump.c) | ||
|