Initial commit

This commit is contained in:
crt0mega 2023-10-23 16:13:53 +02:00
commit e5f6c99ba8
Signed by: crt0mega
GPG Key ID: 7F512C892B9C60CD
11 changed files with 491 additions and 0 deletions

10
.gitignore vendored Normal file
View File

@ -0,0 +1,10 @@
debian/debhelper*
debian/.debhelper
debian/*.log
debian/*.debhelper
debian/*.substvars
debian/debhelper-build-stamp
debian/hdl-dump-deb
debian/hdl-dump-deb*
debian/files
.pc

3
.gitmodules vendored Normal file
View File

@ -0,0 +1,3 @@
[submodule "src"]
path = src
url = https://github.com/ps2homebrew/hdl-dump

165
debian/changelog vendored Normal file
View File

@ -0,0 +1,165 @@
hdl-dump (0.9.2-1+crt1) unstable; urgency=medium
[ crt0mega ]
* Initial release.
[ AKuHAK ]
* hdl_dump-0.7 prerelease sources
* revision 0.7.1 (2004.08.20)
* Revision 0.7.2 (2004.09.12)
* Revision 0.7.3 (2004.09.26) + poweroff and hdl_toc commands ~ transfer speed raised up to 30% (special thanks to dayv) ~ bug-fixes and minor changes
* 0.8 prerelease ~ endianess-neutral ~ fixed a bug with small cue-sheet files (move file ptr before file start)
* Version 0.8 (2005.02.17) + should be compatible with MacOS X + build-time option (in the Makefile) to limit hdl_dump/b to 128GB to preserve compatibility with updated Sony browser ~ few hdl_dumb bugs fixed and few minor tweaks + GUI source code is now open
* Version 0.8.1 (2005.05.06) + quick-and-dirty prepare HDD for HD Loader (AKA format or initialize) works fine with HD Loader; not tested with homebrew + alternative partition naming scheme selectable via Makefile + startup file is optional when injecting a game + new optional argument to set compatibility flags from the commandline (+1/+2/+1+2/... or in hexidecimal - 0x01/0x02/0x03), up to 6 bits + dual-layer patch by CrazyC@ps2-scene ~ delete and extract now works by game name, too
* Version 0.8.2 (2005.07.10) + both - hdl_dump and hdl_dumb - are now configurable in run-time (as opposed to build-time) + GUI supports file-based compatibility list + GUI has been extended to allow up to 8 compatibility flags + GUI is partially compatible with wine and winelib (networked installations from an image file works fine) + new `install' command for hdl_dump that is "fire and forget" if the game is in the compatibility list + few minor usability fixes
* Version 0.8.3 (2005.12.08) + new server, better network transfer speeds + proper SIGINT handling
* version 0.8.4 ( + a new (throttling) algorithm to control network install speeds + memory-mapped I/O when reading CDs/DVDs on Linux ~ improved 64-bit system/compiler compatibility ~ better FreeBSD (and maybe MacOS X) compatibility ~ major UDP server bug fixup ~ overall code cleanup
* Version 0.8.5 (2006.06.18) + better differentiation between CD- and DVD-images/medias + server will look for IPCONFIG.DAT at mc0:/B?DATA-SYSTEM/, too + optional auto-tunning of throttling algorithm + partitioning type auto-detection + new command for hdl_dump: diag ~ minor fix of dual-layer support code ~ hdl_toc lists raw size now, not allocated size ~ extract can now be interrupted with Ctrl+C
* Version 0.8.6 (2006.09.01) + SPTI: dual-layer DVDs can finally be installed from the DVD-ROM drive ~ thanks to SPTI hdl_dumb works pretty well with both, wine and winelib + optional threaded I/O (faster networked installs from optical drive) ~ two fixes sent by Diego G. and few more by my self + dump command slighly modified to support all inputs (can even be used for BIN-to-ISO, IML-to-ISO, etc. conversion) + modify command ~ 'game@device' is now available as an input (to copy HDD-to-HDD) instead of 'hddX:game' and '192.168.0.10:game'
* Version 0.9.0 (2007.05.12) + new networking server + copy_hdd command (doing what the name says), contributed by JimmyZ ~ fixed an inssue where APA might get broken on interrupted install (when main partition overwrites __empty one) ~ help has been revised
* Version 0.9.0a (20013.02.15) + KELF injection into source code ~ KELF can be 2.5Mb or less, it will be injected at partition area header at offset 0x111000 ~ elf name is PATINFO.KELF and elf must be placed into folder with working HDL Dumb
* 0.9.1 (2013.02.16) + Now it is possible to inject ELF's into partition ~ elf size must be less than 417kb (427 456bytes) ~ elf name is PATINFO.ELF and elf must be placed into folder with working HDL executable
* Version 0.9.1a + "initialize" function now injects OSD into __mbr partition. It needs MBR.KELF in the folder with working HDL Dumb. OSD size must be less or equal than 715kb (732 160bytes) - removed playstation side server source code as it is separate project supported by SP193 + cleared sources from old and obsolete files
* Now "initialize" just injects MBR into __mbr partition without changing mbr header. Be careful: 1st and last Mb of __mbr partition will be cleared (except of header)
* Cleane up the code. Chage MBR address to 0x2020 for compatibility with BB Navigator Change icon name into icon.ico for better compatibility with memory card data. Now miniopl elf can be 731888 bytes big
* 0.9.1 Partition info injection
* 0.9.2 prerelease + New function "modify_header", it will inject corresponding files into partition header. More info in README. + New version, by default al functions now are enabled. + More documentation.
* remove builtin_icon support
* + Add SP193's server (as elf file) + Add DVD-9 support in gui version. + clear some warnings
* >1mb support
* Test revision with cchanging to opl flags and adding dma handling
* test 2: parse dma and so on
* working revision: hdl_modify_game supports dma and both flags
* + DMA full support in both: gui and cmd version
* + add discload final revision + install script fixes + zero compatibility flag support - mode 7 in gui
* CD install fix
* - add support for < 2Gb images - fixed scripts and readme
* test vmc
* New
* Also included changes for previous commit: [*] removed udma5 and udma6 [*] added new mode 7 (for thread hacks) [*] rewritten code to mathc latest changes of opl [*] returned ability to change callback timer (default value = 10) [*] updated server side ELF file for compatibility with latest PS2SDK [*] from miniopl removed crc functions [*] now you can install game without list.ico (will be used default HD Loader icon instead)
* * small fixes for constant declaration * forgot to add icon.h
* Now it is possible to use icon.sys from Memory card saves for installing games. Thanks to SP192!!! This only affects game installing.
* diskload timer = 43
* - Fixed bug with list.ico and icon.sys Now hdl_dumx doesn't crash if we miss these files - Now hdl_dumx is compilable under windows - added mkrel_win script for compiling under windows - fixed readme
* - warning fix
* - boot.elf maximum size increased till 2 026 464 bytes (thanks to kHn) KELF container is fully free, So this KELF will work in the PS2, in the TEST consoles (if the TEST supports MagicGate decryption) and in the PSX DVR - now boot.elf is optional when installing game - added ability to inject logo into installed game modify_header command now supports logo.raw files WARNING: you can destroy your partitions with this file - diskload files a bit modified - source text files now is in linux style
* - now diskload supports PC vs PP partitioning - changed titles in default installation - rename "delete" function into "hide"
* - synced with latest changes in opl and ps2sdk: * get rid of alternative ee core * added ioprp patces * and much... much... more
* * changed a bit to be compilable with latest opl
* * fix for script
* -Changed server to be compilable with latest ps2sdk -Totally new partition naming scheme (PP.XXXX-xxxxx.HDL.gamename) -Added support for raw images. Now it is possible to install for example linux partition as is. You have to prepare .cue/.bin and your game name have to start with "__". I will add example in the download section. -Fixed minor warnings -Option for removing games is disabled by deafult in cli version -Option for removing games totally disabled in gui version -Updated compatibility modes names -Added support for icon.sys in HDD or MC formats -Removed logo replace function (useless) -Added size check for icons and system files -Removed ToxicOS support (conflicts with new partition naming scheme)
* Updated miniopl (taken from http://ichiba.geocities.jp/ysai187/PS2/HDLGameInstaller.htm) thanks to SP193 Updated build scripts
* Forgot to rename file
* Fixed readme
[ AKuHAK` ]
* Warnings fixed! Returned child partition autocheck.
[ Jessica Stokes ]
* Update diskload.sh to be less dangerous
* Add build artefacts to .hgignore
[ AKuHAK ]
* Thomas B: fixed double-free error. And we moved into githubcd hdl-dump/ ))
[ Jessica Stokes ]
* Clean up and Markdownify README for GitHub
[ James Le Cuirot ]
* Fix security issues
[ AKuHAK ]
* Fix for compiling on modern systems
* Update hdl.c
[ uyjulian ]
* macOS support
* Replace macOS Grand Central Dispatch support with named semaphores
[ AKuHAK ]
* Create compilation.yml
* Update compilation.yml
* Some changes in authors, remove HD Loader mentions, only keep them in history and specifications
* Update README.md
[ Bignaux Ronan ]
* hdl_dump.c: add config and default for DMA
* add CMD_DUMP_MBR and improve MBR management
[ AKuHAK ]
* Renamed .gitignore
* Fixed .gitignore
[ Bignaux Ronan ]
* hdl_dump.c: improve cli usage
* Fix: DMA argument is now optional
[ AKuHAK ]
* Some fixes
* Update compilation.yml
* Formatted code using clang-format
* Fixed comments in code
* Attempt to fix progress bar on Linux. Fix for #14
* Switch to https://mxe.cc/ toolchain for win build; fixed actions
* Added EditorConfig and all files configured
[ Bignaux Ronan ]
* Add consistency to show_hdl_toc()
* CMD_INITIALIZE: add input_file argument
* apa_initialize_ex: add some basic test for mbr.kelf before injecting
* README.md : fix initialize instruction
* apa_initialize_ex: refactoring
[ Florian Penzkofer ]
* Fix semaphore for macOS
[ NimrodPSI ]
* Refactored switch recognition for CMD_MODIFY and CMD_HDL_INSTALL to be more like the switch recognition used in CMD_HDL_INJECT_x
* Fixed a bug in hdl_modify_game where renaming a game would cause the unique game ID in the parition name to be replaced with "SLUS-00000"
* Added a switch to hide games when installing / injecting and switches to hide or unhide games with the modify command.
* Fixed gui build and added hide switch usage info into README.md
[ AKuHAK ]
* Updated source control rules Added clang-format lint action Updated makefiles Added make format
* Diskload replaced with OPL-Launcher
* Fixed partition naming: only capital letters, underscore and digits allowed Changed -hide prefix to __. for compatibility with PSX DESR Removed "HDL" magic from partition name Raw partition prefix changed to __.linux.
* Codacy warnings
* Fixed cropped startup
* Added PS2 CD audio track detection increased bufer for non-standart system.cnf (Dynasty Warriors 2)
* Fixed typo in partition startup file copying
* Now each part of partition name is checked PP.XXXX-00000..GAME_NAME_01
* Fixed initilaize command; renamed into inject_mbr fix for #43
[ Bignaux Ronan ]
* add CMD_DUMP_HEADER
* add toc --dm option
[ Matías Israelson ]
* make `modify_header` accept game name
* try to fix clang shit
* avoid trailing whitespace on partition name
* increase win32 Drives limit?
* make isofs `system.cnf` parser accept `cdrom1:\\` (#58)
* change printf´s on apa header injection
[ AKuHAK ]
* ZSO support (#57)
* Changed ZSO logic, now it will install zso only if original iso or bi… (#61)
* fix typo
* Fix incorrect icon.sys generation
* set-output removed due to upcoming deprecation
[ Matías Israelson ]
* implement csv-like printing for some features
* [ISOFS]: remove unused variable `len_ext_ar`
* disable formatting macros on windows
[ AKuHAK ]
* Fix some warnings and clang
[ Brandon Scott ]
* Quick fix to stop the crash.
* Remove unneeded null check.
* Fixed issue where layer_break for dual layer DVDs was not being set, as well as the startup_elf. (#78)
-- crt0mega <crt0mega@c-r-t.tk> Mon, 23 Oct 2023 15:08:27 +0200

20
debian/control vendored Normal file
View File

@ -0,0 +1,20 @@
Source: hdl-dump
Section: unknown
Priority: optional
Maintainer: crt0mega <crt0mega@c-r-t.tk>
Rules-Requires-Root: no
Build-Depends:
debhelper-compat (= 13),
Standards-Version: 4.6.2
Homepage: <insert the upstream URL, if relevant>
#Vcs-Browser: https://salsa.debian.org/debian/hdl-dump
#Vcs-Git: https://salsa.debian.org/debian/hdl-dump.git
Package: hdl-dump
Architecture: any
Multi-Arch: foreign
Depends:
${shlibs:Depends},
${misc:Depends},
Description: <insert up to 60 chars description>
<Insert long description, indented with spaces.>

46
debian/copyright vendored Normal file
View File

@ -0,0 +1,46 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://git.c-r-t.tk/crt0mega/hdl-dump-deb
Upstream-Name: hdl-dump
Upstream-Contact: https://github.com/ps2homebrew/hdl-dump
Files:
src/*
Copyright:
2023 W1zard 0f 0z <w1zard0f07@yahoo.com>
2023 David Gauchard <deyv@free.fr>
2023 JimmyZ
2023 Pietro Di Constanzo <piegeta@deejaymail.it>
2023 AKuHAK
License: GPL-2.0+
Files:
debian/*
Copyright:
2023 crt0mega <crt0mega@c-r-t.tk>
License: GPL-2.0+
License: GPL-2.0+
This package 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 package 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, see <https://www.gnu.org/licenses/>
Comment:
On Debian systems, the complete text of the GNU General
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
# Please avoid picking licenses with terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.
#
# If you need, there are some extra license texts available in two places:
# /usr/share/debhelper/dh_make/licenses/
# /usr/share/common-licenses/

1
debian/install vendored Normal file
View File

@ -0,0 +1 @@
hdl_dump usr/bin

205
debian/manpage.1 vendored Normal file
View File

@ -0,0 +1,205 @@
.\" generated with Ronn-NG/v0.9.1
.\" http://github.com/apjanke/ronn-ng/tree/0.9.1
.TH "README" "" "October 2023" ""
.SH "Contents"
.IP "\[ci]" 4
Intro
.IP "\[ci]" 4
Networking server
.IP "\[ci]" 4
Compilation
.IP "\[ci]" 4
Configuration and list file location
.IP "\[ci]" 4
Configuration
.IP "\[ci]" 4
New features
.IP "" 0
.SH "Intro"
The latest version, as well as documentation, can be found on the new official repository, \fIhttps://github\.com/ps2homebrew/hdl\-dump/\fR
.P
\fIMe reads \fIw1zard0f07@yahoo\.com\fR and psx\-scene forums every now and then\.(c)\fR
.P
Easy guide for installing games can be found here \fIhttp://web\.archive\.org/web/20120720230755/http://openps2loader\.info/hdldump/howto\.html\fR
.SH "Networking server"
\fIUpdate:\fR Currently, OPL built\-in NBD server is the preferred option\.
.P
\fIDeprecated:\fR A UDP\-based network server is available, based on the SMAP driver released by @sp193 \fIhttp://ichiba\.geocities\.jp/ysai187/PS2/smap\.htm\fR\. It is called \fBhdl_svr_093\.elf\fR and is now part of the \fBhdl_dump\fR sources\.
.P
\fI\fBNote\fR: You might need to punch a hole in your firewall for incoming UDP from port 12345\.\fR
.SH "Compilation"
First of all, you have to update your PS2SDK\.
.P
Finally: You can run the shell script in the project folder: \fBmkrel\.sh\fR\. It will compile both GUI and CLI versions for Windows\.
.IP "\[ci]" 4
\fBLinux\fR: Build and copy executable into a directory of your choice\.
.IP "" 4
.nf
make RELEASE=yes
.fi
.IP "" 0
.IP
Advanced Linux build commands:
.IP "" 4
.nf
make XC=win # for Windows cross\-compilation using mingw32
make \-C gui # for WineLib compilation (currently not working)
make \-C gui XC=win # for GUI cross\-compilation using mingw32
.fi
.IP "" 0
.IP "\[ci]" 4
\fBMac OS X\fR or \fBFreeBSD\fR: You'll need to have GNU make installed, then
.IP "" 4
.nf
gmake RELEASE=yes IIN_OPTICAL_MMAP=no
.fi
.IP "" 0
.IP
or
.IP "" 4
.nf
make RELEASE=yes IIN_OPTICAL_MMAP=no
.fi
.IP "" 0
.IP "\[ci]" 4
\fBWindows\fR: You need to have MINGW32 installed; then use
.IP "" 4
.nf
make RELEASE=yes
make \-C gui RELEASE=yes
.fi
.IP "" 0
.IP
to compile command\-line or GUI version\.
.IP "" 0
.SH "Configuration and list file location"
You can place these files in the folder where is installed hdl_dump for making it portable\.
.IP "\[ci]" 4
\fBWindows\fR:
.IP
\fB%APPDATA%\ehdl_dump\.conf\fR \fB%APPDATA%\ehdl_dump\.list\fR
.IP "\[ci]" 4
\fBLinux\fR, \fBMac OS X\fR and \fBFreeBSD\fR: (\fB~\fR is your home dir)
.IP
\fB~/\.hdl_dump\.conf\fR \fB~/\.hdl_dump\.list\fR
.IP "" 0
.SH "Configuration"
.IP "\[ci]" 4
\fBdisc_database_file\fR \-\- full path to your disc compatibility database file;
.IP "" 0
.SH "New features"
All new stuff can be used from HDD OSD, BB Navigator, or XMB from PSX DVR\.
.SS "ZSO support"
hdl\-dump supports zso compressed files\. For using ZSO, you must keep original ISO (or cue/bin) files in the same folder and with the same name as ZSO compressed file\. You should select original ISO (or cue/bin) and hdl\-dump will check zso existence on installation\. If ZSO file exists, it will install ZSO, if it does not exist it will install original ISO\. Unfortunately, you need to keep original file for program to work\.
.SS "<code>inject_dvd</code>, <code>inject_cd</code>, <code>install</code> or <code>copy_hdd</code>\."
This command will install games onto the hard disk\.
.P
\fI\fBWarning\fR: Be careful with \fBcopy_hdd\fR \- every HDLoader game will be given the same icon\.\fR
.P
Optionally, you can place \fBboot\.elf\fR (which is actually \fBminiopl\.elf\fR) in the folder where \fBhdl_dump\fR is launched from\. You can also optionally include \fBlist\.ico\fR (\fB*\.ico\fR from memory card) and \fBicon\.sys\fR (\fB*\.sys\fR from memory card), or you can write your own \fBicon\.sys\fR file\.
.P
If you don't include an \fB*\.ico\fR, the HDLoader logo is used\. If you don't include \fB*\.sys\fR, the default HDLoader icon settings are used\.\.
.P
Note: following options aren't supported by PSX1 (PSX DESR 1st generation)\.
.P
\fBboot\.elf\fR, \fBboot\.kelf\fR \- PS2 executable file in signed or unsigned form\. OPL\-Launcher \fIhttps://github\.com/ps2homebrew/OPL\-Launcher\fR is a preferable option\. Injection address \- \fB0x111000\fR\. Size limit \- 2,026,464 bytes (thanks to kHn)
.SS "<code>inject_mbr</code>"
.nf
hdl_dump inject_mbr /dev/sdb MBR\.KELF
.fi
.P
When you use this command and place the hard drive into your PlayStation 2 phat, it will launch the injected \fBMBR\.KELF\fR\. This option can be used as an entry point for PS2\.
.P
All HDD data will remain intact\.
.P
\fBMBR\.KELF\fR injection address \- \fB0x00404000\fR (for compatibility with PlayStation BB Navigator)
.P
\fBMBR\.KELF\fR size should be a maximum of \fB883200\fR bytes and have a valid header\.
.SS "<code>modify_header</code>"
This command injects header attributes into an existing partition\.
.IP "" 4
.nf
hdl_dump\.exe modify_header 192\.168\.0\.10 PP\.TEST
.fi
.IP "" 0
.P
It can inject these files:
.IP "\[ci]" 4
\fBsystem\.cnf\fR
.IP "\[ci]" 4
\fBicon\.sys\fR
.IP "\[ci]" 4
\fBlist\.ico\fR
.IP "\[ci]" 4
\fBdel\.ico\fR
.IP "\[ci]" 4
\fBboot\.kelf\fR
.IP "\[ci]" 4
\fBboot\.elf\fR
.IP "\[ci]" 4
\fBboot\.kirx\fR
.IP "" 0
.P
Any one can be skipped\. It first tries to inject \fBboot\.kelf\fR, then if not found it will try to inject \fBboot\.elf\fR\.
.P
Now \fBicon\.sys\fR can be in any of 2 formats: Memory Card format or HDD format\.
.P
\fBdel\.ico\fR injection address: \fB0x041000\fR (If \fBdel\.ico\fR is used \fBlist\.ico\fR maximum size 260,096 bytes)
.P
\fBboot\.elf\fR (or \fBboot\.kelf\fR) injection address \- \fB0x111000\fR
.P
\fBboot\.elf\fR size limit \- 2,026,464 bytes (thanks to kHn)
.P
\fBboot\.kelf\fR size limit \- 3,076,096 bytes (if \fBboot\.kirx\fR not used)
.P
\fBboot\.kelf\fR size limit \- 2,031,616 bytes (if \fBboot\.kirx\fR is used)
.P
\fBboot\.kirx\fR injection address \- \fB0x301000\fR
.P
\fBboot\.kirx\fR size limit \- 1,044,480 bytes
.SS "Hiding Games"
You can hide games so that they are not visible in the HDD Browser by using the \fB\-hide\fR switch with the \fBinstall\fR, \fBinject_cd\fR, \fBinject_dvd\fR, or \fBmodify\fR commands\. A hidden game can be made visible again using the \fB\-unhide\fR switch with the \fBmodify\fR command\. This is a necessary option for installing the games on PSX1 (1st DESR generation)\.
.SS "Others"
If you want to know more about these files (and their restrictions), you have to study the official SONY ps2sdk document called \fBhdd_rule_3\.0\.2\.pdf\fR
.P
There are also some undocumented features like this:
.IP "\[ci]" 4
If you want to inject \fBboot\.kelf\fR (or \fBboot\.elf\fR), you have to change \fBBOOT2\fR in \fBsystem\.cnf\fR\.
.IP "" 4
.nf
BOOT2 = PATINFO
.fi
.IP "" 0
.IP
If you need to erase \fBboot\.elf\fR from the PATINFO you have to place zero\-sized \fBboot\.kelf\fR or elf in program folder\. _\fBNote\fR: PSX1 (DESR 1st generation) doesn't support the PATINFO parameter\.
.IP "\[ci]" 4
If you want to launch KELF from the PFS partition you have to change \fBBOOT2\fR in \fBsystem\.cnf\fR
.IP "" 4
.nf
BOOT2 = pfs:/EXECUTE\.KELF
.fi
.IP "" 0
.IP
where \fBEXECUTE\.KELF\fR \- is the path to KELF that is placed into the partition\. Changedable\.
.IP "\[ci]" 4
If you want to inject kirx into the partition you have to add a line into \fBsystem\.cnf\fR
.IP "" 4
.nf
IOPRP = PATINFO
.fi
.IP "" 0
.IP
Don't ask about kirx \- I don't know where that is used\. _\fBNote\fR: PSX1 (DESR 1st generation) doesn't support the IOPRP parameter\.
.IP "\[ci]" 4
If you don't want to boot from HDD OSD you have to add such a line into system\.cnf
.IP "" 4
.nf
BOOT2 = NOBOOT
.fi
.IP "" 0
.IP "" 0
.P
Happy gaming\.

29
debian/rules vendored Executable file
View File

@ -0,0 +1,29 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable).
# Output every command that modifies files on the build system.
#export DH_VERBOSE = 1
# See FEATURE AREAS in dpkg-buildflags(1).
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# See ENVIRONMENT in dpkg-buildflags(1).
# Package maintainers to append CFLAGS.
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
# Package maintainers to append LDFLAGS.
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
%:
dh $@ --sourcedirectory=src
# dh_make generated override targets.
# This is an example for Cmake (see <https://bugs.debian.org/641051>).
#override_dh_auto_configure:
# dh_auto_configure -- \
# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
override_dh_install:
dh_install --sourcedir src

1
debian/source/format vendored Normal file
View File

@ -0,0 +1 @@
3.0 (quilt)

10
debian/upstream/metadata.ex vendored Normal file
View File

@ -0,0 +1,10 @@
# Example file for upstream/metadata.
# See https://wiki.debian.org/UpstreamMetadata for more info/fields.
# Below an example based on a github project.
# Bug-Database: https://github.com/<user>/hdl-dump/issues
# Bug-Submit: https://github.com/<user>/hdl-dump/issues/new
# Changelog: https://github.com/<user>/hdl-dump/blob/master/CHANGES
# Documentation: https://github.com/<user>/hdl-dump/wiki
# Repository-Browse: https://github.com/<user>/hdl-dump
# Repository: https://github.com/<user>/hdl-dump.git

1
src Submodule

@ -0,0 +1 @@
Subproject commit fd285d00ba97612e479f135faeb848e70e677504