diff options
author | Aaron Ball <nullspoon@oper.io> | 2017-09-05 22:57:51 -0600 |
---|---|---|
committer | Aaron Ball <nullspoon@oper.io> | 2017-09-05 22:57:51 -0600 |
commit | ff543f3350efc92fd38f3f13223fb3b171af09be (patch) | |
tree | c2ec9b4c0df52fc8d7f89d657564e9e17016060f /crypttab | |
parent | f54a477209787905db591cbc4d1371f020bae927 (diff) | |
download | ports-ff543f3350efc92fd38f3f13223fb3b171af09be.tar.gz ports-ff543f3350efc92fd38f3f13223fb3b171af09be.tar.xz |
crypttab:Updated to use new release channel
Was using git clone to acquire the release code, but oper.io now offers
a tarball download endpoint (oper.io/pub). Now we download the source
tarball via the ports source array. This enables source md5sum
validation.
Diffstat (limited to 'crypttab')
-rw-r--r-- | crypttab/.md5sum | 1 | ||||
-rw-r--r-- | crypttab/Pkgfile | 22 |
2 files changed, 4 insertions, 19 deletions
diff --git a/crypttab/.md5sum b/crypttab/.md5sum new file mode 100644 index 0000000..1b3dbbd --- /dev/null +++ b/crypttab/.md5sum @@ -0,0 +1 @@ +4f244c67e9831b7d7f77241513f97a6c crypttab-v1.0.tar.xz diff --git a/crypttab/Pkgfile b/crypttab/Pkgfile index e4623df..964621b 100644 --- a/crypttab/Pkgfile +++ b/crypttab/Pkgfile @@ -5,27 +5,11 @@ name=crypttab version=v1.0 -release=2 -source=() -gitsource=https://oper.io/src/nullspoon/crypttab.git - -gitsetup() { - if [[ -d ${name} ]]; then - cd ${name} - git reset --hard - git pull ${gitsource} - else - git clone ${gitsource} ${name} - cd ${name} - fi - - git checkout ${version} -} - - +release=3 +source=(https://oper.io/pub/nullspoon/${name}/${name}-${version}.tar.xz) build() { - gitsetup + cd ${name}-${version} install -D -m 755 ${name} ${PKG}/etc/rc.d/${name} } |