summaryrefslogtreecommitdiff
path: root/homebrew/leafnode
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/leafnode
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/leafnode')
-rw-r--r--homebrew/leafnode/.beer27
-rw-r--r--homebrew/leafnode/.make.sh-auto6
-rw-r--r--homebrew/leafnode/_metadata/description1
-rw-r--r--homebrew/leafnode/_metadata/homepage1
-rw-r--r--homebrew/leafnode/_metadata/name1
-rw-r--r--homebrew/leafnode/_metadata/version1
-rwxr-xr-xhomebrew/leafnode/download.sh1
7 files changed, 38 insertions, 0 deletions
diff --git a/homebrew/leafnode/.beer b/homebrew/leafnode/.beer
new file mode 100644
index 000000000..d7e0edc9f
--- /dev/null
+++ b/homebrew/leafnode/.beer
@@ -0,0 +1,27 @@
+{
+ "name": "Leafnode",
+ "description": "NNTP server for small sites",
+ "url": "https://downloads.sourceforge.net/project/leafnode/leafnode/1.11.11/leafnode-1.11.11.tar.bz2",
+ "mirror": null,
+ "homepage": "http://www.leafnode.org/",
+ "depends": [
+ {
+ "depend": "pcre",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "(var/\"spool/news/leafnode\").mkpath",
+ "system \"./configure\", \"--disable-dependency-tracking\", \"--prefix=#{prefix}\",",
+ "\"--with-user=#{ENV[\"USER\"]}\", \"--with-group=admin\",",
+ "\"--sysconfdir=#{etc}/leafnode\", \"--with-spooldir=#{var}/spool/news/leafnode\"",
+ "system \"make\", \"install\"",
+ "(prefix/\"homebrew.mxcl.fetchnews.plist\").write fetchnews_plist",
+ "(prefix/\"homebrew.mxcl.texpire.plist\").write texpire_plist"
+ ],
+ "version": "1.11.11",
+ "file": "leafnode.rb"
+} \ No newline at end of file
diff --git a/homebrew/leafnode/.make.sh-auto b/homebrew/leafnode/.make.sh-auto
new file mode 100644
index 000000000..0847dc79e
--- /dev/null
+++ b/homebrew/leafnode/.make.sh-auto
@@ -0,0 +1,6 @@
+pkg:setup
+(var/"spool/news/leafnode").mkpath
+pkg:configure --disable-dependency-tracking --with-user=#{ENV[USER"]}" --with-group=admin --with-spooldir=#{var}/spool/news/leafnode
+make DESTDIR=${PKG_DEST} install
+(prefix/"homebrew.mxcl.fetchnews.plist").write fetchnews_plist
+(prefix/"homebrew.mxcl.texpire.plist").write texpire_plist
diff --git a/homebrew/leafnode/_metadata/description b/homebrew/leafnode/_metadata/description
new file mode 100644
index 000000000..37d5db5f8
--- /dev/null
+++ b/homebrew/leafnode/_metadata/description
@@ -0,0 +1 @@
+NNTP server for small sites
diff --git a/homebrew/leafnode/_metadata/homepage b/homebrew/leafnode/_metadata/homepage
new file mode 100644
index 000000000..14101a6e8
--- /dev/null
+++ b/homebrew/leafnode/_metadata/homepage
@@ -0,0 +1 @@
+http://www.leafnode.org/
diff --git a/homebrew/leafnode/_metadata/name b/homebrew/leafnode/_metadata/name
new file mode 100644
index 000000000..ad47e2f44
--- /dev/null
+++ b/homebrew/leafnode/_metadata/name
@@ -0,0 +1 @@
+Leafnode
diff --git a/homebrew/leafnode/_metadata/version b/homebrew/leafnode/_metadata/version
new file mode 100644
index 000000000..319bf4dce
--- /dev/null
+++ b/homebrew/leafnode/_metadata/version
@@ -0,0 +1 @@
+1.11.11
diff --git a/homebrew/leafnode/download.sh b/homebrew/leafnode/download.sh
new file mode 100755
index 000000000..837de2467
--- /dev/null
+++ b/homebrew/leafnode/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/leafnode/leafnode/1.11.11/leafnode-1.11.11.tar.bz2 \ No newline at end of file