diff options
Diffstat (limited to 'homebrew/bgpq3')
-rw-r--r-- | homebrew/bgpq3/.beer | 40 | ||||
-rw-r--r-- | homebrew/bgpq3/.make.sh-auto | 3 | ||||
-rw-r--r-- | homebrew/bgpq3/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/bgpq3/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/bgpq3/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/bgpq3/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/bgpq3/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/bgpq3/patches.sh | 20 |
8 files changed, 68 insertions, 0 deletions
diff --git a/homebrew/bgpq3/.beer b/homebrew/bgpq3/.beer new file mode 100644 index 000000000..de29609bb --- /dev/null +++ b/homebrew/bgpq3/.beer @@ -0,0 +1,40 @@ +{ + "name": "Bgpq3", + "description": "BGP filtering automation for Cisco, Juniper, BIRD and OpenBGPD routers", + "url": "https://github.com/snar/bgpq3/archive/v0.1.35.tar.gz", + "mirror": null, + "homepage": "http://snar.spb.ru/prog/bgpq3/", + "depends": [], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": null, + "data": [ + "diff --git a/Makefile.in b/Makefile.in\n", + "index c2d7e96..afec780 100644\n", + "--- a/Makefile.in\n", + "+++ b/Makefile.in\n", + "@@ -29,9 +29,10 @@ clean:\n", + " \trm -rf *.o *.core core.* core\n", + "\n", + " install: bgpq3\n", + "+\tif test ! -d @prefix@/bin ; then mkdir -p @prefix@/bin ; fi\n", + " \t${INSTALL} -c -s -m 755 bgpq3 @bindir@\n", + "-\tif test ! -d @prefix@/man/man8 ; then mkdir -p @prefix@/man/man8 ; fi\n", + "-\t${INSTALL} -m 644 bgpq3.8 @prefix@/man/man8\n", + "+\tif test ! -d @mandir@/man8 ; then mkdir -p @mandir@/man8 ; fi\n", + "+\t${INSTALL} -m 644 bgpq3.8 @mandir@/man8\n", + "\n", + " depend:\n", + " \tmakedepend -- $(CFLAGS) -- $(SRCS)\n" + ] + } + ], + "install": [ + "system \"./configure\", \"--prefix=#{prefix}\", \"--mandir=#{man}\"", + "system \"make\", \"install\"" + ], + "version": "0.1.35", + "file": "bgpq3.rb" +}
\ No newline at end of file diff --git a/homebrew/bgpq3/.make.sh-auto b/homebrew/bgpq3/.make.sh-auto new file mode 100644 index 000000000..abf08b27d --- /dev/null +++ b/homebrew/bgpq3/.make.sh-auto @@ -0,0 +1,3 @@ +pkg:setup +pkg:configure +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/bgpq3/_metadata/description b/homebrew/bgpq3/_metadata/description new file mode 100644 index 000000000..9fa1ac232 --- /dev/null +++ b/homebrew/bgpq3/_metadata/description @@ -0,0 +1 @@ +BGP filtering automation for Cisco, Juniper, BIRD and OpenBGPD routers diff --git a/homebrew/bgpq3/_metadata/homepage b/homebrew/bgpq3/_metadata/homepage new file mode 100644 index 000000000..33e6cfd51 --- /dev/null +++ b/homebrew/bgpq3/_metadata/homepage @@ -0,0 +1 @@ +http://snar.spb.ru/prog/bgpq3/ diff --git a/homebrew/bgpq3/_metadata/name b/homebrew/bgpq3/_metadata/name new file mode 100644 index 000000000..e6d701a23 --- /dev/null +++ b/homebrew/bgpq3/_metadata/name @@ -0,0 +1 @@ +Bgpq3 diff --git a/homebrew/bgpq3/_metadata/version b/homebrew/bgpq3/_metadata/version new file mode 100644 index 000000000..a52e04166 --- /dev/null +++ b/homebrew/bgpq3/_metadata/version @@ -0,0 +1 @@ +0.1.35 diff --git a/homebrew/bgpq3/download.sh b/homebrew/bgpq3/download.sh new file mode 100755 index 000000000..307448555 --- /dev/null +++ b/homebrew/bgpq3/download.sh @@ -0,0 +1 @@ +wget https://github.com/snar/bgpq3/archive/v0.1.35.tar.gz
\ No newline at end of file diff --git a/homebrew/bgpq3/patches.sh b/homebrew/bgpq3/patches.sh new file mode 100755 index 000000000..abf01a456 --- /dev/null +++ b/homebrew/bgpq3/patches.sh @@ -0,0 +1,20 @@ +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +diff --git a/Makefile.in b/Makefile.in +index c2d7e96..afec780 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -29,9 +29,10 @@ clean: + rm -rf *.o *.core core.* core + + install: bgpq3 ++ if test ! -d @prefix@/bin ; then mkdir -p @prefix@/bin ; fi + ${INSTALL} -c -s -m 755 bgpq3 @bindir@ +- if test ! -d @prefix@/man/man8 ; then mkdir -p @prefix@/man/man8 ; fi +- ${INSTALL} -m 644 bgpq3.8 @prefix@/man/man8 ++ if test ! -d @mandir@/man8 ; then mkdir -p @mandir@/man8 ; fi ++ ${INSTALL} -m 644 bgpq3.8 @mandir@/man8 + + depend: + makedepend -- $(CFLAGS) -- $(SRCS) +EOF |