{"id":20187297,"url":"https://github.com/keithdhedger/lfspkg","last_synced_at":"2025-04-10T06:41:07.404Z","repository":{"id":60280223,"uuid":"49211473","full_name":"KeithDHedger/LFSPkg","owner":"KeithDHedger","description":"Package manager for LFS/BLFS","archived":false,"fork":false,"pushed_at":"2023-11-03T12:49:37.000Z","size":510,"stargazers_count":16,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-24T07:48:37.056Z","etag":null,"topics":["bash","linux-from-scratch","package-manager"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/KeithDHedger.png","metadata":{"files":{"readme":"README","changelog":"Changelog","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2016-01-07T15:07:16.000Z","updated_at":"2024-08-25T20:22:09.000Z","dependencies_parsed_at":"2023-09-24T16:46:17.190Z","dependency_job_id":null,"html_url":"https://github.com/KeithDHedger/LFSPkg","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeithDHedger%2FLFSPkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeithDHedger%2FLFSPkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeithDHedger%2FLFSPkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KeithDHedger%2FLFSPkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KeithDHedger","download_url":"https://codeload.github.com/KeithDHedger/LFSPkg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248172931,"owners_count":21059590,"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":["bash","linux-from-scratch","package-manager"],"created_at":"2024-11-14T03:22:39.162Z","updated_at":"2025-04-10T06:41:07.377Z","avatar_url":"https://github.com/KeithDHedger.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"################################################\n#                                              #\n#                 LFSPkg                       #\n#   A Package Manager For Linux From Scratch   #\n#                                              #\n#            ©K.D.Hedger 2012                  #\n#         kdhedger68713@gmail.com              #\n#                                              #\n#           Relased Under GPLv3                #\n#                                              #\n################################################\n\n\nThis is a package manager inspired by slackware's slackpkg for the linux from scratch system.\n\nThis app will build, install,remove and update packages and also allow you to search for a particular file within installed packages, find an installed package and create a template file to build and install/upgrade a package.\n\nThis is a source based package manager and no dependency checking is done.\n\nThe dialog application is required.\n\n################################################\n\nOPTIONS\n\nAll options must be given discretly ie lfspkg -L -f FILETOFIND and NOT lfspkg -Lf FILETOFIND.\n\n-c, --commit\n\tMake and Install package.\n\n-i, --install\n\tInstall a package.\n\n-m, --make\n\tMake a package.\n\n-u,\t--upgrade\n\tUpgrade a package.\n\n-r, --remove\n\tRemove a package.\n\n-t, --template ARG\n\tCreate LFSBuild template for source tarball ARG.\n\n-l, --list\n\tList installed files from a package.\n\n-f, --find\n\tFind installed file.\n\n-L,--less\n\tPipe output from list/find to less\n\n-R, --rootdir\n\tuse ROOTDIR as install/remove prefix (optional defaults to /).\n\n-s, --suffix\n\tSuffix of package (optional defaults to LFSPKG).\n\n-d, --section\n\tSection name of package (optional defaults to SYS).\n\n-b, --build\n\tBuild number of package (optional defaults to 1).\n\n-o, --output\n\tOutput archive to this folder default is to build in /tmp but this can be overridden either by setting OUTPUT on the commandline ( OUTPUT=/some/tmp/folder lfspk ... ) or setting the variable in ~/.config/lfspkg.rc or /usr/share/LFSPkg/LFSFunctions, order of precedence is env variable OR ~/.config/lfspkg.rc OR /usr/share/LFSPkg/LFSFunctions OR /tmp.\n\n-n, --name\n\tName of package.\n\n-p, --pkgversion\n\tVersion of package.\n\n################################################\n\nFILES\n\n/usr/share/LFSPkg/LFSFunctions\n\tHelper functions for lfspkg.\n\n~/.config/lfspkg.rc\n\tLocal config file, should contain only the following:\n\nTMP=${TMP:-/tmp/LFS}\nOUTPUT=${OUTPUT:-/path/to/store/packages}\n\nWhere TMP is the location for tempory files ( defaults to /tmp if not set )\nOUTPUT is the location to save built packages ( defaults to /tmp if not set )\n\n/var/lib/LFSPackages\nContains gziped lists containg package information.\n\n\n################################################\n\nEXAMPLES\n \nBuild and install a package from the current directory:\n\tlfspkg -n \"SomePackage\" -p \"6.6.6\" -d \"DEV\" -b 34 -c\n\nBuild a package from the current directory and save to /some/other/tmp:\n\tOUTPUT=/some/other/tmp lfspkg -n \"SomePackage\" -p \"6.6.6\" -m\n\nInstall a package:\n\tlfspkg \"/media/SkyNet/UpdatedPakckages/wget-1.14-1_NET_LFSPKG.tar.gz\" -i\n \nCreate a template script based on an archive file name:\n\tlfspkg -t wget-1.14.tar.gz\n\nFind a file in an installed package:\n\tlfspkg -f wget\n\t ...\n\twget Found in package: wget-1.14-2_NET_LFSPKG\n\tAt these locations:\n\t ./etc/wgetrc\n\t ./usr/share/man/man1/wget.1\n\t ./usr/share/locale/nl/LC_MESSAGES/wget.mo\n\t ...\n\t ./usr/share/info/wget.info\n\t ./usr/bin/wget\n\t ...\n\nFind an installed package:\n\tlfspkg wget\n\n\tMatches for:wget\n\twget-1.14-1_NET_LFSPKG\n\nRemove a package:\n\tlfspkg -r wget\n\nIf you use the template script when you want to update a package just place the new archive in the same folder as the script alter the version number in the script and run ( using wget for instance )\n\n\tsudo ./wget.LFSBuild upgrade\n\nThe package will be rebuilt and you will be asked which package to upgrade.\n\nWhen removing a package or listing the contents of a package you will be asked to choose from a list of possible matches.\nYou must have admin priviliges to install or remove files but you do not need to be root to just build a package.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeithdhedger%2Flfspkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkeithdhedger%2Flfspkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkeithdhedger%2Flfspkg/lists"}