diff options
Diffstat (limited to 'sys-freebsd/freebsd-sbin')
17 files changed, 0 insertions, 665 deletions
diff --git a/sys-freebsd/freebsd-sbin/Manifest b/sys-freebsd/freebsd-sbin/Manifest deleted file mode 100644 index 0058061..0000000 --- a/sys-freebsd/freebsd-sbin/Manifest +++ /dev/null @@ -1,17 +0,0 @@ -AUX adjkerntz-crontab 184 SHA256 f3b08140ea38bfe502b34dd8c69aa4a6b65b786d792828cce082be8f844345dc SHA512 28ecfd94257eca2d91323e4bac1920969e589a13f877f1d67c4be0dd5d0bf4585eba8f749ae04f2e0761d5860b76e0c04993350bbdeb52736584ea9df97c6093 WHIRLPOOL 883509014af5a6f3803993eb4fc9f53608b08eaffdfcb409be3945d8234ab66b6a99c620b781a8d650aaeaff1f05db2e5249fb280f9a2bb079421062be3e5332 -AUX devd.conf 4770 SHA256 48c6d3664813222aed6b3c0ff5badbf3e8a37477445fe705850f77a9b95e3219 SHA512 af33a24edda94487adca283427cd0c5c027033ea7c03b11ea4b75c5d402794845005551200d90b74a29867490c2f7e35c74a864a18c7fba09d792ec591fe2c75 WHIRLPOOL b249cb96a67b8c10564212cb3cef34a1779b3adc4068edc1c68b8a7bdbc8cf4f527d2a655b9c8da1e68ec50b4bb8e7a9efe36b5a10db329fac4544a06e28fed5 -AUX devd.initd 1137 SHA256 8f574e3cda5792b5ea8db460fcd5b9052ec13a1d6a9f0cfd037ed35f108d9faf SHA512 031e3958b30b897d7a48a72688c5ff9d9961a0db1d06b57587d58e6d1685a160d8d6557536e2e4cb42263b718440fbcc8fd0ca839a7edb670d131255826e3875 WHIRLPOOL 12f50aca77a62c8efff01892e5282a98fab9b8c0a3d3f5c3ed2f0abce03e35ade51102814e6574883e81fa7350a2f50a34b151aa846b1d3e22242810eccc0196 -AUX devd_queue 853 SHA256 af57ffa202eec7d8c050e32e5ca3f54cbf491fac2e439172f9e008ac3e5e8417 SHA512 9d14d3d41608de50877761fd015cafe29d9103e3f77d0f42726405d4e66da5508000056e3b7603e224e4fab86b992f40af2fa3a764b4aae71e2fe4a898d97d88 WHIRLPOOL 23e5d1268f85d71e761717c19a8d1bb5516d32847f47080ea10ea4536dd7154666f76a5709e9e9639989dc2121ace708bea22538e2a571244578668e0b1b5791 -AUX freebsd-sbin-10.0-zlib.patch 861 SHA256 9e2b89c1def6424b4a628d286ced8554f5f59bdf890e647f5b07e431e4bc9351 SHA512 8a6e14d15e44e9de22863c65cd359cc408207a4329ecdfe053317fd120d01025f5d42b958447ed0bb2e584cc050391306438934ac8cae0edc4a6a785da8138b7 WHIRLPOOL ebad6febc4ebdd4355fe6a60f99af13d2b15e52f538a6c677705401982e1e55556234df7099c570fa7e6fa5ee9c9264e5a394382c626919d43c214d21023d6ba -AUX freebsd-sbin-6.1-pr102701.patch 548 SHA256 dccf32386359a2cfd80272c86085467d612c8f4d7924a6a223cd1259a8b7a176 SHA512 2b882565670ffe559410b17e2fa6a94624eee89d25a791ef3e27d657dedcf95b2be282217a2350203af7727b839d5d6ff50368f72c4bef3d7e60fef8a6325cbe WHIRLPOOL 14db7a26e6189314cc9a0e8ff5ccd01bedba178d9ddff856df262b18ce35fbd85999f5f4a612c2388af8718c6a1c0b544db4287bca08356fa5fb191f1cccf978 -AUX freebsd-sbin-6.2-ldconfig.patch 389 SHA256 b3fd47a733d39dea3400bee180d156ed09ff4c19dd47fbf5df52af33bdc5dc2b SHA512 ed8f6073991ba0c8823aea1570e720273d7dc68ec6daf38d7e1d41f2285d307d7905cf674a1148d4783c69f2dafd7fc8a51e729aa4727eb46d857218ab2d71ed WHIRLPOOL 3ecccd7b56c9bee820ca92b8a6a446a1bf69e61e889324407f2e76336eb0328b1162c7dc5d5f24505ec1f36d235bfe33fbecc5c5d60bf0f04741eeca9eb5b1cb -AUX freebsd-sbin-7.1-zlib.patch 800 SHA256 18c028bf1b51cf7c57d5517d8fe6f3221c8a4d00d1ae436e40af0d1cd095bc4f SHA512 54db6c1ad6030002fb1b5848e75470136a2b0b3d0c5398e1e0b3439c0bb736eb1ffa4799da7a3775a29761196a2c09a9cf70f75244de7d4e99bfe07357ed759c WHIRLPOOL cc5572b6ed34cb0462da77edf714e92ba10b672a315b216f342d200f0081ffdc417936b69cdf9e7e5ba8e1451f509fe222d366c84d98a005999c2987ae08d3ef -AUX freebsd-sbin-bsdxml2expat.patch 424 SHA256 f40f55bec52d0e3e0205c363ad624a1139a74d5de36f99ca2ff9e53583bc2287 SHA512 f455db40e528c9bf19a68a639d2c0b304371d66741ee852c279246647f43620fd33911787aa9721547e086cbaa7dafa85b1ee6571094593c74de15e2ccc2f522 WHIRLPOOL 9409fa6d31a1a9b7dad59a6bdd820319c8a895b27c130af7d29e0db969be6760c4ab7df952420fb4fca9445fe0433b3aca5377f509852261d0f6b4e5a2fbd72b -AUX freebsd-sbin-setXid.patch 541 SHA256 2d8158df7af52f9ce15f1513d16ed08ea6244f310aea3f271b12184a6a4c4267 SHA512 e6f1aefab22eca6941a5b62f6f9d9c82e0efc2b308ec636ecab40d9a678e87f2f6ccfefac99f5367ad8a16d18ddadf9a877a2f93697248b3f38a09edac75ec6e WHIRLPOOL a2d578ff3b54ad25875f65d6724d0762c0fc3a400aa8e14c93ab94dc789910fbc6ab70528cbd0074fd0d7a4957a2d2d51bf10f615cbfd751aa4e95edc88d4e7d -AUX idmapd.initd 441 SHA256 876ef332062f6e0335bd09152e6289ac1df8827cbf5d24d43b704e01ca875bce SHA512 69e548dd863c12dd9d525d9dd77ed06fd0418b6744c97899766d73aca26b60d12f27c791720b195c46b244fd2f3effd47d43b4fa277f795f402494f991837714 WHIRLPOOL 33e800223fac44ca8e476449044d75b274e1b1db7e8c6f1c615f4479b51f5f0255c15d46d9ea39888a8a2d0b419a6ce9786a9d9869ed81cde90b52e11fefa55d -AUX ipfw.confd 364 SHA256 97911a2f003e2108c1f5da04b84a3b73fbccbde48fe58af0f056d8a9effbb3d3 SHA512 6bb923386c40e7bfcc2d9a122ee3e942fe30cb49715d1cfb122923416d2dcf63fd6f61cb93510a245eb8bbd767e33f029726bb277cb0e16e98d2e856ef33ff2f WHIRLPOOL e1de6e7f8807f7079b856197d9e7a650491a0a0f7b9fab703befed7bc24ccedb3be1ff758194c70cfa4e86f0930b6f30bc03342edd8de55795621ceb5be471f0 -AUX ipfw.initd 2912 SHA256 156801d8b99f50e2d6b48cc01ecd57c779749fb40bb214b43cc036ce82f96b98 SHA512 7e07cad7e1305cb36b98a408f9fadd9ce4f4dd40680a92d84feeb00d3a0828e15fcfdfd821b26c31133e5da8a5337e5dc8fd7b376e2ab862158e42625b3756a7 WHIRLPOOL e88c9b57955af23ee01d7281359d447db4780697fd2899bb4c86e62145cc9f035f7c8a19ecea487bb0f5c6f71f1edf29f8c70b31af62caebe22b92ac4ceaa640 -AUX sysctl.initd 558 SHA256 e6921dc44d3e442b394eed3385d7cda9325efff2e51d08972e1db7b0d97e122d SHA512 e1858fedf435b6ada3b2846d63b6b74dfcfee98befc00946917f5ee009fc83cbc963f4dc05d5051e13c4493f2fa9d5ba2f2b7adffee8ee741d3268cb49cc6c2b WHIRLPOOL a8b59c1c3045e7441c109783a28dbf1505dd4bc9d091b291b406221091948b7526d47bd3a4f0d3e7dd6ae5810feca20e0cb855b74273e13884f7cda87ba9e004 -DIST freebsd-src-11.0.tar.xz 140252356 SHA256 0725a7f1d3e8985f4b2e31a2ad714334463a5016b203073a8fc196649f3d5a27 SHA512 ee1271bb38ee46fbab3d49b33f5b5afd76f9402b2e792581d63f02272df8e2a4011fac97ad550434f0c2fc5fe241940276629bde55e75f8638896a81339870cd WHIRLPOOL e1cda77189990c1d2187ab2d9e842ff3c619d8235f1ade56819fadc52f680a871de17cf05f8119614557c615ad19d41d1b6080c4b3768e7252889546b865d827 -EBUILD freebsd-sbin-11.0.ebuild 2538 SHA256 742c55213680e92d28eb296a5540aeeec1a6c635b03c3974d1e4067522004a87 SHA512 d459593ae0df4571ec40c12f3f2b1a38219aadbdde0696dec178020151d7450dd1f6723065846848d6d583809a42d90b276570881d1e5ee9f68166cac6e41969 WHIRLPOOL 949e5ff234cb115d8b17ee9fe5ec8ae97f3a115c001d5d9bf172a7ba9d6017f04d5a3a10b89da2fff0e7c53428d5d1df5e3b0b1ffb573800863777ef0a5b3b9a -MISC metadata.xml 563 SHA256 fbc171fa5f85349a31cbd904e559b5f012f86f7aa61a60c57a9eaf12a5e39dd4 SHA512 e83379562dfc0fd06156ac34e3c06677655a79ec7f51df2a3adc90fcf246dc0a779085252801d5415826bf3cb050917005b12792987d2f199484291a3635d765 WHIRLPOOL 543a80aa8e2403d4dd119572ddf3f9c7992f9a84825d6130480f46b247f310718faf3c64cad81c45e5b3e56f56439fcac4caf2a19c22b8e1a3034335c0e296a6 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 6171258..0000000 --- a/sys-freebsd/freebsd-sbin/files/devd.initd +++ /dev/null @@ -1,47 +0,0 @@ -#!/sbin/openrc-run -# 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-10.0-zlib.patch b/sys-freebsd/freebsd-sbin/files/freebsd-sbin-10.0-zlib.patch deleted file mode 100644 index c0a2bf9..0000000 --- a/sys-freebsd/freebsd-sbin/files/freebsd-sbin-10.0-zlib.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/sbin/savecore/savecore.c b/sbin/savecore/savecore.c -index bdbf7e3..a4c67ec 100644 ---- a/sbin/savecore/savecore.c -+++ b/sbin/savecore/savecore.c -@@ -92,7 +92,7 @@ static int checkfor, compress, clear, force, keep, verbose; /* flags */ - static int nfound, nsaved, nerr; /* statistics */ - static int maxdumps; - --extern FILE *zopen(const char *, const char *); -+extern FILE *gzopen(const char *, const char *); - - static sig_atomic_t got_siginfo; - static void infohandler(int); -@@ -626,7 +626,7 @@ DoFile(const char *savedir, const char *device) - if (compress) { - snprintf(corename, sizeof(corename), "%s.%d.gz", - istextdump ? "textdump.tar" : "vmcore", bounds); -- fp = zopen(corename, "w"); -+ fp = gzopen(corename, "w"); - } else { - snprintf(corename, sizeof(corename), "%s.%d", - istextdump ? "textdump.tar" : "vmcore", bounds); 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 100644 index 60a0bb8..0000000 --- a/sys-freebsd/freebsd-sbin/files/idmapd.initd +++ /dev/null @@ -1,20 +0,0 @@ -#!/sbin/openrc-run -# 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 13cdaee..0000000 --- a/sys-freebsd/freebsd-sbin/files/ipfw.initd +++ /dev/null @@ -1,110 +0,0 @@ -#!/sbin/openrc-run -# 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 9b8aaf8..0000000 --- a/sys-freebsd/freebsd-sbin/files/sysctl.initd +++ /dev/null @@ -1,28 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -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-11.0.ebuild b/sys-freebsd/freebsd-sbin/freebsd-sbin-11.0.ebuild deleted file mode 100644 index b9ccdc5..0000000 --- a/sys-freebsd/freebsd-sbin/freebsd-sbin-11.0.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit bsdmk freebsd multilib - -DESCRIPTION="FreeBSD sbin utils" -SLOT="0" - -if [[ ${PV} != *9999* ]]; then - KEYWORDS="~amd64-fbsd ~sparc-fbsd ~x86-fbsd" -fi - -EXTRACTONLY=" - sbin/ - contrib/ - lib/ - libexec/ - usr.sbin/ - etc/ -" - -RDEPEND="=sys-freebsd/freebsd-lib-${RV}*[ipv6?,atm?,netware?] - =sys-freebsd/freebsd-libexec-${RV}* - >=dev-libs/expat-2.0.1 - ssl? ( dev-libs/openssl:0= ) - >=dev-libs/libedit-20120311.3.0-r1 - sys-libs/readline:0= - || ( - sys-process/cronie - 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() { - # Add the required source files. - use build && EXTRACTONLY+="sys/ " - - 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}-10.0-zlib.patch" - "${FILESDIR}/${PN}-6.2-ldconfig.patch" - "${FILESDIR}/${PN}-6.1-pr102701.patch" ) - -src_prepare() { - if [[ ! -e "${WORKDIR}/sys" ]]; then - use build || ln -s "/usr/src/sys" "${WORKDIR}/sys" - fi -} - -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/" || die - insinto /etc - doins minfree sysctl.conf regdomain.xml || die - - # 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" || die - - doperiodic security \ - security/*.ipfwlimit \ - security/*.ipfwdenied || die - - use ipfilter && { doperiodic security \ - security/*.ipfdenied || die ; } - - use pf && { doperiodic security \ - security/*.pfdenied || die ; } -} diff --git a/sys-freebsd/freebsd-sbin/metadata.xml b/sys-freebsd/freebsd-sbin/metadata.xml deleted file mode 100644 index dccfe68..0000000 --- a/sys-freebsd/freebsd-sbin/metadata.xml +++ /dev/null @@ -1,20 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>bsd@gentoo.org</email> - <name>BSD Project</name> - </maintainer> - <use> - <flag name="ipfilter"> - Build tools to administer the ipfilter firewall. - </flag> - <flag name="pf"> - Build tools to administer the PF firewall. - </flag> - <flag name="netware"> - Build libraries and tools to work with NetWare protocols (IPX - and NCP). - </flag> - </use> -</pkgmetadata> |