From 6f73c36226d8583b90ddcff50850701c06de2ee2 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 25 Aug 2015 08:21:15 -0300 Subject: Import build scripts from pfSense-tools repo --- tools/conf/ovf/pfSense.ovf | 136 ++++++++++++++++++++++++++++ tools/conf/pfPorts/make.conf | 125 +++++++++++++++++++++++++ tools/conf/pfPorts/poudriere_bulk | 47 ++++++++++ tools/conf/pfPorts/poudriere_bulk.arm.armv6 | 1 + 4 files changed, 309 insertions(+) create mode 100755 tools/conf/ovf/pfSense.ovf create mode 100644 tools/conf/pfPorts/make.conf create mode 100644 tools/conf/pfPorts/poudriere_bulk create mode 100644 tools/conf/pfPorts/poudriere_bulk.arm.armv6 (limited to 'tools/conf') diff --git a/tools/conf/ovf/pfSense.ovf b/tools/conf/ovf/pfSense.ovf new file mode 100755 index 0000000..aeb82d3 --- /dev/null +++ b/tools/conf/ovf/pfSense.ovf @@ -0,0 +1,136 @@ + + + + + + + List of the virtual disks used in the package + + + + The list of logical networks + + The VM Network network + + + + pfSense virtual machine + pfSense + + FreeBSD XX-Bit + FreeBSD XX-Bit (pfSense) + + + Virtual hardware requirements + + Virtual Hardware Family + 0 + pfSense + vmx-07 + + + hertz * 10^6 + Number of Virtual CPUs + 1 virtual CPU(s) + 1 + 3 + 1 + + + byte * 2^20 + Memory Size + 1024MB of memory + 2 + 4 + 1024 + + + 0 + SCSI Controller + scsi0 + 3 + lsilogic + 6 + + + 1 + IDE Controller + VirtualIDEController 1 + 4 + 5 + + + 0 + IDE Controller + VirtualIDEController 0 + 5 + 5 + + + 7 + true + VM Network + E1000 ethernet adapter on "VM Network" + ethernet0 + 6 + E1000 + 10 + + + 8 + true + VM Network + E1000 ethernet adapter on "VM Network" + ethernet0 + 7 + E1000 + 10 + + + 0 + scsi0:0 + ovf:/disk/vmdisk1 + 8 + 3 + 17 + + + + Describes product information for the service + pfSense + Electric Sheep Fencing, LLC + PRODUCT_VERSION + PRODUCT_URL + PRODUCT_URL + + + An annotation + pfSense is a free, open source customized distribution of FreeBSD tailored for use as a firewall and router. In addition to being a powerful, flexible firewalling and routing platform, it includes a long list of related features and a package system allowing further expandability without adding bloat and potential security vulnerabilities to the base distribution. pfSense is a popular project with more than 1 million downloads since its inception, and proven in countless installations ranging from small home networks protecting a PC and an Xbox to large corporations, universities and other organizations protecting thousands of network devices. + + + The End User License Agreement + +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. + + + + diff --git a/tools/conf/pfPorts/make.conf b/tools/conf/pfPorts/make.conf new file mode 100644 index 0000000..bd716a2 --- /dev/null +++ b/tools/conf/pfPorts/make.conf @@ -0,0 +1,125 @@ +# Generic options +OPTIONS_UNSET_FORCE= X11 DOCS EXAMPLES MAN INFO MANPAGES + +# Individual ports options +net_apinger_SET_FORCE= IPV6 + +www_elinks_UNSET_FORCE= FASTMEM + +www_lighttpd_SET_FORCE= NODELAY + +net_miniupnpd_SET_FORCE= PF_ENABLE_FILTER_RULES + +security_openssl_SET_FORCE= PADLOCK + +security_openvpn_SET_FORCE= PW_SAVE ENGINEFIX2 +security_openvpn_UNSET_FORCE= EASYRSA + +net_relayd_SET_FORCE= LIBEVENT_STATIC + +databases_rrdtool12_UNSET_FORCE= PERL + +security_snortsam_UNSET_FORCE= IPFW + +emulators_qemu_UNSET_FORCE= SDL + +security_ca_root_nss_SET_FORCE= ETCSYMLINK + +security_strongswan_SET_FORCE= CURL EAPDYNAMIC EAPRADIUS EAPSIMFILE \ + IKEv1 UNBOUND XAUTH IPSECKEY SMP PKI UNITY +security_strongswan_UNSET_FORCE= EAPAKA3GPP2 + +dns_unbound_SET_FORCE= LIBEVENT + +.if ${.CURDIR:N*net/rsync*}=="" +CFLAGS+= -static +.endif + +.if ${.CURDIR:N*security/openiked*}=="" +CONFIGURE_ARGS= --without-openssl-header-check +.endif + +.if ${.CURDIR:N*security/strongswan*}=="" +ETCDIR= /var/etc/ipsec/strongswan +.endif + +# OS version specific options +OSRELDATE!= /sbin/sysctl -n kern.osreldate +.if ${OSRELDATE} >= 1000000 +DEFAULT_VERSIONS= php=55 +WITH_OPENSSL_BASE= yes +sysutils_syslog-ng_SET_FORCE= SYS_SSL +sysutils_syslog-ng_UNSET_FORCE= PORTS_SSL +lang_php55_SET_FORCE= FPM + +. if ${.CURDIR:N*sysutils/check_reload_status*}=="" +WITH_DEBUG= yes +. endif + +.endif + +# Options for packages +sysutils_apcupsd_SET_FORCE=APCDUMB_DRV APCSMART_DRV PCNET_DRV SNMP_DRV TCP_WRAPPERS USB +sysutils_apcupsd_UNSET_FORCE=CGI CLIENT_ONLY GAPCMON SNMP_DRV_OLD TEST_DRV + +devel_apr1_SET_FORCE=IPV6 SQLITE SSL THREADS +devel_apr1_UNSET_FORCE=BDB MYSQL NSS PGSQL + +net_asterisk_SET_FORCE=SRTP +net_asterisk_UNSET_FORCE=FREETDS PGSQL + +net_avahi_UNSET_FORCE=GTK + +security_barnyard2_SET_FORCE=BRO GRE IPV6 MPLS MYSQL PORT_PCAP +security_barnyard2_UNSET_FORCE=ODBC PGSQL PRELUDE + +dns_bind99_SET_FORCE=DLZ_FILESYSTEM FILTER_AAAA IPV6 LINKS RRL SIGCHASE SSL THREADS XML +dns_bind99_UNSET_FORCE=FIXED_RRSET GSSAPI IDN LARGE_FILE REPLACE_BASE + +www_c-icap_SET_FORCE=LARGE_FILES +www_c-icap_UNSET_FORCE=IPV6 + +graphics_cairo_UNSET_FORCE=X11 XCB OPENGL + +net_freeradius2_SET_FORCE=KERBEROS LDAP MYSQL PERL PGSQL PYTHON SSL_PORT + +lang_gcc_UNSET_FORCE=JAVA + +devel_git_SET_FORCE=CONTRIB CURL ETCSHELLS ICONV NLS PERL +devel_git_UNSET_FORCE=CVS GITWEB GUI HTMLDOCS P4 SVN + +graphics_graphviz_SET_FORCE=ICONV NLS +graphics_graphviz_UNSET_FORCE=DIGCOLA IPSEPCOLA PANGOCAIRO XPM + +net_haproxy_SET_FORCE=OPENSSL SPCRE LUA +net_haproxy_UNSET_FORCE=DPCRE + +net_haproxy-devel_SET_FORCE=OPENSSL SPCRE LUA +net_haproxy-devel_UNSET_FORCE=DPCRE + +graphics_gd_SET_FORCE=ICONV +graphics_gd_UNSET_FORCE=FONTCONFIG XPM + +net_libpcap_SET_FORCE=IPV6 +net_libpcap_UNSET_FORCE=DAG + +www_lightsquid_SET_FORCE=GD + +net_mtr_UNSET_FORCE=X11 + +security_snort_SET_FORCE=APPID BARNYARD GRE IPV6 NORMALIZER PERFPROFILE SOURCEFIRE +security_snort_UNSET_FORCE=FILEINSPECT HA PULLEDPORK + +www_squidguard_SET_FORCE=DNS_BL LDAP STRIP_NTDOMAIN +www_squidguard_UNSET_FORCE=QUOTE_STRING + +www_squid_SET_FORCE=ARP_ACL AUTH_LDAP AUTH_NIS AUTH_SASL CACHE_DIGESTS DELAY_POOLS FOLLOW_XFF FS_AUFS FS_DISKD GSSAPI_MIT HTCP ICAP ICMP IDENT IPV6 KQUEUE LARGEFILE LAX_HTTP SNMP SSL SSL_CRTD TP_PF WCCP WCCPV2 +www_squid_UNSET_FORCE=AUTH_SMB AUTH_SQL DEBUG DNS_HELPER ECAP ESI FS_ROCK GSSAPI_NONE GSSAPI_BASE GSSAPI_HEIMDAL STACKTRACES TP_IPF TP_IPFW VIA_DB + +security_suricata_SET_FORCE=GEOIP HTP_PORT IPFW JSON LUAJIT NSS PORTS_PCAP +security_suricata_UNSET_FORCE=LUA PRELUDE SC TESTS + +net-mgmt_zabbix22-agent_SET_FORCE=IPV6 SQLITE + +net-mgmt_zabbix22-proxy_SET_FORCE=IPV6 SQLITE +net-mgmt_zabbix22-proxy_UNSET_FORCE=GSSAPI JABBER MYSQL diff --git a/tools/conf/pfPorts/poudriere_bulk b/tools/conf/pfPorts/poudriere_bulk new file mode 100644 index 0000000..58fcb25 --- /dev/null +++ b/tools/conf/pfPorts/poudriere_bulk @@ -0,0 +1,47 @@ +benchmarks/iperf +benchmarks/iperf3 +security/%%PRODUCT_NAME%% +security/%%PRODUCT_NAME%%-vm +sysutils/%%PRODUCT_NAME%%-builder +sysutils/bsdinstaller +net/%%PRODUCT_NAME%%-pkg-pfBlockerNG +net/%%PRODUCT_NAME%%-pkg-haproxy +net/%%PRODUCT_NAME%%-pkg-haproxy-devel +net/%%PRODUCT_NAME%%-pkg-Avahi +sysutils/%%PRODUCT_NAME%%-pkg-Notes +sysutils/%%PRODUCT_NAME%%-pkg-Backup +sysutils/%%PRODUCT_NAME%%-pkg-Cron +security/%%PRODUCT_NAME%%-pkg-snort +sysutils/%%PRODUCT_NAME%%-pkg-Shellcmd +net/%%PRODUCT_NAME%%-pkg-routed +net/%%PRODUCT_NAME%%-pkg-siproxd +net/%%PRODUCT_NAME%%-pkg-OpenBGPD +www/%%PRODUCT_NAME%%-pkg-Lightsquid +emulators/%%PRODUCT_NAME%%-pkg-Open-VM-Tools +sysutils/%%PRODUCT_NAME%%-pkg-AutoConfigBackup +net/%%PRODUCT_NAME%%-pkg-arping +security/%%PRODUCT_NAME%%-pkg-nmap +net-mgmt/%%PRODUCT_NAME%%-pkg-darkstat +benchmarks/%%PRODUCT_NAME%%-pkg-iperf +net/%%PRODUCT_NAME%%-pkg-mtr-nox11 +www/%%PRODUCT_NAME%%-pkg-squidGuard +security/%%PRODUCT_NAME%%-pkg-openvpn-client-export +sysutils/%%PRODUCT_NAME%%-pkg-blinkled +sysutils/%%PRODUCT_NAME%%-pkg-gwled +mail/%%PRODUCT_NAME%%-pkg-mailreport +sysutils/%%PRODUCT_NAME%%-pkg-RRD_Summary +net/%%PRODUCT_NAME%%-pkg-Quagga_OSPF +net-mgmt/%%PRODUCT_NAME%%-pkg-iftop +sysutils/%%PRODUCT_NAME%%-pkg-System_Patches +net-mgmt/%%PRODUCT_NAME%%-pkg-softflowd +security/%%PRODUCT_NAME%%-pkg-sudo +sysutils/%%PRODUCT_NAME%%-pkg-Service_Watchdog +ftp/%%PRODUCT_NAME%%-pkg-FTP_Client_Proxy +security/%%PRODUCT_NAME%%-pkg-suricata +www/%%PRODUCT_NAME%%-pkg-squid +#net/%%PRODUCT_NAME%%-pkg-ntopng +net-mgmt/%%PRODUCT_NAME%%-pkg-zabbix-agent +net-mgmt/%%PRODUCT_NAME%%-pkg-zabbix-proxy +net/%%PRODUCT_NAME%%-pkg-LADVD +net/%%PRODUCT_NAME%%-pkg-freeradius2 +sysutils/%%PRODUCT_NAME%%-pkg-syslog-ng diff --git a/tools/conf/pfPorts/poudriere_bulk.arm.armv6 b/tools/conf/pfPorts/poudriere_bulk.arm.armv6 new file mode 100644 index 0000000..37cfafb --- /dev/null +++ b/tools/conf/pfPorts/poudriere_bulk.arm.armv6 @@ -0,0 +1 @@ +security/%%PRODUCT_NAME%% -- cgit v1.1