{"id":13588122,"url":"https://github.com/flightaware/piaware_builder","last_synced_at":"2025-04-12T16:16:45.214Z","repository":{"id":34722743,"uuid":"38700242","full_name":"flightaware/piaware_builder","owner":"flightaware","description":"Debian package builder for piaware","archived":false,"fork":false,"pushed_at":"2025-03-26T20:47:36.000Z","size":250,"stargazers_count":64,"open_issues_count":6,"forks_count":24,"subscribers_count":36,"default_branch":"master","last_synced_at":"2025-04-12T16:16:18.970Z","etag":null,"topics":["piaware"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flightaware.png","metadata":{"files":{"readme":"README.md","changelog":"changelog","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-07T16:22:19.000Z","updated_at":"2025-03-26T20:47:26.000Z","dependencies_parsed_at":"2023-01-15T08:46:06.755Z","dependency_job_id":"21a6f130-6c52-4518-86cd-44838cafdc76","html_url":"https://github.com/flightaware/piaware_builder","commit_stats":null,"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Fpiaware_builder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Fpiaware_builder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Fpiaware_builder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flightaware%2Fpiaware_builder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flightaware","download_url":"https://codeload.github.com/flightaware/piaware_builder/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248594190,"owners_count":21130316,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["piaware"],"created_at":"2024-08-01T15:06:31.325Z","updated_at":"2025-04-12T16:16:45.185Z","avatar_url":"https://github.com/flightaware.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Piaware Debian Package Builder\n\nThis handles assembling and building the piaware Debian package.\n\n## Checking everything is up to date\n\nUpdate piaware_builder/changelog if needed.\n\nCheck the clone_or_update calls in sensible-build.sh to check that it is\nincluding the correct repositories / branches.\n\n## Prepare the package tree\n\nRun piaware_builder/sensible-build.sh. It will:\n\n* create piaware_builder/package/, the package directory\n* check out the various parts of piaware from git into package/\n* copy some control files from piaware_builder/sensible/ to package/debian/\n* copy the changelog from piaware_builder/changelog to package/debian/changelog\n\nIf you are going to be building on another machine, you can copy the\npackage directory there; it is selfcontained.\n\n## Check build prerequisites\n\nEnsure that your build machine has the build dependencies mentioned in\npackage/debian/control. Something like this:\n\n```\n# apt install build-essential git devscripts debhelper tcl8.6-dev autoconf \\\n  python3-dev python3-venv python3-setuptools libz-dev openssl \\\n  libboost-system-dev libboost-program-options-dev libboost-regex-dev \\\n  libboost-filesystem-dev patchelf\n```\n\nIf you use pdebuild it will do most of this for you.\n\n## Caveat about tcl-tls\n\nThe tcl-tls versions currently packaged by Debian include a bug that\ncan cause Piaware to hang indefinitely under some network conditions.\nFlightAware provides rebuilt tcl-tls packages to work around this bug\nfor Raspbian systems that are using the FlightAware package repository,\nand the Piaware package has a version dependency that requires at least\nthis rebuilt version.\n\nFor other systems where there is no prebuilt fixed package available,\nyou will need to build a fixed tcl-tls package yourself.\nSee https://github.com/flightaware/tcltls-rebuild for a suitable package.\nThe main change is to configure tcltls with `--enable-ssl-fastpath`\n\nIf you are running a version of Debian that includes packages newer than\nthose in Debian Buster, then the version constraint won't matter - but you\nshould still check that you have a package version that actually fixes\nthe problem!\n\nFor background, see the upstream bug report at\nhttps://core.tcl-lang.org/tcltls/tktview?name=6dd5588df6\n\n## Build it\n\nChange to the package directory on your build machine and build with a\ndebian package building tool of your choice:\n\n```\n  $ dpkg-buildpackage -b\n```\n\nor\n\n```\n  $ debuild\n```\n\nor\n\n```\n  $ pdebuild\n```\n\netc.\n\n## Fixing problems\n\nIf the build fails and you need to make some changes to fix it, you can\ndirectly edit the contents of the package directory and rebuild. Once\nyou're happy you should commit the changes to the main repositories and\nrerun sensible-build.sh - it will update / re-checkout the clones in\npackage/\n\nThe repositories under package/ are deliberately checked out in detached-\nHEAD mode, both for sensibleness of updates and to discourage you from\ndoing any major changes directly in there!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflightaware%2Fpiaware_builder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflightaware%2Fpiaware_builder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflightaware%2Fpiaware_builder/lists"}