On Mon, Dec 24, 2007 at 10:10:13AM -0600, eculp wrote:
> Quoting Umar <[EMAIL PROTECTED]>:
> 
>> 
>> Dear Stefan!
>> 
>> Thanks for your reply!
>> 
>>> touch /var/db/pkg/squid-<version>/+IGNOREME.
>> 
>> I already done that. But its not working, here is the error message.
>> 
>> ===>>> The www/squid25 port has been deleted: Has expired: This version is
>> no longer supported by the developers
>> ===>>> Aborting update
>> ===>>> Child process 36682:
>> ===>>> Child process 31343:
>> ===>>> Child process 37217:
>> ===>>> Child process 37718:
>> ===>>> Child process 38414:
>> 
>> so what should i do?
> 
> I didn't realize that 2.5 had been deleted so then I would have to suggest 
> that you try the -o option of portmaster maybe something like
> 
> portmaster -o www/squid30 [current installed version from /var/db/pkg]
> 
> of course you  will then be upgraded to 3.0 that works fine here.

And if you don't want to upgrade, but would rather have portmaster
ignore deleted ports, try the attached patch (relative to
ports-mgmt/portmaster).  I've sent this to Doug a week or so ago but
have not heard a response yet - I imagine he's busy with real life
during the holidays.

I developed this so portmaster would not complain about the deletion of
ion-3 recently (there is no suitable replacement to use with -o for me).

> Have a great Christmas,

You too!

-- WXS
Index: files/portmaster.sh.in
===================================================================
RCS file: /home/ncvs/ports/ports-mgmt/portmaster/files/portmaster.sh.in,v
retrieving revision 1.26
diff -u -r1.26 portmaster.sh.in
--- files/portmaster.sh.in      12 Dec 2007 21:50:59 -0000      1.26
+++ files/portmaster.sh.in      14 Dec 2007 17:34:10 -0000
@@ -518,7 +518,13 @@
 '
        for l in `grep "^$sf" $pd/MOVED`; do
                case "$l" in
-               ${sf}\|\|*)     fail "The $sf port has been deleted: ${l##*|}"
+               ${sf}\|\|*)     
+                               if [ -z "$IGNORE_DELETED" ]; then
+                                       fail "The $sf port has been deleted: 
${l##*|}"
+                               else
+                                       echo "===> The $sf port has been 
deleted: ${l##*|}"
+                                       echo "===> Ignoring deleted port."
+                               fi
                                ;;
                ${sf}\|*)       newportdir=${l#*\|}
                                newportdir=${newportdir%%\|*}
@@ -997,7 +1003,7 @@
 fi
 
 # Save switches for potential child processes
-while getopts 'BCDGLRabde:fghilm:nop:r:stuvwx:' COMMAND_LINE_ARGUMENT ; do
+while getopts 'BCDGLRabde:fghiIlm:nop:r:stuvwx:' COMMAND_LINE_ARGUMENT ; do
        case "${COMMAND_LINE_ARGUMENT}" in
        B)      NO_BACKUP=yes; ARGS="-B $ARGS" ;;
        C)      DONT_PRE_CLEAN=yes; ARGS="-C $ARGS" ;;
@@ -1016,6 +1022,7 @@
        g)      MAKE_PACKAGE=yes; ARGS="-g $ARGS" ;;
        h)      usage 0 ;;
        i)      INTERACTIVE_UPDATE=yes; ARGS="-i $ARGS" ;;
+       I)      IGNORE_DELETED=yes ;;
        l)      LIST=yes ;;
        m)      PM_MAKE_ARGS=$OPTARG
                export PM_MAKE_ARGS     # For 'make checksum'
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to