Ticket #50591: rancid-port.patch
File rancid-port.patch, 5.0 KB (added by pokui@…, 9 years ago) |
---|
-
Portfile
diff --git a/../rancid.orig/Portfile b/./Portfile index 817c050..6929d20 100644
old new PortSystem 1.0 5 5 PortGroup perl5 1.0 6 6 7 7 name rancid 8 version 2.3.89 revision 38 version 3.4.1 9 revision 0 10 10 categories net 11 11 license BSD-old 12 12 maintainers nomaintainer … … platforms darwin 14 14 15 15 description Really Awesome New Cisco confIg Differ 16 16 17 long_description Rancid maintains a CVS repository of router and \17 long_description Rancid maintains a CVS/SVN/git repository of router and \ 18 18 device config files. It emails you when changes \ 19 19 occur and tells you what commands were changed. 20 20 21 21 homepage http://www.shrubbery.net/rancid 22 22 master_sites ftp://ftp.shrubbery.net/pub/rancid/ 23 23 24 checksums rmd160 6105398f85617bce2053d7219e7586c1b80b76ab \ 25 sha256 44e44c87a22968d5229c01d60aa46960da023a24846eef43f9e3c8d70fd5b3fb 24 checksums rmd160 87e72f1b839a9177b6d36dc6054750efbb503add \ 25 sha256 572964f01969bd18b198110a75013ec31ec2aba6ca582ebf6cd208c422fe3bfe 26 26 27 27 28 perl5.branches 5.22 28 29 depends_lib port:perl${perl5.major} \ 29 30 port:p${perl5.major}-lockfile-simple \ 30 31 path:lib/libssl.dylib:openssl 31 32 32 patchfiles patch-etc-Makefile. in33 patchfiles patch-etc-Makefile.am.diff 33 34 34 35 post-patch { 35 36 # Set path for lg.conf.sample so Looking Glass will work … … perform these steps: 92 93 93 94 94 95 3) Goto url http://localhost/lg with a web browser to use the looking glass. 96 97 #### WARNING DATABASE FORMAT CHANGE #### 98 99 Note that the router.db format has changed. The file separator is now a \ 100 semicolon from a colon. 101 102 This is to better support IPv6 addresses in the file. 103 104 #### WARNING DATABASE FORMAT CHANGE #### 105 95 106 " 96 107 97 108 livecheck.type regex -
new file ./files/patch-etc-Makefile.am.diff
diff --git a/./files/patch-etc-Makefile.am.diff b/./files/patch-etc-Makefile.am.diff new file mode 100644 index 0000000..8e04c0d
- + 1 --- etc/Makefile.am.orig 2015-06-24 02:33:20.000000000 +0300 2 +++ etc/Makefile.am 2015-06-24 02:46:38.000000000 +0300 3 @@ -26,27 +26,9 @@ 4 5 install-data-local: all 6 @if test "$(DO_CONF_INSTALL)" = "yes"; then \ 7 - if test -f $(DESTDIR)$(sysconfdir)/rancid.conf ; then \ 8 - echo ""; \ 9 - echo "WARNING: *** $(DESTDIR)$(sysconfdir)/rancid.conf exists. See "; \ 10 - echo " *** $(pkgdatadir)/rancid.conf.sample for new"; \ 11 - echo " *** examples."; \ 12 - echo ""; \ 13 - else \ 14 - $(INSTALL_DATA) rancid.conf.sample $(DESTDIR)$(sysconfdir)/rancid.conf; \ 15 - fi; \ 16 - if test ! -f $(DESTDIR)$(sysconfdir)/rancid.types.conf ; then \ 17 - $(INSTALL_DATA) rancid.types.conf $(DESTDIR)$(sysconfdir)/rancid.types.conf; \ 18 - fi; \ 19 - if test -f $(DESTDIR)$(sysconfdir)/lg.conf ; then \ 20 - echo ""; \ 21 - echo "WARNING: *** $(DESTDIR)$(sysconfdir)/lg.conf exists. See "; \ 22 - echo " *** $(pkgdatadir)/lg.conf.sample for new"; \ 23 - echo " *** examples."; \ 24 - echo ""; \ 25 - else \ 26 - $(INSTALL_DATA) lg.conf.sample $(DESTDIR)$(sysconfdir)/lg.conf; \ 27 - fi; \ 28 + $(INSTALL_DATA) rancid.conf.sample $(DESTDIR)$(sysconfdir)/rancid.conf.sample; \ 29 + $(INSTALL_DATA) rancid.types.conf $(DESTDIR)$(sysconfdir)/rancid.types.conf.sample; \ 30 + $(INSTALL_DATA) lg.conf.sample $(DESTDIR)$(sysconfdir)/lg.conf.sample; \ 31 fi; \ 32 $(INSTALL_DATA) rancid.types.base $(DESTDIR)$(sysconfdir)/rancid.types.base -
deleted file ../rancid.orig/files/patch-etc-Makefile.in
diff --git a/../rancid.orig/files/patch-etc-Makefile.in b/../rancid.orig/files/patch-etc-Makefile.in deleted file mode 100644 index dd43336..0000000
+ - 1 --- etc/Makefile.in.org 2007-01-13 13:56:24.000000000 -08002 +++ etc/Makefile.in 2008-10-28 11:26:08.000000000 -07003 @@ -376,24 +376,8 @@4 5 install-data-local: all6 @if test "$(DO_CONF_INSTALL)" = "yes"; then \7 - if test -f $(DESTDIR)$(sysconfdir)/rancid.conf ; then \8 - echo ""; \9 - echo "WARNING: *** $(DESTDIR)$(sysconfdir)/rancid.conf exists. See "; \10 - echo " *** $(pkgdatadir)/rancid.conf.sample for new"; \11 - echo " *** examples."; \12 - echo ""; \13 - else \14 - $(INSTALL_DATA) rancid.conf.sample $(DESTDIR)$(sysconfdir)/rancid.conf; \15 - fi; \16 - if test -f $(DESTDIR)$(sysconfdir)/lg.conf ; then \17 - echo ""; \18 - echo "WARNING: *** $(DESTDIR)$(sysconfdir)/lg.conf exists. See "; \19 - echo " *** $(pkgdatadir)/lg.conf.sample for new"; \20 - echo " *** examples."; \21 - echo ""; \22 - else \23 - $(INSTALL_DATA) lg.conf.sample $(DESTDIR)$(sysconfdir)/lg.conf; \24 - fi; \25 + $(INSTALL_DATA) rancid.conf.sample $(DESTDIR)$(sysconfdir)/rancid.conf.sample; \26 + $(INSTALL_DATA) lg.conf.sample $(DESTDIR)$(sysconfdir)/lg.conf.sample; \27 fi28 29 lg.conf.sample: Makefile $(srcdir)/lg.conf.sample.in