Author: akh
Date: Fri Sep 15 18:48:28 2006
New Revision: 144

URL: 
<http://svn.finkproject.org/websvn/listing.php?sc=1&rev=144&repname=user%3a+akh>
Log:
hello finch!

Update to my maintainer scripts

Added:
    trunk/maintainertools/fink-build-test   (with props)
    trunk/maintainertools/fink-clean-build   (with props)
Modified:
    trunk/maintainertools/fink-remove-nonessential
    trunk/maintainertools/fink-swap-out

Added: trunk/maintainertools/fink-build-test
URL: 
<http://svn.finkproject.org/websvn/filedetails.php?path=/trunk/maintainertools/fink-build-test&rev=144&repname=user%3a+akh>
==============================================================================
--- trunk/maintainertools/fink-build-test (added)
+++ trunk/maintainertools/fink-build-test Fri Sep 15 18:48:28 2006
@@ -1,0 +1,4 @@
+# !/bin/sh
+for package in $( fink list -n -s exp tracker | cut -f2)
+do fink-clean-build $package
+done

Propchange: trunk/maintainertools/fink-build-test
------------------------------------------------------------------------------
    svn:executable = *

Added: trunk/maintainertools/fink-clean-build
URL: 
<http://svn.finkproject.org/websvn/filedetails.php?path=/trunk/maintainertools/fink-clean-build&rev=144&repname=user%3a+akh>
==============================================================================
--- trunk/maintainertools/fink-clean-build (added)
+++ trunk/maintainertools/fink-clean-build Fri Sep 15 18:48:28 2006
@@ -1,0 +1,15 @@
+# !/bin/sh
+# Rebuilds a single Fink package given as the argument in a clean Fink tree.
+# Turns on logging, but doesn't pass any other flags to fink.
+if [ -x $1 ]  
+then 
+echo "Usage:  fink-clean-build <package>"
+echo "Build <package> in a clean Fink tree."
+else
+# check command name when on a computer that actually has my maintainer scripts
+fink-remove-nonessential --noninteractive 
+# reinstall apt to make life less painful
+fink --no-use-b install apt-shlibs apt
+#fink -l -y -m --build-as-nobody rebuild $1
+fink -y --build-as-nobody rebuild $1
+fi

Propchange: trunk/maintainertools/fink-clean-build
------------------------------------------------------------------------------
    svn:executable = *

Modified: trunk/maintainertools/fink-remove-nonessential
URL: 
<http://svn.finkproject.org/websvn/diff.php?path=/trunk/maintainertools/fink-remove-nonessential&rev=144&repname=user%3a+akh>
==============================================================================
--- trunk/maintainertools/fink-remove-nonessential (original)
+++ trunk/maintainertools/fink-remove-nonessential Fri Sep 15 18:48:28 2006
@@ -1,4 +1,4 @@
 # !/bin/sh
 # go through the database and remove all nonessential packages
 # removes partially installed crap as well
-grep Package /sw/var/lib/dpkg/status | cut -d: -f2 | xargs dpkg -r
+grep ^Package /sw/var/lib/dpkg/status | cut -d: -f2 | xargs dpkg -r

Modified: trunk/maintainertools/fink-swap-out
URL: 
<http://svn.finkproject.org/websvn/diff.php?path=/trunk/maintainertools/fink-swap-out&rev=144&repname=user%3a+akh>
==============================================================================
--- trunk/maintainertools/fink-swap-out (original)
+++ trunk/maintainertools/fink-swap-out Fri Sep 15 18:48:28 2006
@@ -15,14 +15,14 @@
 
 if [ -z "$SKIPREST" ]; then
 echo "Generating list of installed packages"
-./fink-display-installed > /tmp/foo
+fink-display-installed > /tmp/foo
 
 if [ -z "$NODELETE" ]; then 
 echo "This script will delete all of your installed non-essential packages"
 echo "Press RETURN to continue, or Control-C to halt"
 read GOON
 echo "Deleting your Fink installation..."
-./fink-remove-nonessential
+fink-remove-nonessential
 echo "You now have a clean Fink installation."
 echo "When you hit RETURN again your installation will be restored"
 read GOON2;
@@ -30,6 +30,6 @@
 
 echo "Restoring Fink packages"
 fink reinstall apt-shlibs apt
-./fink-restore /tmp/foo
+fink-restore /tmp/foo
 rm /tmp/foo;
 fi


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to