Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bc85150

Browse files
updated readme for signature options
1 parent 04aa8a5 commit bc85150

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

‎README.md‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,22 @@ will create `com.apple.Numbers_X.Y.Z.pkg` in `~/Packages`.
7272

7373
Controls wether the resulting pkg file is relocatable, i.e. if the installer process will search for the bundle by bundle-identifier if it was moved to another location. By default packages will be created NON-relocatable.
7474

75+
## `--sign`, `--keychain` and `--cert`
76+
77+
You can add these options to sign the resulting package. These three options are passed through to the `pkgbuild` command. Read the `pkgbuild` man page for details.
78+
79+
Usually you can find the proper signing identity (from the Apple Developer account) with the command
80+
81+
```
82+
$ security find-identity -p basic -v
83+
```
84+
85+
and then you add the proper identity with the `--sign` option.
86+
87+
```
88+
$ quickpkg ~/Downloads/Firefox\ 53.0.3.dmg --sign "3rd Party Mac Developer Installer: Your Name Here"
89+
```
90+
7591
## Background
7692

7793
OS X has had the `pkgbuild` tool since Xcode 3.2 on Snow Leopard. With pkgbuild you can directly build a installer package from an application in the `/Applications` folder:

‎todo.txt‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
- how to determine if the given file is a script? executable bit? parse the #! ?
44
- how to choose id and version? (for true payload free packages, this may not matter since they don't leave a receipt anyway?)
55
- use some preference setting to determine default package name syntax
6-
- signature support
76
- support for tar, gzip and bzip and xip
87
- identify fonts and put them in /Library/Fonts
98
? other possible file formats: prefpanes, Safari extensions?

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /