pkgsrc/sysutils/webmin/Makefile
obache 64f877f670 Update Webmin to 1.340.
pkgsrc chages: use full distfile instead of non version indivisual module files.

Version 1.340 (8 April 2007)

        * Change the default Blue Framed theme to match the style of www.webmin.com, and generally look nicer.
        * User interface cleanups in various modules (Apache, Backup Config, Webmin Configuration and others), adding tabs to reduce the size of pages and converting code to use ui-lib.pl.
        * The Perl Modules module can now fetch RPM or Deb packaged modules from YUM or APT, where available.
        * Added easy fields for sending SMS messages in the System and Server Status module (for US carriers that have email to SMS gateways).
        * Replace the old HTMLarea widget for HTML editing in the File Manager and Read User Mail modules with Xinha.
        * Linux quotas are now set with the setquota command, which shows up nicely in the actions log.
        * Optimizations to speed up getting the hostname and Postfix config settings.
        * Improved YUM and Redhat Network support in the Software Packages module.
        * View the detailed change log.

Version 1.330 (27 February 2007)

        * If the underlying OS is upgraded after Webmin is installed, a message is displayed on the main page prompting you to fix it.
        * Added a feature in the BIND module for updating an IP address in multiple zones at once.
        * The File Manager now automatic detects HTML files and launches the correct editor.
        * Improved the LDAP module's support for large databases.
        * When there are too many tables or databases to display in the MySQL and PostgreSQL modules, a menu for selecting a specific table is shown instead.
        * Added functions to ui-lib.pl for tabs and hidden table sections.
        * Added support for comments to the Shorewall module, and improved logging
        * The Webmin Actions Log module can now rollback selected files changed by an action, rather than all of them.
        * View the detailed change log.

Version 1.320 (21 January 2007)

        * Added the PHP Configuration module for managing php.ini.
        * Changed the default theme for new installs to the Blue Framed theme.
        * Improved handling of large file uploads so that they are no longer read into memory by Webmin webserver. Also added a progress bar window for tracking uploads.
        * Added checkboxes for deleting multiple objects at once in several modules.
        * Changed all rows of links (like Select all / Invert selection / Add something) to put | characters between them, to improve readability.
        * Big improvements in Windows support in various modules and the Webmin core.
        * Enhanced the System and Server Status module to allow monitoring of all hosts in a Webmin server group.
        * View the detailed change log.

Version 1.310 (28 November 2006)

        * Big improvements in Ubuntu support, including the Bootup and Shutdown module, mounting filesystems specified with the UUID syntax, and various default module config changes.
        * Re-designed the Simple Blue theme to use frames.
        * Added support for IPv6 addresses in modules where the underlying servers allow them.
        * Supported HFS and FATX filesystems under Linux.
        * MySQL backups can now be compressed with gzip or bzip2.
        * Added file locking and logging to the Postfix module, and improved access control features.
        * Added checkboxes and buttons for mass deletion in the Cron and DHCP modules.
        * Added access control options for the Info window to the File Manager module, and a feature to allow extraction of ZIP files on the server.
        * View the detailed change log.

Version 1.300 (15 September 2006)

        * Fixed security holes that allow the source of Webmin programs to be viewed, and allow cross-site-scripting attacks.
        * XML-RPC clients can now call Webmin API functions.
        * On systems with no root password, users with sudo access can login to Webmin as root.
        * Improved support for latest Debian and Fedora releases, including the new IPtables config system in Debian 3.1.
        * The file manager can now extract tar.bz2 files, store a history of entered paths, and show the total size of a directory.
        * The Filesystem Backup module can backup and restore TAR and dump files over FTP.
        * MySQL server variables and connections can be viewed and changes.
        * Table data can be sorted by clicking on headers in the MySQL and PostgreSQL modules.
        * Improved support for PostgreSQL 8, including editing tables with no OID field.
        * Sendmail and Postfix aliases and maps can have a comment associated with each entry.
        * Squid 2.6 is now supported.
        * View the detailed change log.

