Update of /cvsroot/netrek/client/cow/debian
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19944/debian
Modified Files:
changelog rules
Added Files:
find-key.sh
Log Message:
* At compile time figure out what RSA key to build against
* Created find-key.sh
Index: rules
===================================================================
RCS file: /cvsroot/netrek/client/cow/debian/rules,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- rules 31 Jan 2006 20:12:36 -0000 1.3
+++ rules 1 Feb 2006 08:20:52 -0000 1.4
@@ -33,14 +33,10 @@
DEB_CONFIGURE_EXTRA_FLAGS := --enable-unstable \
--x-includes=/usr/X11R6/include
-# Generic key.def that will work for QA building
-#
-#DEB_MAKE_ENVVARS := KEYDEF="sample_key.def"
-# My personal and trusted key, won't work for you, comment out below and
-# uncomment the line above (sample_key.def) if you want to QA build
+# Delegate finding KEYDEF find-key
#
-DEB_MAKE_ENVVARS := KEYDEF="/home/tanner/.netrek/key-debian.def"
+DEB_MAKE_ENVVARS := KEYDEF=`debian/find-key.sh`
install/netrek-client-cow::
install netrek debian/netrek-client-cow/usr/bin/netrek-client-cow
--- NEW FILE: find-key.sh ---
#!/bin/bash
#
# COPYRIGHT
# Copyright (c) 2006 Bob Tanner <tanner at real-time.com>
#
# LICENSE
# This program is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation version 2
#
# This program is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along
# with this program; if not, write to the Free Software Foundation, Inc., 59
# Temple Place, Suite 330, Boston, MA 02111-1307 USA.
#
# Scan these locations for KEYDEF entries. First entry is my personal key, the
# second/third entries are fake, used as an example of how to add other scan
# locations
#
SCAN="/home/tanner/.netrek/key-debian.def \
/u/aussie/quozl/.netrek/vanilla.def \
/home/a/ahn/src/netrek/keydef \
"
# Look for a key
#
for key in ${SCAN}; do
if [ -r $key ]; then
echo $key
exit 0
fi
done
# If we get here we didn't have a key, so do the default
#
echo "sample_key.def"
exit 0
Index: changelog
===================================================================
RCS file: /cvsroot/netrek/client/cow/debian/changelog,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- changelog 31 Jan 2006 18:21:55 -0000 1.1
+++ changelog 1 Feb 2006 08:20:52 -0000 1.2
@@ -1,3 +1,10 @@
+netrek-client-cow (3.01pl0-2) unstable; urgency=low
+
+ * At compile time figure out what RSA key to build against
+ * Created find-key.sh
+
+ -- Robert J. Tanner <tanner at real-time.com> Wed, 1 Feb 2006 02:20:12 -0600
+
netrek-client-cow (3.01pl0-1) unstable; urgency=low
* Initial release