summaryrefslogtreecommitdiff
path: root/homebrew/ntp
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/ntp')
-rw-r--r--homebrew/ntp/.beer31
-rw-r--r--homebrew/ntp/.make.sh-auto4
-rw-r--r--homebrew/ntp/_metadata/description1
-rw-r--r--homebrew/ntp/_metadata/homepage1
-rw-r--r--homebrew/ntp/_metadata/name1
-rw-r--r--homebrew/ntp/_metadata/version1
-rwxr-xr-xhomebrew/ntp/download.sh1
7 files changed, 40 insertions, 0 deletions
diff --git a/homebrew/ntp/.beer b/homebrew/ntp/.beer
new file mode 100644
index 000000000..3bebdbd17
--- /dev/null
+++ b/homebrew/ntp/.beer
@@ -0,0 +1,31 @@
+{
+ "name": "Ntp",
+ "description": "The Network Time Protocol (NTP) Distribution",
+ "url": "https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p13.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.eecis.udel.edu/~mills/ntp/html/",
+ "depends": [
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "args = %W[",
+ "--disable-debug",
+ "--disable-dependency-tracking",
+ "--disable-silent-rules",
+ "--prefix=#{prefix}",
+ "--with-openssl-libdir=#{Formula[\"openssl\"].lib}",
+ "--with-openssl-incdir=#{Formula[\"openssl\"].include}",
+ "--with-net-snmp-config=no",
+ "]",
+ "system \"./configure\", *args",
+ "system \"make\", \"install\", \"LDADD_LIBNTP=-lresolv -undefined dynamic_lookup\""
+ ],
+ "version": "4.2.8",
+ "file": "ntp.rb"
+} \ No newline at end of file
diff --git a/homebrew/ntp/.make.sh-auto b/homebrew/ntp/.make.sh-auto
new file mode 100644
index 000000000..d5cf7622b
--- /dev/null
+++ b/homebrew/ntp/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+args = %W[--disable-debug --disable-dependency-tracking --disable-silent-rules --prefix=#{prefix} --with-openssl-libdir=#{Formula["openssl"].lib} --with-openssl-incdir=#{Formula["openssl"].include} --with-net-snmp-config=no ]
+pkg:configure *args
+make DESTDIR=${PKG_DEST} install LDADD_LIBNTP=-lresolv -undefined dynamic_lookup
diff --git a/homebrew/ntp/_metadata/description b/homebrew/ntp/_metadata/description
new file mode 100644
index 000000000..c548dea58
--- /dev/null
+++ b/homebrew/ntp/_metadata/description
@@ -0,0 +1 @@
+The Network Time Protocol (NTP) Distribution
diff --git a/homebrew/ntp/_metadata/homepage b/homebrew/ntp/_metadata/homepage
new file mode 100644
index 000000000..5b6653b60
--- /dev/null
+++ b/homebrew/ntp/_metadata/homepage
@@ -0,0 +1 @@
+https://www.eecis.udel.edu/~mills/ntp/html/
diff --git a/homebrew/ntp/_metadata/name b/homebrew/ntp/_metadata/name
new file mode 100644
index 000000000..a3f002e74
--- /dev/null
+++ b/homebrew/ntp/_metadata/name
@@ -0,0 +1 @@
+Ntp
diff --git a/homebrew/ntp/_metadata/version b/homebrew/ntp/_metadata/version
new file mode 100644
index 000000000..ad9e446d8
--- /dev/null
+++ b/homebrew/ntp/_metadata/version
@@ -0,0 +1 @@
+4.2.8
diff --git a/homebrew/ntp/download.sh b/homebrew/ntp/download.sh
new file mode 100755
index 000000000..0ab839f83
--- /dev/null
+++ b/homebrew/ntp/download.sh
@@ -0,0 +1 @@
+wget https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p13.tar.gz \ No newline at end of file