- Update to 0.9 - Support staging - USE_MYSQL no longer needed, PHP MySQLi can do everything - Handle config.php better - Clean up pkg-message, information is in the installed README anyway - Clean up pkg-descr, list newer and more interesting features
Responsible Changed From-To: freebsd-ports-bugs->antoine Take
Author: antoine Date: Sun Dec 1 20:03:09 2013 New Revision: 335437 URL: http://svnweb.freebsd.org/changeset/ports/335437 Log: - Update to 0.9 - Stage support - Use OPTIONS helpers PR: ports/183928 Submitted by: Jake Smith (maintainer) Modified: head/net-mgmt/phpipam/Makefile head/net-mgmt/phpipam/distinfo head/net-mgmt/phpipam/pkg-descr head/net-mgmt/phpipam/pkg-plist Modified: head/net-mgmt/phpipam/Makefile ============================================================================== --- head/net-mgmt/phpipam/Makefile Sun Dec 1 19:54:40 2013 (r335436) +++ head/net-mgmt/phpipam/Makefile Sun Dec 1 20:03:09 2013 (r335437) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= phpipam -PORTVERSION= 0.8 +PORTVERSION= 0.9 CATEGORIES= net-mgmt MASTER_SITES= SF MASTER_SITE_SUBDIR= ${PORTNAME} @@ -27,34 +27,24 @@ SUB_LIST= DISTNAME=${DISTNAME} OPTIONS_DEFINE= LDAP -USE_MYSQL= yes -USE_PHP= ctype mysqli session gmp +USE_PHP= ctype gettext gmp json mysqli pcntl session simplexml +LDAP_USE= PHP=ldap WANT_PHP_WEB= yes -NO_STAGE= yes -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MLDAP} -USE_PHP+= ldap -.endif - -.include <bsd.port.pre.mk> - pre-install: - @${MV} ${WRKSRC}/${CFGFILE} ${WRKSRC}/${CFGFILE}.sample + @if [ -f ${WRKSRC}/${CFGFILE} ]; then \ + ${MV} ${WRKSRC}/${CFGFILE} ${WRKSRC}/${CFGFILE}.sample ; \ + fi do-install: cd ${WRKSRC} ; \ for src in $$( ${FIND} . ! -name '*.orig') ; do \ - dst=${WWWDIR}$${src#.} ; \ + dst=${STAGEDIR}${WWWDIR}$${src#.} ; \ if ${TEST} -d "$$src" ; then \ ${MKDIR} "$$dst" ; \ else \ - ${INSTALL_DATA} -o root -g wheel "$$src" "$$dst" ; \ + ${INSTALL_DATA} "$$src" "$$dst" ; \ fi \ done -post-install: - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> +.include <bsd.port.mk> Modified: head/net-mgmt/phpipam/distinfo ============================================================================== --- head/net-mgmt/phpipam/distinfo Sun Dec 1 19:54:40 2013 (r335436) +++ head/net-mgmt/phpipam/distinfo Sun Dec 1 20:03:09 2013 (r335437) @@ -1,2 +1,2 @@ -SHA256 (phpipam-0.8.tar) = 5038afefef5b376cf4ed382bb45b15ba48fa58cb0bd9813c4a57866f58bf8f88 -SIZE (phpipam-0.8.tar) = 3996672 +SHA256 (phpipam-0.9.tar) = 1158ba32649727e57d48f87d51303c55f3dab8c77916a3a68c0bf5b1d7eb65f8 +SIZE (phpipam-0.9.tar) = 4907008 Modified: head/net-mgmt/phpipam/pkg-descr ============================================================================== --- head/net-mgmt/phpipam/pkg-descr Sun Dec 1 19:54:40 2013 (r335436) +++ head/net-mgmt/phpipam/pkg-descr Sun Dec 1 20:03:09 2013 (r335437) @@ -1,23 +1,18 @@ phpipam is an open-source web IP address management application. Its goal is to provide light and simple IP address management -application. It is ajax-based using jQuery libraries, it uses php -scripts and javascript and some HTML5/CSS3 features, so some modern -browser is preferred to be able to display javascript quickly and -correctly... +application. It is ajax-based using jQuery libraries, php scripts, +javascript and some HTML5/CSS3 features. -Features and tools: -- Section / Subnet separation -- Subnet nesting; -- IPv4/IPv6 support -- Displays free range and number of clients -- Subnet statistics -- User management +- IPv4 / IPv6 address management +- ICMP status updates, subnet scanning and status showing +- Domain authentication (AD) / OpenLDAP authentication +- Visual subnet display +- VRF support +- VLAN management +- RIPE import +- Import / export XLS files - E-Mail notification with IP details -- Import IP addresses from XLS / CSV file -- Export IP database to XLS file -- IPv4/IPv6 calculator -- Search IP database -- IP request module -- Custom IP address fields +- IP database search +- Custom IP/subnet/userVLAN address fields WWW: http://phpipam.net/ Modified: head/net-mgmt/phpipam/pkg-plist ============================================================================== --- head/net-mgmt/phpipam/pkg-plist Sun Dec 1 19:54:40 2013 (r335436) +++ head/net-mgmt/phpipam/pkg-plist Sun Dec 1 20:03:09 2013 (r335437) @@ -1,9 +1,21 @@ -@unexec if cmp -s %%WWWDIR%%/config.php.sample %%WWWDIR%%/config.php; then rm -f %%WWWDIR%%/config.php; fi %%WWWDIR%%/.htaccess %%WWWDIR%%/INSTALL.txt %%WWWDIR%%/README %%WWWDIR%%/UPDATE -%%WWWDIR%%/config.php.sample +%%WWWDIR%%/api/README +%%WWWDIR%%/api/_examples/apiClient.php +%%WWWDIR%%/api/_examples/apiConfig.php +%%WWWDIR%%/api/_examples/createNewSection.php +%%WWWDIR%%/api/_examples/deleteSection.php +%%WWWDIR%%/api/_examples/getAllSections.php +%%WWWDIR%%/api/_examples/getAllSubnetsInSection.php +%%WWWDIR%%/api/_examples/getSubnetById.php +%%WWWDIR%%/api/_examples/updateSection.php +%%WWWDIR%%/api/controllers/Sections.php +%%WWWDIR%%/api/controllers/Subnets.php +%%WWWDIR%%/api/index.php +%%WWWDIR%%/api/models/section.php +%%WWWDIR%%/api/models/subnet.php %%WWWDIR%%/css/bootstrap/bootstrap-custom.css %%WWWDIR%%/css/bootstrap/bootstrap-responsive.css %%WWWDIR%%/css/bootstrap/bootstrap-responsive.min.css @@ -18,6 +30,7 @@ %%WWWDIR%%/css/images/info.png %%WWWDIR%%/css/images/lan.png %%WWWDIR%%/css/images/li-bg.png +%%WWWDIR%%/css/images/li.png %%WWWDIR%%/css/images/loading_dash.gif %%WWWDIR%%/css/images/note.png %%WWWDIR%%/css/images/phpipam-favicon.pxm @@ -32,6 +45,8 @@ %%WWWDIR%%/css/images/subnetSlaveTdBG.png %%WWWDIR%%/css/images/subnetSubSlaveTdBG.png %%WWWDIR%%/css/images/ul-bg.png +%%WWWDIR%%/css/images/ul-li-bg-active.png +%%WWWDIR%%/css/images/ul-li-bg.png %%WWWDIR%%/css/images/userAdmin.png %%WWWDIR%%/css/images/userIP.png %%WWWDIR%%/css/images/userNormal.png @@ -44,18 +59,20 @@ %%WWWDIR%%/css/img/glyphicons-halflings-white.png %%WWWDIR%%/css/img/glyphicons-halflings.png %%WWWDIR%%/db/SCHEMA.sql -%%WWWDIR%%/db/UPDATE-v0.6.sql -%%WWWDIR%%/db/UPDATE-v0.7.sql -%%WWWDIR%%/functions/locale/changes.txt -%%WWWDIR%%/functions/locale/template.tar -%%WWWDIR%%/functions/locale/en/LC_MESSAGES/phpipam.mo -%%WWWDIR%%/functions/locale/en/LC_MESSAGES/phpipam.po -%%WWWDIR%%/functions/locale/sl_SI/LC_MESSAGES/phpipam.mo -%%WWWDIR%%/functions/locale/sl_SI/LC_MESSAGES/phpipam.po -%%WWWDIR%%/functions/locale/template/LC_MESSAGES/phpipam.mo -%%WWWDIR%%/functions/locale/template/LC_MESSAGES/phpipam.po +%%WWWDIR%%/db/UPDATE-v0.81.sql +%%WWWDIR%%/db/UPDATE-v0.82.sql +%%WWWDIR%%/db/UPDATE-v0.83.sql +%%WWWDIR%%/db/UPDATE-v0.84.sql +%%WWWDIR%%/db/UPDATE-v0.85.sql +%%WWWDIR%%/db/UPDATE-v0.86.sql +%%WWWDIR%%/db/UPDATE-v0.87.sql +%%WWWDIR%%/db/UPDATE-v0.88.sql +%%WWWDIR%%/db/UPDATE-v0.89.sql +%%WWWDIR%%/db/UPDATE-v0.891.sql +%%WWWDIR%%/db/UPDATE-v0.9.sql %%WWWDIR%%/functions/PEAR/Net/IPv4.php %%WWWDIR%%/functions/PEAR/Net/IPv6.php +%%WWWDIR%%/functions/PEAR/Net/Ping.php %%WWWDIR%%/functions/PEAR/OLE/ChainedBlockStream.php %%WWWDIR%%/functions/PEAR/OLE/OLE.php %%WWWDIR%%/functions/PEAR/OLE/PPS.php @@ -97,6 +114,26 @@ %%WWWDIR%%/functions/functions-tools.php %%WWWDIR%%/functions/functions-upgrade.php %%WWWDIR%%/functions/functions.php +%%WWWDIR%%/functions/locale/changes.txt +%%WWWDIR%%/functions/locale/de_DE/LC_MESSAGES/phpipam.mo +%%WWWDIR%%/functions/locale/de_DE/LC_MESSAGES/phpipam.po +%%WWWDIR%%/functions/locale/en/LC_MESSAGES/phpipam.mo +%%WWWDIR%%/functions/locale/en/LC_MESSAGES/phpipam.po +%%WWWDIR%%/functions/locale/fr_FR/LC_MESSAGES/phpipam.mo +%%WWWDIR%%/functions/locale/fr_FR/LC_MESSAGES/phpipam.po +%%WWWDIR%%/functions/locale/nl_NL/LC_MESSAGES/phpipam.mo +%%WWWDIR%%/functions/locale/nl_NL/LC_MESSAGES/phpipam.po +%%WWWDIR%%/functions/locale/sl_SI/LC_MESSAGES/phpipam.mo +%%WWWDIR%%/functions/locale/sl_SI/LC_MESSAGES/phpipam.po +%%WWWDIR%%/functions/phpMailer/LICENSE +%%WWWDIR%%/functions/phpMailer/PHPMailerAutoload.php +%%WWWDIR%%/functions/phpMailer/README.md +%%WWWDIR%%/functions/phpMailer/class.phpmailer.php +%%WWWDIR%%/functions/phpMailer/class.pop3.php +%%WWWDIR%%/functions/phpMailer/class.smtp.php +%%WWWDIR%%/functions/phpMailer/composer.json +%%WWWDIR%%/functions/scan/DiscoveryPingScript.php +%%WWWDIR%%/functions/scan/config-scan.php %%WWWDIR%%/functions/scripts/Thread.php %%WWWDIR%%/functions/scripts/pingCheck.php %%WWWDIR%%/functions/scripts/resolveIPaddresses.php @@ -190,19 +227,15 @@ %%WWWDIR%%/site/admin/CSVimportSubmit.php %%WWWDIR%%/site/admin/CSVimportVerify.php %%WWWDIR%%/site/admin/adminMenu.php -%%WWWDIR%%/site/admin/customIPFields.php -%%WWWDIR%%/site/admin/customIPFieldsEdit.php -%%WWWDIR%%/site/admin/customIPFieldsEditResult.php -%%WWWDIR%%/site/admin/customIPFieldsOrder.php -%%WWWDIR%%/site/admin/customSubnetFieldsEdit.php -%%WWWDIR%%/site/admin/customSubnetFieldsEditResult.php -%%WWWDIR%%/site/admin/customSubnetFieldsOrder.php -%%WWWDIR%%/site/admin/customUserFieldsEdit.php -%%WWWDIR%%/site/admin/customUserFieldsEditResult.php -%%WWWDIR%%/site/admin/customUserFieldsOrder.php -%%WWWDIR%%/site/admin/customVLANFieldsEdit.php -%%WWWDIR%%/site/admin/customVLANFieldsEditResult.php -%%WWWDIR%%/site/admin/customVLANFieldsOrder.php +%%WWWDIR%%/site/admin/api.php +%%WWWDIR%%/site/admin/apiEdit.php +%%WWWDIR%%/site/admin/apiEditResult.php +%%WWWDIR%%/site/admin/apiKeyGenerate.php +%%WWWDIR%%/site/admin/csvtemplate.php +%%WWWDIR%%/site/admin/customFields.php +%%WWWDIR%%/site/admin/customFieldsEdit.php +%%WWWDIR%%/site/admin/customFieldsEditResult.php +%%WWWDIR%%/site/admin/customFieldsOrder.php %%WWWDIR%%/site/admin/databaseInstall.php %%WWWDIR%%/site/admin/databaseUpgrade.php %%WWWDIR%%/site/admin/export.php @@ -238,6 +271,8 @@ %%WWWDIR%%/site/admin/manageDevices.php %%WWWDIR%%/site/admin/manageDevicesEdit.php %%WWWDIR%%/site/admin/manageDevicesEditResult.php +%%WWWDIR%%/site/admin/manageFolderEdit.php +%%WWWDIR%%/site/admin/manageFolderEditSubmit.php %%WWWDIR%%/site/admin/manageRequestEdit.php %%WWWDIR%%/site/admin/manageRequestResult.php %%WWWDIR%%/site/admin/manageRequestResultMail.php @@ -245,6 +280,8 @@ %%WWWDIR%%/site/admin/manageSection.php %%WWWDIR%%/site/admin/manageSectionEdit.php %%WWWDIR%%/site/admin/manageSectionEditResult.php +%%WWWDIR%%/site/admin/manageSectionOrder.php +%%WWWDIR%%/site/admin/manageSectionOrderResult.php %%WWWDIR%%/site/admin/manageSubnet.php %%WWWDIR%%/site/admin/manageSubnetEdit.php %%WWWDIR%%/site/admin/manageSubnetEditResult.php @@ -272,22 +309,27 @@ %%WWWDIR%%/site/admin/settings.php %%WWWDIR%%/site/admin/settingsEdit.php %%WWWDIR%%/site/admin/showAll.php +%%WWWDIR%%/site/admin/userADsearchForm.php +%%WWWDIR%%/site/admin/userADsearchResult.php %%WWWDIR%%/site/admin/users.php %%WWWDIR%%/site/admin/usersEditEmailNotif.php %%WWWDIR%%/site/admin/usersEditPrint.php %%WWWDIR%%/site/admin/usersEditResult.php %%WWWDIR%%/site/admin/verifyDatabase.php %%WWWDIR%%/site/admin/versionCheck.php -%%WWWDIR%%/site/dashboard/access_logs.php -%%WWWDIR%%/site/dashboard/error_logs.php %%WWWDIR%%/site/dashboard/index.php -%%WWWDIR%%/site/dashboard/statistics.php -%%WWWDIR%%/site/dashboard/top10_hosts.php -%%WWWDIR%%/site/dashboard/top10_percentage.php +%%WWWDIR%%/site/dashboard/widgets/access_logs.php +%%WWWDIR%%/site/dashboard/widgets/error_logs.php +%%WWWDIR%%/site/dashboard/widgets/statistics.php +%%WWWDIR%%/site/dashboard/widgets/top10_hosts_v4.php +%%WWWDIR%%/site/dashboard/widgets/top10_hosts_v6.php +%%WWWDIR%%/site/dashboard/widgets/top10_percentage.php %%WWWDIR%%/site/error.php %%WWWDIR%%/site/footer.php %%WWWDIR%%/site/install/index.php %%WWWDIR%%/site/ipaddr/exportSelectFields.php +%%WWWDIR%%/site/ipaddr/folderDetails.php +%%WWWDIR%%/site/ipaddr/folderDetailsSubnets.php %%WWWDIR%%/site/ipaddr/ipAddressPrintTable.php %%WWWDIR%%/site/ipaddr/ipAddressPrintTableOrphaned.php %%WWWDIR%%/site/ipaddr/ipAddressPrintTableSlaves.php @@ -298,9 +340,20 @@ %%WWWDIR%%/site/ipaddr/modifyIpAddress.php %%WWWDIR%%/site/ipaddr/modifyIpAddressCheck.php %%WWWDIR%%/site/ipaddr/moveIpAddress.php +%%WWWDIR%%/site/ipaddr/pingCheck.php +%%WWWDIR%%/site/ipaddr/printVlans.php +%%WWWDIR%%/site/ipaddr/scan/subnetScan.php +%%WWWDIR%%/site/ipaddr/scan/subnetScanDiscoveryPing.php +%%WWWDIR%%/site/ipaddr/scan/subnetScanDiscoveryPingResult.php +%%WWWDIR%%/site/ipaddr/scan/subnetScanUpdatePing.php +%%WWWDIR%%/site/ipaddr/sectionAllSubnets.php %%WWWDIR%%/site/ipaddr/subnetDetails.php %%WWWDIR%%/site/ipaddr/subnetDetailsGraph.php %%WWWDIR%%/site/ipaddr/subnetDetailsSlaves.php +%%WWWDIR%%/site/ipaddr/vlanDetails.php +%%WWWDIR%%/site/ipaddr/vlanSubnets.php +%%WWWDIR%%/site/ipaddr/vrfDetails.php +%%WWWDIR%%/site/ipaddr/vrfSubnets.php %%WWWDIR%%/site/login/index.php %%WWWDIR%%/site/login/loginCheck.php %%WWWDIR%%/site/login/loginForm.php @@ -309,10 +362,10 @@ %%WWWDIR%%/site/login/requestIPresult.php %%WWWDIR%%/site/sections.php %%WWWDIR%%/site/subnets.php +%%WWWDIR%%/site/tools/devices.php %%WWWDIR%%/site/tools/instructions.php %%WWWDIR%%/site/tools/ipCalc.php %%WWWDIR%%/site/tools/ipCalcResult.php -%%WWWDIR%%/site/tools/devices.php %%WWWDIR%%/site/tools/requestIPform.php %%WWWDIR%%/site/tools/resolveDNS.php %%WWWDIR%%/site/tools/search.php @@ -327,19 +380,27 @@ %%WWWDIR%%/site/tools/vlan.php %%WWWDIR%%/site/tools/vrf.php %%WWWDIR%%/site/upgrade/index.php +%%WWWDIR%%/site/upgrade/upgradePrint.php %%WWWDIR%%/site/userMenu.php %%WWWDIR%%/upgrade/index.php +@unexec if cmp -s %D/%%WWWDIR%%/config.php.sample %D/%%WWWDIR%%/config.php ; then rm -f %D/%%WWWDIR%%/config.php ; fi +%%WWWDIR%%/config.php.sample +@exec if [ ! -f %D/%%WWWDIR%%/config.php ]; then cp -p %D/%F %B/config.php; fi @dirrm %%WWWDIR%%/upgrade @dirrm %%WWWDIR%%/site/upgrade @dirrm %%WWWDIR%%/site/tools @dirrm %%WWWDIR%%/site/login +@dirrm %%WWWDIR%%/site/ipaddr/scan @dirrm %%WWWDIR%%/site/ipaddr @dirrm %%WWWDIR%%/site/install +@dirrm %%WWWDIR%%/site/dashboard/widgets @dirrm %%WWWDIR%%/site/dashboard @dirrm %%WWWDIR%%/site/admin/csvupload @dirrm %%WWWDIR%%/site/admin @dirrm %%WWWDIR%%/site @dirrmtry %%WWWDIR%%/misc +@dirrm %%WWWDIR%%/js/uploader +@dirrmtry %%WWWDIR%%/js/flot @dirrm %%WWWDIR%%/js/ckeditor/skins/moono/images @dirrm %%WWWDIR%%/js/ckeditor/skins/moono @dirrm %%WWWDIR%%/js/ckeditor/skins @@ -369,11 +430,22 @@ @dirrm %%WWWDIR%%/js/ckeditor/plugins @dirrm %%WWWDIR%%/js/ckeditor/lang @dirrm %%WWWDIR%%/js/ckeditor -@dirrmtry %%WWWDIR%%/js/flot -@dirrm %%WWWDIR%%/js/uploader @dirrmtry %%WWWDIR%%/js @dirrm %%WWWDIR%%/install @dirrm %%WWWDIR%%/functions/scripts +@dirrm %%WWWDIR%%/functions/scan +@dirrm %%WWWDIR%%/functions/phpMailer +@dirrm %%WWWDIR%%/functions/locale/sl_SI/LC_MESSAGES +@dirrm %%WWWDIR%%/functions/locale/sl_SI +@dirrm %%WWWDIR%%/functions/locale/nl_NL/LC_MESSAGES +@dirrm %%WWWDIR%%/functions/locale/nl_NL +@dirrm %%WWWDIR%%/functions/locale/fr_FR/LC_MESSAGES +@dirrm %%WWWDIR%%/functions/locale/fr_FR +@dirrm %%WWWDIR%%/functions/locale/en/LC_MESSAGES +@dirrm %%WWWDIR%%/functions/locale/en +@dirrm %%WWWDIR%%/functions/locale/de_DE/LC_MESSAGES +@dirrm %%WWWDIR%%/functions/locale/de_DE +@dirrmtry %%WWWDIR%%/functions/locale @dirrm %%WWWDIR%%/functions/adLDAP/src/collections @dirrm %%WWWDIR%%/functions/adLDAP/src/classes @dirrm %%WWWDIR%%/functions/adLDAP/src @@ -385,13 +457,6 @@ @dirrmtry %%WWWDIR%%/functions/PEAR/OLE @dirrmtry %%WWWDIR%%/functions/PEAR/Net @dirrmtry %%WWWDIR%%/functions/PEAR -@dirrm %%WWWDIR%%/functions/locale/template/LC_MESSAGES -@dirrm %%WWWDIR%%/functions/locale/template -@dirrm %%WWWDIR%%/functions/locale/sl_SI/LC_MESSAGES -@dirrm %%WWWDIR%%/functions/locale/sl_SI -@dirrm %%WWWDIR%%/functions/locale/en/LC_MESSAGES -@dirrm %%WWWDIR%%/functions/locale/en -@dirrmtry %%WWWDIR%%/functions/locale @dirrmtry %%WWWDIR%%/functions @dirrm %%WWWDIR%%/db/bkp @dirrm %%WWWDIR%%/db @@ -399,6 +464,10 @@ @dirrmtry %%WWWDIR%%/css/images @dirrmtry %%WWWDIR%%/css/bootstrap @dirrmtry %%WWWDIR%%/css +@dirrm %%WWWDIR%%/api/models +@dirrm %%WWWDIR%%/api/controllers +@dirrm %%WWWDIR%%/api/_examples +@dirrm %%WWWDIR%%/api @dirrmtry %%WWWDIR%% @exec mkdir -p %D/%%WWWDIR%%/site/admin/csvupload @exec mkdir -p %D/%%WWWDIR%%/db/bkp _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Responsible Changed From-To: antoine->closed Patch committed with a few change (the @exec mkdir has to stay for old pkg_tools, INSTALL_DATA already includes owner and group, and option helper was used for LDAP) Thanks!
Responsible Changed From-To: closed->antoine Take, forgot to commit the pkg message part
Author: antoine Date: Tue Dec 3 18:09:55 2013 New Revision: 335585 URL: http://svnweb.freebsd.org/changeset/ports/335585 Log: Update pkg-message, I forgot this file in previous commit PR: ports/183928 Submitted by: Jake Smith (maintainer) Modified: head/net-mgmt/phpipam/files/pkg-message.in Modified: head/net-mgmt/phpipam/files/pkg-message.in ============================================================================== --- head/net-mgmt/phpipam/files/pkg-message.in Tue Dec 3 18:08:20 2013 (r335584) +++ head/net-mgmt/phpipam/files/pkg-message.in Tue Dec 3 18:09:55 2013 (r335585) @@ -1,4 +1,3 @@ - Automatic installation of database files --------------------------------------------- Since v0.4 phpipam can automatically install database files for you. @@ -8,47 +7,10 @@ username and password). Finished! Launch browser, go to website and if something is missing / not configured properly the error will appear. -Manual installation of database files ------------------------------------------- -Optional method to be used instead of automatic configuration. - -MySQL schema file is available under db folder. -First you must create new database, and then import SCHEMA file into -database. Instructions below are for command-line import with local mysql -installation. ------- -mysql -u root -p -create database phpipam; -exit ------- - -Import database SCHEME.sql file: ------- -mysql -u root -p phpipam < db/SCHEMA.sql ------- - -Create user for database interaction from website and grant permissions to -ipam tables. Please change the username and password (ipv6, ipv6admin) -according to your needs - you must also replace default ones in config file. ------- -mysql -u root -p -grant ALL on phpipam.* to ipv6@localhost identified by "ipv6admin"; -exit ------- - -# -# !!! important !!! -# - -since version 0.7 phpipam uses mod_rewrite to handle url's. Please make sure -you meet the following requirements: - 1.) Apache2 with mod_rewrite support - 2.) "AllowOverride all" set in vhost config for mod_rewrite to work - In case your URL for phpipam is not root please set the following variables (example for /phpipam/): - 3.) Set BASE in config.php to /phpipam/ - 4.) RewriteBase /phpipam/ in .htaccess + 1.) Set BASE in config.php to /phpipam/ + 2.) RewriteBase /phpipam/ in .htaccess %%DISTNAME%% has been installed into: @@ -57,4 +19,3 @@ In case your URL for phpipam is not root config.php is where site configuration and database details are configured. Default user/password is Admin/ipamadmin - _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Patch committed, thanks!