Bug 148420 - [PATCH] port multimedia/playd update to v1.
Summary: [PATCH] port multimedia/playd update to v1.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ashish SHUKLA
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-07 10:10 UTC by Aldis Berjoza
Modified: 2010-07-21 04:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.77 KB, patch)
2010-07-07 10:10 UTC, Aldis Berjoza
no flags Details | Diff
playd.patch (1.77 KB, patch)
2010-07-17 06:03 UTC, Aldis Berjoza
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Aldis Berjoza 2010-07-07 10:10:02 UTC
Compared to previous version in ports (v1.3.8) v1.7.11 has MANY bugfixes.
New features:
* playlist randomization (this as feature that playd.sh was missing compared to playd.pl)
* basic support for various playlist formats (*.plst, *.pls, *.m3u, *.m3u8, *.asx, *.xspf, *.ram, *.qtl, *.wax, *.wpl)
* Code is only 511 Lines (including BSD license)

playd2 (playd.pl) is now deprecated, I currently don't plan to develop it any further, since playd is much more advanced and way faster.

Fix: Patch attached with submission follows:
Comment 1 Ashish SHUKLA freebsd_committer freebsd_triage 2010-07-14 02:18:00 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ashish

I'll take it.
Comment 2 Ashish SHUKLA freebsd_committer freebsd_triage 2010-07-17 04:59:49 UTC
Hi Aldis,

#v+
===>  License accepted by the user
=> playd.sh-1.7.12.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://aldis.git.bsdroot.lv/playd.sh/snapshot/.
fetch: http://aldis.git.bsdroot.lv/playd.sh/snapshot/playd.sh-1.7.12.tar.gz: size unknown
fetch: http://aldis.git.bsdroot.lv/playd.sh/snapshot/playd.sh-1.7.12.tar.gz: size of remote file is not known
playd.sh-1.7.12.tar.gz                                7799  B 5451  Bps
===>  Extracting for playd-1.7.12
=> MD5 Checksum mismatch for playd.sh-1.7.12.tar.gz.
=> SHA256 Checksum mismatch for playd.sh-1.7.12.tar.gz.
===>  Refetch for 1 more times files: playd.sh-1.7.12.tar.gz playd.sh-1.7.12.tar.gz 
===>  License accepted by the user
=> playd.sh-1.7.12.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://aldis.git.bsdroot.lv/playd.sh/snapshot/.
fetch: http://aldis.git.bsdroot.lv/playd.sh/snapshot/playd.sh-1.7.12.tar.gz: size unknown
fetch: http://aldis.git.bsdroot.lv/playd.sh/snapshot/playd.sh-1.7.12.tar.gz: size of remote file is not known
fetch: playd.sh-1.7.12.tar.gz: local modification time does not match remote
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/playd.sh-1.7.12.tar.gz: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/home/abbe/tinderbox/ports/multimedia/playd.
*** Error code 1

Stop in /usr/home/abbe/tinderbox/ports/multimedia/playd.
#v-

It seems you're trying to download a snapshot which is generated everytime at
the time of download. Could you host the tarball file somewhere instead of
dynamically generating it, hmm...?

Or simply, could you fix this issue ?

Thanks
-- 
Ashish SHUKLA      | GPG: F682 CDCC 39DC 0FEA E116  20B6 C746 CFA9 E74F A4B0
freebsd.org!ashish | http://people.freebsd.org/~ashish/

