diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-06-11 15:04:35 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-06-11 15:04:35 +0000 |
commit | 119d718d67814e1cc12abe8574869cecb226dfec (patch) | |
tree | ffc5c645ea473f2a6d48fb7ec6be9a653617998e /ports-mgmt | |
parent | 598e00d336d91a816ac390e90f03674b42b9f930 (diff) | |
download | ports-119d718d67814e1cc12abe8574869cecb226dfec.tar.gz ports-119d718d67814e1cc12abe8574869cecb226dfec.zip |
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/pkg/Makefile | 2 | ||||
-rw-r--r-- | ports-mgmt/pkg/files/patch-versionscript | 234 |
2 files changed, 235 insertions, 1 deletions
diff --git a/ports-mgmt/pkg/Makefile b/ports-mgmt/pkg/Makefile index 76981f30941c..54b7c77e49b6 100644 --- a/ports-mgmt/pkg/Makefile +++ b/ports-mgmt/pkg/Makefile @@ -2,7 +2,7 @@ PORTNAME= pkg DISTVERSION= 1.2.7 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= ports-mgmt MASTER_SITES= \ http://files.etoilebsd.net/${PORTNAME}/ \ diff --git a/ports-mgmt/pkg/files/patch-versionscript b/ports-mgmt/pkg/files/patch-versionscript new file mode 100644 index 000000000000..54b081824046 --- /dev/null +++ b/ports-mgmt/pkg/files/patch-versionscript @@ -0,0 +1,234 @@ +diff --git a/libpkg/Makefile b/libpkg/Makefile +index 5c1fa56..ddb88f3 100644 +--- libpkg/Makefile ++++ libpkg/Makefile +@@ -299,6 +299,8 @@ LDADD+= -larchive \ + LDADD+= -ledit + .endif + ++LDADD+= -Wl,--version-script=${.CURDIR}/libpkg.ver ++ + .if defined(DEBUG_FLAGS) + .if ${DEBUG_FLAGS} == 1 + DEBUG_FLAGS= -ggdb -O0 +diff --git a/libpkg/libpkg.ver b/libpkg/libpkg.ver +new file mode 100644 +index 0000000..ca489a5 +--- /dev/null ++++ libpkg/libpkg.ver +@@ -0,0 +1,215 @@ ++LIBPKG_1.2 { ++global: ++ pkg_status; ++ pkg_new; ++ pkg_reset; ++ pkg_free; ++ pkg_is_valid; ++ pkg_open; ++ pkg_type; ++ pkg_get2; ++ pkg_list_count; ++ pkg_deps; ++ pkg_dep_lookup; ++ pkg_rdeps; ++ pkg_files; ++ pkg_dirs; ++ pkg_categories; ++ pkg_licenses; ++ pkg_users; ++ pkg_groups; ++ pkg_options; ++ pkg_shlibs_required; ++ pkg_shlibs_provided; ++ pkg_annotations; ++ pkg_annotation_lookup; ++ pkg_analyse_files; ++ pkg_suggest_arch; ++ pkg_set2; ++ pkgdb_set2; ++ pkgdb_file_set_cksum; ++ pkg_set_from_file; ++ pkg_adddep; ++ pkg_addrdep; ++ pkg_addfile; ++ pkg_addfile_attr; ++ pkg_adddir; ++ pkg_adddir_attr; ++ pkg_addcategory; ++ pkg_addlicense; ++ pkg_adduser; ++ pkg_addgroup; ++ pkg_adduid; ++ pkg_addgid; ++ pkg_addscript; ++ pkg_addscript_file; ++ pkg_appendscript; ++ pkg_addoption; ++ pkg_addoption_default; ++ pkg_addoption_description; ++ pkg_addshlib_provided; ++ pkg_addshlib_required; ++ pkg_addannotation; ++ pkg_delannotation; ++ pkg_parse_manifest; ++ pkg_parse_manifest_file; ++ pkg_manifest_keys_new; ++ pkg_manifest_keys_free; ++ pkg_manifest_parser_new; ++ pkg_manifest_parser_free; ++ pkg_emit_manifest; ++ pkg_emit_manifest_file; ++ pkg_dep_get; ++ pkg_dep_is_locked; ++ pkg_file_get; ++ pkg_file_mode; ++ pkg_file_keep; ++ pkg_has_dir; ++ pkg_has_file; ++ pkg_dir_get; ++ pkg_dir_mode; ++ pkg_dir_keep; ++ pkg_dir_try; ++ pkg_category_name; ++ pkg_license_name; ++ pkg_user_name; ++ pkg_user_uidstr; ++ pkg_group_name; ++ pkg_group_gidstr; ++ pkg_script_get; ++ pkg_option_opt; ++ pkg_option_value; ++ pkg_option_default_value; ++ pkg_option_description; ++ pkg_shlib_name; ++ pkg_annotation_tag; ++ pkg_annotation_value; ++ pkg_try_installed; ++ pkg_is_installed; ++ pkg_create_repo; ++ pkg_finish_repo; ++ pkgdb_access; ++ pkgdb_open; ++ pkgdb_close; ++ pkgdb_remote_init; ++ pkgdb_dump; ++ pkgdb_load; ++ pkgdb_register_ports; ++ pkgdb_unregister_pkg; ++ pkgdb_set_case_sensitivity; ++ pkgdb_query; ++ pkgdb_rquery; ++ pkgdb_search; ++ pkgdb_query_which; ++ pkgdb_query_shlib_required; ++ pkgdb_query_shlib_provided; ++ pkgdb_add_annotation; ++ pkgdb_modify_annotation; ++ pkgdb_delete_annotation; ++ pkgdb_it_next; ++ pkgdb_it_reset; ++ pkgdb_it_free; ++ pkgdb_compact; ++ pkg_add; ++ pkg_jobs_new; ++ pkg_jobs_free; ++ pkg_jobs_add; ++ pkg_jobs_solve; ++ pkg_jobs_find; ++ pkg_jobs_set_repository; ++ pkg_jobs_set_flags; ++ pkg_jobs_type; ++ pkg_jobs_count; ++ pkg_jobs; ++ pkg_jobs_apply; ++ pkg_create_installed; ++ pkg_create_staged; ++ pkg_update; ++ pkg_plugins_init; ++ pkg_plugins_shutdown; ++ pkg_plugins; ++ pkg_plugin_set; ++ pkg_plugin_get; ++ pkg_plugin_func; ++ pkg_plugin_conf_add_string; ++ pkg_plugin_conf_add_bool; ++ pkg_plugin_conf_add_integer; ++ pkg_plugin_conf_add_kvlist; ++ pkg_plugin_conf_add_list; ++ pkg_plugin_conf_string; ++ pkg_plugin_conf_bool; ++ pkg_plugin_conf_kvlist; ++ pkg_plugin_conf_list; ++ pkg_plugin_conf_integer; ++ pkg_plugin_confs; ++ pkg_plugin_parse; ++ pkg_plugin_errno; ++ pkg_plugin_error; ++ pkg_plugin_info; ++ pkg_plugins_hook_run; ++ pkg_plugin_hook_register; ++ pkg_config_desc; ++ pkg_config_string; ++ pkg_config_bool; ++ pkg_config_kvlist; ++ pkg_config_list; ++ pkg_config_kv_get; ++ pkg_config_value; ++ pkg_config_int64; ++ pkg_configs; ++ pkg_config_id; ++ pkg_config_type; ++ pkg_config_name; ++ pkg_config_lookup; ++ pkg_version_cmp; ++ pkg_version_change; ++ pkg_fetch_file; ++ ports_parse_plist; ++ pkg_copy_tree; ++ pkg_event_register; ++ pkg_init; ++ pkg_initialized; ++ pkg_shutdown; ++ pkg_test_filesum; ++ pkg_recompute; ++ pkgdb_reanalyse_shlibs; ++ pkg_get_myarch; ++ pkgdb_cmd; ++ pkg_old_load_from_path; ++ pkg_old_emit_content; ++ pkg_from_old; ++ pkg_to_old; ++ pkg_register_old; ++ pkg_sshserve; ++ pkg_repos_total_count; ++ pkg_repos_activated_count; ++ pkg_repos; ++ pkg_repo_url; ++ pkg_repo_ident; ++ pkg_repo_name; ++ pkg_repo_ident_from_name; ++ pkg_repo_key; ++ pkg_repo_fingerprints; ++ pkg_repo_signature_type; ++ pkg_repo_enabled; ++ pkg_repo_mirror_type; ++ pkg_repo_find_ident; ++ pkg_repo_find_name; ++ pkg_printf; ++ pkg_vprintf; ++ pkg_fprintf; ++ pkg_vfprintf; ++ pkg_dprintf; ++ pkg_vdprintf; ++ pkg_snprintf; ++ pkg_vsnprintf; ++ pkg_asprintf; ++ pkg_vasprintf; ++ pkg_sbuf_printf; ++ pkg_sbuf_vprintf; ++ pkg_has_message; ++ pkg_is_locked; ++ pkgdb_stats; ++local: ++ *; ++}; |