-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for git repo as upstream source
eext currently supports 'srpm' and 'tarball' as upstream sources for packages. Some users wanted to use an upstream git repo directly as source for security purposes. Hence we add support for eext to use an upstream git repo as an upstream source. The git upstream source requires 'url' and 'revision' to be specified. 'url': Web url to the upstream git repo 'revision': Commit hash or release tag of the git repo Users can verify their upstream git repo at the revision provided, by specifying the corresponding public key. Note that this verification only works if the commit/tag are signed, since we use 'git-verify' to validate. For unsigned commits/tags, user need to enable 'skip-check' in the signature field (not recommended though, since this may introduce security vulnerabilities). Another rule users need to adhere to while using git repo as upstream, is that the spec file in 'spec/' folder should be named '<pkgName>.spec' where 'pkgName' is the same as mentioned in eext.yaml. And within the spec file, please ensure that the 'Source0:' field points to '<pkgName>-<version>.tar.gz', where 'pkgName' is the name mentioned in eext.yaml, and 'version' is derived from the 'revision' provided as: 1. If the revision is a TAG, then use TAG as 'version'. 2. If the revision is a COMMIT, a. If SHORT COMMIT, use SHORT COMMIT as 'version' b. Else use the first 7 charachters of LONG COMMIT as 'version'
- Loading branch information
1 parent
bd03357
commit 62fab2e
Showing
12 changed files
with
807 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
package: | ||
- name: libpcap | ||
upstream-sources: | ||
- git: | ||
url: https://github.com/the-tcpdump-group/libpcap | ||
revision: libpcap-1.10.1 | ||
signature: | ||
detached-sig: | ||
public-key: tcpdump/tcpdumpPubKey.pem | ||
type: git | ||
build: | ||
repo-bundle: | ||
- name: el9 |
Oops, something went wrong.