Commit graph

33 commits

Author SHA1 Message Date
Doug Barton
0175383f0a Fix a few "bad example" problems in the rc.d scripts that have been
propogated by copy and paste.

1. Primarily the "empty variable" default assignment, which is mostly
${name}_flags="", but fix a few others as well.
2. Where they are not already documented, add the existence of the _flags
(or other deleted empties) option to the comments, and in some cases add
comments from scratch.
3. Replace things that look like:
prefix=%%PREFIX%%
command=${prefix}/sbin/foo
to just use %%PREFIX%%. In many cases the $prefix variable is only used
once, and in some cases it is not used at all.
4. In a few cases remove ${name}_flags from command_args
5. Remove a long-stale comment about putting the port's rc.d script in
/etc/rc.d (which is no longer necessary).

No PORTREVISION bumps because all of these changes are noops.
2009-07-15 16:56:10 +00:00
Brooks Davis
0e20754e22 Upgrade to squeezecenter 7.3.3.
PR:		ports/136326
Submitted by:	Mark Knight <markk at knigma dot org>
2009-07-06 03:48:42 +00:00
Brooks Davis
8e951cbf34 Upgrade to 7.3.2.
Fix support for AAC files.

Switch back to using sox to handle ogg-vorbis files.  The upstream made
this change because non-default sample rate files end up sounding funny
when oggdec is used.

Submitted by:	Hans Soonieus <hans@soonieus.nl>  (except sox change)
2009-01-23 21:59:48 +00:00
Brooks Davis
d5498cb642 Add %%SLIMDBDIR%%/cache/InstalledPlugins/Plugins to the list of plugin
directories.  This should fix the installation of plugins via the
Extension Downloader. [1]

Rename Slim/Utils/OS/FreeBSD.pm as Slim/Utils/OS/Custom.pm and store it
directly rather than as a patch to make it easier to edit.  This reduces
the number of patches required.

Remove the Slim/Utils/OS/Unix.pm patch since it's now replaced by code in
Custom.pm.

Submitted by:	Hans Soonieus <hans at soonieus dot nl> and
		Mark Knight <markk at knigma dot org> [1]
2009-01-10 21:49:13 +00:00
Brooks Davis
856903091a Upgrade to the Squeezecenter 7.3.1. [1]
Remove the ability to set the default skin using the port.  The current
implemenation breaks the install wizard and I don't want to hold this
commit up further. [2]

Submitted by:	Alex Varju <freebsd dash ports at varju dot ca> [1]
Reported by:	Nicolai Petri <nicolai at catpipe dot net> [2]
2009-01-06 17:09:39 +00:00
Brooks Davis
b2f60ceeec Fix the LastFM plugin. It was broken due to the FreeBSD version of JSON::XS
being newer than expected and the general workaround not being implemented in
this plugin.

Submitted by:	tdb
2008-10-07 14:51:08 +00:00
Brooks Davis
161a9a3a2c Upgrade to squeezecenter 7.2 which has:
- Added support for Squeezebox Boom
 - Squeezebox and Transporter firmware updates to fix a number of issues
 - Improved performance in web interface
 - New and improved alarm clock
 - Improved Rhapsody behavior

