Commit graph

67 commits

Author SHA1 Message Date
Pawel Pekala
a24a7d72f6 Update to version 5.43
PR:		ports/169593
Submitted by:	Jeremy Chadwick <jdc@koitsu.org>
Approved by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
2012-07-03 14:31:11 +00:00
Guido Falsi
26e3c2d224 - Fix scanning of ada disks on ata busses
- Bump PORTREVISION

PR:		ports/168523
Submitted by:	Konstantin Kukushkin <dark@rambler-co.ru>
Approved by:	maintainer timeout (18 days)
Approved by:	tabthorpe (mentor)
2012-06-19 20:36:11 +00:00
Michael Scheidell
5bcfde2b25 - Honor NOPORTDOCS env var
- No PORTREVISION bump

PR:		ports/165670
Submitted by:	scheidell (me)
Approved by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer), gabor (mentor, implicit)
2012-03-04 11:36:28 +00:00
Doug Barton
16b13f3515 This change has various simplifications/improvements for
the port. Most importantly, it's currently installing the rc.d
script from the source, rather than the fixed one in files/.

1. Remove 6.x compatibility hack
2. Use the PORTDOCS macro
3. Actually install the rc.d script in files/
4. Simplify pkg-plist
5. For the rc.d script:
   a. Move it to the standard location, after LOGIN
   b. Add KEYWORD nojail per the script in the distfiles
   c. Put the standard arguments in their usual order/formats
   d. Simplify the assignments of pidfile and required_files
   e. Use command_args for required arguments, don't abuse _flags
   f. The test for -p in smartd_flags should be a start_precmd,
      we frown on running any code unconditionally.
      Also, improve this check if -p is first.
   g. Bring the reload and report options from the distfile version,
      and simplify them.

PR:		ports/165167
Submitted by:	me
Approved by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
2012-02-15 08:46:57 +00:00
Doug Barton
83eb2c3700 In the rc.d scripts, change assignments to rcvar to use the
literal name_enable wherever possible, and ${name}_enable
when it's not, to prepare for the demise of set_rcvar().

In cases where I had to hand-edit unusual instances also
modify formatting slightly to be more uniform (and in
some cases, correct). This includes adding some $FreeBSD$
tags, and most importantly moving rcvar= to right after
name= so it's clear that one is derived from the other.
2012-01-14 08:57:23 +00:00
Dirk Meyer
b98ad75f78 - fix handling of cd*
PR:		162383
Submitted by:	Christoph Mallon
Approved by:	(maintainer timeout)
Feature safe:	yes
2011-12-01 20:53:31 +00:00
Xin LI
c3e2dd8fa2 Import 2 important fixes from upstream (SVN):
- Fix a crash with SCSI devices on FreeBSD9 [r3468]
 - Fix weird bugs caused by LSI firmware with SATA devices
   [r3466]

PR:		ports/162276
Submitted by:	Alex Samorukov <samm os2.kiev.ua> (maintainer)
2011-11-03 22:13:21 +00:00
Eitan Adler
7840ceb42f - fix distinfo after rerolled distfiles
PR:		ports/161889
Submitted by:	Kenji Rikitake <kenji.rikitake@acm.org>
Approved by:	bapt,sahil (mentors, implicit)
2011-10-23 13:16:19 +00:00
Philippe Audeoud
7d930b7e67 - Update to 5.42
- Remove useless patch

PR:		ports/161859
Submitted by:	Alex Samorukov <samm _AT_ os2.kiev.ua> (maintainer)
2011-10-21 07:37:58 +00:00
Chris Rees
d1680780d5 Fix with atacam driver.
PR:		ports/161018
Submitted by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
Obtained from:	https://sourceforge.net/apps/trac/smartmontools/ticket/198
2011-09-27 18:59:51 +00:00
Sunpoet Po-Chuan Hsieh
bf00685d47 - Update periodic script output
- Bump PORTREVISION for PLIST change

PR:		ports/159022
Submitted by:	Ari <listat2011@apz.fi>
Approved by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
2011-07-22 06:38:53 +00:00
Romain Tartière
7c0d8674a8 Improve periodic script to display a short report when a disk attribute failed
in the past but is now back to normal.

PR:		ports/158630
Submitted by:	romain
Approved by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
2011-07-04 09:09:39 +00:00
Sunpoet Po-Chuan Hsieh
60792b3ad1 - Update to 5.41
- Sort CONFIGURE_ARGS

Changes:	http://smartmontools.svn.sourceforge.net/viewvc/smartmontools/tags/RELEASE_5_41/smartmontools/CHANGELOG
PR:		ports/157762
Submitted by:	Jin-Sih Lin <linpct@gmail.com>
Approved by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
2011-06-14 18:44:10 +00:00
Martin Wilke
a9481afc8a - Get Rid MD5 support 2011-03-19 12:38:54 +00:00
Sunpoet Po-Chuan Hsieh
a97112d243 - Update to 5.40
- Add LICENSE
- Update pkg-descr

