aboutsummaryrefslogtreecommitdiff
path: root/ports-mgmt/pkg/files
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-11-26 17:39:40 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-11-26 17:39:40 +0000
commit3022fc034bd22ea2ddc991d11fc13c86f2eb792c (patch)
tree6d6d31bececbb667fd0559b50924191970d0d2bd /ports-mgmt/pkg/files
parent60b147cdc0be7339aee10edc5da69b50a6681ba8 (diff)
downloadports-3022fc034bd22ea2ddc991d11fc13c86f2eb792c.tar.gz
ports-3022fc034bd22ea2ddc991d11fc13c86f2eb792c.zip
Notes
Diffstat (limited to 'ports-mgmt/pkg/files')
-rw-r--r--ports-mgmt/pkg/files/patch-errata162
1 files changed, 62 insertions, 0 deletions
diff --git a/ports-mgmt/pkg/files/patch-errata1 b/ports-mgmt/pkg/files/patch-errata1
new file mode 100644
index 000000000000..8189fd13a4b4
--- /dev/null
+++ b/ports-mgmt/pkg/files/patch-errata1
@@ -0,0 +1,62 @@
+diff --git COPYING COPYING
+index a8adb39..d6bd4e1 100644
+--- COPYING
++++ COPYING
+@@ -1,6 +1,6 @@
+ See the AUTHORS file to get the list of authors
+
+-Copyright (c) 2010-2012 <author(s)>
++Copyright (c) 2010-2013 <author(s)>
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+diff --git pkg/main.c pkg/main.c
+index c562ac8..ec382c5 100644
+--- pkg/main.c
++++ pkg/main.c
+@@ -442,17 +442,23 @@ show_repository_info(void)
+ break;
+ }
+
+- printf(" %s: { \n %-16s: %s,\n %-16s: %s,\n %-16s: %s,\n"
+- " %-16s: %s,\n %-16s: %s,\n %-16s: %s\n } \n",
++ printf(" %s: { \n %-16s: \"%s\",\n %-16s: %s",
+ pkg_repo_ident(repo),
+ "url", pkg_repo_url(repo),
+- "signature_type", sig,
+- "pubkey", pkg_repo_key(repo) == NULL ?
+- "" : pkg_repo_key(repo),
+- "fingerprints", pkg_repo_fingerprints(repo) == NULL ?
+- "" : pkg_repo_fingerprints(repo),
+- "enabled", pkg_repo_enabled(repo) ? "yes" : "no",
+- "mirror_type", mirror);
++ "enabled", pkg_repo_enabled(repo) ? "yes" : "no");
++ if (pkg_repo_mirror_type(repo) != NOMIRROR)
++ printf(",\n %-16s: \"%s\"",
++ "mirror_type", mirror);
++ if (pkg_repo_signature_type(repo) != SIG_NONE)
++ printf(",\n %-16s: \"%s\"",
++ "signature_type", sig);
++ if (pkg_repo_fingerprints(repo) != NULL)
++ printf(",\n %-16s: \"%s\"",
++ "fingerprints", pkg_repo_fingerprints(repo));
++ if (pkg_repo_key(repo) != NULL)
++ printf(",\n %-16s: \"%s\"",
++ "pubkey", pkg_repo_key(repo));
++ printf("\n }\n");
+ }
+ }
+
+diff --git pkg/rquery.c pkg/rquery.c
+index d4c3868..e97ece5 100644
+--- pkg/rquery.c
++++ pkg/rquery.c
+@@ -110,7 +110,7 @@ exec_rquery(int argc, char **argv)
+ bool auto_update;
+ bool onematched = false;
+ bool old_quiet;
+- bool index_output = true;
++ bool index_output = false;
+
+ pkg_config_bool(PKG_CONFIG_REPO_AUTOUPDATE, &auto_update);
+