âC is quirky, flawed, and an enormous success.â (Dennis M. Ritchie)
Comment 3 Aldis Berjoza 2010-07-17 06:03:17 UTC
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 17/07/2010 06:59, Ashish SHUKLA wrote:
> Hi Aldis,
> 
> #v+
> ===>  License accepted by the user
> => playd.sh-1.7.12.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
> => Attempting to fetch from http://aldis.git.bsdroot.lv/playd.sh/snapshot/.
> fetch: http://aldis.git.bsdroot.lv/playd.sh/snapshot/playd.sh-1.7.12.tar.gz: size unknown
> fetch: http://aldis.git.bsdroot.lv/playd.sh/snapshot/playd.sh-1.7.12.tar.gz: size of remote file is not known
> playd.sh-1.7.12.tar.gz                                7799  B 5451  Bps
> ===>  Extracting for playd-1.7.12
> => MD5 Checksum mismatch for playd.sh-1.7.12.tar.gz.
> => SHA256 Checksum mismatch for playd.sh-1.7.12.tar.gz.
> ===>  Refetch for 1 more times files: playd.sh-1.7.12.tar.gz playd.sh-1.7.12.tar.gz 
> ===>  License accepted by the user
> => playd.sh-1.7.12.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
> => Attempting to fetch from http://aldis.git.bsdroot.lv/playd.sh/snapshot/.
> fetch: http://aldis.git.bsdroot.lv/playd.sh/snapshot/playd.sh-1.7.12.tar.gz: size unknown
> fetch: http://aldis.git.bsdroot.lv/playd.sh/snapshot/playd.sh-1.7.12.tar.gz: size of remote file is not known
> fetch: playd.sh-1.7.12.tar.gz: local modification time does not match remote
> => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
> fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/playd.sh-1.7.12.tar.gz: File unavailable (e.g., file not found, no access)
> => Couldn't fetch it - please try to retrieve this
> => port manually into /usr/ports/distfiles/ and try again.
> *** Error code 1
> 
> Stop in /usr/home/abbe/tinderbox/ports/multimedia/playd.
> *** Error code 1
> 
> Stop in /usr/home/abbe/tinderbox/ports/multimedia/playd.
> #v-
> 
> It seems you're trying to download a snapshot which is generated everytime at
> the time of download. Could you host the tarball file somewhere instead of
> dynamically generating it, hmm...?
> 
> Or simply, could you fix this issue ?
> 
> Thanks

Wow, I didn't expect that...
Added new patch

P.S.
Sorry I've done this patch in very big rush, I'm going to Russia...
I uploaded tar to my fileserver, and basically MASTER_SITES had to be
changed to http://files.bsdroot.lv/FreeBSD/distfiles/
and distinfo should be regenerated
[Writing this just in case patch doesn't apply cleanly]
I won't be able to replay for about week
- -- 
Aldis Berjoza
Using new gpg key: 0xFDA72831           Key server: pgp.mit.edu
Fingerprint: 095E 1151 24D8 70E8 3E65  95D5 E7F8 DA65 FDA7 2831
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (FreeBSD)

iQIcBAEBAgAGBQJMQTmUAAoJEOf42mX9pygx/sEP/jz3ugrveI50aSJGOevpoElm
/eKePLLUmwG6WNRXGPZUqv6K/60mREK2VOqkNTuYik5ZyUJYYmcAJnrJvaS5PyXh
vLnm+G0KNXBAUCQOjhd4EQEAgfLXWG77qzaqxlSApxOx+AN0pZPfzUNfo4laY1cT
xnmaiVExtqqwIwBpcqvCf5NmTDt+3g1AM5HiEGXdBcJX8BI0ysI5+I2D9ed8Ic19
OGh0PejQRSAz4ItqJbD6R26yVwjp9e+rX3XwQp+yoxqKRbczEE8qL1y/of+kwtOg
WytgAUlr5MibrBsLr+J3WBTNwdFewWhmAMfFVGbZ4l4FezUX2tdx+EF1YomMdQFU
X6pG0p4rjx5I5a70Co54JsbCtHzirymeHcS1kA+dm7h47q0zWMl+AR+FjgN0iD2V
JeHDgC1RzXnQ/nWGvm60LOlrkFX6vochD6trVJwhD1bCbvMk+hUPX1emQdfMnvQF
P5uQAW+WcDqr42novxx8ZcbSXQgtwGnuYPN2gdbnRhy5YDOL0NfIaJxyg2no5w0K
AiSqfcZuYBEtlr5o5AmSZqX62K4ya/hpHWy2dqwIOfUNaPZfz5kqG2yMbG+TkKrx
o2KmGnijVktwuza8i/n1PZgPjsm9wixWAzRRXzb0CUQbtsR4oH7nmmxjTWYr1UUG
cHft0WokC4f/bIBZgZzv
=Mroc
-----END PGP SIGNATURE-----
Comment 4 dfilter service freebsd_committer freebsd_triage 2010-07-21 04:30:29 UTC
ashish      2010-07-21 03:30:20 UTC

  FreeBSD ports repository

  Modified files:
    multimedia/playd     Makefile distinfo pkg-descr 
  Log:
  - Update to 1.7.12.
  - Add LICENSE information.
  
  PR:             ports/148420
  Submitted by:   Aldis Berjoza <aldis@bsdroot.lv> (maintainer)
  Approved by:    pgj (mentor)
  
  Revision  Changes    Path
  1.11      +7 -5      ports/multimedia/playd/Makefile
  1.8       +3 -3      ports/multimedia/playd/distinfo
  1.4       +2 -2      ports/multimedia/playd/pkg-descr
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 5 Ashish SHUKLA freebsd_committer freebsd_triage 2010-07-21 04:37:36 UTC
State Changed
From-To: open->closed

Committed. Thanks!