* [gentoo-commits] proj/gentoo-bsd:master commit in: sys-freebsd/freebsd-sbin/files/, sys-freebsd/freebsd-sbin/
@ 2012-09-11 17:10 Alexis Ballier
0 siblings, 0 replies; only message in thread
From: Alexis Ballier @ 2012-09-11 17:10 UTC (permalink / raw
To: gentoo-commits
commit: cb4fad5b8505cba14d2002fef7da9912c9843c2e
Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 11 17:04:36 2012 +0000
Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Tue Sep 11 17:04:36 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bsd.git;a=commit;h=cb4fad5b
remove freebsd-sbin, merged to the main tree
---
sys-freebsd/freebsd-sbin/Manifest | 21 ---
sys-freebsd/freebsd-sbin/files/adjkerntz-crontab | 4 -
sys-freebsd/freebsd-sbin/files/devd.conf | 153 --------------------
sys-freebsd/freebsd-sbin/files/devd.initd | 47 ------
sys-freebsd/freebsd-sbin/files/devd_queue | 50 -------
.../files/freebsd-sbin-6.1-pr102701.patch | 17 ---
.../files/freebsd-sbin-6.2-ldconfig.patch | 13 --
.../freebsd-sbin/files/freebsd-sbin-7.1-zlib.patch | 21 ---
.../files/freebsd-sbin-bsdxml2expat.patch | 13 --
.../freebsd-sbin/files/freebsd-sbin-setXid.patch | 20 ---
sys-freebsd/freebsd-sbin/files/idmapd.initd | 20 ---
sys-freebsd/freebsd-sbin/files/ipfw.confd | 10 --
sys-freebsd/freebsd-sbin/files/ipfw.initd | 110 --------------
sys-freebsd/freebsd-sbin/files/sysctl.initd | 28 ----
.../freebsd-sbin/freebsd-sbin-9.1_rc1.ebuild | 92 ------------
15 files changed, 0 insertions(+), 619 deletions(-)
diff --git a/sys-freebsd/freebsd-sbin/Manifest b/sys-freebsd/freebsd-sbin/Manifest
deleted file mode 100644
index e0eb79e..0000000
--- a/sys-freebsd/freebsd-sbin/Manifest
+++ /dev/null
@@ -1,21 +0,0 @@
-AUX adjkerntz-crontab 184 RMD160 c9abca80479ee47cfec7cbab70adad2018770785 SHA1 2f4785974574ca6d92aafd4d5238d265a8201aa8 SHA256 f3b08140ea38bfe502b34dd8c69aa4a6b65b786d792828cce082be8f844345dc
-AUX devd.conf 4770 RMD160 a050c42c8fa8e11e7044857ef61668949090e0be SHA1 62c0dad16760be68b4a3e79d4721cacbcd1c0409 SHA256 48c6d3664813222aed6b3c0ff5badbf3e8a37477445fe705850f77a9b95e3219
-AUX devd.initd 1136 RMD160 ccbb82f5d7bb4e9ef8bd1ece0bba258bd949598a SHA1 e309171b16b2337daac4ff636bf3226cfd887b8c SHA256 fadb98847713ec89fe9726b3eb954d1762067e9edffcdc89c2dfc8a054f54d7f
-AUX devd_queue 853 RMD160 e966736ceccecc9b1376695644dc57ab46958194 SHA1 b64f439165bfc85b9ae217886c86798a9cd64021 SHA256 af57ffa202eec7d8c050e32e5ca3f54cbf491fac2e439172f9e008ac3e5e8417
-AUX freebsd-sbin-6.1-pr102701.patch 548 RMD160 ccaac521cdbb9b5449329cf98fc77be340c59cd1 SHA1 a1469860a620a9cdad07e3c22331b68fd95a71f7 SHA256 dccf32386359a2cfd80272c86085467d612c8f4d7924a6a223cd1259a8b7a176
-AUX freebsd-sbin-6.2-ldconfig.patch 389 RMD160 856f6d3479ee927850f84380de6ee4109b41d236 SHA1 8af511190f4005b4a3de5159f86d9c23d8dc52f1 SHA256 b3fd47a733d39dea3400bee180d156ed09ff4c19dd47fbf5df52af33bdc5dc2b
-AUX freebsd-sbin-7.1-zlib.patch 800 RMD160 c0fe2406b5e6d5ab294f66a1c693e171787d2534 SHA1 8f45cf788e44d33af50e7e01b3b3685d17975374 SHA256 18c028bf1b51cf7c57d5517d8fe6f3221c8a4d00d1ae436e40af0d1cd095bc4f
-AUX freebsd-sbin-bsdxml2expat.patch 424 RMD160 a17cdeb5f6b663f369aa9bbf3857c903502f87f4 SHA1 fe5910e8319b2c5a5c623934381b298398370290 SHA256 f40f55bec52d0e3e0205c363ad624a1139a74d5de36f99ca2ff9e53583bc2287
-AUX freebsd-sbin-setXid.patch 541 RMD160 003ee4530218c609a4a443d2c2d2c8c05d1f4ae6 SHA1 fdc01c623893d5819d37d2ed47b7272e50172b89 SHA256 2d8158df7af52f9ce15f1513d16ed08ea6244f310aea3f271b12184a6a4c4267
-AUX idmapd.initd 440 RMD160 694ae6deef0d7cac312611e377b89326d02a2198 SHA1 1fd322f37b1dd143cf37049e3742cdcc1d5296d8 SHA256 e89050097731f658825b4a7215023e1c5070f0e31cfdf79eaf299ede9c9f9e39
-AUX ipfw.confd 364 RMD160 3dd11070d6e8936ac5fff02693aeb501255a8019 SHA1 f4dcaee7a10d29c002b95527ff85409ac61f9a89 SHA256 97911a2f003e2108c1f5da04b84a3b73fbccbde48fe58af0f056d8a9effbb3d3
-AUX ipfw.initd 2911 RMD160 f39075c437c4d507d352104f3acb6c17719e7ad3 SHA1 11b036c64240146f5108658953182f557f25a5e5 SHA256 45789a2e51c8eb164247d08c58d47ab52798bfbd19b4ddb6cc87acb5684e4eb5
-AUX sysctl.initd 671 RMD160 acdeafdbfa6cc70010f9c497e64485dad9e5b982 SHA1 ddb7808755477b8fb4a19f31a64766b0175df613 SHA256 fde293d294c8985663c3a3685cd27ede3b1cdedbd042102546dd844b93456e69
-DIST freebsd-contrib-9.1_rc1.tar.bz2 54330060 RMD160 9b455ff06a8a4ec62e8d5e4a3ae14243a41de7ec SHA1 b2f93389475bf368cac731f0f855a609c413d291 SHA256 b9be1e2328cd3cf5b7b010f033a1a4233e4df19bf305c6125f2442f56a895c9d
-DIST freebsd-etc-9.1_rc1.tar.bz2 205627 RMD160 dc9c4914ad9f76a1166d338bb550e2b55cc3a1e9 SHA1 faff7e4847dbb99dee1e6ab5c511f6244ee57058 SHA256 ac84b97965a359744b5171078476e4b5f024faaf13d61ebe2f8c43d2ea70c77b
-DIST freebsd-lib-9.1_rc1.tar.bz2 3210622 RMD160 be2d13a21d9938eaa832c8ee3894e098979bd528 SHA1 d89ecc023712d91203f5c583400c2e76f313ab56 SHA256 afa4631d86c0e6bc1811199e1408bc8302a72808d6a0bffcf078e6d81d9a7a12
-DIST freebsd-libexec-9.1_rc1.tar.bz2 310066 RMD160 4635555af871b887a3385605132af25cbf020eff SHA1 e259145ea2b1a6b68a8e0f7af9d08f48edc709b4 SHA256 e2b7d0c0583b3053b5a91b547576eca78f4035826f056534b17824126c4d4cb8
-DIST freebsd-sbin-9.1_rc1.tar.bz2 1275480 RMD160 35c59e08d21e0c500203962717ee5f86654dc303 SHA1 11102237cbb7c5e8ad0f71722287aefa0dd12f0b SHA256 dd97eb984cfc28d8b385c1adfaf6345b04629c7ec64e0b2967500f89dff15e52
-DIST freebsd-sys-9.1_rc1.tar.bz2 32435903 RMD160 14a7d3cec29ae5fb76e090563f15eb73e86d95a5 SHA1 c78a688b3156a136a6f9c9bf1035da878251d9ed SHA256 7c5e705cc9ca5efb60f9959a71315c118cb8cfe910c923c59a7f6180cfa86a0f
-DIST freebsd-usbin-9.1_rc1.tar.bz2 2682082 RMD160 2b0286fc1fdc0e7cdf28bce44b30bc8e1e0e8dfc SHA1 5e172d3b02f632dbeab71fd2e2ba466c39c6a387 SHA256 81db21415611ed6ee0400e901e77bb7eaac9450ba06848f2e0c4d2cd8b695164
-EBUILD freebsd-sbin-9.1_rc1.ebuild 2650 RMD160 43ef6a70ab940036a073209818258f2a189a3a57 SHA1 1d84ad4f41aa2368f016bc9cb5a10677ccbbf089 SHA256 0cf4a177ec5610ae26e8517dc10d21db7795f0b0b438c6393912f81fcc191c1d
diff --git a/sys-freebsd/freebsd-sbin/files/adjkerntz-crontab b/sys-freebsd/freebsd-sbin/files/adjkerntz-crontab
deleted file mode 100644
index 5fc46f5..0000000
--- a/sys-freebsd/freebsd-sbin/files/adjkerntz-crontab
+++ /dev/null
@@ -1,4 +0,0 @@
-# Adjust the time zone if the CMOS clock keeps local time, as opposed to
-# UTC time. See adjkerntz(8) for details.
-1,31 0-5 * * * root /sbin/adjkerntz -a
-
diff --git a/sys-freebsd/freebsd-sbin/files/devd.conf b/sys-freebsd/freebsd-sbin/files/devd.conf
deleted file mode 100644
index fd1e035..0000000
--- a/sys-freebsd/freebsd-sbin/files/devd.conf
+++ /dev/null
@@ -1,153 +0,0 @@
-# Refer to devd.conf(5) and devd(8) man pages for the details on how to
-# run and configure devd.
-#
-
-# NB: All regular expressions have an implicit ^$ around them.
-# NB: device-name is shorthand for 'match device-name'
-
-options {
- # Each directory directive adds a directory the list of directories
- # that we scan for files. Files are read-in in the order that they
- # are returned from readdir(3). The rule-sets are combined to
- # create a DFA that's used to match events to actions.
- directory "/etc/devd";
- directory "/usr/local/etc/devd";
- pid-file "/var/run/devd.pid";
-
- # Setup some shorthand for regex that we use later in the file.
- #XXX Yes, these are gross -- imp
- set scsi-controller-regex
- "(aac|adv|adw|aha|ahb|ahc|ahd|aic|amd|amr|asr|bt|ciss|ct|dpt|\
- esp|ida|iir|ips|isp|mlx|mly|mpt|ncr|ncv|nsp|stg|sym|trm|wds)\
- [0-9]+";
-};
-
-# Note that the attach/detach with the highest value wins, so that one can
-# override these general rules.
-
-#
-# For ethernet like devices start configuring the interface. Due to
-# a historical accident, this script is called pccard_ether.
-#
-attach 0 {
- media-type "ethernet";
- action "/etc/devd_queue add env IN_HOTPLUG=1 /etc/init.d/net.$device-name start";
-};
-
-detach 0 {
- media-type "ethernet";
- action "/etc/devd_queue add env IN_HOTPLUG=1 /etc/init.d/net.$device-name stop";
-};
-
-#
-# Try to start dhclient on Ethernet like interfaces when the link comes
-# up. Only devices that are configured to support DHCP will actually
-# run it. No link down rule exists because dhclient automaticly exits
-# when the link goes down.
-#
-notify 0 {
- match "system" "IFNET";
- match "type" "LINK_UP";
- media-type "ethernet";
- action "/etc/devd_queue add /etc/init.d/net.$subsystem start";
-};
-notify 0 {
- match "system" "IFNET";
- match "type" "LINK_DOWN";
- media-type "ethernet";
- action "/etc/devd_queue add /etc/init.d/net.$subsystem stop";
-};
-
-#
-# Like Ethernet devices, but separate because
-# they have a different media type. We may want
-# to exploit this later.
-#
-#detach 0 {
-# media-type "802.11";
-# action "env IN_HOTPLUG=1 /etc/init.d/net.$device-name stop";
-#};
-#attach 0 {
-# media-type "802.11";
-# action "env IN_HOTPLUG=1 /etc/init.d/net.$device-name start";
-#};
-
-# Not sure how to handle this in Gentoo yet
-# When a USB Bluetooth dongle appears activate it
-#attach 100 {
-# device-name "ubt[0-9]+";
-# action "/etc/rc.d/bluetooth start $device-name";
-#};
-#detach 100 {
-# device-name "ubt[0-9]+";
-# action "/etc/rc.d/bluetooth stop $device-name";
-#};
-
-# When a USB keyboard arrives, attach it as the console keyboard.
-attach 100 {
- device-name "ukbd0";
- action "kbdcontrol -k /dev/ukbd0 < /dev/console";
-};
-detach 100 {
- device-name "ukbd0";
- action "kbdcontrol -k /dev/kbd0 < /dev/console";
-};
-
-# The entry below starts and stops moused when a mouse is plugged in.
-attach 100 {
- device-name "psm[0-9]+";
- action "/etc/devd_queue add env IN_HOTPLUG=1 /etc/init.d/moused.$device-name start";
-};
-detach 100 {
- device-name "psm[0-9]+";
- action "/etc/devd_queue add env IN_HOTPLUG=1 /etc/init.d/moused.$device-name stop";
-};
-attach 100 {
- device-name "ums[0-9]+";
- action "/etc/devd_queue add env IN_HOTPLUG=1 /etc/init.d/moused.$device-name start";
-};
-detach 100 {
- device-name "ums[0-9]+";
- action "/etc/devd_queue add env IN_HOTPLUG=1 /etc/init.d/moused.$device-name stop";
-};
-
-# Notify all users before beginning emergency shutdown when we get
-# a _CRT or _HOT thermal event and we're going to power down the system
-# very soon.
-notify 10 {
- match "system" "ACPI";
- match "subsystem" "Thermal";
- match "notify" "0xcc";
- action "logger -p kern.emerg 'WARNING: system temperature too high, shutting down soon!'";
-};
-
-/* EXAMPLES TO END OF FILE
-
-
-# Examples of notify hooks. A notify is a generic way for a kernel
-# subsystem to send event notification to userland.
-#
-# Here are some examples of ACPI notify handlers. ACPI subsystems that
-# generate notifies include the AC adapter, power/sleep buttons,
-# control method batteries, lid switch, and thermal zones.
-#
-# Information returned is not always the same as the ACPI notify
-# events. See the ACPI specification for more information about
-# notifies. Here is the information returned for each subsystem:
-#
-# ACAD: AC line state (0 is offline, 1 is online)
-# Button: Button pressed (0 for power, 1 for sleep)
-# CMBAT: ACPI battery events
-# Lid: Lid state (0 is closed, 1 is open)
-# Thermal: ACPI thermal zone events
-#
-# This example calls a script when the AC state changes, passing the
-# notify value as the first argument. If the state is 0x00, it might
-# call some sysctls to implement economy mode. If 0x01, it might set
-# the mode to performance.
-notify 10 {
- match "system" "ACPI";
- match "subsystem" "ACAD";
- action "/etc/acpi_ac $notify";
-};
-*/
diff --git a/sys-freebsd/freebsd-sbin/files/devd.initd b/sys-freebsd/freebsd-sbin/files/devd.initd
deleted file mode 100644
index 2b70320..0000000
--- a/sys-freebsd/freebsd-sbin/files/devd.initd
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need localmount
- after bootmisc hostname
- before net
-}
-
-start() {
- # Services may depend on us, so mark us as inactive
- mark_service_inactive "${SVCNAME}"
-
- # Create a queue so that if things went UP DOWN UP DOWN UP DOWN UP
- # We just do an UP
- # This is used by /etc/devd_queue
- mkdir -p /var/run/devd
-
- ebegin "Starting the Device State Change Daemon"
- sysctl hw.bus.devctl_disable=0 >/dev/null
- start-stop-daemon --start --exec /sbin/devd \
- --pidfile /var/run/devd.pid
- eend $? "Failed to start devd" \
- || return $?
-
- ebegin "Waiting for Device State Change Daemon to settle"
- LC_ALL=C sleep "${DEVD_WAIT:-2}"
- eend $?
-
- # Now flush the queue
- einfo "Flushing Device State Change Daemon queue"
- /etc/devd_queue flush
-
- mark_service_started "${SVCNAME}"
- return 0
-}
-
-stop() {
- ebegin "Stopping the Device State Change Daemon"
- sysctl hw.bus.devctl_disable=1 >/dev/null
- start-stop-daemon --stop --exec /sbin/devd \
- --pidfile /var/run/devd.pid
- eend $? "Failed to stop devd"
-}
-
-# vim: ts=4 :
diff --git a/sys-freebsd/freebsd-sbin/files/devd_queue b/sys-freebsd/freebsd-sbin/files/devd_queue
deleted file mode 100644
index d42cb83..0000000
--- a/sys-freebsd/freebsd-sbin/files/devd_queue
+++ /dev/null
@@ -1,50 +0,0 @@
-#!/bin/sh
-
-# Notify the rc system that we're in the background
-export IN_BACKGROUND=true
-
-arg1="$1"
-if [ -z "$arg1" ] ; then
- echo "Command required" > /dev/stderr
- exit 1
-fi
-shift
-
-case "$arg1" in
- add)
- if [ -z "$1" ] ; then
- echo "Command missing!" > /dev/stderr
- exit 1
- fi
-
- # If we don't have a queue then just run
- if [ ! -d /var/run/devd ] ; then
- "$@"
- exit $?
- fi
-
- cmd="$1"
- args="$*"
- if [ "$cmd" = "env" ] ; then
- shift
- while echo "$1" | grep -q "="; do
- shift
- [ "$1" = "--" ] && shift && break
- done
- cmd="$1"
- fi
- echo "$args" > /var/run/devd/$(basename "$cmd")
- ;;
- flush)
- while ! rmdir /var/run/devd 2>/dev/null ; do
- for cmd in $(cd /var/run/devd; ls) ; do
- args=$(cat /var/run/devd/$cmd)
- rm -f /var/run/devd/$cmd
- $args
- done
- done
- ;;
- *)
- echo "Unknown command $arg1"
- ;;
-esac
diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.1-pr102701.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.1-pr102701.patch
deleted file mode 100644
index 7b9578c..0000000
--- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.1-pr102701.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-Solves the issue reported in Problem Report bin/102701.
-
-Can't delete an inet6 alias address from an interface.
-
-Index: fbsd-6.1/sbin/ifconfig/af_inet6.c
-===================================================================
---- fbsd-6.1.orig/sbin/ifconfig/af_inet6.c
-+++ fbsd-6.1/sbin/ifconfig/af_inet6.c
-@@ -515,7 +515,7 @@ static struct afswtch af_inet6 = {
- .af_settunnel = in6_set_tunnel,
- .af_difaddr = SIOCDIFADDR_IN6,
- .af_aifaddr = SIOCAIFADDR_IN6,
-- .af_ridreq = &in6_addreq,
-+ .af_ridreq = &in6_ridreq,
- .af_addreq = &in6_addreq,
- };
-
diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.2-ldconfig.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.2-ldconfig.patch
deleted file mode 100644
index 81ad024..0000000
--- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-6.2-ldconfig.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -ur sbin.orig/ldconfig/elfhints.c sbin/ldconfig/elfhints.c
---- sbin.orig/ldconfig/elfhints.c 2001-05-03 00:56:18 +0100
-+++ sbin/ldconfig/elfhints.c 2007-08-06 10:16:24 +0100
-@@ -245,6 +245,9 @@
- else
- add_dir(hintsfile, argv[i], 0);
- }
-+ /* Always add our system dirs */
-+ add_dir (hintsfile, "/lib", 1);
-+ add_dir (hintsfile, "/usr/lib", 1);
- write_elf_hints(hintsfile);
- }
-
diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-7.1-zlib.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-7.1-zlib.patch
deleted file mode 100644
index 22fb2ec..0000000
--- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-7.1-zlib.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -ur sbin/savecore/savecore.c sbin-zlib/savecore/savecore.c
---- sbin/savecore/savecore.c 2005-02-26 01:21:50 +0000
-+++ sbin-zlib/savecore/savecore.c 2005-05-06 12:00:06 +0000
-@@ -95,7 +95,7 @@
- static int checkfor, compress, clear, force, keep, verbose; /* flags */
- static int nfound, nsaved, nerr; /* statistics */
-
--extern FILE *zopen(const char *, const char *);
-+extern FILE *gzopen(const char *, const char *);
-
- static void
- printheader(FILE *f, const struct kerneldumpheader *h, const char *device,
-@@ -553,7 +553,7 @@
- if (compress) {
- sprintf(filename, "%s.%d.gz", istextdump ? "textdump.tar" :
- "vmcore", bounds);
-- fp = zopen(filename, "w");
-+ fp = gzopen(filename, "w");
- } else {
- sprintf(filename, "%s.%d", istextdump ? "textdump.tar" :
- "vmcore", bounds);
diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-bsdxml2expat.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-bsdxml2expat.patch
deleted file mode 100644
index bdda99b..0000000
--- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-bsdxml2expat.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -uNr sbin/ifconfig.old/regdomain.c sbin/ifconfig/regdomain.c
---- sbin/ifconfig.old/regdomain.c 2010-12-21 17:09:25.000000000 +0000
-+++ sbin/ifconfig/regdomain.c 2011-07-10 15:56:27.000000000 +0000
-@@ -39,7 +39,7 @@
- #include <err.h>
- #include <unistd.h>
-
--#include <bsdxml.h>
-+#include <expat.h>
-
- #include "regdomain.h"
-
-Los ficheros binarios sbin/ifconfig.old/regdomain.o y sbin/ifconfig/regdomain.o son distintos
diff --git a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-setXid.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-setXid.patch
deleted file mode 100644
index c8cbebc..0000000
--- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-setXid.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff -ur sbin.orig/ping/Makefile sbin.setXid/ping/Makefile
---- sbin.orig/ping/Makefile Thu Apr 7 20:27:57 2005
-+++ sbin.setXid/ping/Makefile Thu Apr 7 20:42:02 2005
-@@ -18,4 +18,6 @@
- LDADD+= -lipsec
- .endif
-
-+LDFLAGS+= -Wl,-z,now
-+
- .include <bsd.prog.mk>
-diff -ur sbin.orig/shutdown/Makefile sbin.setXid/shutdown/Makefile
---- sbin.orig/shutdown/Makefile Thu Apr 7 20:27:57 2005
-+++ sbin.setXid/shutdown/Makefile Thu Apr 7 20:42:17 2005
-@@ -7,4 +7,6 @@
- BINGRP= operator
- BINMODE=4550
-
-+LDFLAGS+= -Wl,-z,now
-+
- .include <bsd.prog.mk>
diff --git a/sys-freebsd/freebsd-sbin/files/idmapd.initd b/sys-freebsd/freebsd-sbin/files/idmapd.initd
deleted file mode 100755
index 407b0e8..0000000
--- a/sys-freebsd/freebsd-sbin/files/idmapd.initd
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need rpcbind
-}
-
-start() {
- ebegin "Starting NFS idmapd"
- start-stop-daemon --start --quiet --exec \
- /sbin/idmapd -- $idmapdopts
- eend $? "Error starting NFS idmapd"
-}
-
-stop() {
- ebegin "Stopping NFS idmapd"
- start-stop-daemon --stop --quiet --exec /sbin/idmapd
- eend $? "Error stopping NFS idmapd"
-}
diff --git a/sys-freebsd/freebsd-sbin/files/ipfw.confd b/sys-freebsd/freebsd-sbin/files/ipfw.confd
deleted file mode 100644
index 687f92d..0000000
--- a/sys-freebsd/freebsd-sbin/files/ipfw.confd
+++ /dev/null
@@ -1,10 +0,0 @@
-# ipfw provides a stateful firewall.
-# This means we allow everything out, and if we have a connection we allow it
-# back in. This is very flexable and quite secure.
-
-# For ease of use, we allow auth and ssh ports through as well.
-# To override the list of allowed ports
-#PORTS_IN="auth ssh"
-
-# You may want to enable logging of denied connections
-#LOG_DENY="yes"
diff --git a/sys-freebsd/freebsd-sbin/files/ipfw.initd b/sys-freebsd/freebsd-sbin/files/ipfw.initd
deleted file mode 100644
index 013400b..0000000
--- a/sys-freebsd/freebsd-sbin/files/ipfw.initd
+++ /dev/null
@@ -1,110 +0,0 @@
-#!/sbin/runscript
-# Copyright 2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# This is a nice client firewall script which should suit most desktop users.
-# We allow auth and ssh in by default.
-
-PORTS_IN=${PORTS_IN-auth ssh}
-
-opts="panic showstatus"
-
-depend() {
- before net
- provide firewall
-}
-
-ipfw() {
- /sbin/ipfw -f -q "$@"
-}
-
-init() {
- # Load the kernel module
- if ! sysctl net.inet.ip.fw.enable=1 >/dev/null 2>/dev/null ; then
- if ! kldload ipfw ; then
- eend 1 "Unable to load firewall module"
- return 1
- fi
- fi
-
- ipfw flush
-
- ipfw add allow all from any to any via lo0
- ipfw add allow all from any to 127.0.0.0/8
- ipfw add deny ip from 127.0.0.0/8 to any
-
- ipfw add allow ipv6-icmp from :: to ff02::/16
- ipfw add allow ipv6-icmp from fe80::/10 to fe80::/10
- ipfw add allow ipv6-icmp from fe80::/10 to ff02::/16
-}
-
-start() {
- local x= log=
- ebegin "Starting firewall rules"
- if ! init ; then
- eend 1 "Failed to flush firewall ruleset"
- return 1
- fi
-
- [ "${LOG_DENY}" = "yes" ] && log="log"
-
- # Use a statefull firewall
- ipfw add check-state
-
- # Open our configured ports
- if [ -n "${PORTS_IN}" ] ; then
- local pin=
- for x in ${PORTS_IN} ; do
- pin="${pin}${pin:+,}${x}"
- done
- ipfw add allow tcp from any to me ${pin} established keep-state
- ipfw add allow tcp from any to me6 ${pin} established keep-state
- ipfw add allow tcp from any to me ${pin} setup keep-state
- ipfw add allow tcp from any to me6 ${pin} setup keep-state
- ipfw add allow udp from any to me ${pin} established
- ipfw add allow udp from any to me ${pin} keep-state
- ipfw add allow udp from any to me6 ${pin} established
- ipfw add allow udp from any to me6 ${pin} keep-state
- fi
-
- # Nice flexable rules that disallow incoming except for stuff we
- # have asked for, and allow all outgoing.
- ipfw add allow tcp from me to any established keep-state
- ipfw add allow tcp from me to any setup keep-state
- ipfw add allow tcp from me6 to any established keep-state
- ipfw add allow tcp from me6 to any setup keep-state
- ipfw add deny ${log} tcp from any to any
- ipfw add allow udp from me to any established
- ipfw add allow udp from me to any keep-state
- ipfw add allow udp from me6 to any established
- ipfw add allow udp from me6 to any keep-state
- ipfw add deny ${log} udp from any to any
-
- # Be a good firewall and allow some ICMP traffic.
- # Remove 8 if you really want to disallow ping.
- ipfw add allow icmp from any to any icmptypes 0,3,8,11,12
- ipfw add allow ip6 from any to any proto ipv6-icmp
-
- eend 0
-}
-
-stop() {
- ebegin "Stopping firewall rules"
- # We don't unload the kernel module as that action
- # can cause memory leaks as of FreeBSD 6.x
- sysctl net.inet.ip.fw.enable=0 >/dev/null
- eend $?
-}
-
-panic() {
- ebegin "Stopping firewall rules - hard"
- if ! init ; then
- eend 1 "Failed to flush firewall ruleset"
- return 1
- fi
- eend 0
-}
-
-showstatus() {
- ipfw show
-}
diff --git a/sys-freebsd/freebsd-sbin/files/sysctl.initd b/sys-freebsd/freebsd-sbin/files/sysctl.initd
deleted file mode 100644
index d101a31..0000000
--- a/sys-freebsd/freebsd-sbin/files/sysctl.initd
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-sbin/files/sysctl.initd,v 1.5 2008/02/01 12:37:30 flameeyes Exp $
-
-depend() {
- after checkroot root
-}
-
-start() {
- ebegin "Configuring kernel parameters"
-
- if [ ! -f /etc/sysctl.conf ]; then
- eend 1 "/etc/sysctl.conf" "not found"
- return 1
- fi
-
- local retval=0 var= comments=
- while read var comments ; do
- case "${var}" in
- ""|"#"*) continue;;
- esac
- sysctl "${var}" >/dev/null || retval=1
- done < /etc/sysctl.conf
- eend ${retval} "Some errors were encountered"
-}
-
-# vim: set ts=4 :
diff --git a/sys-freebsd/freebsd-sbin/freebsd-sbin-9.1_rc1.ebuild b/sys-freebsd/freebsd-sbin/freebsd-sbin-9.1_rc1.ebuild
deleted file mode 100644
index 24a16c4..0000000
--- a/sys-freebsd/freebsd-sbin/freebsd-sbin-9.1_rc1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=2
-
-inherit bsdmk freebsd multilib
-
-DESCRIPTION="FreeBSD sbin utils"
-KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd"
-SLOT="0"
-
-SRC_URI="mirror://gentoo/${SBIN}.tar.bz2
- mirror://gentoo/${CONTRIB}.tar.bz2
- mirror://gentoo/${LIB}.tar.bz2
- mirror://gentoo/${LIBEXEC}.tar.bz2
- mirror://gentoo/${USBIN}.tar.bz2
- mirror://gentoo/${ETC}.tar.bz2
- build? ( mirror://gentoo/${SYS}.tar.bz2 )"
-
-RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[ipv6?,atm?,netware?]
- =sys-freebsd/freebsd-libexec-${RV}*
- >=dev-libs/expat-2.0.1
- ssl? ( dev-libs/openssl )
- >=dev-libs/libedit-20120311.3.0-r1
- sys-libs/readline
- sys-process/vixie-cron
- atm? ( net-analyzer/bsnmp )"
-DEPEND="${RDEPEND}
- !build? ( =sys-freebsd/freebsd-sources-${RV}* )
- =sys-freebsd/freebsd-mk-defs-${RV}*"
-
-S="${WORKDIR}/sbin"
-
-IUSE="atm ipfilter +pf ipv6 build ssl +cxx netware"
-
-pkg_setup() {
- use atm || mymakeopts="${mymakeopts} WITHOUT_ATM= "
- use cxx || mymakeopts="${mymakeopts} WITHOUT_CXX="
- use ipfilter || mymakeopts="${mymakeopts} WITHOUT_IPFILTER= "
- use ipv6 || mymakeopts="${mymakeopts} WITHOUT_INET6= WITHOUT_INET6_SUPPORT="
- use netware || mymakeopts="${mymakeopts} WITHOUT_IPX= WITHOUT_IPX_SUPPORT= WITHOUT_NCP= "
- use pf || mymakeopts="${mymakeopts} WITHOUT_PF= "
- use ssl || mymakeopts="${mymakeopts} WITHOUT_OPENSSL="
-}
-
-REMOVE_SUBDIRS="dhclient pfctl pflogd rcorder resolvconf"
-
-PATCHES=( "${FILESDIR}/${PN}-setXid.patch"
- "${FILESDIR}/${PN}-7.1-zlib.patch"
- "${FILESDIR}/${PN}-6.2-ldconfig.patch"
- "${FILESDIR}/${PN}-6.1-pr102701.patch"
- "${FILESDIR}/${PN}-bsdxml2expat.patch" )
-
-src_prepare() {
- use build || ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys"
-}
-
-src_install() {
- mymakeopts="${mymakeopts} GEOM_CLASS_DIR=/$(get_libdir)/geom "
- freebsd_src_install
- keepdir /var/log
- # Needed by ldconfig:
- keepdir /var/run
-
- # Maybe ship our own sysctl.conf so things like radvd work out of the box.
- # New wireless config method requires regdomain.xml in /etc
- cd "${WORKDIR}/etc/"
- insinto /etc
- doins minfree sysctl.conf regdomain.xml || die
-
- # initd script for idmapd
- newinitd "${FILESDIR}/idmapd.initd" idmapd
-
- # Install a crontab for adjkerntz
- insinto /etc/cron.d
- newins "${FILESDIR}/adjkerntz-crontab" adjkerntz
-
- # Install the periodic stuff (needs probably to be ported in a more
- # gentooish way)
- cd "${WORKDIR}/etc/periodic"
-
- doperiodic security \
- security/*.ipfwlimit \
- security/*.ipfwdenied || die
-
- use ipfilter && { doperiodic security \
- security/*.ipfdenied || die ; }
-
- use pf && { doperiodic security \
- security/*.pfdenied || die ; }
-}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2012-09-11 17:13 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-11 17:10 [gentoo-commits] proj/gentoo-bsd:master commit in: sys-freebsd/freebsd-sbin/files/, sys-freebsd/freebsd-sbin/ Alexis Ballier
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox