1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
Commit Graph

6095 Commits

Author SHA1 Message Date
Edwin Groothuis
b6e72135c8 Remove duplicate MD5
Add SIZE
2006-01-24 21:54:50 +00:00
Edwin Groothuis
cb2f2cbf28 Remove duplicate MD5
Fix SHA256 (based on the fact that the MD5 was still correct)
Add SIZE
2006-01-24 21:52:04 +00:00
Edwin Groothuis
207a7f481a Fix brokeness
Fix SHA256 (based on the fact that MD5 was still correct)
Add SIZE
Remove duplicate MD5 checksums
2006-01-24 21:47:55 +00:00
Brooks Davis
ed0a0e1cf6 Don't manually install the rc.d script, USE_RC_SUBR does it for us.
Reported by:	krismail
2006-01-24 17:24:34 +00:00
Roman Bogorodskiy
46f5ae70a4 Make it work with new -CURRENT's malloc().
Submitted by:	danfe
2006-01-24 15:17:42 +00:00
Pav Lucistnik
5d390feb3f - Update to 3.0.6
PR:		ports/92004
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2006-01-23 10:42:46 +00:00
Jean-Yves Lefort
a526a56286 Switch to the USE_LINUX_RPM framework. 2006-01-22 15:35:04 +00:00
Edwin Groothuis
53354e7e9c SHA256ify
Approved by: krion@
2006-01-22 12:59:47 +00:00
Edwin Groothuis
44855e0b04 SHA256ify (manually done and checked)
Approved by:    krion@
2006-01-22 09:54:26 +00:00
Edwin Groothuis
d13d1f72fc SHA256-ify (very manually)
Approved by:	krion@
2006-01-22 08:50:59 +00:00
Edwin Groothuis
acd87b4ad8 SHA256ify
Approved by:    krion@
2006-01-22 08:34:46 +00:00
Edwin Groothuis
980092624a SHA256ify
Approved by:		krion@
2006-01-22 08:13:12 +00:00
Edwin Groothuis
d568611c3e eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 05:52:28 +00:00
Edwin Groothuis
98c419f62a Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:     krion@
PR:              ports/88711
2006-01-22 01:14:22 +00:00
Edwin Groothuis
e8d3c8300f Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry 2006-01-22 00:17:42 +00:00
Michael Johnson
bee9b1a5dc - Update to 1.0.13 2006-01-21 22:25:22 +00:00
Alexey Dokuchaev
630a930c2b - Hopefully fix the build on cluster [1]
- Previous commit was useless, but don't revert it :-(

Reported by:	krismail [1]
2006-01-21 05:04:00 +00:00
Alexey Dokuchaev
e615ee1cdd Reindent group of lines in preparation for next commit. 2006-01-21 04:40:55 +00:00
Tilman Keskinoz
8d8f41f42c Fix build on amd64
PR:		92068
Submitted by:	Johan van Selst <johans@stack.nl>
2006-01-20 22:00:52 +00:00
Kris Kennaway
48e1fdb601 BROKEN: Build fails on amd64 (missing -fPIC on shared libraries) 2006-01-19 23:42:10 +00:00
Kris Kennaway
3cb6face3e BROKEN: Incorrect SHA hash 2006-01-19 23:29:29 +00:00
Pav Lucistnik
10cef9bc72 - Distfile rerolled; verified no content changes
PR:		ports/91917
Submitted by:	Ion-Mihai "IOnut" Tetcu <itetcu@people.tecnik93.com>
Reported by:	krismail
2006-01-18 20:55:33 +00:00
Alexey Dokuchaev
e8058658bc - Provide niftier WWW
- Make description 24 lines to pacify portlint(1)
2006-01-18 14:53:04 +00:00
Alexey Dokuchaev
5107adadf3 Update to version 0.99.2.
PR:		ports/91529
Submitted by:	Devon Ryan <dpryan(at)dpryan.com>
2006-01-18 14:47:07 +00:00
Alexey Dokuchaev
a2fe96c6e1 Add libgpod 0.3.0, a library for direct access of iPod's contents.
PR:		ports/91531
Submitted by:	Devon Ryan <dpryan(at)dpryan.com>
2006-01-18 14:45:54 +00:00
Michael Landin
266c12cdaf - Update to -> 1.3.8
- Mainly bugfixing
    - Full changelog: http://amarok.kde.org/content/view/68/66/
2006-01-18 12:45:19 +00:00
Renato Botelho
9553558ae7 - Use LIB_DEPENDS instead some BUILD_DEPENDS
PR:		ports/91848
Submitted by:	maintainer
2006-01-17 16:53:10 +00:00
Alexey Dokuchaev
8c0906e8fe Provide better port description. 2006-01-17 16:28:29 +00:00
Tilman Keskinoz
7527bc1e28 Don't install getopt.h
PR:		91904
Submitted by:	Joseph Kerian <jkerian@gmail.com>
2006-01-17 13:19:47 +00:00
Tilman Keskinoz
add06212a1 Unbreak on sparc64 (and other big endian archs) 2006-01-17 13:13:02 +00:00
Michael Nottebrock
017948482a Fix compile with libshout 2.2 2006-01-16 23:16:27 +00:00
Tim Bishop
f513cd96ed - Fix dependency on libaudiofile
PR:		91472
Submitted by:	Michael Kuhn <mkuhn.nw@web.de>
Approved by:	maintainer
2006-01-16 23:04:17 +00:00
Michael Nottebrock
746a09d1eb ... and bump PORTREVISION, too. 2006-01-16 22:52:39 +00:00
Michael Nottebrock
71cdbafacc Forgot to bump the shared lib revision here. 2006-01-16 22:49:36 +00:00
Philip Paeps
b33c1e7883 Update to 3.7:
Bugfix:  editfilenames script now dies if unable to open tmp file.

   Bugfix:  charset freedb submit now specified
            http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=334535

   Bugfix:  failing to remove .rev.wav and .orig.wav files

   Bugfix:  Changed tag label "part" to "partnumber"

   Bugfix:  Now uses FindBin to locate CDDB_get.pm

   Other minor changes