Version 1.290 (29 June 2006)

        * Fixed a security hole that would allow a remote attacker to view any file on the system.
        * Added the LDAP Client module, for setting up a Linux system to get users and groups from an LDAP server.
        * Added support for sending email when a group is over quota to the Disk Quotas module.
        * Several other small fixes for bugs found since 1.280.
        * View the detailed change log.

Version 1.280 (16 June 2006)

        * Added the Simple Blue theme, a less graphics-heavy design which may eventually become the default. This theme takes advantage of changes in many modules to use highlighting on table rows.
        * Updated the Apache module to support version 2.2.0.
        * Updated the various operating-specific NFS server modules to support mass deletion of exports, and to internationalize those that were using hard-coded text strings.
        * Updated various modules to allow deletion of multiple objects (such as table fields, Samba shares, PostgreSQL grants, Squid ACLs and so on) at once.
        * Added configuration options to the Read User Mail module for the date format, pager arrow locations, timezone and separate message window mode.
        * Updated the MySQL module to support views in MySQL version 5.
        * Enhanced the System and Server Status module to allow the selection of multiple hosts for each monitor, added a monitor type for testing an SQL server, and updated the Network Traffic monitor to support FreeBSD.
        * Fixed a security hole that allows remote viewing of any file on the system when Webmin is run on a Windows server.
        * View the detailed change log.
2007-04-21 05:22:57 +00:00

122 lines
4.2 KiB
Makefile

