diff --git a/debian/begin.debhelper.log b/debian/begin.debhelper.log new file mode 100644 index 0000000..ce685bc --- /dev/null +++ b/debian/begin.debhelper.log @@ -0,0 +1,48 @@ +dh_auto_configure +dh_auto_build +dh_auto_test +dh_prep +dh_installdirs +dh_auto_install +dh_install +dh_installdocs +dh_installchangelogs +dh_installexamples +dh_installman +dh_installcatalogs +dh_installcron +dh_installdebconf +dh_installemacsen +dh_installifupdown +dh_installinfo +dh_pysupport +dh_installinit +dh_installmenu +dh_installmime +dh_installmodules +dh_installlogcheck +dh_installlogrotate +dh_installpam +dh_installppp +dh_installudev +dh_installwm +dh_installxfonts +dh_installgsettings +dh_bugfiles +dh_ucf +dh_lintian +dh_gconf +dh_icons +dh_perl +dh_usrlocal +dh_link +dh_compress +dh_fixperms +dh_strip +dh_makeshlibs +dh_shlibdeps +dh_installdeb +dh_gencontrol +dh_md5sums +dh_builddeb +dh_builddeb diff --git a/debian/begin.manpages b/debian/begin.manpages new file mode 100644 index 0000000..af3b765 --- /dev/null +++ b/debian/begin.manpages @@ -0,0 +1 @@ +docs/begin.1 diff --git a/debian/begin.substvars b/debian/begin.substvars new file mode 100644 index 0000000..f71906b --- /dev/null +++ b/debian/begin.substvars @@ -0,0 +1,2 @@ +shlibs:Depends=libc6 (>= 2.2.5), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.4.0) +misc:Depends= diff --git a/debian/begin/DEBIAN/control b/debian/begin/DEBIAN/control new file mode 100644 index 0000000..cadb860 --- /dev/null +++ b/debian/begin/DEBIAN/control @@ -0,0 +1,12 @@ +Package: begin +Version: 0.1.1-1 +Architecture: amd64 +Maintainer: Mikael Nordin +Installed-Size: 383 +Depends: libc6 (>= 2.2.5), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.4.0) +Section: text +Priority: optional +Homepage: https://github.com/mickenordin/begin +Description: This is an output modifier + Begin is a free implementation of the Cisco command "begin", an output modifier + that prints all lines including the first line that matches a regex. diff --git a/debian/begin/DEBIAN/md5sums b/debian/begin/DEBIAN/md5sums new file mode 100644 index 0000000..2bec34b --- /dev/null +++ b/debian/begin/DEBIAN/md5sums @@ -0,0 +1,5 @@ +af24c885a1f720b81ab8d9aee57cc9a0 usr/bin/begin +08c1e33886a356a37af53d9f21249625 usr/share/doc/begin/README +b9f7f47563a66d8c7c9a62896c58de46 usr/share/doc/begin/changelog.Debian.gz +6281d82051643247ff24dbc06796017f usr/share/doc/begin/copyright +bb4f7f28b24c4c3395e7822bcaf0b95e usr/share/man/man1/begin.1.gz diff --git a/debian/begin/usr/bin/begin b/debian/begin/usr/bin/begin new file mode 100755 index 0000000..3c7c1f8 Binary files /dev/null and b/debian/begin/usr/bin/begin differ diff --git a/debian/begin/usr/share/doc/begin/README b/debian/begin/usr/share/doc/begin/README new file mode 100644 index 0000000..96629c0 --- /dev/null +++ b/debian/begin/usr/share/doc/begin/README @@ -0,0 +1,22 @@ +This is a free implementation of the Cisco ios/asa/catalyst output modifier "begin" released under GNU GPL v.2 or any later version. + +http://www.cisco.com/en/US/docs/ios/preface/usingios.html#wp1012384 + +DEPENDENCIES +This program depends on boost/xpressive header only library. On RedHat(-ish) systems do: + +yum install boost-devel + +On debian do: + +apt-get install libboost-regex-dev + +before installation + +INSTALLATION +git clone git://github.com/mickenordin/begin.git +cd begin +./autogen.sh +./configure +make +make install diff --git a/debian/begin/usr/share/doc/begin/changelog.Debian.gz b/debian/begin/usr/share/doc/begin/changelog.Debian.gz new file mode 100644 index 0000000..e768f37 Binary files /dev/null and b/debian/begin/usr/share/doc/begin/changelog.Debian.gz differ diff --git a/debian/begin/usr/share/doc/begin/copyright b/debian/begin/usr/share/doc/begin/copyright new file mode 100644 index 0000000..37323d9 --- /dev/null +++ b/debian/begin/usr/share/doc/begin/copyright @@ -0,0 +1,32 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Name: begin +Maintainer: Mikael Nordin on Sun, 27 Jan 2013 10:38:50 +0100 +Source: https://github.com/mickenordin/begin/ + +Copyright: 2011-2013 Mikael Nordin + +License: GPL-2+ + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + "/usr/share/common-licenses/GPL-2". + +The Debian packaging is: + + Copyright (C) 2013 Mikael Nordin + and is licensed under the GPL version 2 or any later version, + see "/usr/share/common-licenses/GPL-2". + diff --git a/debian/begin/usr/share/man/man1/begin.1.gz b/debian/begin/usr/share/man/man1/begin.1.gz new file mode 100644 index 0000000..409fe1a Binary files /dev/null and b/debian/begin/usr/share/man/man1/begin.1.gz differ diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..dc46051 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +begin (0.1.1-1) unstable; urgency=low + + * Initial release (Closes: #nnnn) + + -- Mikael Nordin Sun, 27 Jan 2013 10:38:50 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..7c3e04d --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: begin +Section: text +Priority: optional +Maintainer: Mikael Nordin +Build-Depends: debhelper (>= 7.0.50~), autotools-dev +Standards-Version: 3.8.4 +Homepage: https://github.com/mickenordin/begin +#Vcs-Git: git://git.debian.org/collab-maint/begin.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/begin.git;a=summary + +Package: begin +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: This is an output modifier + Begin is a free implementation of the Cisco command "begin", an output modifier + that prints all lines including the first line that matches a regex. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..37323d9 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,32 @@ +Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135 +Name: begin +Maintainer: Mikael Nordin on Sun, 27 Jan 2013 10:38:50 +0100 +Source: https://github.com/mickenordin/begin/ + +Copyright: 2011-2013 Mikael Nordin + +License: GPL-2+ + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version 2 + of the License, or (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + On Debian systems, the full text of the GNU General Public + License version 2 can be found in the file + "/usr/share/common-licenses/GPL-2". + +The Debian packaging is: + + Copyright (C) 2013 Mikael Nordin + and is licensed under the GPL version 2 or any later version, + see "/usr/share/common-licenses/GPL-2". + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..50bd824 --- /dev/null +++ b/debian/docs @@ -0,0 +1,2 @@ +NEWS +README diff --git a/debian/files b/debian/files new file mode 100644 index 0000000..42f2b9b --- /dev/null +++ b/debian/files @@ -0,0 +1 @@ +begin_0.1.1-1_amd64.deb text optional diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..b760bee --- /dev/null +++ b/debian/rules @@ -0,0 +1,13 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +%: + dh $@