Changes:	http://sourceforge.net/apps/trac/smartmontools/browser/tags/RELEASE_5_40/smartmontools/NEWS
PR:		ports/151532
Submitted by:	Alex Samorukov <samm@os2.kiev.ua> (maintainer)
Approved by:	pgollucci (mentor, implicit)
2010-10-19 11:31:13 +00:00
Martin Wilke
20113704c6 - Add support for periodic ciss devices health monitoring
PR:		146100
Submitted by:	Ondra Knezour <knezour@weboutsourcing.cz>
Approved by:	maintainer
2010-05-10 06:17:23 +00:00
Doug Barton
1d6b4b3f91 Begin the process of deprecating sysutils/rc_subr by
s#. %%RC_SUBR%%#. /etc/rc.subr#
2010-03-27 00:15:24 +00:00
Martin Wilke
6ecdd1e9a2 - Update to 5.39.1
- Pass maintainership to submitter

PR:		144052
Submitted by:	Alex Samorukov <samm@os2.kiev.ua>
Approved by:	marck@ (maintainer)
2010-03-10 13:12:53 +00:00
Dmitry Marakasov
e5a04ac37d - More tweaks of periodic script
Submitted by:	marck (maintainer)
2010-02-07 12:31:11 +00:00
Dmitry Marakasov
d213ce11a6 - Fix periodic script
PR:		143551
Submitted by:	marck (maintainer)
2010-02-04 13:22:00 +00:00
Xin LI
05d6bc7bcc Update to 5.39.
This version is long awaited and the important improvements related to
FreeBSD are:

 - USB device type autodetection for some devices
   http://sourceforge.net/apps/trac/smartmontools/wiki/Supported_USB-Devices
 - Support for HighPoint RocketRAID controllers
 - Support RAID controllers using /dev/pass devices
 - Support CHECK_POWER_MODE and WRITE_LOG
 - Fix CCISS file descriptor leak
 - New device type detection algorithm on FreeBSD, not based on filename
 - Support for the adaX (ATA on CAM bus) devices on FreeBSD 8.0 and higher

PR:		ports/141371
Submitted by:	Alex Samorukov <samm os2 kiev ua>
Approved by:	marck (maintainer)
2009-12-23 18:55:52 +00:00
Dmitry Marakasov
a3f1a47248 - Add CONFLICTS against newly added sysutils/smartmontools-devel 2009-12-08 01:27:48 +00:00
Alexander Logvinov
6eaf7a345f - Add a patch that makes shure the data buffers used to read smart
attributes and logs do not straddle page boundaries

PR:		ports/138540
Submitted by:	Brad Huntting <huntting AT glarp.com>
Approved by:	tabthorpe, glarkin (mentors, implicit), marck (maintainer)
2009-09-11 13:41:59 +00:00
Alexander Logvinov
32a0ad1ce2 - Fix command 13 in ata_command_interface()
PR:		ports/137177
Submitted by:	marck (maintainer)
Approved by:	tabthorpe (mentor)
2009-08-31 13:45:57 +00:00
Dmitry Marakasov
3eb168f46b - Switch SourceForge ports to the new File Release System: categories starting with P,R,S 2009-08-22 00:35:32 +00:00
Wesley Shields
eed1fb4787 - Fix questionable correctness of autodetect procedure and switch to using
kern.disks in place of ls /dev/da*[0-9].

PR:		ports/135213
Submitted by:	Dmitry Morozovsky <marck@freebsd.org> (maintainer)
2009-06-03 18:12:30 +00:00
Martin Wilke
30083f5673 - Fix typo in smart periodic script.
- Add simple autodetect mode (works only for regular disks).

PR:		134954
Submitted by:	maintainer
2009-05-29 12:13:26 +00:00
Pav Lucistnik
ebe1a389f0 - Over to marck, a new maintainer 2009-05-25 12:28:25 +00:00
Pav Lucistnik
5b0c008d13 - Support SATA disks attached to a SAS controller
- Compile with -O to prevent SCSI bus resets on amd64