2006-01-16 21:03:40 +00:00
Mario Sergio Fujikawa Ferreira
64c210942b Do not try to use asm code that does not work on amd64: "{standard
input}:656: Error: `(%rax,%esi,2)' is not a valid 64 bit base/index
expression"

Submitted by:	pointyhat (kris)
2006-01-16 20:04:40 +00:00
Adam Weinberger
995a845ed7 Update to 1.6.8. Add musepack (libmpcdec) support. Correct WWW. 2006-01-16 03:54:23 +00:00
Pav Lucistnik
992e939add - Update to 0.2DrBombay
- Sanitize the PORTVERSION

PR:		ports/91805
Submitted by:	Alexander Botero-Lowry <alex@foxybanana.com> (maintainer)
2006-01-15 02:03:00 +00:00
Tom McLaughlin
6354efb669 Fix pkg-plist after Mono 1.1.12.1 update. 2006-01-14 22:00:26 +00:00
Pav Lucistnik
7dc0abbf54 - Remove expired ports 2006-01-14 21:16:35 +00:00
Pav Lucistnik
23c55e5f4b - Unbreak on FreeBSD 7.X
- Simplify
2006-01-14 13:04:49 +00:00
Pav Lucistnik
10bdbc69af - This is older version of audio/libmusicbrainz; detonate in two months 2006-01-14 12:34:58 +00:00
Kris Kennaway
be0bb240b9 BROKEN on sparc64: Does not compile 2006-01-14 09:36:40 +00:00
Kris Kennaway
89c02b62b7 BROKEN on ia64 and spar64: Does not compile 2006-01-14 09:30:34 +00:00
Kris Kennaway
609ba5cbeb BROKEN: Does not build 2006-01-14 09:22:57 +00:00
Michael Johnson
8d1d1034ac - Update to 1.3-1 2006-01-14 02:15:52 +00:00
Michael Johnson
66b02f54fb - Update to 0.3.5 2006-01-12 22:29:19 +00:00
Sergey Matveychuk
b4d2ac42d7 - Update graphics/libglut to 6.4.1.
- Shared lib version and PORTREVISION bumb for all affected ports.

While I'm here:
- Remove USE_MESA knob where it was (35 ports).
  It marked as depricated for 2 years.

PR:		ports/90247
Submitted by:	Ermal Lu?i <eri--@albabsd.org>
2006-01-12 12:54:32 +00:00
Joe Marcus Clarke
7c7c67df00 Fix a crash when playing certain types of files. See
http://mail.gnome.org/archives/rhythmbox-devel/2005-December/msg00022.html
for more details.

PR:		91413
Obtained from:	Rhythmbox CVS
2006-01-11 06:50:45 +00:00
Pav Lucistnik
bbe5e42f7d - Update to 2.3.3
Approved by:	maintainer
2006-01-10 17:17:34 +00:00
Roman Bogorodskiy
6e07627717 - Update to 3.2.1
- Update MASTER_SITES and WWW since project moved to sourceforge
- Utilize DATADIR
2006-01-10 09:01:34 +00:00
Michael Nottebrock
d153f2a24c Chase libshout2 shared library version bump. 2006-01-08 21:58:20 +00:00
Michael Nottebrock
9e612274a4 Update to 2.2 2006-01-08 21:55:59 +00:00
Michael Nottebrock
7710b55bc3 Update to KDE 3.5.0 2006-01-08 19:32:36 +00:00
Michael Nottebrock
032f85fc8e Another doxygen update, another new file generated. 2006-01-08 17:42:38 +00:00
Edwin Groothuis
df257a16f5 New port: audio/xmms-modplug
This port is the ModPlug plugin for XMMS. ModPlug is
	arguably the best mod-like music rendering engine
	capable of playing 22 different module formats. This
	plugin can also handle zip, rar, gzip and bzip2
	compressed mods (provided unzip, gunzip, unrar are
	installed).

	WWW: http://modplug-xmms.sourceforge.net/

PR:		91501
Submitted by:	Andrew Pantyukhin <infofarmer@gmail.com>
2006-01-08 13:08:55 +00:00
Edwin Groothuis
f248828a9c [NEW PORT] audio/slimserver-slimscrobbler: SlimServer plugin for submitting updates to last.fm
This is a SlimServer plug-in to submit listening data to
	Last.FM, an online music listening habits tracking database
	and personal radio station.

	WWW:	http://slimscrobbler.sourceforge.net/

PR:		ports/91468
Submitted by:	Alex Varju <freebsd-ports@varju.ca>
2006-01-08 13:02:50 +00:00
Edwin Groothuis
4e6f35def1 [NEW PORT] audio/slimserver-lastfm: SlimServer plugin for playing last.fm radio
This is a SlimServer plug-in to listen to a LastFM internet
	radio stream, send feedback on the currently playing track
	and change stations.

	WWW:	http://www.jamescraig.co.uk/SlimServer/#LastFM

PR:		ports/91469
Submitted by:	Alex Varju <freebsd-ports@varju.ca>
2006-01-08 13:01:35 +00:00
Trevor Johnson
6e0d80a040 Add size data. Hash with SHA-256. 2006-01-07 20:08:42 +00:00
Trevor Johnson
f449b89dca Hash with SHA-256. 2006-01-07 20:00:08 +00:00
Markus Brueffer
76fda451b5 Fix potential mini-memleak 2006-01-07 13:34:49 +00:00
Edwin Groothuis
058d67a354 Add missing patch.
Noticed by: YAPHR
2006-01-07 06:16:51 +00:00
Edwin Groothuis
255abd4c4f New port: audio/bmp-modplug
A modplug-based plugin for beep-media-player

	This port is the ModPlug plugin for beep-media-player. It
	is a port of modplug-xmms plugin. ModPlug is arguably the
	best mod-like music rendering engine capable of playing
	22 different module formats. This plugin can also handle
	zip, rar, gzip and bzip2 compressed mods (provided unzip,
	gunzip, unrar are installed).

	WWW: http://modplug-xmms.sourceforge.net/

PR:		ports/91424
Submitted by:	Andrew Pantyukhin <infofarmer@gmail.com>
2006-01-07 03:07:00 +00:00
Markus Brueffer
9abaa0a776 Bump PORTREVISION to chase the cdparanoia shared library update 2006-01-06 18:32:35 +00:00
Markus Brueffer
2b26744354 - Use cdda_device_name of struct cdrom_drive to expose the path of the device
node. Previously this was only present in the Linux version and is needed for
  the upcomming update of KDE 3.5
- Bump PORTREVISION
- Take maintainership

Approved by:	maintainer
2006-01-06 18:32:01 +00:00
Edwin Groothuis
5c6f87dd06 New port: audio/py-flac, Python module that provides the Free
Lossless Audio Codec interface

	Python module that provides the Free Lossless Audio Codec
	interface

PR:		ports/91348
Submitted by:	Byung-Hee HWANG <bh@izb.knu.ac.kr>
2006-01-06 06:00:47 +00:00
Adam Weinberger
3e35a078d4 Update to 1.6.7. 2006-01-05 21:17:32 +00:00
Pav Lucistnik
ac2d5e035b - Don't remove what belongs to mtree
Approved by:	mich (maintainer)
2006-01-05 15:22:25 +00:00
Edwin Groothuis
37e709d736 Upgrade to 1.1.4 2006-01-05 10:02:21 +00:00
Edwin Groothuis
693a153f7b Upgrade to 1.9.4 2006-01-05 06:27:35 +00:00
Edwin Groothuis
e62864a49b Chase libversion bumb to libMagick.so.9
PR:		ports/91270
2006-01-05 03:57:35 +00:00
Tom McLaughlin
adf3edca18 Belatedly bump PORTREVISION due to dbus-sharp update. 2006-01-05 02:43:27 +00:00
Edwin Groothuis
50f0efc5ae audio/streamripper update to 1.61.16
Simple version bump to 1.61.16

	I re-diff-ed the patch-lib_parse.c and patch-lib_util.c
	files to get rid of fuzz, but otherwise these patches are
	unchanged.

	Added new patch-Makefile.in to force using BSD_INSTALL*
	macros.  Thus avoiding the install.sh script which was
	breaking the install.

PR:		ports/89328
Submitted by:	Yarema <yds@CoolRat.org>
Approved by:	maintainer timeout
2006-01-05 00:10:47 +00:00
Markus Brueffer
7442aad6ea Add k3bmonkeyaudioplugin 3.0, a K3b plugin for encoding and decoding
Monkey's Audio files.

WWW: http://www.k3b.org/
2006-01-04 13:19:07 +00:00
Edwin Groothuis
ddd0ffbd40 [Maintainer Update] audio/gnupod : Fix pkg-plist (noticed by Kris via pointyhat)
PR:		ports/91280
Submitted by:	David Le Brun <david@dyn-ns.net>
2006-01-04 05:42:37 +00:00
Peter Pentchev
9af4231cdd Add Audio-Scrobbler 0.01, a Perl interface to Last.fm / AudioScrobbler. 2006-01-03 15:02:32 +00:00
Adam Weinberger
70fe146ba6 Update to 1.99.11. 2006-01-02 20:26:31 +00:00
Adam Weinberger
70269b42b7 Update to 1.6.6. Add libtremor support (autodetected, and via WITH_TREMOR). 2006-01-01 20:12:55 +00:00
Tom Rhodes
a38669f695 Fix breakage caused by time_t change.
Requested by:	kris
2006-01-01 13:12:53 +00:00
Pav Lucistnik
b7e50cf541 - Add WWW
Submitted by:	tlp on EFnet
2005-12-31 23:14:42 +00:00
Joe Marcus Clarke
f8d37e4ab9 Fix build with dbus-0.60.
Obtained from:	GNOME CVS
2005-12-31 19:11:26 +00:00
Joe Marcus Clarke
3549788aa1 Chase the dbus shared lib version. 2005-12-31 18:49:08 +00:00
Emanuel Haupt
3f2fa3f4ac - Unbreak by providing two master sites
- Pass maintainership to submitter

PR:		91114
Submitted by:	Mark Foster <mark@foster.cc>
2005-12-31 05:42:59 +00:00
Emanuel Haupt
923389897b Add an additional master site 2005-12-31 02:52:28 +00:00
Emanuel Haupt
f2df9933e7 Add an additional master site
Notified by:	pointyhat via kris
2005-12-31 02:44:10 +00:00
Pav Lucistnik
47a39af0bb - Add SHA256
PR:		ports/91094
Submitted by:	Jean Milanez Melo <jmelo@freebsdbrasil.com.br> (maintainer)
2005-12-30 21:36:38 +00:00
Jean-Yves Lefort
7b8215a5bf Track the master site change.
Reported by:	pointyhat via kris
2005-12-26 18:34:22 +00:00
Volker Stolz
48c4394a74 Fix build on 4.x
Approved by: adamw
2005-12-23 20:51:29 +00:00
Michael Nottebrock
9ff5167613 The latest doxygen update seems to feature a funky bug that makes it create
some dir__2Ffull_2Fpath_2Fto_2F${WRKSRC}_2F.html files.

Since there is no sensible way to put these into pkg-plist and they seem
to be just copies of the dir_<number>.html files anyway, delete them pre-
install.
2005-12-21 18:00:59 +00:00
Renato Botelho
c0b13147a7 - Mark it as DEPRECATED, master site disapeared
- Set an EXPIRATION_DATE

PR:		ports/87929
Submitted by:	Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
Approved by:	maintainer timeout (56 days)
2005-12-21 10:29:22 +00:00
Renato Botelho
1c4e3e458a XMMS2 is a redesign of the XMMS music player. It features a client-server
model, allowing multiple (even simultaneous!) user interfaces, both textual
and graphical. All common audio formats are supported using plugins. On top
of this, there is a flexible media library to organize your music.

WWW:	http://xmms2.xmms.org

PR:		ports/90618
Submitted by:	Alexander Botero-Lowry <alex@foxybanana.com>
2005-12-21 09:50:39 +00:00
Sam Lawrance
a583049d36 Update to 2.4.3.
PR:		ports/90562
Submitted by:	Ports Fury
2005-12-18 10:37:06 +00:00
Pav Lucistnik
245496aa12 - Update to 3.0.5
PR:		ports/90551
Submitted by:	Ports Fury
2005-12-18 02:09:06 +00:00
Emanuel Haupt
446d8dc169 - Update to 0.2.1
- Remove pkg-plist
- Port does not need USE_GMAKE
- Use libtool13 to respect CC
- Respect CFLAGS
- Major cleanup

PR:		90409
Submitted by:	Frank Laszlo <laszlof@vonostingroup.com> (maintainer)
Reworked by:	ehaupt
2005-12-15 19:22:41 +00:00
Norikatsu Shigemura
ada4b0ce35 Make flexibility timidity.cfg.
Approved by:	Jonathan Lennox <lennox@cs.columbia.edu> (maintainer)
2005-12-15 13:18:10 +00:00
Volker Stolz
5fa8fc1cae Properly name startup-script 2005-12-15 09:03:14 +00:00
Pav Lucistnik
6cb0df9211 - Update to 3.99.4.4
- Fix runtime on amd64 (passing pointers inside 32bit ints)

Approved by:	maintainer timeout (14 days)
2005-12-15 08:39:47 +00:00
Tim Bishop
a7b49bd22b - Unbreak, upstream distfile changed.
Contents of new distfile checked, and are identical to old one.

PR:		90373
Submitted by:	"Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
Approved by:	clement (mentor)
2005-12-14 17:17:17 +00:00
Volker Stolz
102a399c0f - Add RCng startup-script [1]
- Do not use perl at build-time
- Pet portlint wrt. IGNORE
- Raise necessary PERL_LEVEL to 5.8, conditionally depend on p5-Encode

PR:		ports/90078 [1]
Submitted by:	Josh Carroll
2005-12-13 15:20:16 +00:00
Michael Nottebrock
8a02c9b487 Update to 2.3.1 2005-12-13 03:17:41 +00:00
Bruce M Simpson
5879dd9aaa Drop maintainership for ports which I sadly no longer have
the time, hardware, or resources to maintain.
2005-12-12 21:53:40 +00:00
Marcus Alves Grando
d2053e182e Update to 1.2.4
Switch to wxGTK 2.6
Use OPTIONS
Fix edge case of linking against libid3tag if installed without registering a dependency (reported by Laurent Debacker).
Add SHA256
portlint(1)

PR:		90294
Submitted by:	maintainer
2005-12-12 20:02:40 +00:00
Mario Sergio Fujikawa Ferreira
1f1d497372 Link audio/liba52-devel to build after repo copy from audio/liba52.
Repo copied by:	marcus
2005-12-12 18:51:49 +00:00
Mario Sergio Fujikawa Ferreira
6a48d19295 - After repo copy from audio/liba52: update to ffmpeg snapshot
2005112800
- This port liba52-devel will provide the very latest liba52 from
  multimedia/ffmpeg-devel port distfiles with all the latest
  optimizations. Unfortunaly, there has been some API changes which
  prevent it from being an update to the standard audio/liba52 port.

Repo copied by:	marcus
2005-12-12 18:47:49 +00:00
Adam Weinberger
e0578eb51e Update to 1.6.5. 2005-12-12 17:06:40 +00:00
Norikatsu Shigemura
34803c87e0 Add eawplus 12.1, is E.A.W.+Izumo+Tamuki collection of Gravis
Ultrasound MIDI patches.

Remainded by:	Li-Lun Wang (Leland) <llvvang@gmail.com>
2005-12-12 14:35:35 +00:00
Norikatsu Shigemura
2b3b318710 Add guspat 20000706, is a collection of Gravis Ultrasound
MIDI patches.

Remaineded by:	Li-Lun Wang (Leland) <llvvang@gmail.com>
2005-12-12 14:28:25 +00:00
Simon Barner
4130d887b2 - Open sound device in read-only mode so it works also on the second, third,...
invokation if the soundcard is in half-duplex mode.
- Bump PORTREVISION

Submitted by:	Watanabe Kazuhiro <CQG00620@nifty.ne.jp>
PR:		ports/90226
2005-12-11 23:18:07 +00:00
MANTANI Nobutaka
617463e5ce Sync with libxine shared library version bump. 2005-12-10 21:06:42 +00:00
Michael Johnson
cf60be1fc4 - Fix plist
Reported by:	kris via pointyhat
2005-12-08 01:53:19 +00:00
Yen-Ming Lee
32339a789f - update to 0.02
- assign maintainer to perl@
2005-12-08 01:02:57 +00:00
Yen-Ming Lee
e49850152b - update to 0.09
- assign maintainer to perl@
2005-12-08 01:01:08 +00:00
Yen-Ming Lee
275b859173 - update to 0.10
- assign maintainer to perl@
2005-12-08 01:00:41 +00:00
Michael Johnson
57f977f3a1 - Mark broken on 4.x
Reported by:	kris via pointyhat
2005-12-07 20:05:49 +00:00
Michael Landin
0c71b2ed7e o Update to -> 1.3.7
- Mainly bugfixing
    - shouter script removed
    - Changelog: http://amarok.kde.org/content/view/66/66/
2005-12-07 15:01:47 +00:00
Palle Girgensohn
767e53556e Chase changes to distribution file that wasn't
reflected in the version number.

Approved by: maintainer
2005-12-06 14:28:32 +00:00
Volker Stolz
cdd458acde Cleanup a bit 2005-12-06 12:55:38 +00:00
Edwin Groothuis
ed759ba776 EXTRACT_SUFX=.tar.bz2 -> USE_BUNZIP2=yes 2005-12-06 12:34:41 +00:00
Michael Johnson
3faeaacc1e - No longer user gcc34+ 2005-12-06 02:20:09 +00:00
Michael Johnson
1887673377 - Update to 1.1.11.1 2005-12-06 01:11:35 +00:00
Tim Bishop
7a3654e971 - Add SHA256
- Remove obselete USE_REINPLACE

PR:		89986
Submitted by:	Daniel Roethlisberger <daniel@roe.ch> (maintainer)
Approved by:	clement (mentor)
2005-12-05 22:21:30 +00:00
Edwin Groothuis
9bde697a8a Remove install-info from Makefile, it's automatically done when
INFO is defined.
2005-12-04 22:49:37 +00:00
Edwin Groothuis
4d53277d55 Use INFO macro 2005-12-04 06:50:37 +00:00
Edwin Groothuis
04940f963f [MAINTAINER-UPDATE] audio/cowbell to 0.2.5.1
Version 0.2.5 mainly added new translations and bug fixes.
	One of the fixes improve handling of empty amazon result
	data (avoid crashes in certain situations: severity->serious
	for that)

	Version 0.2.5.1 updated translations.

PR:		ports/89651
Submitted by:	"Andreas Kohn" <andreas@syndrom23.de>
2005-12-04 00:23:19 +00:00
Edwin Groothuis
3ca2690c65 [new port] audio/gnuitar
This is an open source program for real-time sound effect
	processing. You can use it to add some distortion to your
	guitar, or some reverb to your voice.  Available effects
	are:

    * 2 kinds of distortion (one is Ibanez TubeScreamer 9 simulation)
    * sustain
    * various flavors of reverb, echo & delay
    * chorus/flanger
    * equalizer
    * noise reduction
    * wah-wah
    * phasor
    * tremolo
    * vibrato

WWW: http://www.gnuitar.com

PR:		ports/89895
Submitted by:	Gabor Kovesdan <gabor.kovesdan@t-hosting.hu>
2005-12-03 22:22:11 +00:00
Christian Weisgerber
d570fb971e Maintenance update to libogg 1.1.3 and libvorbis 1.1.2.
No user-visible changes.
2005-12-03 22:13:25 +00:00
Alexander Leidinger
0ec06b37b4 - update to 0.2.35
- add the SRC RPM's
2005-12-03 14:53:28 +00:00
Alexander Leidinger
e1d8b781b2 - update to 0.2.6
- add the SRC RPM's
2005-12-03 14:49:37 +00:00
Jean-Yves Lefort
2ae4b07d9e Remove powerpc support, because there is no linuxulator on that arch
yet (point raised up by netchild and confirmed by arved).
2005-12-02 13:07:13 +00:00
Michael Johnson
af27f7752e - Update to 0.1.1 2005-12-02 07:04:09 +00:00
Adam Weinberger
dfad6206d8 Update to 1.99.10. 2005-12-02 03:55:07 +00:00
Edwin Groothuis
db520879e2 re-roll of tarball
Only in cpige-1.3-new/: LICENCE
Only in cpige-1.3-new/: Makefile.windows
diff -ru cpige/cpige.c cpige-1.3-new/cpige.c
--- cpige/cpige.c	Fri Nov 25 10:08:13 2005
+++ cpige-1.3-new/cpige.c	Wed Nov 30 07:06:12 2005
@@ -21,7 +21,10 @@
 #include <fcntl.h>
 #include <dirent.h>
 #include <sys/stat.h>
-#include <regex.h>
+
+#ifndef WIN32
+ #include <regex.h>
+#endif

 #include "cpige.h"
 #include "tool.h"
@@ -115,12 +118,12 @@

   /* Global dynamic configuration */
   cmdLine = parseCommandLine(argc, argv);
-  (void) testCommandLine();
+  testCommandLine();

   /* Logfile */
   if ((logfile = fopen(cmdLine->logFile, "a+")) == NULL)
   {
-    ERROR("Unable to openlogfile: %s Setting log to stdout\n", cmdLine->logFile);
+    _ERROR("Unable to openlogfile: %s Setting log to stdout\n", cmdLine->logFile);
     logfile = stdout;
   } else {
     VERBOSE("Successfully opened %s\n", cmdLine->logFile);
@@ -134,20 +137,20 @@
 #if !WIN32
     if (daemon(1, 1) == -1)
     {
-      ERROR("Error daemonizing. %s\n", strerror(errno));
+      _ERROR("Error daemonizing. %s\n", strerror(errno));
       exit(-1);
     }
-    (void) fprintf(stdout, "Server launching in background. pid: %d\n", (int)getpid());
+    fprintf(stdout, "Server launching in background. pid: %d\n", (int)getpid());
     fd = open("/dev/null", O_RDWR);
     if (fd == -1) {
       perror("Opening /dev/null: ");
       exit(0);
     }
     for (i = 0; i < 3; i++)
-      (void) dup2(fd, i);
-    (void) close(fd);
+      dup2(fd, i);
+    close(fd);
 #else
-   (void) printf("Fork not available on WIN32.\n");
+   printf("Fork not available on WIN32.\n");
 #endif
   }

@@ -158,13 +161,13 @@
   /* Create output dir if does not exists! */
   if (( pige_dir = opendir(cmdLine->dir)) == NULL)
   {
-    ERROR("Unable to open %s for writing\n", cmdLine->dir);
+    _ERROR("Unable to open %s for writing\n", cmdLine->dir);
 #ifdef WIN32
     if (mkdir(cmdLine->dir) != 0) {
 #else
     if (mkdir(cmdLine->dir, 0755) != 0) {
 #endif
-      ERROR("Failed trying to create %s. Verify rights.\n", cmdLine->dir);
+      _ERROR("Failed trying to create %s. Verify rights.\n", cmdLine->dir);
       exit(-1);
     } else {
       VERBOSE("Created %s\n", cmdLine->dir);
@@ -172,7 +175,7 @@
     }
   } else {
     VERBOSE("Sucessfully opened %s\n", cmdLine->dir);
-    (void) closedir(pige_dir);
+    closedir(pige_dir);
   }

   /* Start time, for uptime calculation */
@@ -204,13 +207,15 @@
    * print_icyheaders(icy_headers);
    */

+#ifndef WIN32
   if(cmdLine->useNumbers == 1)
     songs = getSongs(cmdLine->dir);
-
+#endif
+
   nextsize = 512;

   oldtitre = memory_allocation(strlen("please.delete") + 1);
-  (void) strcpy(oldtitre, "please.delete");
+  strncpy(oldtitre, "please.delete", 14);

   while (1)
   {
@@ -220,7 +225,7 @@
     retval = select(server_socket+1, &rfds, NULL, NULL, &timeout);
     if (retval <= 0)
     {
-      ERROR("Connection Error.\n");
+      _ERROR("Connection Error.\n");
       server_close(server_socket);
       server_socket = reconnect(RECONNECT_TIME, TENTATIVES, 1);
       tempsize = 0;
@@ -230,7 +235,7 @@
     size = recv(server_socket, buffer, nextsize, 0);
     if ((size == -1) || ((size == 0) && nextsize != 0))
     {
-      ERROR("Connection error in recv main() size: %d nextsize: %d\n", size, nextsize);
+      _ERROR("Connection error in recv main() size: %d nextsize: %d\n", size, nextsize);
       server_socket = reconnect(RECONNECT_TIME, TENTATIVES, 1);
       tempsize = 0;
       nextsize = 512;
@@ -240,11 +245,11 @@
     {
       if (fwrite(buffer, sizeof(char), size, output_file) != size*sizeof(char))
       {
-        ERROR("Error writing output. Disk full ?\n");
+        _ERROR("Error writing output. Disk full ?\n");
         break;
       }
       /* Many thanks to the #hurdfr team! */
-      (void) fflush(output_file);
+      fflush(output_file);
     }
     if ( tempsize == icy_headers->metaint )
     {
@@ -275,15 +280,15 @@

             buffer3 = GetId3v1(buffer2, buffer1, icy_headers->name);
             fwrite(buffer3, sizeof(char), 128, output_file);
-            free(buffer3);
-            free(buffer2);
-            free(buffer1);
+            (void)free(buffer3);
+            (void)free(buffer2);
+            (void)free(buffer1);
           }

           if (output_file)
           {
             /* VERBOSE("Closing: %d.mp3\n", lastCut.hour); */
-            (void) fclose(output_file);
+            fclose(output_file);
           }

           switch (cmdLine->intervalType)
@@ -313,10 +318,10 @@
           }
           VERBOSE("Opening: %s\n", filename);
           output_file = fopen(filename, WRITE);
-          free(filename);
+          (void)free(filename);
         }
       } else if (cmdLine->live) {
-        (void) printf("Not yet implemented.\n");
+        printf("Not yet implemented.\n");
         exit(1);
         /* Live Mode */
         /* I must write some stuff here ;) */
@@ -337,13 +342,13 @@
           fprintf(stdout, " ");

         statusline = statusLine(uptime, metacounter, icy_headers->metaint, oldtitre, nexttitre);
-        (void) fprintf(stdout, "\r%s", statusline);
+        fprintf(stdout, "\r%s", statusline);

         if ( strlen(statusline) > maxlinelength)
           maxlinelength = strlen(statusline);

         if (statusline != NULL)
-          free(statusline);
+          (void)free(statusline);
       }

       /* Stats evry countdown seconds */
@@ -354,12 +359,12 @@
         {
           if (fwrite(statusline, sizeof(char), strlen(statusline), logfile) != strlen(statusline))
           {
-            ERROR("Fwrite error.\n");
+            _ERROR("Fwrite error.\n");
             break;
           }
           /* Many thanks to the #hurdfr@freenode team! */
-          (void) fflush(logfile);
-          (void) free(statusline);
+          fflush(logfile);
+          (void)free(statusline);
         } else {
           VERBOSE("getStats returned NULL values...\n");
         }
@@ -379,7 +384,7 @@
       titre = getTitle(meta);

       if (meta != NULL)
-        free(meta);
+        (void)free(meta);

       if (titre != NULL)
       {
@@ -408,19 +413,19 @@
                     {
                       char *buffer1;
                       buffer1 = GetId3v1(curSong->title, curSong->artist, icy_headers->name);
-                      (void) fwrite(buffer1, sizeof(char), 128, output_file);
-                      free(buffer1);
+                      fwrite(buffer1, sizeof(char), 128, output_file);
+                      (void)free(buffer1);
                     }
-                    (void) fclose(output_file);
+                    fclose(output_file);
                   }

                   if (cmdLine->useNumbers == 0)
                   {
                     filename = memory_allocation(strlen(titre) + strlen(cmdLine->dir)+ 1 + strlen(extension) + 1 +1);
-                    (void) snprintf(filename, strlen(titre)+strlen(extension)+strlen(cmdLine->dir)+1+1, "%s%s.%s", cmdLine->dir, titre, extension);
+                    snprintf(filename, strlen(titre)+strlen(extension)+strlen(cmdLine->dir)+1+1, "%s%s.%s", cmdLine->dir, titre, extension);
                   } else {
                     filename = memory_allocation(5+strlen(titre) + strlen(cmdLine->dir)+ 1 + strlen(extension) + 1 + 1);
-                    (void) snprintf(filename, 5+strlen(titre)+strlen(extension)+strlen(cmdLine->dir)+1+1, "%s%.4d_%s.%s", cmdLine->dir, songs, titre, extension);
+                    snprintf(filename, 5+strlen(titre)+strlen(extension)+strlen(cmdLine->dir)+1+1, "%s%.4d_%s.%s", cmdLine->dir, songs, titre, extension);
                   }

                   if ((output_file = fopen(filename, "r")) == NULL) { /* Anti doublons */
@@ -428,31 +433,33 @@
                     output_file = fopen(filename, WRITE);
                   } else {
                     VERBOSE("File already exists %s.\n", filename);
-                    (void) fclose(output_file);
+                    fclose(output_file);
                     output_file = NULL;
                   }
-                  (void) free(filename);
+                  (void)free(filename);
                 }
               } /* Title are differents */
             } /* Oldtitre != NULL */
-            if (oldtitre != NULL) free(oldtitre);
+            if (oldtitre != NULL)
+              (void)free(oldtitre);
             oldtitre = memory_allocation(strlen(titre) + 1);
-            (void) strncpy(oldtitre, titre, strlen(titre));
+            strncpy(oldtitre, titre, strlen(titre));
           } else {
             /* Title is "ASUIVRE" */
-            if (nexttitre != NULL) free(nexttitre);
+            if (nexttitre != NULL)
+              (void)free(nexttitre);

             nexttitre = memory_allocation(strlen(titre) + 1);
-            (void) strncpy(nexttitre, titre, strlen(titre));
+            strncpy(nexttitre, titre, strlen(titre));
           }
           if (titre != NULL)
-            free(titre);
+            (void)free(titre);

         } /* Strlen(titre > 0) */
       }
       tempsize = 0; /* tempsize = 0: chunk received successfully. Awaiting next chunk */
     } else if (tempsize > icy_headers->metaint) {
-      ERROR("Error tempsize > metaint\n");
+      _ERROR("Error tempsize > metaint\n");
       break;
     } else
       tempsize = tempsize + size;
@@ -463,14 +470,18 @@
       nextsize = 512;
   } /* infinite loop */

-  (void) server_close(server_socket);
+  server_close(server_socket);

   /* cleanup */
-  if (icy_headers != NULL) free(icy_headers);
-  if (output_file != NULL) fclose(output_file);
-  if (logfile != stdout) fclose(logfile);
-  (void) free(cmdLine);
-  (void) free(cPigeStats);
+  if (icy_headers != NULL)
+    (void)free(icy_headers);
+  if (output_file != NULL)
+    fclose(output_file);
+  if (logfile != stdout)
+    fclose(logfile);
+
+  (void)free(cmdLine);
+  (void)free(cPigeStats);

   return 0;
 }
@@ -491,9 +502,10 @@
   suffix[0] = 0;

   icy = malloc(sizeof(icyHeaders));
-
+
   /* Usefull when radio doesn't specify icy name */
   icy->name = "No Name";
+  icy->content_type = "audio/mpeg";

   if (headers == NULL)
     return NULL;
@@ -549,7 +561,7 @@
       if (strncmp(prefix, "icy-notice1", 11) == 0)
       {
         icy->notice1 = memory_allocation(strlen(suffix) + 1);
-        (void) strncpy(icy->notice1, suffix, strlen(suffix));
+        strncpy(icy->notice1, suffix, strlen(suffix));
       }
       if (strncmp(prefix, "icy-notice2", 11) == 0)
       {
@@ -557,25 +569,25 @@
           icy->type = 0;

         icy->notice2 = memory_allocation(strlen(suffix)+1);
-        (void) strncpy(icy->notice2, suffix, strlen(suffix));
+        strncpy(icy->notice2, suffix, strlen(suffix));
       }

       if (strncmp(prefix, "icy-name", 8) == 0)
       {
         icy->name = memory_allocation(strlen(suffix)+1);
-        (void) strncpy(icy->name, suffix, strlen(suffix));
+        strncpy(icy->name, suffix, strlen(suffix));
       }

       if (strncmp(prefix, "icy-genre", 9) == 0)
       {
         icy->genre = memory_allocation(strlen(suffix)+1);
-        (void) strncpy(icy->genre, suffix, strlen(suffix));
+        strncpy(icy->genre, suffix, strlen(suffix));
       }

       if (strncmp(prefix, "icy-url", 7) == 0)
       {
         icy->url = memory_allocation(strlen(suffix)+1);
-        (void) strncpy(icy->url, suffix, strlen(suffix));
+        strncpy(icy->url, suffix, strlen(suffix));
       }

       if (strncmp(prefix, "icy-pub", 7) == 0)
@@ -587,14 +599,16 @@
       if (strncmp(prefix, "icy-br", 6) == 0 )
         icy->br = (int) atoi((char *) &suffix[0]);

-      if (strncmp(prefix, "content-type", 12) == 0 ) {
+      if ((strncmp(prefix, "content-type", 12) == 0 ) ||
+        (strncmp(prefix, "Content-Type", 12) == 0))
+      {
         icy->content_type = memory_allocation(strlen(suffix)+1);
-        (void) strncpy(icy->content_type, suffix, strlen(suffix));
+        strncpy(icy->content_type, suffix, strlen(suffix));
       }
     }
   } /*  for eachline */

-  (void) free(headers);
+  (void)free(headers);
   return icy;
 }

@@ -621,7 +635,7 @@
   cu = getUptime(uptime);
   line = memory_allocation(300); /* Exessif. */

-  (void) sprintf(line, "Uptime: %d days, %d hours, %d min, %d seconds\nDownloaded: %lldKo\nSongs played: %ld\nReconnections: %ld\n", cu->day, cu->hour, cu->min, cu->sec, (long long unsigned int)((metacounter*metaint)/1024), cPigeStats->songs, cPigeStats->reconnections);
+  sprintf(line, "Uptime: %d days, %d hours, %d min, %d seconds\nDownloaded: %lldKo\nSongs played: %ld\nReconnections: %ld\n", cu->day, cu->hour, cu->min, cu->sec, (long long unsigned int)((metacounter*metaint)/1024), cPigeStats->songs, cPigeStats->reconnections);

   return line;
 }
@@ -636,16 +650,16 @@
   /* Pas terrible... */
   line = memory_allocation(300);

-  (void) sprintf(line, "[%dj %dh:%dm:%ds][%lldKo] ", cu->day, cu->hour, cu->min, cu->sec, (long long unsigned int)((metacounter * metaint) / 1024));
+  sprintf(line, "[%dj %dh:%dm:%ds][%lldKo] ", cu->day, cu->hour, cu->min, cu->sec, (long long unsigned int)((metacounter * metaint) / 1024));
   if (cmdLine->pige)
-    (void) sprintf(line+strlen(line), "%dh -> %dh ", getHour(), getHour()+1);
+    sprintf(line+strlen(line), "%dh -> %dh ", getHour(), getHour()+1);

   if (titre != NULL)
-    (void) sprintf(line+strlen(line), "%s", titre);
+    sprintf(line+strlen(line), "%s", titre);

   if (nexttitre != NULL)
     if (strstr(nexttitre, titre) == NULL)
-      (void) sprintf(line+strlen(line), " -> %s", nexttitre);
+      sprintf(line+strlen(line), " -> %s", nexttitre);

   return line;
 }
@@ -669,7 +683,7 @@

   if (serversPool == NULL)
   {
-    ERROR("Error: not any server defined.\n");
+    _ERROR("Error: not any server defined.\n");
     exit(1);
   }

@@ -677,7 +691,7 @@
   settings = getSettings(serversPool, &poolPosition);
   if (settings == NULL)
   {
-    ERROR("No valid settings in urlPool.\n");
+    _ERROR("No valid settings in urlPool.\n");
     exit(1);
   }

@@ -690,7 +704,7 @@
     settings = getSettings(serversPool, &poolPosition);
     if (settings == NULL)
     {
-      ERROR("No valid settings in urlPool.\n");
+      _ERROR("No valid settings in urlPool.\n");
       exit(1);
     }

@@ -708,7 +722,7 @@

   if (sendHeaders(server_socket, settings->mountpoint, 1) <= 0)
   {
-    ERROR("Error sending headers: 0 byte sent.\n");
+    _ERROR("Error sending headers: 0 byte sent.\n");
     goto RECO;
   }

@@ -731,21 +745,21 @@
   headers = memory_allocation(256);

   if (mountpoint == NULL)
-    (void) sprintf(headers, "GET / HTTP/1.0\r\n");
+    sprintf(headers, "GET / HTTP/1.0\r\n");
   else
-    (void) sprintf(headers, "GET %s HTTP/1.0\r\n", mountpoint);
+    sprintf(headers, "GET %s HTTP/1.0\r\n", mountpoint);

   if (metadata)
-    (void) strcat(headers, "Icy-MetaData:1\r\n");
+    strncat(headers, "Icy-MetaData:1\r\n", 16);
   else
-    (void) strcat(headers, "Icy-MetaData:0\r\n");
+    strncat(headers, "Icy-MetaData:0\r\n", 16);

-  (void) strcat(headers, "User-Agent:");
-  (void) strcat(headers, USER_AGENT);
-  (void) strcat(headers, "\r\n\r\n");
+  strncat(headers, "User-Agent:", 11);
+  strncat(headers, USER_AGENT, strlen(USER_AGENT));
+  strncat(headers, "\r\n\r\n", 4);

   ret = send(serversocket, headers, strlen(headers), 0);
-  (void) free(headers);
+  (void)free(headers);
   return ret;
 }

@@ -766,12 +780,12 @@
   retval = select(server_socket+1, &rfds, NULL, NULL, &timeout);
   if (retval <= 0)
   {
-    ERROR("Erreur de connexion!\n");
-    (void) server_close(server_socket);
+    _ERROR("Erreur de connexion!\n");
+    server_close(server_socket);
     return NULL;
   } else if (recv(server_socket, &c, 1, 0) != 1) {
-    ERROR("Error reading from shoutcast socket\n");
-    (void) server_close(server_socket);
+    _ERROR("Error reading from shoutcast socket\n");
+    server_close(server_socket);
     return NULL;
   }

@@ -786,10 +800,10 @@
     retval = select(server_socket+1, &rfds, NULL, NULL, &timeout);
     if (retval <= 0)
     {
-      (void) printf("Connection error in select. (readmeta)\n");
-      (void) free(buffer);
-      (void) free(meta);
-      (void) server_close(server_socket);
+      printf("Connection error in select. (readmeta)\n");
+      (void)free(buffer);
+      (void)free(meta);
+      server_close(server_socket);
       return NULL;
     } else {
       readsize = 0;
@@ -802,21 +816,21 @@
         retval = select(server_socket+1, &rfds, NULL, NULL, &timeout);
         if (retval <= 0)
         {
-          ERROR("Erreur de connexion!\n");
-          (void) server_close(server_socket);
+          _ERROR("Erreur de connexion!\n");
+          server_close(server_socket);
           return NULL;
         } else {
           size = recv(server_socket, buffer, (c*16 - readsize), 0);
           if (size <= 0)
           {
             VERBOSE("Megaproblem here.\n");
-            (void) server_close(server_socket);
+            server_close(server_socket);
           }
           readsize += size;
-          (void) strncat(meta, buffer, size);
+          strncat(meta, buffer, size);
         }
       }
-      (void) free(buffer);
+      (void)free(buffer);
     }
   } else {
     /* Title was not sent. */
@@ -903,13 +917,13 @@

   if (strlen(cursong->title) == 0)
   {
-    (void) free(cursong->title);
+    (void)free(cursong->title);
     cursong->title = NULL;
   }

   if (strlen(cursong->artist) == 0)
   {
-    (void) free(cursong->artist);
+    (void)free(cursong->artist);
     cursong->artist = NULL;
   }

@@ -956,7 +970,7 @@
   {
     return 1;
   } else {
-    ERROR("Error: return code from HTTP server: %d.\n", returnCode);
+    _ERROR("Error: return code from HTTP server: %d.\n", returnCode);
     return 0;
   }
 }
@@ -973,7 +987,7 @@
   char c;

   buffer = memory_allocation(256);
-  (void) memset(headers, 0, 4096);
+  memset(headers, 0, 4096);

   /* For select() it's a global struct. */
   timeout.tv_sec = SOCKET_TIMEOUT;
@@ -982,13 +996,13 @@
   retval = select(server_socket+1, &rfds, NULL, NULL, &timeout);
   if (retval <= 0)
   {
-    ERROR("Erreur de connexion in getHeaders().\n");
+    _ERROR("Erreur de connexion in getHeaders().\n");
     goto error;
   }

   if (recv(serversocket, buffer, 256, 0) <= 0)
   {
-    ERROR("Erreur de connexion.\n");
+    _ERROR("Erreur de connexion.\n");
     goto error;
   }

@@ -998,7 +1012,7 @@
     goto error;
   }

-  free(buffer);
+  (void)free(buffer);
   buffer = NULL;

   headers[0] = 0;
@@ -1015,7 +1029,7 @@
       goto error;

     } else if (recv(server_socket, &c, 1, 0) != 1) {
-      ERROR("Error reading data in getHeaders()\n");
+      _ERROR("Error reading data in getHeaders()\n");
       goto error;
     }

@@ -1033,13 +1047,13 @@
   headers[i] = 0;
   if (!strlen(headers)) { return NULL; }
   ptr = memory_allocation(strlen(headers)+1);
-  (void) strncpy(ptr, headers, strlen(headers));
+  strncpy(ptr, headers, strlen(headers));
   return ptr;

 error:
-  (void) server_close(server_socket);
+  server_close(server_socket);
   if (buffer != NULL)
-    free(buffer);
+    (void)free(buffer);

   return NULL;
 }
@@ -1053,7 +1067,7 @@
   chunk = memory_allocation(128);

   /* id3v1 tag */
-  (void) sprintf(chunk, "TAG");
+  sprintf(chunk, "TAG");

   /* Title */
   relativePointer = chunk + 3; /* 3 octets */
@@ -1061,13 +1075,13 @@
     padding = (30 - strlen(titre));
     if (padding < 0)
     {
-      (void) snprintf(relativePointer+3, 31, "%s", titre);
+      snprintf(relativePointer+3, 31, "%s", titre);
     } else {
-      (void) sprintf(relativePointer, "%s", titre);
-      (void) memset(relativePointer + (30-padding), 0, padding);
+      sprintf(relativePointer, "%s", titre);
+      memset(relativePointer + (30-padding), 0, padding);
     }
   } else {
-    (void) memset(relativePointer, 0, 30);
+    memset(relativePointer, 0, 30);
   }

   /* Artist */
@@ -1075,13 +1089,13 @@
   if (artiste) {
     padding = (30 - strlen(artiste));
     if (padding < 0) {
-      (void) snprintf(relativePointer, 31, "%s", artiste);
+      snprintf(relativePointer, 31, "%s", artiste);
     } else {
-      (void) sprintf(relativePointer, "%s", artiste);
-      (void) memset(relativePointer + (30 - padding), 0, padding);
+      sprintf(relativePointer, "%s", artiste);
+      memset(relativePointer + (30 - padding), 0, padding);
     }
   } else {
-    (void) memset(relativePointer, 0, 30);
+    memset(relativePointer, 0, 30);
   }

   /* Album (on met l'url de la radio ...) */
@@ -1089,27 +1103,27 @@
   if (radioName != NULL) {
     padding = (30 - strlen(radioName));
     if (padding < 0) {
-      (void) snprintf(relativePointer, 31, "%s", radioName);
+      snprintf(relativePointer, 31, "%s", radioName);
     } else {
-      (void) sprintf(relativePointer, "%s", radioName);
-      (void) memset(relativePointer + (30-padding), 0, padding);
+      sprintf(relativePointer, "%s", radioName);
+      memset(relativePointer + (30-padding), 0, padding);
     }
   } else {
-    (void) memset(relativePointer, 0, 30);
+    memset(relativePointer, 0, 30);
   }

   /* Year */
   relativePointer = relativePointer + 30; /* 93 octets */
-  (void) memset(relativePointer, 0, 4);
+  memset(relativePointer, 0, 4);

   /* Comment */
   relativePointer = relativePointer + 4; /* 97 octets */
-  (void) snprintf(relativePointer, 31, "by cPige http://ed.zehome.com/");
+  snprintf(relativePointer, 31, "by cPige http://ed.zehome.com/");
   /* Ouah la chance, ça rentre! */

   /* genre */
   relativePointer = relativePointer + 30; /* 127 octets */
-  (void) memset(relativePointer, 1, 1);
+  memset(relativePointer, 1, 1);

   /* 128 bytes ! We won :) */
   return chunk;
@@ -1145,13 +1159,13 @@
   VERBOSE("Using win32 sockets\n");
   WSADATA WSAData;
   if((res = WSAStartup(MAKEWORD(2,0), &WSAData)) != 0)
-    (void) printf("Impossible d'initialiser l'API Winsock 2.0\n");
+    printf("Impossible d'initialiser l'API Winsock 2.0\n");
 #endif

   VERBOSE("Entring Server_connect\n");

   /* on initialise la socket */
-  (void) memset(&serverSockAddr, 0, sizeof(serverSockAddr));
+  memset(&serverSockAddr, 0, sizeof(serverSockAddr));
   VERBOSE("Servername: %s\n", servername);
   VERBOSE("Port: %d\n", serverport);
   hostAddr = inet_addr(servername);
@@ -1159,15 +1173,15 @@
   /* If it is an ip address */
   if ((long) hostAddr != (long)-1)
   {
-    (void) memcpy(&serverSockAddr.sin_addr, &hostAddr, sizeof(hostAddr));
+    memcpy(&serverSockAddr.sin_addr, &hostAddr, sizeof(hostAddr));
   } else {
     serverHostEnt = gethostbyname(servername);
     if (serverHostEnt == NULL)
     {
-      ERROR("Error with gethostbyname. exiting.\n");
+      _ERROR("Error with gethostbyname. exiting.\n");
       return -1;
     }
-    (void) memcpy(&serverSockAddr.sin_addr, serverHostEnt->h_addr, serverHostEnt->h_length);
+    memcpy(&serverSockAddr.sin_addr, serverHostEnt->h_addr, serverHostEnt->h_length);
   }
   serverSockAddr.sin_port = htons(serverport);
   serverSockAddr.sin_family = AF_INET; /* FIXEME: IPv6 Support ? */
@@ -1175,7 +1189,7 @@
   /* creation de la socket */
   if ( (server_socket = socket(AF_INET, SOCK_STREAM, 0)) < 0)
   {
-    ERROR("Error creating shoutcast socket. Exiting.\n");
+    _ERROR("Error creating shoutcast socket. Exiting.\n");
     return -2;
   }

@@ -1185,7 +1199,7 @@
   /* requete de connexion */
   if(connect( server_socket, (struct sockaddr *)&serverSockAddr, sizeof(serverSockAddr)) < 0 )
   {
-    ERROR("Remote host connection failed.\n");
+    _ERROR("Remote host connection failed.\n");
     return -3;
   } else {
     VERBOSE("Connected.\n");
@@ -1200,8 +1214,8 @@
 int server_close (int serversocket)
 {
   VERBOSE("Closing server connection.\n");
-  (void) shutdown(server_socket, 2);
-  (void) close(server_socket);
+  shutdown(server_socket, 2);
+  close(server_socket);
   server_socket = 0;
   VERBOSE("Server connection closed.\n");
   return -1;
@@ -1209,7 +1223,7 @@

 void print_credits()
 {
-  (void) printf ("cPige %s by Laurent Coustet (c) 2005\n", VERSION);
+  printf ("cPige %s by Laurent Coustet (c) 2005\n", VERSION);
   return;
 }

@@ -1218,7 +1232,7 @@
   printf ("cPige help. cPige is a Laurent Coustet product.\n");
   printf ("For more informations about me and my software\n");
   printf ("please visit http://ed.zehome.com/\n\n");
-  printf ("Usage: ./cpige -h http://stream.frequence3.net:8000/ -d /home/ed/Pige -l logfile.log\n\n");
+  printf ("Usage: ./cpige -h http://stream-hautdebit.frequence3.net:8000/ -d /home/ed/Pige -l logfile.log\n\n");
   printf ("    -h host to connect to.\n");
   printf ("    -V show cpige Version.\n");
   printf ("    -d directory save stream to this directory.\n");
@@ -1229,7 +1243,9 @@
   printf ("    -l Path to logfile.\n");
   printf ("    -I [h|m] pige mode will cut on a hour by hour basis or min by min basis.\n");
   printf ("    -i nb how many \"nb\" hour(s) or minute(s) we should wait before cutting.\n");
+#ifndef WIN32
   printf ("    -n cPige will append xxxx to file in 'non pige mode', where xxxx is a number.\n");
+#endif
   /* printf ("    -L live mode (takes no argument), save entire file until 401. (not implemented)\n"); */
   return;
 }
@@ -1274,7 +1290,7 @@

   cmdLine->logFile    = "cpige.log";
   cmdLine->dir        = malloc(3);
-  strcpy(cmdLine->dir, "./");
+  strncpy(cmdLine->dir, "./", 3);

   for (i = 1; i < argc; i++)
   {
@@ -1284,8 +1300,8 @@
       /* from streamripper */
       if ((i == (argc-1)) || (argv[i+1][0] == '-'))
       {
-        (void) print_help();
-        (void) fprintf(stderr, "option %s requires an argument\n", argv[i]);
+        (void)print_help();
+        fprintf(stderr, "option %s requires an argument\n", argv[i]);
         exit(1);
       }
     }
@@ -1309,35 +1325,35 @@
       case 'd':
         i++;
         cmdLine->dir = memory_allocation(strlen(argv[i]) + 1 + 1);
-        (void) strncpy(cmdLine->dir, argv[i], strlen(argv[i]));
+        strncpy(cmdLine->dir, argv[i], strlen(argv[i]));

         if ((argv[i][(strlen(argv[i]))] != '/') && (argv[i][(strlen(argv[i]))] != '\\')) {
           cmdLine->dir[(strlen(cmdLine->dir))] = '/';
           cmdLine->dir[(strlen(cmdLine->dir)+1)] = 0;
         }
         break;
-
+#ifndef WIN32
       case 'n':
         cmdLine->useNumbers = 1;
         break;
-
+#endif
       case 'l':
         i++;
         cmdLine->logFile = memory_allocation(strlen(argv[i]) +1);
-        (void) strncpy(cmdLine->logFile, argv[i], strlen(argv[i]));
+        strncpy(cmdLine->logFile, argv[i], strlen(argv[i]));
         break;

       case 'P':
         if (cmdLine->live == 1)
         {
-          (void) printf("You can't use Live Mode and Pige mode simultaneously.\n");
+          printf("You can't use Live Mode and Pige mode simultaneously.\n");
           exit(-1);
         }
         if (cmdLine->pige == 1)
           break;

         cmdLine->pige = 1;
-        (void) printf("Pige Mode activated.\n");
+        printf("Pige Mode activated.\n");
         break;

       case 'q':
@@ -1371,7 +1387,7 @@
         if (cmdLine->pige != 1)
         {
           cmdLine->pige = 1;
-          (void) printf("Pige Mode activated.\n");
+          printf("Pige Mode activated.\n");
         }

         if ( *argv[i] == 'h' || *argv[i] == 'H' )
@@ -1399,7 +1415,7 @@
         if (cmdLine->pige != 1)
         {
           cmdLine->pige = 1;
-          (void) printf("Pige Mode activated.\n");
+          printf("Pige Mode activated.\n");
         }

         cmdLine->interval = atoi(argv[i]);
@@ -1455,6 +1471,8 @@
 /* Returns what song number we lastly saved
  * the stream to
  */
+
+#ifndef WIN32
 int getSongs(char *dir)
 {
   DIR *dirp;
@@ -1496,6 +1514,7 @@

   return songs;
 }
+#endif

 int checkInterval()
 {
@@ -1510,7 +1529,7 @@
       ret = 1;
   } else {
     ret = 1;
-    (void) fprintf(stderr, "Intenal Error: intervalType unknown!\n");
+    fprintf(stderr, "Intenal Error: intervalType unknown!\n");
   }

   return ret;
diff -ru cpige/cpige.h cpige-1.3-new/cpige.h
--- cpige/cpige.h	Fri Nov 25 09:46:32 2005
+++ cpige-1.3-new/cpige.h	Wed Nov 30 05:32:58 2005
@@ -126,7 +126,9 @@
 int mustCut(lastCut *cut);
 int getCloserInterval(int now, int interval);

+#ifndef WIN32
 int getSongs(char *dir);
+#endif

 stats *cPigeStats;

Only in cpige-1.3-new/: cpige.log
diff -ru cpige/debug.c cpige-1.3-new/debug.c
--- cpige/debug.c	Wed Nov 16 07:34:01 2005
+++ cpige-1.3-new/debug.c	Wed Nov 30 06:33:56 2005
@@ -35,8 +35,8 @@
   now = time(NULL);
   if (now == (time_t)-1)
   {
-    (void) fprintf(stderr, "Can't log line: time() failed.\n");
-    (void) perror("time");
+    fprintf(stderr, "Can't log line: time() failed.\n");
+    perror("time");
     return;
   }

@@ -48,7 +48,7 @@
 #endif
   if (curTime == NULL)
   {
-    fprintf(stderr, "Can't log line: localtime_r() failed.\n");
+    fprintf(stderr, "Can't log line: localtime(_r)() failed.\n");
     return;
   }

@@ -62,14 +62,14 @@
   sprintf(z_format, "[%.2d:%.2d:%.2d] [DEBUG PRIO %d][File: %s][Line: %d] %s", curTime->tm_hour, curTime->tm_min, curTime->tm_sec, _debug_priority, _debug_filename, _debug_line, _debug_message);

 #ifndef WIN32
-  free(curTime);
+  (void)free(curTime);
 #endif

   vfprintf(_Debug_Output, z_format, ap);

   fflush(_Debug_Output);

-  free(z_format);
+  (void)free(z_format);
   va_end(ap);
   return;
 }
diff -ru cpige/debug.h cpige-1.3-new/debug.h
--- cpige/debug.h	Wed Nov 16 07:34:01 2005
+++ cpige-1.3-new/debug.h	Wed Nov 30 06:22:29 2005
@@ -15,7 +15,7 @@

 #include <stdio.h>

-#define DEBUGLEVEL          3
+#define DEBUGLEVEL          1

 #define DEBUG_ERR           1
 #define DEBUG_MSG           2
@@ -23,7 +23,7 @@

 #define DEBUG(priority, ...) _DEBUG(__LINE__, __FILE__, priority, __VA_ARGS__)

-#define ERROR(...)   DEBUG(DEBUG_ERR, __VA_ARGS__)
+#define _ERROR(...)   DEBUG(DEBUG_ERR, __VA_ARGS__)
 #define MESSAGE(...) DEBUG(DEBUG_MSG, __VA_ARGS__)
 #define VERBOSE(...) DEBUG(DEBUG_ALL, __VA_ARGS__)

diff -ru cpige/pool.c cpige-1.3-new/pool.c
--- cpige/pool.c	Sat Nov 12 05:06:53 2005
+++ cpige-1.3-new/pool.c	Wed Nov 30 06:33:31 2005
@@ -32,9 +32,9 @@

   if (new->settings == NULL)
   {
-    ERROR("Error parsing URL `%s'.\n", url);
-    free(new->url);
-    free(new);
+    _ERROR("Error parsing URL `%s'.\n", url);
+    (void)free(new->url);
+    (void)free(new);
     return pool;
   }

diff -ru cpige/tool.c cpige-1.3-new/tool.c
--- cpige/tool.c	Sat Nov 12 05:06:53 2005
+++ cpige-1.3-new/tool.c	Wed Nov 30 06:33:15 2005
@@ -104,9 +104,9 @@

 void printServSettings(serverSettings_t *set)
 {
-  (void) printf("host: %s\n", set->serverAddr);
-  (void) printf("port: %d\n", set->port);
-  (void) printf("mp: %s\n", set->mountpoint);
+  printf("host: %s\n", set->serverAddr);
+  printf("port: %d\n", set->port);
+  printf("mp: %s\n", set->mountpoint);
   return;
 }
2005-12-02 00:09:16 +00:00
Tom McLaughlin
531ef35a4c Add SHA256 to my BSD# ports
Project by:	BSD# <http://www.mono-project.com/Mono:FreeBSD>
2005-12-01 03:39:25 +00:00
Alexey Dokuchaev
3a847796b3 SHA256'ify my ports. 2005-11-30 14:01:29 +00:00
Emanuel Haupt
6229fea156 Add SHA256 hashes to my ports 2005-11-30 14:01:14 +00:00
Jean-Yves Lefort
724fe38c0f The linuxulator does not support Linux amd64 code. When ${ARCH} is
amd64, use the i386 RPM packages.
2005-11-29 10:06:02 +00:00
Joe Marcus Clarke
7450a7749a Update to 0.9.2. 2005-11-28 19:12:18 +00:00
Bill Fenner
bc1e74ae68 Make sure to apply the distfile group to the whole ${MASTER_SITE_foo}.
Switch to PATCH_SITE_SUBDIR instead of substituting %SUBDIR%.

