Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DEB ¶
type DEB struct {
DEBMetaData
// contains filtered or unexported fields
}
func NewDEB ¶
func NewDEB(meta DEBMetaData) (*DEB, error)
NewDEB is a constructor for the debian package builder.
type DEBMetaData ¶
type DEBMetaData struct {
Package,
Version,
Maintainer,
Summary,
Description,
Section,
Priority string
Essential bool
Architecture,
Origin,
Bugs,
Homepage string
Tag []string
Source string
Depends,
PreDepends,
Recommends,
Suggests,
Breaks,
Conflicts,
Replaces,
Provides Relations
}
func (*DEBMetaData) MakeControl ¶
func (meta *DEBMetaData) MakeControl() []byte
type FileType ¶
type FileType int32
FileType is a type identifier in debian package.
const ( Directory FileType = 1 << iota >> 1 // GenericFile is just a basic file. if value is not specified, this file is a directory GenericFile // ConfigFile is a configuration file, and an existing file should be saved during a package // upgrade operation and not removed during a package removal time. This file will be stored // in conffile text based file in deb package archive. ConfigFile // ExcludeFile is not a part of the package, and should not be installed. ExcludeFile )
Click to show internal directories.
Click to hide internal directories.