Submitted by:	ru
2009-05-21 07:47:02 +00:00
Pav Lucistnik
76613624de - Revert previous change
Requested by:	wollman
2008-12-31 16:58:11 +00:00
Pav Lucistnik
0df75946ac - Improve periodic script
PR:		ports/129985
Submitted by:	Alex Kozlov <spam@rm-rf.kiev.ua>
2008-12-28 09:20:51 +00:00
Pav Lucistnik
f1fdf32a0c - Now comes with a periodic script
PR:		ports/129722
Submitted by:	wollman
2008-12-19 13:14:29 +00:00
Rong-En Fan
741aa71483 Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
2008-08-21 06:18:49 +00:00
Pav Lucistnik
24d4609420 - Remove CISS option, the necessary support is now included in the vendor code
Reported by:	mi
2008-04-19 16:35:29 +00:00
Pav Lucistnik
0bb59eff20 - Update to 5.38
- Mark the CISS patch as broken, it wasn't update to 5.38
2008-03-25 15:39:33 +00:00
Pav Lucistnik
9cd588d1cf - Allow smartctl to interact with SCSI /dev/pass devices, thus enabling it to
work with RAID controllers that expose disks via these devices.

Submitted by:	scottl
2007-10-21 16:18:51 +00:00
Rong-En Fan
f935a609c5 - Set --mandir and --infodir in CONFIGURE_ARGS if the configure script
supports them.  This is determined by running ``configure --help'' in
  do-configure target and set the shell variable _LATE_CONFIGURE_ARGS
  which is then passed to CONFIGURE_ARGS.
- Remove --mandir and --infodir in ports' Makefile where applicable
  Few ports use REINPLACE_CMD to achieve the same effect, remove them too.
- Correct some manual pages location from PREFIX/man to MANPREFIX/man
- Define INFO_PATH where necessary
- Document that .info files are installed in a subdirectory relative to
  PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and
  subdirectory detection.

PR:		ports/111470
Approved by:	portmgr
Discussed with:	stas (Mk/*), gerald (info related stuffs)
Tested by:	pointyhat exp run
2007-07-23 09:36:51 +00:00
Pav Lucistnik
4cac24ee80 - Fix smartd to detect drives if the first drive has two-digit number (like
ad10)
- Recognize some new Western Digital Caviar SE drives

PR:		ports/110806
Submitted by:	marck
2007-03-25 16:08:55 +00:00
Pav Lucistnik
d146de2fad - Add optional ciss(4) support, defaults to off
Submitted by:	mi
2007-03-03 13:05:41 +00:00
Pav Lucistnik
fb3b507acd - Update to 5.37 2007-01-06 20:13:10 +00:00
Pav Lucistnik
56a7bb6846 - Take maintainership 2006-09-05 08:26:06 +00:00
Mark Linimon
437c1578c6 Reset inactive maintainer who has not responded to email.
Hat:		portmgr
2006-09-05 07:11:22 +00:00
Renato Botelho
f19cf20235 - Update to 5.36 [1]
- Use USE_RC_SUBR=smartd
- Add pkg-message to SUB_FILES facility

PR:		ports/96206 [1]
Submitted by:	Dmitry Morozovsky <marck@freebsd.org> [1]
Reworked by:	garga
Approved by:	maintainer
2006-05-11 17:02:59 +00:00
Volker Stolz
3fb406a3bd As of FreeBSD 6.x, the full path to the device is required. This is backwards
compatible with behaviour on 5.x.

Approved by: maintainer
2006-03-15 08:16:30 +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
Edwin Groothuis
32487a10ad SHA256ify
Approved by: krion@
2006-01-24 01:06:45 +00:00
Doug Barton
ffde46cbf9 Now that new style rc.d scripts are being run as part of the
base rcorder, hard coded variable values in these scripts
are overriding the values in /etc/rc.conf[.local] (due to
the way that variables from the latter are read at boot time).

Therefore, change the boot scripts to set default values only
if the variable is unset in /etc/rc.conf[.local]. This will
allow the service to start at boot time if it's been enabled
as the user would expect.

This change will be a noop for users who have systems that
have not yet been upgraded to the new rc.d code in the base.

In many cases there are other variables in the scripts that
should get similar treatment, however I did not change
anything other than the _enable lines. I'll leave the rest
up to the maintainers to do as they see fit.

Bump PORTREVISION to make sure that users and packages
pick up this change.
2006-01-07 06:29:57 +00:00
Florent Thoumie
f298b3e7bd - It seems --configfile is no-op, replace by -c.
Submitted by:	Jeremy Chadwick <freebsd@jdc.parodius.com>
2005-11-18 11:46:38 +00:00
Florent Thoumie
4b9e410cf7 - Tweak rcng script to allow alternative location for the configuration file.
PR:		ports/83135
Reported by:	Jeremy Chadwick <freebsd@jdc.parodius.com>
Fix/Tested by:	flz
Approved by:	maintainer timeout (3 months)
2005-11-17 22:04:25 +00:00
Sam Lawrance
7983d22598 Add patches for twa (3ware 9000 series controller) support.
Bump PORTREVISION.

PR:		ports/84948
Submitted by:	Rudolf Cejka <cejkar@fit.vutbr.cz>
Approved by:	martines@rochester.rr.com (maintainer, timeout 5 weeks)
2005-10-10 12:39:59 +00:00