Approved by:	Roman Bogorodskiy (MAINTAINER)
2005-11-28 19:03:07 +00:00
Sergey Matveychuk
e6d6d84207 - Fix build. Unbreak.
PR:		ports/89641
Submitted by:	Daniel Roethlisberger (maintainer)
2005-11-28 11:09:22 +00:00
Edwin Groothuis
b91e9ae856 fix maintainer: oyvind@moll.no 2005-11-27 11:47:46 +00:00
Adam Weinberger
5e322f5e1e Update to 1.6.4.
Thanks to:	edwin's version check script
2005-11-27 01:06:06 +00:00
Edwin Groothuis
46aaad32ff Mark as deprecated for 2006-03-31.
1.0.8 is the 2000 version, 1.4.3 is current. Please send
	patches or take maintainership!
2005-11-27 00:41:51 +00:00
Edwin Groothuis
d4e104c011 Upgrade to 1.3 2005-11-26 21:55:23 +00:00
Roman Bogorodskiy
fc0bd34d40 Bump PORTREVISION because of my previous commit.
Pointed out by:		kris
2005-11-26 21:40:00 +00:00
Michael Johnson
6110bbedcc - Update to 1.1.11 2005-11-26 21:36:06 +00:00
Jean-Yves Lefort
4590e077a7 Add linux-openal. 2005-11-26 19:30:21 +00:00
Jean-Yves Lefort
f080d1bc66 - Update to 1.3.0-4
- Take maintainership

Approved by:	maintainer
2005-11-26 19:28:57 +00:00
Jean-Yves Lefort
bb2305702b Add linux-alsa-lib. 2005-11-26 19:25:48 +00:00
Jean-Yves Lefort
814a70f23d Add linux-libvorbis. 2005-11-26 19:23:10 +00:00
Jean-Yves Lefort
c8d295d6c0 Add linux-libogg. 2005-11-26 19:20:39 +00:00