Field Name: package

  • Description: Package identity. No more than one version of a package can exist at the same time in the end user's DSM; therefore, the identification is unique to identify your package. Besides, Package Center will create a /var/packages/[package identity] folder to put package files.

    Note: This value of the key cannot contain any of these special characters :, /, >, <, | or =.

  • Value: String

  • Default Value: (Empty)

  • Example:

    package="DownloadStation"
    
  • DSM Requirement: 2.0-0731

Field Name: displayname

  • Description: Package Center shows the name of the package.

    Note: If displayname key is empty, Package Center will display the value of package key.

  • Value: String
  • Default Value: The value of package key
  • Example: None
  • DSM Requirement: 2.3-1118

Field Name: version

  • Description: Package version. End users can identify the package version.

    Note:

    1. Each version delimiter is only allowed to be . - or _.
    2. Each version number which is delimited by delimiteris only allowed to be number
  • Value: String

  • Default Value: (Empty)

  • Example:

    version="3.6-3263"
    
  • DSM Requirement: 2.0-0731

Field Name: firmware

  • Description: Earliest version of DSM firmware that is required to run the package.

    Note: Deprecated after 6.1-14715, use os_min_ver instead.

  • Value: X.Y-Z DSM major number, DSM minor number, DSM build number
  • Default Value: (Empty)
  • Example: None
  • DSM Requirement: 2.3-1118

Field Name: os_min_ver

  • Description: Earliest version of DSM that is required to run the package.
  • Value: X.Y-Z DSM major number, DSM minor number, DSM build number
  • Default Value: None
  • Example:
    os_min_ver="6.1-14715"
    
  • DSM Requirement: 6.1-14715

Field Name: description

  • Description: Package Center shows a short description of the package.

  • Value: String

  • Default Value: (Empty)

  • Example:

    description = "Download Station is a web-based download application which allows you to download files from the Internet through BT, FTP, HTTP, NZB, Thunder, FlashGet, QQDL, and eMule, and subscribe to RSS feeds to keep you updated on the hottest or latest BT. It offers the auto unzip service to help you extract compressed files to your Synology NAS whenever files are downloaded. With Download Station, you can download files from multiple file hosting sites, and search for torrent files via system default search engines as well as self-added engines with the BT search function."
    
  • DSM Requirement: 2.3-1118

  • DSM Requirement: 4.2-3160

Field Name: arch

Note:

  1. "noarch" means the package can be installed and work in any platform. For example, the package is written in PHP or shell script.
  2. Please not pack all binary files with different platforms to one package spk file.
  • Example:
    arch="noarch"
    or
    arch="x86 alpine".
    
  • DSM Requirement: 2.0-0731

Field Name: maintainer

  • Description: Package Center shows the developer of the package.

  • Value: String

  • Default Value: (Empty)

  • Example:

    maintainer="Synology Inc."
    
  • DSM Requirement: 2.0-0731

Field Name: package_icon

  • Description: 72x72 png image data is encoded by Base64.

    Note:

    1. This value will be replaced when a PACKAGE_ICON.PNG file is stored in the [package name].spk.
    2. If the value is not defined and no PACKAGE_ICON.PNG file is in the [package name].spk, the package icon will be the default one.
  • Value: Base64-encoded value

  • Default Value: a default icon

  • Example: None

  • DSM Requirement: 3.2-1922

Field Name: package_icon_256

  • Description: 256x256 png image data is encoded by Base64.

    Note:

    1. This value will be replaced when a PACKAGE_ICON_256.PNG file is stored in the [package name].spk.
    2. If the value is not defined and no PACKAGE_ICON_256.PNG file is in the [package name].spk, a 72x72 icon will be the default, and the results will look more pixelated and blurry in DSM.
  • Value: Base64-encoded value

  • Default Value: a default icon

  • Example: None

  • DSM Requirement: 5.0-4458