Fix the startup script when /var/*/squeezecenter are symlinks.
2008-09-02 19:51:04 +00:00
Brooks Davis
cacd04b622 Upgrade to 7.1, mostly a bugfix release.
Fix an error in the rc.d script where a typo caused a couple variable
names not to expand.  Some configuration settings may need to be restored or
/var/db/squeezecenter/%{name}.conf (literally) my be renamed to
squeezecenter.conf.
2008-08-11 16:57:00 +00:00
Brooks Davis
7952d5226b Remove most bare references to "squeezecenter" in files subject to
substitution.  Now I'm ready for what ever they decide to call 8.0. :)
This also fixes the newsyslog.conf entry created by pkg-install.

Reported by:	Tim Bishop <tim at bishnet dot net> (newsyslog.conf)
2008-06-24 16:10:23 +00:00
Brooks Davis
6bacfafd46 Fix the softsqueeze wrapper script. The path was wrong in general and more
wrong when PREFIX was set to something other than /usr/local.

Also, invoke the Java VM wrapper as java instead of javavm.

Reported by:	Tim Bishop <tim at bishnet dot net> (path issue)
2008-06-21 17:38:13 +00:00
Brooks Davis
be47bed580 The pkg-install script incorrectly listed the pid file path as
/var/run/${name}.pid.  It's actually /var/run/${name}/${name}.pid.

Note, users who have previously installed this port will need to manually fix
their netsyslog.conf files.

Reported by:	Hans Brand <hans at marcans dot nl>
2008-04-30 23:18:04 +00:00
Brooks Davis
4d1add55bb Install squeezecenter with more normal permissions using the COPYTREE_SHARE
macro.

Use rc.subr's user and group startup functionality instead of the poorly
supported code in squeezecenter.

Switch to the default log layout where mutiple log files end up in
/var/log/slimserver.  Changing location is required due to the startup
change and the split layout is easier to handle.
2008-04-04 15:48:14 +00:00
Brooks Davis
bfc8bac928 Introduce a port of SqueezeCenter 7.0.0, the latest release of the software
formerly know as SlimServer (audio/slimserver).

The most visiable change is a new AJAX heavy default skin.  A
configuration option is available to install with the Classic skin
instead (the new Default is broken with Konqueror).  Other changes
can be found in the release notes:

http://www.slimdevices.com/changelog7.html

The SqueezeCenter port does not overlap with SlimServer so both
will remain for the time being.

Repocopy by:	marcus (ports/122138)
2008-04-02 17:30:27 +00:00
Brooks Davis
fb51519057 Upgrade to slimserver 6.5.3 see change log for details.
http://www.slimdevices.com/Changelog6.html

Add largely untested support for changing the slimserver user, group,
and database/cache directory with the SLIMUSER, SLIMGROUP, and SLIMDBDIR
make variables.  Make sure the user/group exists before install if you
use a non-standard one.
2007-07-15 03:47:20 +00:00
Brooks Davis
ce7c1934f9 Upgrade to 6.5.2. Basicly a bugfix release. See the changelog for
details:  http://www.slimdevices.com/Changelog6.html
2007-06-07 23:38:12 +00:00
Brooks Davis
8fe7848586 Fix build for people who have somehow managed to install Perl without a
working /usr/bin/perl.
2007-01-28 16:58:42 +00:00
Brooks Davis
4f911a8c6a Upgrade to slimserver 6.5.1. Mostly minor improvements. See the
release notes for details http://www.slimdevices.com/Changelog6.html.

Fix a longstanding bug that caused mDNS support to not actually work.

Take advantage of improvements in rc.subr to reduce the amount of code
in the shutdown path including removing the pgrep dependancy.
2007-01-19 00:19:39 +00:00
Brooks Davis
fd5da4c7ec Upgrade slimserver to version 6.5.0.
The biggest change is that the database is now MySQL instead of SQLite.
Slimserver starts it's own MySQL instance so you don't need to deal with
MySQL configuration, but both the client and server are now
dependencies.  For more info see the change log at:

	http://www.slimdevices.com/Changelog6.html

Most of the binary perl modules are now port dependencies.  YAML-Syck is
not yet because it didn't work.  I suspect a version issues (the ports
version is newer).
2006-10-05 02:56:56 +00:00
Brooks Davis
9cdc3f36bc Upgrade to 6.3.1 allowing the removal of a patch and fixing some other
bugs.

PR:		ports/100884
Submitted by:	Mark Knight <markk at knigma dot org>
2006-07-26 15:53:24 +00:00
Brooks Davis
7a5897af75 Upgrade slimserver to 6.3.0.
PR:		ports/99789
Submitted by:	Mark Knight <markk at knigma dot org>
2006-07-25 20:24:38 +00:00
Doug Barton
c49d1a3273 Remove the FreeBSD KEYWORD from all rc.d scripts where it appears.
We have not checked for this KEYWORD for a long time now, so this
is a complete noop, and thus no PORTREVISION bump. Removing it at
this point is mostly for pedantic reasons, and partly to avoid
perpetuating this anachronism by copy and paste to future scripts.
2006-02-20 20:47:50 +00:00
Brooks Davis
ed48a53180 Upgrade to 6.2.1. Mostly a bugfix release.
Also, switch the style of patch to Bin/build-perl-modules.pl to remove
lines rather than commenting them out.
2005-11-20 02:32:13 +00:00
Brooks Davis
f8a4271544 Override hardcoding of libexpat search paths in internal build of
XML-Parser to allow an alternate LOCALBASE to work.

Reported by:	dosirak (via kris)
2005-10-18 19:45:10 +00:00
Brooks Davis
5271aee4b5 - Upgrade to slimserver 6.1.1.
- Don't quote IGNORE message.
- Don't put pid file in /var/run/slimserver/.  It's now created early
  enough to put it directly in /var/run/.
2005-07-22 22:48:55 +00:00
Brooks Davis
5de5eb0e44 Upgrade to 6.0.2.
The most important fix is probably avoiding database corruption that
caused the wrong artists to be associated with songs/albums.  For full
details, see the Changelog.html or:

http://www.slimdevices.com/su_changelog.html
2005-04-27 22:28:07 +00:00
Brooks Davis
2f92cc0aa4 Improve the upgrade process a bit. It was previously possible for
the log file to be owned by root because most files were opened/created
before the uid was switched to non-root.  That's not the case anymore
so we need to be sure those files are owned by slimserv:slimserv.
This isn't a problem with new installed because they are made
correctly in the rc script, but on upgrades it may be an issue.
Handle this by resetting the permissions of existing files and
directories during the install.

While I'm here, remove some leftover directory creation.  It properly
belongs in the startup script so the files will be created if /var
is clear.

Bump port revision.
2005-04-21 20:05:53 +00:00
Brooks Davis
af5ef7aea3 Upgrade to 6.0.1.
Stop trying to use ports versions of all the CPAN bits and do things the way
the vendor expects.  It's less elegant, but much easier to maintain.  Do build
our own versions of binary modules so we have a chance on all platforms, but
use a slightly modified version of their script to do so (mostly make it
non interactive and fetch the files from DISTDIR/DIST_SUBDIR rather
than direct from slimdevices each build).

Mark RESTRICTED.  The distfiles and the build contain non-restributable bits.
Some of the people building packages for linux are working on a way around
this (not distributing the firmware and using alternate images), but that's
no here yet.

Nagged by:	many :-)
Prodded by:	my dying cd player
2005-04-21 05:17:02 +00:00
Brooks Davis
882b757055 The versions of Audio::WMA and Audio:Wav in ports are hopelessly
outdated, use the version that comes with slimserver instead.

Reported by:	joe
Pointy hat to:	brooks
2005-02-17 18:00:29 +00:00
Brooks Davis
acd9ef5c7f Use SUB_FILES and SUB_LIST instead of hand rolled sed to generate
softsqueeze.sh and slimserver.sh.  Files were repo-copyed to from *.sh
to *.sh.in.

Repo-copy by:	marcus
PR:		76519
2005-01-27 06:00:52 +00:00
Brooks Davis
f13dcde71c Various enhancements and fixes for slimserver:
- Use a new system to track which files in the CPAN directory should be
   installed.  As a side effect, generate most of the RUN_DEPENDS list
   at runtime.
 - Add a script to start softsqueeze.  The javavm port and a Jave VM
   must be installed to the script to actually work.  A dependency was
   not added at this point because that's a huge barrier.
 - Fix a bug in EXCEPTFILES processing.
 - Patch the configuration parsing code to default the cache and
   playlist directories to locations under /var/db/slimserver instead
   of the weird defaults.  This will fix the cache on new installs. [0]
 - Bump port revision.

Reported by:	Kraig Vander Berg <kraig at woodshoes dot net> [0]
2004-12-31 00:17:05 +00:00
Brooks Davis
2345c09156 Upgrade to 5.3.0. This fixes a minior security problem where
"a thirdparty web page could cause your browser to trigger changes to
setup."  The other major change is support for the new graphical display
shipping standard on all Squeezeboxes.

Because I had it already done in perforce and doing an upgrade without
it would be more difficult, I have also modified the port to auto
generate its pkg-plist.

Approved by:	portmgr (linimon)
2004-09-23 05:21:42 +00:00
Brooks Davis
b2ba59343e - Upgrade to 5.1.5.
- Create empty config file on the first startup to allow
  settings to be saved.
- Fix shutdown on 4.x and some 5.x systems. [0]
- Remove unnecessicary p5-URI dependency, p5-libwww handles
  it for us.
- Add p5-Template-Toolkit dependency.
- Remove some EXCLUDE_FILES already handled by EXCLUDE_DIRS
- Fix message about SLIMDIR. [0]
- Add a newsyslog.conf entry for the log file. [0]
- Add a pkg-message warning about the open defaults of the server. [0]

PR:		ports/65799
Submitted by:   Dan Pelleg <daniel at pelleg.org> [0]
Approved by:	krion (mentor)
2004-05-03 22:59:03 +00:00
Kirill Ponomarev
29b87cde37 Add slimserver 5.1.1,
Slim Devices SlimServer streams a variety of audio formats
including MP3, Ogg, and FLAC to Squeezebox and SLIMP3 network
players as well as most software players.

PR:		ports/65601
Submitted by:	Brooks Davis <brooks@freebsd.org>
2004-04-16 13:13:30 +00:00