Bug 93373 - bsd.port.mk: introduce a new keyword for PLIST: @stopdaemon
Summary: bsd.port.mk: introduce a new keyword for PLIST: @stopdaemon
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: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-15 07:40 UTC by Sergey Matveychuk
Modified: 2007-01-31 16:12 UTC (History)
0 users

See Also:


Attachments
bsd.port.mk.diff (909 bytes, patch)
2006-02-15 07:40 UTC, Sergey Matveychuk
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Matveychuk freebsd_committer freebsd_triage 2006-02-15 07:40:03 UTC
	
	We have a USE_RC_SUBR macro which when defined make a port system
	installs a stratup script. For FreeBSD < 7.0 it's installed as
	'name.sh' and for >=7.0 as just 'name'.
	This caused a problem for a stop daemon command that common
	looks like:
	@unexec %D/etc/rc.d/name.sh stop 2>/dev/null > /dev/null || true

	The problem is obvious: the command will not work on systems >=7.0.

Fix: I offer introduce a new keyword '@stopdaemon name' that will
	be replaced with an according command.
Comment 1 Sergey Matveychuk 2006-02-15 07:50:23 UTC
According to ports/93265 a condition should be changed like that:

-.if ${OSVERSION} >= 700007
+.if (${OSVERSION} >= 700007 || (${OSVERSION} < 700000 && ${OSVERSION}
>= 600101))

-- 
Sem.
Comment 2 Sergey Matveychuk freebsd_committer freebsd_triage 2006-02-15 07:51:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

portmgr territiry
Comment 3 Pav Lucistnik freebsd_committer freebsd_triage 2007-01-23 19:58:26 UTC
State Changed
From-To: open->analyzed

Accepted for a test build on the cluster.
Comment 4 dfilter service freebsd_committer freebsd_triage 2007-01-31 14:07:32 UTC
pav         2007-01-31 14:07:24 UTC

  FreeBSD ports repository

  Modified files:
    .                    CHANGES Makefile 
    Mk                   bsd.java.mk bsd.port.mk bsd.tcl.mk 
  Log:
  bsd.port.mk
   [1] Remove DEPENDS
   [2] Add a new pkg-plist keyword @stopdaemon
   [3] Provide rc.subr script suffix as RC_SUBR_SUFFIX
   [4] Add USE_CDRTOOLS to abstract dependency on sysutils/cdrtool[-cjk]
   [5] Add DOS2UNIX_REGEX, allowing to pass a filename regex to CRLF replacement
       routine
   [6] Support partially translated manpages in MAN* variables
   [7] Fix USE_LDCONFIG on ports with @cwd in pkg-plist
   [8] Remove support for XFree86 3.X
   [9] Add user settable WITH_DEBUG flag that turns on -g in CFLAGS and resets
       STRIP
   [9] Fix `make install' to refuse overwriting of older version of the port
  [10] New category ports-mgmt
  [11] New category gnustep
  [12] Removed category picobsd
  
  bsd.java.mk
  [13] Remove deprecated syntax
  
  bsd.tcl.mk
  [14] Provide TCL_VER when USE_TK[_BUILD] is defined. Fixes cad/netgen
  
  ports/Makefile
  [15] Make csup default `make update' method on FreeBSD 6.2 and up
  
  PR:             ports/99742 [1], ports/93373 [2], ports/100915 [3],
                  ports/105161 [4], ports/106029 [5], ports/106252 [6],
                  ports/106235 [7], ports/100939 [9], ports/97507 [10],
                  ports/103931 [11], ports/106921 [12], ports/104136 [13],
                  ports/105215 [15]
  Submitted by:   sem [1] [2], Matthias Andree <matthias.andree@gmx.de> [3],
                  nork [4], pav [5] [7] [14], Nick Barkas <snb@threerings.net> [6],
                  flz [8], gabor [9], shaun [10], erwin [12], hq [13],
                  Gurkan Sengun <gurkan@linuks.mine.nu> [11]
  
  Revision  Changes    Path
  1.65      +40 -2     ports/CHANGES
  1.97      +4 -0      ports/Makefile
  1.75      +9 -59     ports/Mk/bsd.java.mk
  1.547     +108 -120  ports/Mk/bsd.port.mk
  1.6       +2 -1      ports/Mk/bsd.tcl.mk
_______________________________________________
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 Pav Lucistnik freebsd_committer freebsd_triage 2007-01-31 16:12:07 UTC
State Changed
From-To: analyzed->closed

Committed, thanks!