pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/netpgpverify/files add a minimalist shell scr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15a03206d8c3
branches:  trunk
changeset: 646130:15a03206d8c3
user:      agc <agc%pkgsrc.org@localhost>
date:      Wed Feb 04 17:45:04 2015 +0000

description:
add a minimalist shell script to make a tarball of the sources - requested
by various people.

diffstat:

 security/netpgpverify/files/mkdist |  11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diffs (15 lines):

diff -r 3fa620e20a6b -r 15a03206d8c3 security/netpgpverify/files/mkdist
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/netpgpverify/files/mkdist        Wed Feb 04 17:45:04 2015 +0000
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+version=$(awk '/^#define[ \t]+NETPGP_VERIFY_H_/ { print $3 }' verify.h)
+name=netpgpverify-${version}
+
+(cd .. &&
+       mv files ${name} &&
+       tar --exclude CVS -cvzf $HOME/${name}.tar.gz ${name} &&
+       ls -al $HOME/${name}.tar.gz &&
+       mv ${name} files)
+



Home | Main Index | Thread Index | Old Index