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.
According to ports/93265 a condition should be changed like that: -.if ${OSVERSION} >= 700007 +.if (${OSVERSION} >= 700007 || (${OSVERSION} < 700000 && ${OSVERSION} >= 600101)) -- Sem.
Responsible Changed From-To: freebsd-ports-bugs->portmgr portmgr territiry
State Changed From-To: open->analyzed Accepted for a test build on the cluster.
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"
State Changed From-To: analyzed->closed Committed, thanks!