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/ldapvi | |
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/ldapvi')
-rw-r--r-- | homebrew/ldapvi/.beer | 54 | ||||
-rw-r--r-- | homebrew/ldapvi/.make.sh-auto | 4 | ||||
-rw-r--r-- | homebrew/ldapvi/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/ldapvi/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/ldapvi/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/ldapvi/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/ldapvi/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/ldapvi/patches.sh | 1 |
8 files changed, 64 insertions, 0 deletions
diff --git a/homebrew/ldapvi/.beer b/homebrew/ldapvi/.beer new file mode 100644 index 000000000..2a880ac8f --- /dev/null +++ b/homebrew/ldapvi/.beer @@ -0,0 +1,54 @@ +{ + "name": "Ldapvi", + "description": "Update LDAP entries with a text editor", + "url": "http://www.lichteblau.com/download/ldapvi-1.7.tar.gz", + "mirror": "https://deb.debian.org/debian/pool/main/l/ldapvi/ldapvi_1.7.orig.tar.gz", + "homepage": "http://www.lichteblau.com/ldapvi/", + "depends": [ + { + "depend": "pkg-config", + "build-depend": true + }, + { + "depend": "xz", + "build-depend": false + }, + { + "depend": "gettext", + "build-depend": false + }, + { + "depend": "glib", + "build-depend": false + }, + { + "depend": "openssl", + "build-depend": false + }, + { + "depend": "popt", + "build-depend": false + }, + { + "depend": "readline", + "build-depend": false + } + ], + "resource": [], + "conflicts": [], + "patches": [ + { + "url": "https://deb.debian.org/debian/pool/main/l/ldapvi/ldapvi_1.7-10.debian.tar.xz", + "strip": "1" + } + ], + "install": [ + "inreplace \"ldapvi.c\", \"if (lstat(sasl, &st) == -1) return;\",", + "\"if (lstat(sasl, &st) == -1) return 0;\"", + "system \"./configure\", \"--disable-dependency-tracking\",", + "\"--prefix=#{prefix}\"", + "system \"make\", \"install\"" + ], + "version": "1.7", + "file": "ldapvi.rb" +}
\ No newline at end of file diff --git a/homebrew/ldapvi/.make.sh-auto b/homebrew/ldapvi/.make.sh-auto new file mode 100644 index 000000000..bb5ef46b6 --- /dev/null +++ b/homebrew/ldapvi/.make.sh-auto @@ -0,0 +1,4 @@ +pkg:setup +inreplace "ldapvi.c", "if (lstat(sasl, &st) == -1) return;", "if (lstat(sasl, &st) == -1) return 0;" +pkg:configure --disable-dependency-tracking +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/ldapvi/_metadata/description b/homebrew/ldapvi/_metadata/description new file mode 100644 index 000000000..33d691bab --- /dev/null +++ b/homebrew/ldapvi/_metadata/description @@ -0,0 +1 @@ +Update LDAP entries with a text editor diff --git a/homebrew/ldapvi/_metadata/homepage b/homebrew/ldapvi/_metadata/homepage new file mode 100644 index 000000000..58e17af98 --- /dev/null +++ b/homebrew/ldapvi/_metadata/homepage @@ -0,0 +1 @@ +http://www.lichteblau.com/ldapvi/ diff --git a/homebrew/ldapvi/_metadata/name b/homebrew/ldapvi/_metadata/name new file mode 100644 index 000000000..8b1b82e12 --- /dev/null +++ b/homebrew/ldapvi/_metadata/name @@ -0,0 +1 @@ +Ldapvi diff --git a/homebrew/ldapvi/_metadata/version b/homebrew/ldapvi/_metadata/version new file mode 100644 index 000000000..d3bdbdf1f --- /dev/null +++ b/homebrew/ldapvi/_metadata/version @@ -0,0 +1 @@ +1.7 diff --git a/homebrew/ldapvi/download.sh b/homebrew/ldapvi/download.sh new file mode 100755 index 000000000..f10004da3 --- /dev/null +++ b/homebrew/ldapvi/download.sh @@ -0,0 +1 @@ +wget http://www.lichteblau.com/download/ldapvi-1.7.tar.gz || wget https://deb.debian.org/debian/pool/main/l/ldapvi/ldapvi_1.7.orig.tar.gz
\ No newline at end of file diff --git a/homebrew/ldapvi/patches.sh b/homebrew/ldapvi/patches.sh new file mode 100755 index 000000000..cb5b920f5 --- /dev/null +++ b/homebrew/ldapvi/patches.sh @@ -0,0 +1 @@ +wget https://deb.debian.org/debian/pool/main/l/ldapvi/ldapvi_1.7-10.debian.tar.xz |