summaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorIsmael Luceno2021-01-23 02:17:54 +0100
committerIsmael Luceno2021-01-23 02:52:27 +0100
commit67d9764123891e89c4e2a302dda1738dac6329e4 (patch)
tree04eb91609d16010836586d3f2cc92c8e352898a8 /mail
parent7f014f72e72603eece12ac7fc9b2271e2f15f162 (diff)
wip fdm 2.0
Diffstat (limited to 'mail')
-rwxr-xr-xmail/fdm/BUILD2
-rwxr-xr-xmail/fdm/CONFIGURE2
-rwxr-xr-xmail/fdm/DEPENDS15
-rwxr-xr-xmail/fdm/DETAILS10
-rw-r--r--mail/fdm/HISTORY4
5 files changed, 22 insertions, 11 deletions
diff --git a/mail/fdm/BUILD b/mail/fdm/BUILD
deleted file mode 100755
index 3a9d05985c..0000000000
--- a/mail/fdm/BUILD
+++ /dev/null
@@ -1,2 +0,0 @@
-./configure &&
-make ${FDM_PCRE}
diff --git a/mail/fdm/CONFIGURE b/mail/fdm/CONFIGURE
deleted file mode 100755
index d2fd07c64d..0000000000
--- a/mail/fdm/CONFIGURE
+++ /dev/null
@@ -1,2 +0,0 @@
-config_query_option FDM_PCRE "Enable pcre instead of posix regex?" n \
- "PCRE=0" "PCRE=1"
diff --git a/mail/fdm/DEPENDS b/mail/fdm/DEPENDS
index 92401b1634..dbe1def3eb 100755
--- a/mail/fdm/DEPENDS
+++ b/mail/fdm/DEPENDS
@@ -1,3 +1,14 @@
-depends pcre &&
depends SSL &&
-depends tdb
+depends tdb &&
+case "$HOST" in
+ (*-musl)
+ # remove when/if musl implements REG_STARTEND
+ depends pcre --enable-pcre
+ ;;
+ (*)
+ optional_depends pcre \
+ --enable-pcre \
+ --disable-pcre \
+ 'to enable PCREs in addition to POSIX regexps'
+ ;;
+esac
diff --git a/mail/fdm/DETAILS b/mail/fdm/DETAILS
index 6bea1c77bb..affb2d1209 100755
--- a/mail/fdm/DETAILS
+++ b/mail/fdm/DETAILS
@@ -1,9 +1,9 @@
SPELL=fdm
- VERSION=1.7
- SOURCE="${SPELL}-${VERSION}.tar.gz"
- SOURCE_URL[0]=http://sourceforge.net/projects/$SPELL/files/$SPELL/$SPELL-$VERSION/$SOURCE/download
- SOURCE_HASH=sha512:d438c96b1d3bdf08d14cfbb3b78ab5180e6bbc32121b7dfdd47ac14a4f8a19d1309f7742f78cc9db2d68b64b3422ec96f8f729931168d2fc411c36d0cc3e9386
-SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ VERSION=2.0
+ SOURCE="$SPELL-$VERSION.tar.gz"
+ SOURCE_URL=("https://github.com/nicm/fdm/releases/download/$VERSION/$SOURCE")
+ SOURCE_HASH=sha512:14e923202d17083ceb3b91b3a442d7e512c37f3d29535f22d8c0c4e1d57c97acc5d5465d643ed0cf437b3945ef777a6e38da3117219c2d54dcec88ecab1e10d9
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
WEB_SITE="http://fdm.sourceforge.net/ "
LICENSE[0]=BSD
ENTERED=20080212
diff --git a/mail/fdm/HISTORY b/mail/fdm/HISTORY
index 9723325a8d..5a9640becc 100644
--- a/mail/fdm/HISTORY
+++ b/mail/fdm/HISTORY
@@ -1,3 +1,7 @@
+2021-01-23 Ismael Luceno <ismael@sourcemage.org>
+ * DETAILS: Fixed SOURCE_URL[0]
+ updated spell to 2.0
+
2014-09-09 Remko van der Vossen <wich@sourcemage.org>
* DEPENDS: pcre, SSL