mirror of
https://github.com/vgough/encfs.git
synced 2024-12-29 10:09:20 +01:00
17071239d8
Add new initialization vector setup mode for new filesystems. git-svn-id: http://encfs.googlecode.com/svn/trunk@59 db9cf616-1c43-0410-9cb8-a902689de0d6
28 lines
758 B
Bash
28 lines
758 B
Bash
#!/bin/sh
|
|
|
|
# create distribution file
|
|
make dist
|
|
|
|
# create tar archive and signature
|
|
tarArchive=@PACKAGE@-@VERSION@.tgz
|
|
mv @PACKAGE@-@VERSION@.tar.gz $tarArchive
|
|
# let the user know why they're being asked for a passpharse
|
|
echo "Signing tar archive - enter GPG password";
|
|
gpg --detach-sign -a $tarArchive
|
|
|
|
# create rpms
|
|
#cp $tarArchive /usr/src/packages/SOURCES
|
|
#echo "Building signed RPM files - enter GPG password";
|
|
#rpmbuild -ba --sign @PACKAGE@.spec
|
|
|
|
# move all distribution files to dist directory
|
|
mkdir dist
|
|
mv $tarArchive dist
|
|
mv $tarArchive.asc dist
|
|
#mv /usr/src/packages/SRPMS/@PACKAGE@-@VERSION@-@RELEASE@.src.rpm dist
|
|
#mv /usr/src/packages/RPMS/i586/@PACKAGE@-@VERSION@-@RELEASE@.i586.rpm dist
|
|
|
|
# cleanup
|
|
#rm /usr/src/packages/SOURCES/$tarArchive
|
|
|