#!/usr/bin/perl # # MAINTAINER= miwi@FreeBSD.org # # $FreeBSD$ # use strict; my $pr = shift; my $user = shift; my $ssh; if ($pr eq "") { print STDERR "getpr prnum [username]\n"; exit 1 } if( !defined $ENV{"CVS_RSH"} ) { $ssh = "ssh"; } else { $ssh = $ENV{"CVS_RSH"}; } if ($user ne "") { $user = "$user@"; } # get the PR off of freefall open(D, "> $pr") or die "$pr: $!"; open(PATCH, "> pr-patch") or die "pr-patch: $!"; open(PR, " ${ssh} ${user}freefall.freebsd.org query-pr -F $pr | ") or die $!; my $fix = ""; my $infix = 0; while() { print D; if (m/^>Release-Note:/) { $infix = 0; } if ($infix == 1) { print PATCH; } if (m/^>Fix:/) { $infix = 1; } } close(D); close(PR); close(PATCH); # decode the submission attempting to find a file attachment by extension # .tar.gz, .shar or just .gz, if not found, display what we think of as # the file submission (probably just a patch) open(PATCH, "pr-patch"); while() { if (m/^# This is a shell archive. Save it in a file, remove anything before/) { &shar; exit; } if (m/^begin (\d+)? (.*)/) { &uudecode($2); close(PATCH); exit; } } close(PATCH); system("more pr-patch"); exit; sub uudecode { my ($fname) = @_; $fname =~ s/\s+$//g; print "$fname\n"; print `uudecode pr-patch`; if (($fname =~ m/.tar.gz$/) || ($fname =~ m/.tgz$/)) { print "you may extract this tarball by typing tar xvzf $fname\n"; } elsif ($fname =~ m/.gz$/) { print `gunzip $fname`; } } sub shar { print "you may extract this shar archive by typing sh pr-patch\n"; } ='wayland'>wayland FreeBSD graphics obsolete development ports (https://github.com/freebsd/freebsd-ports-graphics)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* Add some explicit USE_PKGCONFIG=buildbapt2012-07-281-2/+2
* - update png to 1.5.10dinoex2012-06-011-1/+1
* Remove OPTION for dependency on audio/muine.romain2012-03-083-19/+0
* Remove WWW entries from unmaintained ports that return 404 or where the domainehaupt2011-08-031-2/+0
* - Get Rid MD5 supportmiwi2011-03-191-1/+0
* Chase after net/openldap24-server update.delphij2011-02-251-1/+1
* - Fix muine dependency which is not required and only usable on i386pgollucci2010-09-141-5/+8
* Reset ahze@ due to maintainer-timeouts and no response to email.linimon2010-07-261-1/+1
* - update to 1.4.1dinoex2010-03-281-1/+1
* - update to jpeg-8dinoex2010-02-051-1/+1
* - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1
* - There is no USE_ZLIBpav2009-01-091-1/+0
* Bump PORTREVISION's after OpenLDAP update.delphij2009-01-061-1/+1
* - Fix typoahze2008-12-181-1/+1
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1
* - Remove unneeded dependency from gtk12/gtk20 [1]miwi2008-04-201-1/+1
* - Welcome X.org 7.2 \o/.flz2007-05-201-1/+1
* Chase the GNOME X11BASE to LOCALBASE move, and fix the build with themarcus2006-10-141-3/+4
* - Use USE_GSTREAMER=python to depend on py-gstreamerahze2006-06-141-5/+3
* - Update to 0.7 (now uses gstreamer 0.10)ahze2006-06-143-16/+16
* - Update gstreamer to 0.10ahze2006-04-301-5/+5
* Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-1/+1
* Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-3/+3
* - Add SHA256ahze2005-11-091-0/+1
* - Only allow WITH_MUINE if ARCH==i386ahze2005-11-091-2/+2
* - Add depends on gst-plugins-gnomevfsahze2005-11-091-2/+2
* Bump PORTREVISION to chase the glib20 shared library update.marcus2005-11-051-0/+1
* - Update to 0.6.4ahze2005-11-023-3/+6
* - Update to 0.6.3ahze2005-09-192-3/+3
* - attempt to fix build on 4.xahze2005-09-181-1/+1
* - Update to 0.6.2ahze2005-09-164-26/+10
* - Fix gconf/os.statvfs hack by making defining the default tmp directory as .ahze2005-06-283-14/+13
* - Add support for muine audio player pluginahze2005-06-263-1/+26