diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/ahcpd | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (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/ahcpd')
-rw-r--r-- | homebrew/ahcpd/.beer | 46 | ||||
-rw-r--r-- | homebrew/ahcpd/.make.sh-auto | 3 | ||||
-rw-r--r-- | homebrew/ahcpd/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/ahcpd/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/ahcpd/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/ahcpd/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/ahcpd/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/ahcpd/patches.sh | 26 |
8 files changed, 80 insertions, 0 deletions
diff --git a/homebrew/ahcpd/.beer b/homebrew/ahcpd/.beer new file mode 100644 index 000000000..c916bf5b9 --- /dev/null +++ b/homebrew/ahcpd/.beer @@ -0,0 +1,46 @@ +{ + "name": "Ahcpd", + "description": "Autoconfiguration protocol for IPv6 and IPv6/IPv4 networks", + "url": "https://www.irif.univ-paris-diderot.fr/~jch/software/files/ahcpd-0.53.tar.gz", + "mirror": null, + "homepage": "https://www.irif.univ-paris-diderot.fr/~jch/software/ahcp/", + "depends": [], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": null, + "data": [ + "diff --git a/Makefile b/Makefile\n", + "index e52eeb7..28e1043 100644\n", + "--- a/Makefile\n", + "+++ b/Makefile\n", + "@@ -40,8 +40,8 @@ install.minimal: all\n", + "\tchmod +x $(TARGET)/etc/ahcp/ahcp-config.sh\n", + "\n", + " install: all install.minimal\n", + "-\tmkdir -p $(TARGET)$(PREFIX)/man/man8/\n", + "-\tcp -f ahcpd.man $(TARGET)$(PREFIX)/man/man8/ahcpd.8\n", + "+\tmkdir -p $(TARGET)$(PREFIX)/share/man/man8/\n", + "+\tcp -f ahcpd.man $(TARGET)$(PREFIX)/share/man/man8/ahcpd.8\n", + "\n", + " .PHONY: uninstall\n", + "\n", + "@@ -49,7 +49,7 @@ uninstall:\n", + "\t-rm -f $(TARGET)$(PREFIX)/bin/ahcpd\n", + "\t-rm -f $(TARGET)$(PREFIX)/bin/ahcp-config.sh\n", + "\t-rm -f $(TARGET)$(PREFIX)/bin/ahcp-dummy-config.sh\n", + "-\t-rm -f $(TARGET)$(PREFIX)/man/man8/ahcpd.8\n", + "+\t-rm -f $(TARGET)$(PREFIX)/share/man/man8/ahcpd.8\n", + "\n", + " .PHONY: clean\n" + ] + } + ], + "install": [ + "system \"make\", \"LDLIBS=''\"", + "system \"make\", \"install\", \"PREFIX=\", \"TARGET=#{prefix}\"" + ], + "version": "0.53", + "file": "ahcpd.rb" +}
\ No newline at end of file diff --git a/homebrew/ahcpd/.make.sh-auto b/homebrew/ahcpd/.make.sh-auto new file mode 100644 index 000000000..410d7a2f6 --- /dev/null +++ b/homebrew/ahcpd/.make.sh-auto @@ -0,0 +1,3 @@ +pkg:setup +make LDLIBS='' +make DESTDIR=${PKG_DEST} install PREFIX= TARGET=${PKG_TAPF} diff --git a/homebrew/ahcpd/_metadata/description b/homebrew/ahcpd/_metadata/description new file mode 100644 index 000000000..946335bc8 --- /dev/null +++ b/homebrew/ahcpd/_metadata/description @@ -0,0 +1 @@ +Autoconfiguration protocol for IPv6 and IPv6/IPv4 networks diff --git a/homebrew/ahcpd/_metadata/homepage b/homebrew/ahcpd/_metadata/homepage new file mode 100644 index 000000000..bdd952da1 --- /dev/null +++ b/homebrew/ahcpd/_metadata/homepage @@ -0,0 +1 @@ +https://www.irif.univ-paris-diderot.fr/~jch/software/ahcp/ diff --git a/homebrew/ahcpd/_metadata/name b/homebrew/ahcpd/_metadata/name new file mode 100644 index 000000000..dcd8762e6 --- /dev/null +++ b/homebrew/ahcpd/_metadata/name @@ -0,0 +1 @@ +Ahcpd diff --git a/homebrew/ahcpd/_metadata/version b/homebrew/ahcpd/_metadata/version new file mode 100644 index 000000000..5b39bf44c --- /dev/null +++ b/homebrew/ahcpd/_metadata/version @@ -0,0 +1 @@ +0.53 diff --git a/homebrew/ahcpd/download.sh b/homebrew/ahcpd/download.sh new file mode 100755 index 000000000..79fc75904 --- /dev/null +++ b/homebrew/ahcpd/download.sh @@ -0,0 +1 @@ +wget https://www.irif.univ-paris-diderot.fr/~jch/software/files/ahcpd-0.53.tar.gz
\ No newline at end of file diff --git a/homebrew/ahcpd/patches.sh b/homebrew/ahcpd/patches.sh new file mode 100755 index 000000000..29ecc7a84 --- /dev/null +++ b/homebrew/ahcpd/patches.sh @@ -0,0 +1,26 @@ +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +diff --git a/Makefile b/Makefile +index e52eeb7..28e1043 100644 +--- a/Makefile ++++ b/Makefile +@@ -40,8 +40,8 @@ install.minimal: all + chmod +x $(TARGET)/etc/ahcp/ahcp-config.sh + + install: all install.minimal +- mkdir -p $(TARGET)$(PREFIX)/man/man8/ +- cp -f ahcpd.man $(TARGET)$(PREFIX)/man/man8/ahcpd.8 ++ mkdir -p $(TARGET)$(PREFIX)/share/man/man8/ ++ cp -f ahcpd.man $(TARGET)$(PREFIX)/share/man/man8/ahcpd.8 + + .PHONY: uninstall + +@@ -49,7 +49,7 @@ uninstall: + -rm -f $(TARGET)$(PREFIX)/bin/ahcpd + -rm -f $(TARGET)$(PREFIX)/bin/ahcp-config.sh + -rm -f $(TARGET)$(PREFIX)/bin/ahcp-dummy-config.sh +- -rm -f $(TARGET)$(PREFIX)/man/man8/ahcpd.8 ++ -rm -f $(TARGET)$(PREFIX)/share/man/man8/ahcpd.8 + + .PHONY: clean +EOF |