{"id":21337811,"url":"https://github.com/freeslave/def2fgd-distro","last_synced_at":"2026-06-20T23:31:17.205Z","repository":{"id":71413264,"uuid":"233781635","full_name":"FreeSlave/def2fgd-distro","owner":"FreeSlave","description":"def2fgd packaging","archived":false,"fork":false,"pushed_at":"2020-01-14T09:15:50.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-16T02:15:10.435Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/FreeSlave.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2020-01-14T07:23:37.000Z","updated_at":"2024-11-30T17:56:08.000Z","dependencies_parsed_at":"2023-02-25T09:15:15.183Z","dependency_job_id":null,"html_url":"https://github.com/FreeSlave/def2fgd-distro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FreeSlave/def2fgd-distro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeSlave%2Fdef2fgd-distro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeSlave%2Fdef2fgd-distro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeSlave%2Fdef2fgd-distro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeSlave%2Fdef2fgd-distro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FreeSlave","download_url":"https://codeload.github.com/FreeSlave/def2fgd-distro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FreeSlave%2Fdef2fgd-distro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34589204,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-20T02:00:06.407Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-22T00:01:46.387Z","updated_at":"2026-06-20T23:31:17.187Z","avatar_url":"https://github.com/FreeSlave.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# def2fgd distributions\n\nMaking [def2fgd](https://github.com/FreeSlave/def2fgd) packages for different distros.\n\nPackages are published on [OBS](https://software.opensuse.org//download.html?project=home%3AFreeSlave\u0026package=def2fgd).\n\n## Make deb package\n\nFirst make an orig archive. Assuming [def2fgd](https://github.com/FreeSlave/def2fgd) is cloned into the same directory as this repository is:\n\n```\n    ./make_deb_orig.sh\n```\n\nThen you have two options of building a package.\n\n### First: Using debuild\n\n```\n    sudo apt-get install build-essential devscripts debhelper\n    (cd deb/def2fgd \u0026\u0026 debuild -uc -us)\n```\n\n### Second: Using pbuilder\n\nCreate pbuilder chroot:\n\n```\n    sudo apt-get install pbuilder\n\n    DISTRO=wheezy # or another distribution\n    ARCH=amd64 # or i386\n    BASETGZPATH=/var/cache/pbuilder\n    BASETGZ=\"$BASETGZPATH/$DISTRO-$ARCH.tgz\" # form a path to archived chroot, you can choose a different path\n    sudo pbuilder create --basetgz \"$BASETGZ\" --distribution $DISTRO --architecture $ARCH\n```\n\nIf chroot is already created you can update it:\n\n```\n    sudo pbuilder --update --basetgz \"$BASETGZ\" --distribution $DISTRO --architecture $ARCH --override-config\n```\n\nMake a package:\n\n```\n    ./make_deb_with_pbuilder.sh \"$BASETGZ\"\n```\n\n## Make rpm package\n\n```\n    ./make_rpm_orig.sh\n```\n\nBuild using mock:\n\n```\n    sudo apt-get install mock # also can be installed on Debian\n    sudo groupadd mock # if group does not exist yet\n    sudo usermod -a -G mock $USER # allow starting mock as regular user\n\n    # Re-login to system to apply changes to user groups\n\n    CONFIGURATION=epel-6-x86_64\n    VENDOR=el6\n    VERSION=\"$(cat ../def2fgd/version)\"\n    REVISION=2\n    mkdir -p rpm/SRPMS rpm/RPMS\n    mock --resultdir=\"rpm/SRPMS\" -r \"$CONFIGURATION\" --buildsrpm --spec \"rpm/SPECS/def2fgd.spec\" --sources \"rpm/SOURCES\"\n    mock --resultdir=\"rpm/RPMS\" -r \"$CONFIGURATION\" \"rpm/SRPMS/def2fgd-$VERSION-$REVISION.$VENDOR.src.rpm\"\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreeslave%2Fdef2fgd-distro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreeslave%2Fdef2fgd-distro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreeslave%2Fdef2fgd-distro/lists"}