- Add staging support.
- Do not mute install commands.
- Remove automatic PLIST generation.
- Do not use /usr/sbin/pkg for pkgng detection; if you run it in batch it
may stop with an interactive prompt on 9.x.
The oschooser.pl script is called by setup.sh, and it uses os_list.txt
to detect the operating system.
Conditions in os_list.txt are evaluated sequentially until a match
is found. It may happen that a Linux-only condition matches before
FreeBSD; for example, if the directory /usr/portage exists then
webmin will detect FreeBSD as Gentoo Linux.
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.
utility to retrieve mount point data. These dinamically linked
executables do not work on recent FreeBSD releases due to missing
libraries.
- Remove all unused binaries.
- Fix a couple of warnings in the source file and always build the
version that is actually used.
- While I'm here, use SUB_FILES to improve PKGMESSAGE.
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.
Apparently the whole tarball was re-rolled to add a check for Solaris 11 and above.
webmin-1.480/web-lib-funcs.pl:
< $gconfig{'os_type'} eq 'solaris' ||
---
> $gconfig{'os_type'} eq 'solaris' &&
> $gconfig{'os_version'} >= 11 ||
PR: ports/135635
Submitted by: Jim <jwagner at graffadmin.com>