File: fm-php.sh

package info (click to toggle)
graudit 4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,256 kB
  • sloc: sh: 1,134; makefile: 82; php: 62; jsp: 24
file content (12 lines) | stat: -rwxr-xr-x 429 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh
# Scrape freshmeats php releases and run graudit on them
# The wget invocation it unsafe, but renaming files is a pain
# Written by wireghoul
GET http://freshmeat.net/tags/php | \
perl -ne 'if ($_ =~ m{href="(/urls/.*)" class="floatright welcome padleft5 download}) { print "http://freshmeat.net/$1\n"; }' | \
xargs -n1 wget --trust-server-name -nc
#Extract files
unzip *.zip
tar zxf *gz
tar zxf *.tar
graudit -d php *