Skip to content

Commit ffa38bc

Browse files
glencornellGlen Cornell
and
Glen Cornell
authored
port to oracle linux 9 (#64)
Co-authored-by: Glen Cornell <glen.cornell@oracle.com>
1 parent ccdca67 commit ffa38bc

File tree

4 files changed

+107
-2
lines changed

4 files changed

+107
-2
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ AC_INIT([bashdb],[OK_BASH_VERS-relstatus],[https://sourceforge.net/p/bashdb/bugs
2929
dnl make sure we are using a recent autoconf version.
3030
dnl In particular we assume prefix will be set to "NONE" if --prefix
3131
dnl isn't given. Earlier autoconf' used "no" instead of "NONE".
32-
AC_PREREQ([2.71])
32+
AC_PREREQ([2.69])
3333

3434
##################################################################
3535
# See if --prefix was set. If not, set it to a reasonable default

doc/bashdb.texi

+1
Original file line numberDiff line numberDiff line change
@@ -723,6 +723,7 @@ command string (@code{-c}).
723723
* Debugging a bash string from the command line::
724724
* Having bash invoke the debugger and your shell script::
725725
* Having the debugger invoke your shell script::
726+
* Calling the debugger from inside a running bash script::
726727
@end menu
727728

728729
@node Debugging a bash string from the command line

lib/term-highlight.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# -*- coding: utf-8 -*-
33
# Copyright (C) 2016, 2019, 2023 Rocky Bernstein <rocky@gnu.org>
44
#

rpm/bashdb-5.2-0.spec

+104
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,104 @@
1+
%bcond_with tests
2+
%define rversion 5.2-1.1.2
3+
4+
Name: bashdb
5+
Summary: BASH debugger, the BASH symbolic debugger
6+
Version: 5.2
7+
Release: 2%{?dist}
8+
License: GPLv2+
9+
Group: Development/Debuggers
10+
Url: https://github.com/Trepan-Debuggers/bashdb
11+
Source0: %{name}-%{rversion}.tar.gz
12+
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13+
BuildRequires: bash >= 5.1
14+
BuildRequires: python-pygments
15+
Requires(post): /sbin/install-info
16+
Requires(preun): /sbin/install-info
17+
Requires: bash >= 5.1
18+
BuildArch: noarch
19+
20+
%description
21+
The Bash Debugger Project is a source-code debugger for bash,
22+
which follows the gdb command syntax.
23+
The purpose of the BASH debugger is to check
24+
what is going on “inside” a bash script, while it executes:
25+
* Start a script, specifying conditions that might affect its behavior.
26+
* Stop a script at certain conditions (break points).
27+
* Examine the state of a script.
28+
* Experiment, by changing variable values on the fly.
29+
The 4.0 series is a complete rewrite of the previous series.
30+
Bashdb can be used with ddd: ddd --debugger %{_bindir}/%{name} <script-name>.
31+
32+
%prep
33+
%setup -q -n %{name}-%{rversion}
34+
35+
%build
36+
%configure
37+
make %{?_smp_mflags}
38+
39+
%install
40+
rm -rf %{buildroot}
41+
make install DESTDIR=%{buildroot}
42+
43+
%if %{with tests}
44+
%check
45+
make check
46+
%endif
47+
48+
%post
49+
mkdir -p /usr/share/info || :
50+
/sbin/install-info /usr/share/info/bashdb.info /usr/share/info/dir || :
51+
52+
%postun
53+
if [ "$1" = 0 ]; then
54+
/sbin/install-info --delete %{_infodir}/%{name}.info %{_infodir}/dir || :
55+
fi
56+
57+
%clean
58+
rm -rf %{buildroot}
59+
60+
%files
61+
%defattr(-,root,root,-)
62+
%doc doc/*.html ChangeLog AUTHORS COPYING INSTALL TODO README.md NEWS.md THANKS.md
63+
/usr/bin/bashdb
64+
/usr/share/bashdb
65+
/usr/share/info/bashdb.info.gz
66+
/usr/share/info/dir
67+
/usr/share/man/man1/bashdb.1.gz
68+
69+
%changelog
70+
* Sat Nov 9 2013 Rocky Bernstein <rlbernst@yu.edu> 4.2_0.9-1
71+
- Make it work on RHEL5 for bash4
72+
73+
* Tue Sep 27 2011 Rocky Bernstein <rlbernst@yu.edu> 4.2_0.9-1
74+
- Updated to 4.2-0.9
75+
76+
* Tue Mar 29 2011 Paulo Roma <roma@lcg.ufrj.br> 4.2_0.8-1
77+
- Updated to 4.2-0.7
78+
79+
* Sun Mar 06 2011 Paulo Roma <roma@lcg.ufrj.br> 4.2_0.6-1
80+
- Updated to 4.2-0.6
81+
- Emacs lisp code has been removed upstream.
82+
83+
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.1_0.4-2
84+
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
85+
86+
* Thu Jul 22 2010 Paulo Roma <roma@lcg.ufrj.br> 4.1_0.4-1
87+
- Updated to 4.1-0.4
88+
89+
* Sun Mar 14 2010 Jonathan G. Underwood <jonathan.underwood@gmail.com> - 4.0_0.4-3
90+
- Update package to comply with emacs add-on packaging guidelines
91+
- Split out separate Elisp source file package
92+
93+
* Sun Dec 27 2009 Paulo Roma <roma@lcg.ufrj.br> 4.0_0.4-2
94+
- Updated to 4.0-0.4
95+
96+
* Fri Apr 10 2009 Paulo Roma <roma@lcg.ufrj.br> 4.0_0.3-2
97+
- Updated to 4.0-0.3 for supporting bash 4.0
98+
- Added building option "with tests".
99+
100+
* Wed Feb 25 2009 Paulo Roma <roma@lcg.ufrj.br> 4.0_0.2-1
101+
- Completely rewritten for Fedora.
102+
103+
* Tue Nov 18 2008 Manfred Tremmel <Manfred.Tremmel@iiv.de>
104+
- update to 4.0-0.2

0 commit comments

Comments
 (0)