aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2020-01-11 11:29:03 +0000
committerRene Ladan <rene@FreeBSD.org>2020-01-11 11:29:03 +0000
commitf2bbf79d4cc63fd0b1160b9f95bfe73ee8ebffa5 (patch)
tree6f75d786add0612b76db2f197da28b5d04e1a32e
parent4e1530a86f207c1ef4e9588e6522c1b04f1b2cf0 (diff)
downloadports-f2bbf79d4cc63fd0b1160b9f95bfe73ee8ebffa5.tar.gz
ports-f2bbf79d4cc63fd0b1160b9f95bfe73ee8ebffa5.zip
Remove expired port:
2020-01-10 sysutils/docker-freebsd: Broken for more than 9 months
Notes
Notes: svn path=/head/; revision=522677
-rw-r--r--MOVED1
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/docker-freebsd/Makefile41
-rw-r--r--sysutils/docker-freebsd/distinfo2
-rw-r--r--sysutils/docker-freebsd/files/docker.in83
-rw-r--r--sysutils/docker-freebsd/files/patch-pkg_system_meminfo__unsupported.go9
-rw-r--r--sysutils/docker-freebsd/files/patch-runconfig_config.go21
-rw-r--r--sysutils/docker-freebsd/files/patch-runconfig_hostconfig.go33
-rw-r--r--sysutils/docker-freebsd/pkg-descr12
-rw-r--r--sysutils/docker-freebsd/pkg-message26
10 files changed, 1 insertions, 228 deletions
diff --git a/MOVED b/MOVED
index 471e1377b67f..11c5079fc51c 100644
--- a/MOVED
+++ b/MOVED
@@ -13747,3 +13747,4 @@ sysutils/hfm||2020-01-10|Has expired: Broken for more than 4 months
sysutils/u-boot-zedboard||2020-01-10|Has expired: Broken for more than 6 months
sysutils/u-boot-zybo||2020-01-10|Has expired: Broken for more than 6 months
x11-themes/kde-icons-kool-gorilla||2020-01-10|Has expired: Broken for more than 3 months, unmaintained
+sysutils/docker-freebsd||2020-01-11|Has expired: Broken for more than 9 months
diff --git a/sysutils/Makefile b/sysutils/Makefile
index cae0f0b48263..b534e1ab1997 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -255,7 +255,6 @@
SUBDIR += docker
SUBDIR += docker-compose
SUBDIR += docker-credential-pass
- SUBDIR += docker-freebsd
SUBDIR += docker-machine
SUBDIR += doctl
SUBDIR += doinkd
diff --git a/sysutils/docker-freebsd/Makefile b/sysutils/docker-freebsd/Makefile
deleted file mode 100644
index 0f0bc51895e4..000000000000
--- a/sysutils/docker-freebsd/Makefile
+++ /dev/null
@@ -1,41 +0,0 @@
-# Created by: kmoore@FreeBSD.org
-# $FreeBSD$
-
-PORTNAME= docker-freebsd
-PORTVERSION= 20150625
-PORTREVISION= 2
-CATEGORIES= sysutils
-
-MAINTAINER= joneum@FreeBSD.org
-COMMENT= Docker containment system
-
-LICENSE= APACHE20
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-BROKEN= fails to build
-DEPRECATED= Broken for more than 9 months
-EXPIRATION_DATE= 2020-01-10
-
-BUILD_DEPENDS= bash:shells/bash \
- sqlite3:databases/sqlite3
-RUN_DEPENDS= bash:shells/bash \
- sqlite3:databases/sqlite3
-
-USES= go:run
-
-USE_GITHUB= yes
-GH_ACCOUNT= kvasdopil
-GH_PROJECT= docker
-GH_TAGNAME= 582db78
-
-PLIST_FILES= bin/docker
-USE_RC_SUBR= docker
-
-do-build:
- @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} AUTO_GOPATH=1 DOCKER_GITCOMMIT=${GH_TAGNAME} ./hack/make.sh binary
-
-do-install:
- @${MKDIR} ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_PROGRAM} ${WRKSRC}/bundles/latest/binary/docker ${STAGEDIR}${PREFIX}/bin/
-
-.include <bsd.port.mk>
diff --git a/sysutils/docker-freebsd/distinfo b/sysutils/docker-freebsd/distinfo
deleted file mode 100644
index 5c44385445f5..000000000000
--- a/sysutils/docker-freebsd/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (kvasdopil-docker-20150625-582db78_GH0.tar.gz) = a750d344af4af3d30b1a3373f382ab597a2a7aa4a0bb5c22d650d0c5cc9ac506
-SIZE (kvasdopil-docker-20150625-582db78_GH0.tar.gz) = 7292884
diff --git a/sysutils/docker-freebsd/files/docker.in b/sysutils/docker-freebsd/files/docker.in
deleted file mode 100644
index ede1f1081397..000000000000
--- a/sysutils/docker-freebsd/files/docker.in
+++ /dev/null
@@ -1,83 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: docker
-# REQUIRE: DAEMON
-# KEYWORD: nojail shutdown
-
-. /etc/rc.subr
-
-name="docker"
-rcvar="docker_enable"
-
-stop_cmd="docker_stop"
-start_cmd="docker_start"
-command="%%PREFIX%%/bin/docker"
-
-load_rc_config $name
-
-: ${docker_enable=NO}
-: ${docker_dir=/usr/docker}
-: ${docker_nat_pf=YES}
-: ${docker_nat_iface=NONE}
-: ${docker_flags=}
-
-docker_start()
-{
- if [ ! -d "${docker_dir}" ] ; then
- echo "Missing ${docker_dir}! Please create / mount a ZFS dataset at this location."
- exit 1
- fi
-
- if [ -e "/var/run/docker.pid" ] ; then
- pgrep -F /var/run/docker.pid 2>/dev/null >/dev/null
- if [ $? -eq 0 ] ; then
- echo "Docker already running? /var/run/docker.pid"
- exit 1
- fi
- fi
-
- echo "Starting docker..."
- daemon -p /var/run/docker.pid ${command} -d -e jail -s zfs -g ${docker_dir} -D ${docker_flags} >/var/log/docker.log 2>/var/log/docker.log
-
- # Check for linux 64bit support and enable
- kldstat | grep -q 'linux64'
- if [ $? -ne 0 -a -e "/boot/kernel/linux64.ko" ] ; then
- kldload linux64
- fi
-
- # Check for NAT support via PF
- # This is an ugly experimental hack for now, eventually will go away
- if [ "${docker_nat_pf}" != "YES" ] ; then return ; fi
-
- # Load PF if not already
- kldstat | grep -q 'pf.ko'
- if [ $? -ne 0 -a -e "/boot/kernel/pf.ko" ] ; then
- kldload pf
- fi
-
- # Check if PF rules already loaded
- /sbin/pfctl -s nat 2>/dev/null | grep -q 172.17
- if [ $? -eq 0 ] ; then return ; fi
-
- if [ "${docker_nat_iface}" != "NONE" ] ; then
- iface="${docker_nat_iface}"
- else
- iface=`/usr/bin/netstat -f inet -nrW | grep '^default' | awk '{ print $6 }'`
- fi
- echo "nat on ${iface} from 172.17.0.0/16 to any -> (${iface})" > /tmp/pf-nat-docker.$$
- /sbin/pfctl -f /tmp/pf-nat-docker.$$ 2>/dev/null
- /sbin/pfctl -e 2>/dev/null
- rm /tmp/pf-nat-docker.$$
-
-}
-
-docker_stop()
-{
- if [ -e "/var/run/docker.pid" ] ; then
- echo "Stopping docker..."
- pkill -F /var/run/docker.pid
- fi
-}
-
-run_rc_command "$1"
-
diff --git a/sysutils/docker-freebsd/files/patch-pkg_system_meminfo__unsupported.go b/sysutils/docker-freebsd/files/patch-pkg_system_meminfo__unsupported.go
deleted file mode 100644
index d3226ffc4240..000000000000
--- a/sysutils/docker-freebsd/files/patch-pkg_system_meminfo__unsupported.go
+++ /dev/null
@@ -1,9 +0,0 @@
---- pkg/system/meminfo_unsupported.go.orig 2015-06-08 13:34:30 UTC
-+++ pkg/system/meminfo_unsupported.go
-@@ -3,5 +3,5 @@
- package system
-
- func ReadMemInfo() (*MemInfo, error) {
-- return nil, ErrNotSupportedPlatform
-+ return &MemInfo{}, ErrNotSupportedPlatform
- }
diff --git a/sysutils/docker-freebsd/files/patch-runconfig_config.go b/sysutils/docker-freebsd/files/patch-runconfig_config.go
deleted file mode 100644
index c9ba74ad2dbf..000000000000
--- a/sysutils/docker-freebsd/files/patch-runconfig_config.go
+++ /dev/null
@@ -1,21 +0,0 @@
---- runconfig/config.go.orig 2015-06-08 13:34:30 UTC
-+++ runconfig/config.go
-@@ -132,15 +132,15 @@ type Config struct {
-
- type ContainerConfigWrapper struct {
- *Config
-- *hostConfigWrapper
-+ *HostConfigWrapper
- }
-
- func (c ContainerConfigWrapper) HostConfig() *HostConfig {
-- if c.hostConfigWrapper == nil {
-+ if c.HostConfigWrapper == nil {
- return new(HostConfig)
- }
-
-- return c.hostConfigWrapper.GetHostConfig()
-+ return c.HostConfigWrapper.GetHostConfig()
- }
-
- func DecodeContainerConfig(src io.Reader) (*Config, *HostConfig, error) {
diff --git a/sysutils/docker-freebsd/files/patch-runconfig_hostconfig.go b/sysutils/docker-freebsd/files/patch-runconfig_hostconfig.go
deleted file mode 100644
index c9f9b5201fd0..000000000000
--- a/sysutils/docker-freebsd/files/patch-runconfig_hostconfig.go
+++ /dev/null
@@ -1,33 +0,0 @@
---- runconfig/hostconfig.go.orig 2015-06-08 13:34:30 UTC
-+++ runconfig/hostconfig.go
-@@ -234,18 +234,18 @@ type HostConfig struct {
- func MergeConfigs(config *Config, hostConfig *HostConfig) *ContainerConfigWrapper {
- return &ContainerConfigWrapper{
- config,
-- &hostConfigWrapper{InnerHostConfig: hostConfig},
-+ &HostConfigWrapper{InnerHostConfig: hostConfig},
- }
- }
-
--type hostConfigWrapper struct {
-+type HostConfigWrapper struct {
- InnerHostConfig *HostConfig `json:"HostConfig,omitempty"`
- Cpuset string `json:",omitempty"` // Deprecated. Exported for backwards compatibility.
-
- *HostConfig // Deprecated. Exported to read attrubutes from json that are not in the inner host config structure.
- }
-
--func (w hostConfigWrapper) GetHostConfig() *HostConfig {
-+func (w HostConfigWrapper) GetHostConfig() *HostConfig {
- hc := w.HostConfig
-
- if hc == nil && w.InnerHostConfig != nil {
-@@ -274,7 +274,7 @@ func (w hostConfigWrapper) GetHostConfig
- func DecodeHostConfig(src io.Reader) (*HostConfig, error) {
- decoder := json.NewDecoder(src)
-
-- var w hostConfigWrapper
-+ var w HostConfigWrapper
- if err := decoder.Decode(&w); err != nil {
- return nil, err
- }
diff --git a/sysutils/docker-freebsd/pkg-descr b/sysutils/docker-freebsd/pkg-descr
deleted file mode 100644
index 039dbde1df12..000000000000
--- a/sysutils/docker-freebsd/pkg-descr
+++ /dev/null
@@ -1,12 +0,0 @@
-Docker is an open source project to pack, ship and run any
-application as a lightweight container.
-
-Docker containers are both hardware-agnostic and platform-agnostic.
-This means they can run anywhere, from your laptop to the largest
-EC2 compute instance and everything in between - and they don't
-require you to use a particular language, framework or packaging
-system. That makes them great building blocks for deploying and
-scaling web apps, databases, and backend services without depending
-on a particular stack or provider.
-
-WWW: https://github.com/kvasdopil/docker
diff --git a/sysutils/docker-freebsd/pkg-message b/sysutils/docker-freebsd/pkg-message
deleted file mode 100644
index 2d66be114f9b..000000000000
--- a/sysutils/docker-freebsd/pkg-message
+++ /dev/null
@@ -1,26 +0,0 @@
-[
-{ type: install
- message: <<EOM
-Docker requires a bit of setup before usage.
-
-You will need to create a ZFS dataset on /usr/docker
-
-# zfs create -o mountpoint=/usr/docker <zroot>/docker
-
-And lastly enable the docker daemon
-# sysrc -f /etc/rc.conf docker_enable="YES"
-# service docker start
-
-(WARNING)
-
-Starting the docker service will also add the following PF rule:
-
-nat on ${iface} from 172.17.0.0/16 to any -> (${iface})
-
-Where $iface is the default NIC on the system, or the value
-of $docker_nat_iface. This is for network connectivity to docker
-containers in this early port. This should not be needed in future
-versions of docker.
-EOM
-}
-]