# $NetBSD: Makefile,v 1.20 2007/04/21 05:22:57 obache Exp $
.include "version.mk"
DISTNAME= webmin-${WBM_VERSION}
CATEGORIES= sysutils www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=webadmin/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.webmin.com/
COMMENT= Perl web server and CGI for Unix system administration
DEPENDS+= p5-Net-SSLeay-[0-9]*:../../security/p5-Net-SSLeay
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_LANGUAGES= # empty
NO_BUILD= yes
USE_TOOLS+= perl:run
WEBMIN_DIR= ${PREFIX}/share/webmin
WEBMIN_EGDIR= ${PREFIX}/share/examples/webmin
WEBMIN_ETCDIR= ${PKG_SYSCONFDIR}
WEBMIN_VARDIR= ${VARBASE}/webmin
FILES_SUBST+= WEBMIN_DIR=${WEBMIN_DIR:Q}
FILES_SUBST+= WEBMIN_EGDIR=${WEBMIN_EGDIR:Q}
FILES_SUBST+= WEBMIN_ETCDIR=${WEBMIN_ETCDIR:Q}
FILES_SUBST+= WEBMIN_VARDIR=${WEBMIN_VARDIR:Q}
MESSAGE_SUBST+= WEBMIN_DIR=${WEBMIN_DIR:Q}
BUILD_DEFS+= VARBASE
WEBMIN_MINIMAL_MODULES= acl cron init inittab man proc servers webmin webminlog
PKG_SYSCONFSUBDIR= webmin
OWN_DIRS_PERMS+= ${WEBMIN_VARDIR} ${ROOT_USER} ${ROOT_GROUP} 0700
.for f in config install-dir perl-path var-path version
CONF_FILES+= ${WEBMIN_EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
.endfor
.for m in ${WEBMIN_MINIMAL_MODULES}
OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/${m} \
${ROOT_USER} ${ROOT_GROUP} 0700
CONF_FILES_PERMS+= ${WEBMIN_EGDIR}/${m}/config \
${PKG_SYSCONFDIR}/${m}/config \
${ROOT_USER} ${ROOT_GROUP} 0600
.endfor
.for f in miniserv.pem
CONF_FILES_PERMS+= ${WEBMIN_DIR}/${f} ${PKG_SYSCONFDIR}/${f} \
${ROOT_USER} ${ROOT_GROUP} 0600
.endfor
.for f in miniserv.conf miniserv.users webmin.acl
CONF_FILES_PERMS+= ${WEBMIN_EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} \
${ROOT_USER} ${ROOT_GROUP} 0600
.endfor
.for f in reload restart start stop
CONF_FILES_PERMS+= ${WEBMIN_EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} \
${ROOT_USER} ${ROOT_GROUP} 0755
.endfor
RCD_SCRIPTS= webmin
CHECK_INTERPRETER_SKIP+= share/webmin/webmin-gentoo-init
.include "../../security/openssl/buildlink3.mk"
post-extract:
${CP} ${FILESDIR}/acl_config-dragonfly ${WRKSRC}/acl/config-dragonfly
${CP} ${FILESDIR}/init_config-dragonfly ${WRKSRC}/init/config-dragonfly
${CP} ${FILESDIR}/man_config-dragonfly ${WRKSRC}/man/config-dragonfly
${CP} ${FILESDIR}/proc_config-dragonfly ${WRKSRC}/proc/config-dragonfly
pre-configure:
cd ${WRKSRC} && \
ptn="@"`${ECHO} ${WEBMIN_MINIMAL_MODULES}|sed -e 's/ /@/g'`"@" && \
for m in `${ECHO} */module.info | sed -e 's/\/module.info//g'`; do \
case $${ptn} in \
*@$${m}@*) ;; \
*) rm -rf $${m} ;; \
esac; \
done && \
for t in `${ECHO} */theme.info | sed -e 's/\/theme.info//g'`; do\
rm -rf $${t}; \
done && \
touch ${WRKSRC}/minimal-install
do-configure:
${SED} -e "s,@WEBMIN_EGDIR@,${WEBMIN_EGDIR},g" \
-e "s,@WEBMIN_VARDIR@,${WEBMIN_VARDIR},g" \
-e "s,@PERL5@,"${PERL5:Q}",g" \
${FILESDIR}/setup-pre.sh > ${WRKSRC}/setup-pre.sh
cd ${WRKSRC}; for file in acl/config acl/config-*; do \
${SED} -e "s,^ssleay=.*,ssleay=${SSLBASE}/bin/openssl," \
"$$file" > "$$file.new"; \
${MV} -f "$$file.new" "$$file"; \
done
${FIND} ${WRKSRC} -name "*.orig" -print | ${XARGS} ${RM} -f
# Fix up the path to the config directory in the installed example config
# files.
#
do-install:
${SH} ${WRKSRC}/setup.sh ${WEBMIN_DIR}
${SED} -e "/^env_WEBMIN_CONFIG=/s,${WEBMIN_EGDIR},${WEBMIN_ETCDIR}," \
-e "/^logout=/s,${WEBMIN_EGDIR},${WEBMIN_ETCDIR}," \
-e "/^userfile=/s,${WEBMIN_EGDIR},${WEBMIN_ETCDIR}," \
-e "/^keyfile=/s,${WEBMIN_EGDIR},${WEBMIN_ETCDIR}," \
${WEBMIN_EGDIR}/miniserv.conf > ${WRKDIR}/miniserv.conf
for file in reload start stop; do \
${SED} -e "s,${WEBMIN_EGDIR}/miniserv.conf,${WEBMIN_ETCDIR}/miniserv.conf," \
${WEBMIN_EGDIR}/$$file > ${WRKDIR}/$$file; \
done
cd ${WEBMIN_EGDIR} && ${RM} -f miniserv.conf reload start stop
for file in miniserv.conf; do \
${INSTALL_DATA} ${WRKDIR}/$$file ${WEBMIN_EGDIR}/$$file; \
${RM} -f ${WRKDIR}/$$file; \
done
for file in reload start stop; do \
${INSTALL_SCRIPT} ${WRKDIR}/$$file ${WEBMIN_EGDIR}/$$file; \
${RM} -f ${WRKDIR}/$$file; \
done
${RM} -f ${WEBMIN_EGDIR}/miniserv.pem ${WEBMIN_EGDIR}/module.infos.cache
cd ${WEBMIN_DIR} && ${CHMOD} 0400 setup.pl setup.sh setup-pre.sh
.include "../../mk/bsd.pkg.mk"