Fix `epm: Unable to execute "pkg_create" program: No such file or directory' problem.

(epm is an external library so we don't need JCA)

PR:		107126
Submitted by:	Peter Jeremy
This commit is contained in:
Maho Nakata 2007-01-05 07:11:59 +00:00
parent 334fd30dfe
commit 0428227a94
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=181474
9 changed files with 270 additions and 0 deletions

View File

@ -0,0 +1,30 @@
--- epm/epm-3.7.patch.orig Tue Aug 1 22:20:23 2006
+++ epm/epm-3.7.patch Sat Dec 23 07:00:30 2006
@@ -68,7 +68,11 @@
fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
}
***************
-*** 330,337 ****
+*** 326,337 ****
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);
@@ -77,7 +81,11 @@
/*
* Remove temporary files...
---- 348,356 ----
+--- 344,356 ----
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "/usr/sbin/pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);

View File

@ -0,0 +1,30 @@
--- epm/epm-3.7.patch.orig Tue Aug 1 22:20:23 2006
+++ epm/epm-3.7.patch Sat Dec 23 07:00:30 2006
@@ -68,7 +68,11 @@
fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
}
***************
-*** 330,337 ****
+*** 326,337 ****
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);
@@ -77,7 +81,11 @@
/*
* Remove temporary files...
---- 348,356 ----
+--- 344,356 ----
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "/usr/sbin/pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);

View File

@ -0,0 +1,30 @@
--- epm/epm-3.7.patch.orig Tue Aug 1 22:20:23 2006
+++ epm/epm-3.7.patch Sat Dec 23 07:00:30 2006
@@ -68,7 +68,11 @@
fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
}
***************
-*** 330,337 ****
+*** 326,337 ****
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);
@@ -77,7 +81,11 @@
/*
* Remove temporary files...
---- 348,356 ----
+--- 344,356 ----
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "/usr/sbin/pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);

View File

@ -0,0 +1,30 @@
--- epm/epm-3.7.patch.orig Tue Aug 1 22:20:23 2006
+++ epm/epm-3.7.patch Sat Dec 23 07:00:30 2006
@@ -68,7 +68,11 @@
fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
}
***************
-*** 330,337 ****
+*** 326,337 ****
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);
@@ -77,7 +81,11 @@
/*
* Remove temporary files...
---- 348,356 ----
+--- 344,356 ----
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "/usr/sbin/pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);

View File

@ -0,0 +1,30 @@
--- epm/epm-3.7.patch.orig Tue Aug 1 22:20:23 2006
+++ epm/epm-3.7.patch Sat Dec 23 07:00:30 2006
@@ -68,7 +68,11 @@
fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
}
***************
-*** 330,337 ****
+*** 326,337 ****
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);
@@ -77,7 +81,11 @@
/*
* Remove temporary files...
---- 348,356 ----
+--- 344,356 ----
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "/usr/sbin/pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);

View File

@ -0,0 +1,30 @@
--- epm/epm-3.7.patch.orig Tue Aug 1 22:20:23 2006
+++ epm/epm-3.7.patch Sat Dec 23 07:00:30 2006
@@ -68,7 +68,11 @@
fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
}
***************
-*** 330,337 ****
+*** 326,337 ****
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);
@@ -77,7 +81,11 @@
/*
* Remove temporary files...
---- 348,356 ----
+--- 344,356 ----
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "/usr/sbin/pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);

View File

@ -0,0 +1,30 @@
--- epm/epm-3.7.patch.orig Tue Aug 1 22:20:23 2006
+++ epm/epm-3.7.patch Sat Dec 23 07:00:30 2006
@@ -68,7 +68,11 @@
fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
}
***************
-*** 330,337 ****
+*** 326,337 ****
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);
@@ -77,7 +81,11 @@
/*
* Remove temporary files...
---- 348,356 ----
+--- 344,356 ----
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "/usr/sbin/pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);

View File

@ -0,0 +1,30 @@
--- epm/epm-3.7.patch.orig Tue Aug 1 22:20:23 2006
+++ epm/epm-3.7.patch Sat Dec 23 07:00:30 2006
@@ -68,7 +68,11 @@
fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
}
***************
-*** 330,337 ****
+*** 326,337 ****
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);
@@ -77,7 +81,11 @@
/*
* Remove temporary files...
---- 348,356 ----
+--- 344,356 ----
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "/usr/sbin/pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);

View File

@ -0,0 +1,30 @@
--- epm/epm-3.7.patch.orig Tue Aug 1 22:20:23 2006
+++ epm/epm-3.7.patch Sat Dec 23 07:00:30 2006
@@ -68,7 +68,11 @@
fprintf(fp, "@exec /bin/chmod %04o %s\n", file->mode, file->dst);
}
***************
-*** 330,337 ****
+*** 326,337 ****
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);
@@ -77,7 +81,11 @@
/*
* Remove temporary files...
---- 348,356 ----
+--- 344,356 ----
+ if (Verbosity)
+ puts("Building FreeBSD pkg binary distribution...");
+
+! if (run_command(NULL, "/usr/sbin/pkg_create -p / -s %s -c %s -d %s -f %s %s",
current, commentname, descrname, plistname, name))
return (1);