Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capstone v6 now supports Debian Packaging #2579

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

AndrewQuijano
Copy link
Contributor

@AndrewQuijano AndrewQuijano commented Dec 7, 2024

Please see PR #2569, this is duplicating the workflow for Capstone v6 Branch

Past work:
#2543
#2521

@github-actions github-actions bot added Documentation Github-files Github related files labels Dec 7, 2024
@AndrewQuijano AndrewQuijano force-pushed the debian-v6 branch 3 times, most recently from 2a0c520 to fa1f5e4 Compare December 7, 2024 17:34
@AndrewQuijano
Copy link
Contributor Author

Here is the output, slightly different from v5 as it has cmake stuff still, but everything works as intended

total 0
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 .
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:35 ..
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 usr

extract/usr:
total 0
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 .
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 ..
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 bin
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 include
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 lib
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 share

extract/usr/bin:
total 22044
drwxrwxrwx 1 andrew andrew     4096 Dec  7 12:33 .
drwxrwxrwx 1 andrew andrew     4096 Dec  7 12:33 ..
-rwxrwxrwx 1 andrew andrew 22569664 Dec  7 12:33 cstool

extract/usr/include:
total 0
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 .
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 ..
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 capstone

extract/usr/include/capstone:
total 1108
drwxrwxrwx 1 andrew andrew   4096 Dec  7 12:33 .
drwxrwxrwx 1 andrew andrew   4096 Dec  7 12:33 ..
-rwxrwxrwx 1 andrew andrew 155304 Dec  7 12:01 aarch64.h
-rwxrwxrwx 1 andrew andrew   6450 Dec  7 12:01 alpha.h
-rwxrwxrwx 1 andrew andrew  42392 Dec  7 12:01 arm.h
-rwxrwxrwx 1 andrew andrew 208200 Dec  7 12:01 arm64.h
-rwxrwxrwx 1 andrew andrew   4365 Dec  7 12:01 bpf.h
-rwxrwxrwx 1 andrew andrew  39026 Dec  7 12:01 capstone.h
-rwxrwxrwx 1 andrew andrew   1801 Dec  7 12:01 cs_operand.h
-rwxrwxrwx 1 andrew andrew   4574 Nov 28 13:27 evm.h
-rwxrwxrwx 1 andrew andrew  10066 Dec  7 12:01 hppa.h
-rwxrwxrwx 1 andrew andrew  69835 Dec  7 12:01 loongarch.h
-rwxrwxrwx 1 andrew andrew  12856 Dec  7 12:01 m680x.h
-rwxrwxrwx 1 andrew andrew  14467 Dec  7 12:01 m68k.h
-rwxrwxrwx 1 andrew andrew  53559 Dec  7 12:01 mips.h
-rwxrwxrwx 1 andrew andrew   5990 Dec  7 12:01 mos65xx.h
-rwxrwxrwx 1 andrew andrew   4132 Nov 28 13:27 platform.h
-rwxrwxrwx 1 andrew andrew  97926 Dec  7 12:01 ppc.h
-rwxrwxrwx 1 andrew andrew  13919 Dec  7 12:01 riscv.h
-rwxrwxrwx 1 andrew andrew   8091 Dec  7 12:01 sh.h
-rwxrwxrwx 1 andrew andrew  11917 Dec  7 12:01 sparc.h
-rwxrwxrwx 1 andrew andrew  68749 Dec  7 12:01 systemz.h
-rwxrwxrwx 1 andrew andrew 113838 Dec  7 12:01 systemz_compatibility.h
-rwxrwxrwx 1 andrew andrew   8621 Nov 28 13:27 tms320c64x.h
-rwxrwxrwx 1 andrew andrew  13570 Dec  7 12:01 tricore.h
-rwxrwxrwx 1 andrew andrew   6441 Nov 28 13:27 wasm.h
-rwxrwxrwx 1 andrew andrew  45064 Dec  7 12:01 x86.h
-rwxrwxrwx 1 andrew andrew   5154 Nov 28 13:27 xcore.h
-rwxrwxrwx 1 andrew andrew  48347 Dec  7 12:01 xtensa.h

extract/usr/lib:
total 0
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 .
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 ..
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 pkgconfig
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:34 x86_64-linux-gnu

extract/usr/lib/pkgconfig:
total 0
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 .
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 ..

