From e1258bf3a37bbb79f57505a7feae7e5f33133256 Mon Sep 17 00:00:00 2001 From: alan Date: Mon, 29 Jan 2024 19:14:30 +0000 Subject: [PATCH] Initial Commit --- README.Debian | 8 ++ changelog | 6 ++ control | 62 +++++++++++++++ copyright | 181 ++++++++++++++++++++++++++++++++++++++++++ files | 7 ++ libudis86-dev.install | 4 + libudis86-doc.install | 1 + libudis86.install | 1 + rules | 16 ++++ udcli.install | 1 + upstream/metadata | 16 ++++ watch | 1 + 12 files changed, 304 insertions(+) create mode 100644 README.Debian create mode 100644 changelog create mode 100644 control create mode 100644 copyright create mode 100644 files create mode 100644 libudis86-dev.install create mode 100644 libudis86-doc.install create mode 100644 libudis86.install create mode 100755 rules create mode 100644 udcli.install create mode 100644 upstream/metadata create mode 100644 watch diff --git a/README.Debian b/README.Debian new file mode 100644 index 0000000..7ee3af8 --- /dev/null +++ b/README.Debian @@ -0,0 +1,8 @@ +udis86 for Debian + +Please edit this to provide information specific to +this udis86 Debian package. + + (Automatically generated by debmake Version 4.4.0) + + -- Alan M Varghese (NyxTrail) Mon, 29 Jan 2024 09:13:39 +0000 diff --git a/changelog b/changelog new file mode 100644 index 0000000..fe3b6a8 --- /dev/null +++ b/changelog @@ -0,0 +1,6 @@ +udis86 (20221013-1) UNRELEASED; urgency=low + + * Initial release. Closes: #nnnn + + + -- Alan M Varghese (NyxTrail) Mon, 29 Jan 2024 09:13:39 +0000 diff --git a/control b/control new file mode 100644 index 0000000..af6fb45 --- /dev/null +++ b/control @@ -0,0 +1,62 @@ +Source: udis86 +Section: misc +Priority: optional +Maintainer: Alan M Varghese (NyxTrail) +Build-Depends: debhelper-compat (= 13), dh-autoreconf +Standards-Version: 4.6.1 +Homepage: https://github.com/canihavesomecoffee/udis86 +Rules-Requires-Root: no +#Vcs-Git: https://salsa.debian.org/debian/udis86.git +#Vcs-Browser: https://salsa.debian.org/debian/udis86 + +Package: libudis86 +Section: libs +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: disassembler for x86 and x86-64 class instruction sets + Udis86 is a disassembler for the x86 and x86-64 class of instruction + set architectures. It consists of a C library called libudis86 which + provides a clean and simple interface to decode and inspect a stream + of raw binary data as disassembled instructions in a structured manner, + and a command line tool called udcli that incorporates the library. + . + This package contains the main library. + +Package: libudis86-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: disassembler for x86 and x86-64 class instruction sets + Udis86 is a disassembler for the x86 and x86-64 class of instruction + set architectures. It consists of a C library called libudis86 which + provides a clean and simple interface to decode and inspect a stream + of raw binary data as disassembled instructions in a structured manner, + and a command line tool called udcli that incorporates the library. + . + This package contains the development files for the udis86 library. + +Package: udcli +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, libudis86 +Description: disassembler for x86 and x86-64 class instruction sets + Udis86 is a disassembler for the x86 and x86-64 class of instruction + set architectures. It consists of a C library called libudis86 which + provides a clean and simple interface to decode and inspect a stream + of raw binary data as disassembled instructions in a structured manner, + and a command line tool called udcli that incorporates the library. + . + This package contains the CLI program for udis86 library. + +Package: libudis86-doc +Section: doc +Architecture: all +Multi-Arch: foreign +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: disassembler for x86 and x86-64 class instruction sets + Udis86 is a disassembler for the x86 and x86-64 class of instruction + set architectures. It consists of a C library called libudis86 which + provides a clean and simple interface to decode and inspect a stream + of raw binary data as disassembled instructions in a structured manner, + and a command line tool called udcli that incorporates the library. + . + This package contains the CLI documentation for udis86 library. diff --git a/copyright b/copyright new file mode 100644 index 0000000..c85783a --- /dev/null +++ b/copyright @@ -0,0 +1,181 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: udis86 +Upstream-Contact: +Source: +# +# Please double check copyright with the licensecheck(1) command. + +Files: .gitignore + BUILD-WINDOWS + BuildVS2010/README.txt + BuildVS2010/build.proj + BuildVS2010/buildVS2010.bat + BuildVS2010/libudis86.vcxproj + BuildVS2010/libudis86.vcxproj.filters + BuildVS2010/udcli.vcxproj + BuildVS2010/udcli.vcxproj.filters + BuildVS2010/udis86.sln + CHANGES + CMakeLists.txt + Makefile.am + README.md + autogen.sh + configure.ac + docs/Makefile.am + docs/manual/Makefile.am + docs/manual/conf.py + docs/manual/getstarted.rst + docs/manual/index.rst + docs/manual/libudis86.rst + docs/manual/static/udis86.css + docs/x86/Makefile.am + docs/x86/README + docs/x86/avx.xml + libudis86/CMakeLists.txt + libudis86/Makefile.am + scripts/Makefile.am + scripts/asmtest.sh + tests/Makefile.am + tests/asm/16/disp.asm + tests/asm/16/test16.asm + tests/asm/32/att.asm + tests/asm/32/att.asm.Sref + tests/asm/32/att.asm.ref + tests/asm/32/avx.asm + tests/asm/32/avx.asm.Sref + tests/asm/32/avx.asm.ref + tests/asm/32/corner.asm + tests/asm/32/corner.asm.ref + tests/asm/32/disp.asm + tests/asm/32/disp.asm.Sref + tests/asm/32/invalid_seg.asm + tests/asm/32/invalid_seg.asm.ref + tests/asm/32/obscure.asm + tests/asm/32/obscure.asm.ref + tests/asm/32/reljmp.asm + tests/asm/32/reljmp.asm.ref + tests/asm/32/sext.asm + tests/asm/32/sext.asm.ref + tests/asm/32/test32.asm + tests/asm/64/amd/invalid.asm + tests/asm/64/amd/invalid.asm.ref + tests/asm/64/avx.asm + tests/asm/64/avx.asm.ref + tests/asm/64/branch.asm + tests/asm/64/branch.asm.ref + tests/asm/64/disp.asm + tests/asm/64/disp.asm.Sref + tests/asm/64/disp.asm.ref + tests/asm/64/intel/invalid.asm + tests/asm/64/intel/invalid.asm.ref + tests/asm/64/reljmp.asm + tests/asm/64/reljmp.asm.ref + tests/asm/64/sext.asm + tests/asm/64/sext.asm.ref + tests/asm/64/test64.asm + tests/installcheck.c + tests/symresolve.c + tests/symresolve.ref + udcli/CMakeLists.txt + udcli/Makefile.am + udis86.pc.in + xcode/udcli/sample_input + xcode/udcli/udcli.xcodeproj/project.pbxproj + xcode/udis.xcodeproj/project.pbxproj +Copyright: __NO_COPYRIGHT_NOR_LICENSE__ +License: __NO_COPYRIGHT_NOR_LICENSE__ + +Files: libudis86/decode.c + libudis86/decode.h + libudis86/extern.h + libudis86/syn-att.c + libudis86/syn-intel.c + libudis86/syn.c + libudis86/syn.h + libudis86/types.h + libudis86/udint.h + libudis86/udis86.c + scripts/ud_itab.py + scripts/ud_opcode.py + tests/difftest.sh.in + tests/libcheck.c + tests/oprgen.py + udcli/udcli.c + udis86.h +Copyright: 2002 -2009 + 2002-2013 Vivek Thampi +License: BSD-2-Clause + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + . + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +Files: m4/ax_compare_version.m4 + m4/ax_prog_sphinx_version.m4 + m4/ax_prog_yasm_version.m4 + m4/ax_with_prog.m4 + m4/ax_with_python.m4 +Copyright: 2008 Dustin J. Mitchell + 2008 Tim Toolan + 2008-2009 Francesco Salvestrini +License: __AUTO_PERMISSIVE__ + Autogenerated files with permissive licenses. + +Files: INSTALL +Copyright: 1994-2006 Free Software Foundation, Inc. +License: __UNKNOWN__ + This file is free documentation; the Free Software Foundation gives + unlimited permission to copy, distribute and modify it. + . + Basic Installation + +#---------------------------------------------------------------------------- +# xml and html files (skipped): +# docs/x86/optable.xml +# docs/x86/optable.xsl +# xcode/udis.xcworkspace/contents.xcworkspacedata +# xcode/udis.xcworkspace/xcshareddata/udis.xccheckout + +#---------------------------------------------------------------------------- +# Files marked as NO_LICENSE_TEXT_FOUND may be covered by the following +# license/copyright files. + +#---------------------------------------------------------------------------- +# License file: LICENSE + Copyright (c) 2002-2012, Vivek Thampi + All rights reserved. + . + Redistribution and use in source and binary forms, with or without modification, + are permitted provided that the following conditions are met: + . + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + 2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/files b/files new file mode 100644 index 0000000..69b6ad0 --- /dev/null +++ b/files @@ -0,0 +1,7 @@ +libudis86-dbgsym_20221013-1_amd64.deb debug optional automatic=yes +libudis86-dev_20221013-1_amd64.deb libdevel optional +libudis86-doc_20221013-1_all.deb doc optional +libudis86_20221013-1_amd64.deb libs optional +udcli-dbgsym_20221013-1_amd64.deb debug optional automatic=yes +udcli_20221013-1_amd64.deb misc optional +udis86_20221013-1_amd64.buildinfo misc optional diff --git a/libudis86-dev.install b/libudis86-dev.install new file mode 100644 index 0000000..5cece0d --- /dev/null +++ b/libudis86-dev.install @@ -0,0 +1,4 @@ +usr/include +usr/lib/*/libudis86.la +usr/lib/*/libudis86.so +usr/lib/*/pkgconfig/udis86.pc diff --git a/libudis86-doc.install b/libudis86-doc.install new file mode 100644 index 0000000..7276ecd --- /dev/null +++ b/libudis86-doc.install @@ -0,0 +1 @@ +usr/share/doc diff --git a/libudis86.install b/libudis86.install new file mode 100644 index 0000000..a958d3c --- /dev/null +++ b/libudis86.install @@ -0,0 +1 @@ +usr/lib/*/libudis86.so.* diff --git a/rules b/rules new file mode 100755 index 0000000..2e9854b --- /dev/null +++ b/rules @@ -0,0 +1,16 @@ +#!/usr/bin/make -f +# You must remove unused comment lines for the released package. +export DH_VERBOSE = 1 +#export DEB_BUILD_MAINT_OPTIONS = hardening=+all +#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +#export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 + +%: + dh $@ --with autoreconf + +override_dh_autoreconf: + dh_autoreconf -- ./autogen.sh +override_dh_auto_configure: + dh_auto_configure -- --with-python=/usr/bin/python3 +#override_dh_install: +# dh_install --list-missing -X.la -X.pyc -X.pyo diff --git a/udcli.install b/udcli.install new file mode 100644 index 0000000..1b0e7ee --- /dev/null +++ b/udcli.install @@ -0,0 +1 @@ +usr/bin/udcli diff --git a/upstream/metadata b/upstream/metadata new file mode 100644 index 0000000..dc2feb0 --- /dev/null +++ b/upstream/metadata @@ -0,0 +1,16 @@ +# +# DEP-12: Per-package machine-readable metadata about Upstream +# Please check * https://dep-team.pages.debian.net/deps/dep12/ +# * https://wiki.debian.org/UpstreamMetadata +Reference: + Author: + Title: + Journal: + Year: + Volume: + Number: + Pages: + DOI: + PMID: + URL: + eprint: diff --git a/watch b/watch new file mode 100644 index 0000000..9e7c0da --- /dev/null +++ b/watch @@ -0,0 +1 @@ +version=3