diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-16 06:06:07 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-16 06:06:07 +0000 |
commit | 73c68f86ce1a157871ca23fd2cea43bb73280884 (patch) | |
tree | 5931b60668137462f9e2bbcc1853eb45c2cad670 | |
parent | da8f30325b42289459c55d20709fc19f0ad87cae (diff) | |
download | pfsense-packages-73c68f86ce1a157871ca23fd2cea43bb73280884.tar.gz pfsense-packages-73c68f86ce1a157871ca23fd2cea43bb73280884.tar.bz2 pfsense-packages-73c68f86ce1a157871ca23fd2cea43bb73280884.zip |
Adding package that will update the pfsense release security key
-rw-r--r-- | packages/pubkey.xml | 64 | ||||
-rw-r--r-- | pkg_config.7.xml | 10 | ||||
-rw-r--r-- | pkg_config.xml | 10 |
3 files changed, 84 insertions, 0 deletions
diff --git a/packages/pubkey.xml b/packages/pubkey.xml new file mode 100644 index 00000000..b74de2e6 --- /dev/null +++ b/packages/pubkey.xml @@ -0,0 +1,64 @@ +<?xml version="1.0" encoding="utf-8" ?> +<!DOCTYPE packagegui SYSTEM "../schema/packages.dtd"> +<?xml-stylesheet type="text/xsl" href="../xsl/package.xsl"?> +<packagegui> + <copyright> + <![CDATA[ +/* $Id$ */ +/* ========================================================================== */ +/* + pubkey.xml + part of pfSense (http://www.pfSense.com) + Copyright (C) 2008 Scott Ullrich + All rights reserved. + */ +/* ========================================================================== */ +/* + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + + 1. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + + 2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + + THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, + INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY + AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE + AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, + OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + */ +/* ========================================================================== */ + ]]> + </copyright> + <description>Updates the pfSense release security certificate</description> + <name>pubkey</name> + <version>0.1</version> + <title>pubkey</title> + <additional_files_needed> + <prefix>/usr/local/etc/rc.d/</prefix> + <chmod>077</chmod> + <item>http://www.pfsense.com/packages/config/pubkey/vmware-guestd.sh</item> + </additional_files_needed> + <additional_files_needed> + <prefix>/usr/local/etc/rc.d/</prefix> + <chmod>077</chmod> + <item>http://www.pfsense.com/packages/config/pubkey/vmware-kmod.sh</item> + </additional_files_needed> + <custom_php_install_command> + exec("rm /usr/local/etc/rc.d/vmware-kmod"); + exec("rm /usr/local/etc/rc.d/vmware-guestd.sh"); + </custom_php_install_command> + <custom_php_deinstall_command> + $fd = fopen("/tmp/pubkey.pem","w"); + fwrite($fd, "ssh-dss AAAAB3NzaC1kc3MAAACBAN08c22jym3KCRUF8/rKNXgU/J0vv6UC9eCta/ATTNgeW/z2rp/HsjcPkMLx9dLaqufShC0VzsUbGlqCsdQT8jfwBiLG2pjUkX20qTStRG/rs9Tv0rS/8eVNT/DbQ6zL3PTdp+XAIq+KQLucqcBazTqSzyF7ghZ7OVmsX1/ixTP3AAAAFQCYcP378X/dQ08l6u8O5uvEtxbvEwAAAIEAyOOuWttXGrprzBhKrjhop58bZTOZp0J0IMHMwi/J+K3HUuPZnaltGoW21MjqSvVor4m22r/3b8aUIom+jp4I/bmpxTOUgO6owTlCVX614fGPWcCw2M017aghQ/vUa/92DaMLO//FYD8X2b7WgyPNrJh9ckZ14oncBleJUfXmue8AAACBAKw00/IkoMJzTumFfT9+Jb442O1KZvtGyj1YWpyYXf3xbQFGXND7m4rTIS2zPvTcOauCHbZwZ9uBxE4zTdlGJ4XirPEbWwOl1TU71bZ3OqonVesyqSC04LLiuLGlIHyXxyc/UCzg1UL8mCBlLzqmPUkJoL0ZINo8Raqip8WM63KM root@freebsd-nexus-computers.pfsense.org\n"); + fclose($fd); + </custom_php_deinstall_command> +</packagegui> diff --git a/pkg_config.7.xml b/pkg_config.7.xml index 6c01bf7f..c14165cb 100644 --- a/pkg_config.7.xml +++ b/pkg_config.7.xml @@ -4,6 +4,16 @@ <pfsensepkgs> <packages> <package> + <name>Pubkey</name> + <descr>pfSense release key</descr> + <website>http:/pfsense.org</website> + <category>System</category> + <version>1</version> + <status>RELEASE</status> + <config_file>http://www.pfsense.org/packages/config/pubkey.xml</config_file> + <configurationfile>pubkey.xml</configurationfile> + </package> + <package> <name>Dashboard</name> <descr>Adds pfSense dashboard that will be included with 1.3. This requires 1.2 or newer. WARNING! Cannot be deinstalled.</descr> <category>System</category> diff --git a/pkg_config.xml b/pkg_config.xml index ec5542d8..fd460dbf 100644 --- a/pkg_config.xml +++ b/pkg_config.xml @@ -4,6 +4,16 @@ <pfsensepkgs> <packages> <package> + <name>Pubkey</name> + <descr>pfSense release key</descr> + <website>http:/pfsense.org</website> + <category>System</category> + <version>1</version> + <status>RELEASE</status> + <config_file>http://www.pfsense.org/packages/config/pubkey.xml</config_file> + <configurationfile>pubkey.xml</configurationfile> + </package> + <package> <name>AutoConfigBackup</name> <maintainer>portal@bsdperimeter.com</maintainer> <descr>Automatically backs up your pfSense configuration. All contents are encrypted on the server. Requires pfSense Premium Support Portal Subscription from http://portal.pfsense.org</descr> |