{"id":16813350,"url":"https://github.com/maxenglander/resolve_wrapper","last_synced_at":"2025-03-17T11:24:42.708Z","repository":{"id":147784911,"uuid":"245906313","full_name":"maxenglander/resolve_wrapper","owner":"maxenglander","description":"Mac-compatible fork of cwrap/resolve_wrapper","archived":false,"fork":false,"pushed_at":"2020-04-19T18:54:56.000Z","size":147,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T20:53:46.110Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/maxenglander.png","metadata":{"files":{"readme":"README.install","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,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-08T23:44:00.000Z","updated_at":"2020-04-19T18:55:00.000Z","dependencies_parsed_at":"2023-04-24T17:27:33.041Z","dependency_job_id":null,"html_url":"https://github.com/maxenglander/resolve_wrapper","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxenglander%2Fresolve_wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxenglander%2Fresolve_wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxenglander%2Fresolve_wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/maxenglander%2Fresolve_wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/maxenglander","download_url":"https://codeload.github.com/maxenglander/resolve_wrapper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244022638,"owners_count":20385133,"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":[],"created_at":"2024-10-13T10:26:20.393Z","updated_at":"2025-03-17T11:24:42.677Z","avatar_url":"https://github.com/maxenglander.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"Obtaining the sources\n=====================\n\nSource tarballs for resolv_wrapper can be downloaded from\n\n  https://ftp.samba.org/pub/cwrap/\n\nThe source code repository for socket wrapper is located under\n\n  git://git.samba.org/resolv_wrapper.git\n\nTo create a local copy, run\n\n  $ git clone git://git.samba.org/resolv_wrapper.git\n  $ cd resolv_wrapper\n\nBuilding from sources\n=====================\n\nresolv_wrapper uses cmake (www.cmake.org) as its build system.\n\nIn an unpacked sources base directory, create a directory to\ncontain the build results, e.g.\n\n  $ mkdir obj\n  $ cd obj\n\nNote that \"obj\" is just an example. The directory can\nbe named arbitrarily.\n\nNext, run cmake to configure the build, e.g.\n\n  $ cmake -DCMAKE_INSTALL_PREFIX=\u003cprefix\u003e ..\n\nor on a 64 bit red hat system:\n\n  $ cmake -DCMAKE_INSTALL_PREFIX=\u003cprefix\u003e -DLIB_SUFFIX=64 ..\n\nThe \"\u003cprefix\u003e\" should be replaced by the intended installation\ntarget prefix directory, typically /usr or /usr/local.\n\nNote that the target directory does not have to be a direct\nor indirect subdirectory of the source base directory: It can\nbe an arbitrary directory in the system. In the general case,\n\"..\" has to be replaced by a relative or absolute path of the\nsource base directory in the \"cmake\" command line.\n\nOne can control the build type with \"-DCMAKE_BUILD_TYPE=\u003cmode\u003e\"\nwhere \u003cmode\u003e can be one of Debug, Release, RelWithDebInfo, and\nsome more (see cmake.org). The default is \"RelWithDebInfo\".\n\nAfter configuring with cmake, run the build with\n\n  $ make\n\nUnit testing\n============\n\nIn order to support running the test suite after building,\nthe cmocka unit test framework needs to be installed (cmocka.org),\nand you need to specify\n\n  -DUNIT_TESTING=ON\n\nin the cmake run.\n\nNote that for unit testing, resolv_wrapper requires socket_wrapper\nto be installed. If socket_wrapper is installed in a non-standard\nlocation, this can be passed to cmake via\n\n  -Dsocket_wrapper_DIR=\u003cswrap_prefix\u003e/\u003cLIB_SUFFIX\u003e/cmake/socket_wrapper\n\nAfter running \"make\",\n\n  $ make test\n\nruns the test suite.\n\nInstalling\n==========\n\nresolv_wrapper is installed into the prefix directory\nafter running \"cmake\" and \"make\" with\n\n  $ make install\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxenglander%2Fresolve_wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaxenglander%2Fresolve_wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaxenglander%2Fresolve_wrapper/lists"}