summaryrefslogtreecommitdiff
path: root/user/mailx/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2017-06-13 12:27:49 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2017-06-13 12:27:49 +0000
commita7ffe23c8f4296a8f9398b404d1a047e668c5640 (patch)
treea9920310d5c73d785a22f6b58a232cf79082c0bc /user/mailx/APKBUILD
parent11313b35bf4fa8bd38808bf944c483d0fade0ea0 (diff)
downloadpackages-a7ffe23c8f4296a8f9398b404d1a047e668c5640.tar.gz
packages-a7ffe23c8f4296a8f9398b404d1a047e668c5640.tar.bz2
packages-a7ffe23c8f4296a8f9398b404d1a047e668c5640.tar.xz
packages-a7ffe23c8f4296a8f9398b404d1a047e668c5640.zip
user/mailx: new package
Diffstat (limited to 'user/mailx/APKBUILD')
-rw-r--r--user/mailx/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/user/mailx/APKBUILD b/user/mailx/APKBUILD
new file mode 100644
index 000000000..8901df5c1
--- /dev/null
+++ b/user/mailx/APKBUILD
@@ -0,0 +1,33 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+
+pkgname=mailx
+pkgver=12.4
+pkgrel=0
+pkgdesc="Send and receive Internet mail"
+url="http://heirloom.sourceforge.net/mailx.html"
+arch="all"
+license="BSD-4-Clause MIT MPL-1.1"
+depends=""
+makedepends="openssl-dev"
+subpackages="$pkgname-doc"
+source="http://downloads.sourceforge.net/heirloom/$pkgname-$pkgver.tar.bz2
+ Mail
+ mailx-12.4-openssl.patch
+ mailx-12.4-cve.patch"
+
+build() {
+ cd "$builddir"
+ make PREFIX="/usr" SYSCONFDIR="/etc" STRIP=":"
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" PREFIX="/usr" SYSCONFDIR="/etc" STRIP=":" UCBINSTALL="`command -v install`" install
+ install -m 755 "$srcdir"/Mail "$pkgdir"/usr/bin/Mail
+}
+
+sha512sums="a0e29972f552bd630ce1a14f70e61661815118520bcd4a00b6cad53f3270d3d08c835ff6982ba8800eb380a5b46f54eb6e60fb7533b5f41c916af45d29605af8 mailx-12.4.tar.bz2
+8715bcdbcc5170f406df2a78dc9bac144c5d73eb90ba4832162cd3c5d72c938a32a86e622e64c7e786c05343a37d7b94245cc636511261d1d4f817def04087d2 Mail
+a74f85b5a4a9f9cd9a38e244498a11394c42189bbd0601656b6ed56fa55bf596820ef2f995c6878d322a1eca135bd1b1822467c4086adb849c81d65229845663 mailx-12.4-openssl.patch
+1e77cd6ea251793ca48ae86b265580cd70fe33838b0b4e1f522af07f4f34bc909e1bab52dc0180516d44399c4227a54be7718c76ebbc4f886f372fdc5c19278f mailx-12.4-cve.patch"