extract/usr/lib/x86_64-linux-gnu:
total 45836
drwxrwxrwx 1 andrew andrew     4096 Dec  7 12:34 .
drwxrwxrwx 1 andrew andrew     4096 Dec  7 12:33 ..
drwxrwxrwx 1 andrew andrew     4096 Dec  7 12:33 cmake
-rwxrwxrwx 1 andrew andrew 24360514 Dec  7 12:33 libcapstone.a
lrwxrwxrwx 1 andrew andrew       16 Dec  7 12:33 libcapstone.so -> libcapstone.so.6
lrwxrwxrwx 1 andrew andrew       20 Dec  7 12:33 libcapstone.so.6 -> libcapstone.so.6.0.1
-rwxrwxrwx 1 andrew andrew 22569944 Dec  7 12:33 libcapstone.so.6.0.1
drwxrwxrwx 1 andrew andrew     4096 Dec  7 12:33 pkgconfig

extract/usr/lib/x86_64-linux-gnu/cmake:
total 0
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 .
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:34 ..
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 capstone

extract/usr/lib/x86_64-linux-gnu/cmake/capstone:
total 20
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 .
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 ..
-rwxrwxrwx 1 andrew andrew 2878 Dec  7 12:32 capstone-config-version.cmake
-rwxrwxrwx 1 andrew andrew 1477 Dec  7 12:32 capstone-config.cmake
-rwxrwxrwx 1 andrew andrew 1916 Dec  7 12:32 capstone-targets-release.cmake
-rwxrwxrwx 1 andrew andrew 4762 Dec  7 12:32 capstone-targets.cmake

extract/usr/lib/x86_64-linux-gnu/pkgconfig:
total 0
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 .
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:34 ..
-rwxrwxrwx 1 andrew andrew  364 Dec  7 12:32 capstone.pc

extract/usr/share:
total 0
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 .
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 ..
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 doc

extract/usr/share/doc:
total 0
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 .
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 ..
drwxrwxrwx 1 andrew andrew 4096 Dec  7 12:33 libcapstone-dev

extract/usr/share/doc/libcapstone-dev:
total 76
drwxrwxrwx 1 andrew andrew  4096 Dec  7 12:33 .
drwxrwxrwx 1 andrew andrew  4096 Dec  7 12:33 ..
-rwxrwxrwx 1 andrew andrew  3352 Dec  7 12:01 CREDITS.TXT
-rwxrwxrwx 1 andrew andrew 56302 Dec  7 12:01 ChangeLog
-rwxrwxrwx 1 andrew andrew  3998 Dec  7 11:53 HACK.TXT
-rwxrwxrwx 1 andrew andrew  1687 Dec  7 11:53 LICENSE.TXT
-rwxrwxrwx 1 andrew andrew  3103 Dec  7 12:01 README.md
-rwxrwxrwx 1 andrew andrew   919 Dec  7 12:01 SPONSORS.TXT

capstone.pc
image

control file
image

LICENSE.TXT Outdated Show resolved Hide resolved
HACK.TXT Outdated Show resolved Hide resolved
packages/deb/Dockerfile Show resolved Hide resolved
packages/deb/README.md Show resolved Hide resolved
@Rot127
Copy link
Collaborator

Rot127 commented Dec 9, 2024

Ah, also. Could you please do a release on your fork with 6.0.0-Alpha8 or something to check if it works?
Then add the link here.

@AndrewQuijano AndrewQuijano force-pushed the debian-v6 branch 2 times, most recently from aaca67a to 0bce7ad Compare December 9, 2024 15:21
@AndrewQuijano
Copy link
Contributor Author

AndrewQuijano commented Dec 9, 2024

Here is the package

https://github.com/AndrewQuijano/capstone/releases/tag/6.0.0-Alpha10

Licenses copied over correctly too
image

Copy link
Collaborator

@Rot127 Rot127 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!
Please just check the last two things. Then we are good to go IMO.

packages/deb/README.md Outdated Show resolved Hide resolved
packages/deb/README.md Outdated Show resolved Hide resolved
LICENSES/MIT.txt Outdated Show resolved Hide resolved
Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>

Co-authored-by: Rot127 <45763064+Rot127@users.noreply.github.com>
@AndrewQuijano
Copy link
Contributor Author

@kabeor updated the license, please merge the debian package for v5 and v6, and create a 5.0.4 release

Copy link
Member

@kabeor kabeor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. Merge now.

@kabeor kabeor merged commit 9907b22 into capstone-engine:next Dec 17, 2024
20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Github-files Github related files
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants