summaryrefslogtreecommitdiff
path: root/devel/mime
diff options
context:
space:
mode:
Diffstat (limited to 'devel/mime')
-rw-r--r--devel/mime/Makefile25
-rw-r--r--devel/mime/distinfo2
-rw-r--r--devel/mime/files/patch-Makefile.in44
-rw-r--r--devel/mime/files/patch-header.c20
-rw-r--r--devel/mime/files/patch-message.c33
-rw-r--r--devel/mime/files/patch-util.c20
-rw-r--r--devel/mime/files/patch-util.h10
-rw-r--r--devel/mime/pkg-descr8
-rw-r--r--devel/mime/pkg-plist7
9 files changed, 0 insertions, 169 deletions
diff --git a/devel/mime/Makefile b/devel/mime/Makefile
deleted file mode 100644
index 56f3f3c5ceec..000000000000
--- a/devel/mime/Makefile
+++ /dev/null
@@ -1,25 +0,0 @@
-# Created by: jmg
-# $FreeBSD$
-
-PORTNAME= mime
-PORTVERSION= 1.1
-PORTREVISION= 3
-CATEGORIES= devel
-MASTER_SITES= http://resnet.uoregon.edu/~gurney_j/jmpc/dist/ \
- http://people.bsdgroup.de/~as/freebsd/distfiles/
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= C library to parse mime data
-
-BROKEN= unfetchable
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2020-05-05
-
-GNU_CONFIGURE= yes
-USE_LDCONFIG= yes
-
-post-install:
- ${LN} -sf libmime.so.1 ${STAGEDIR}${PREFIX}/lib/libmime.so
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libmime.so
-
-.include <bsd.port.mk>
diff --git a/devel/mime/distinfo b/devel/mime/distinfo
deleted file mode 100644
index 13f4aa8d2e82..000000000000
--- a/devel/mime/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (mime-1.1.tar.gz) = 8cacc812dab74773bced2f19415b2f4ffc47395d080386df916d9375c41365ad
-SIZE (mime-1.1.tar.gz) = 21112
diff --git a/devel/mime/files/patch-Makefile.in b/devel/mime/files/patch-Makefile.in
deleted file mode 100644
index 001e138f8029..000000000000
--- a/devel/mime/files/patch-Makefile.in
+++ /dev/null
@@ -1,44 +0,0 @@
---- ./Makefile.in.orig 2003-09-16 01:37:19.000000000 +0200
-+++ ./Makefile.in 2014-05-24 18:52:04.000000000 +0200
-@@ -60,7 +60,7 @@
- LIBDIR = @libdir@
- LIBOWN = 0
- LIBGRP = 0
--LIBMOD = 0444
-+LIBMOD = 0644
- INCDIR = @includedir@
- INCOWN = 0
- INCGRP = 0
-@@ -88,17 +88,15 @@
- $(POBJS) $(TPROG) $(TOBJS) .depend
-
- install: $(ARNAME) $(SONAME) $(PANAME)
-- mkdir -p -m 755 $(LIBDIR)
-+ mkdir -p -m 755 $(DESTDIR)$(LIBDIR)
- for i in $(ARNAME) $(SONAME) $(PANAME); do \
-- cp $$i $(LIBDIR); \
-- chown $(LIBOWN):$(LIBGRP) $(LIBDIR)/$$i; \
-- chmod $(LIBMOD) $(LIBDIR)/$$i; \
-+ cp $$i $(DESTDIR)$(LIBDIR); \
-+ chmod $(LIBMOD) $(DESTDIR)$(LIBDIR)/$$i; \
- done
-- mkdir -p -m 755 $(INCDIR)
-+ mkdir -p -m 755 $(DESTDIR)$(INCDIR)
- for i in $(INCS); do \
-- cp $$i $(INCDIR); \
-- chown $(INCOWN):$(INCGRP) $(INCDIR)/$$i; \
-- chmod $(INCMOD) $(INCDIR)/$$i; \
-+ cp $$i $(DESTDIR)$(INCDIR); \
-+ chmod $(INCMOD) $(DESTDIR)$(INCDIR)/$$i; \
- done
-
- depend:
-@@ -116,7 +114,7 @@
- .SUFFIXES:
- .SUFFIXES: .so .po .c .o
- .c.so:
-- $(CC) -fpic $(AFLAGS) -c $< -o $@
-+ $(CC) -fpic -fPIC $(AFLAGS) -c $< -o $@
-
- .c.po:
- $(CC) $(PROFILE) $(AFLAGS) -c $< -o $@
diff --git a/devel/mime/files/patch-header.c b/devel/mime/files/patch-header.c
deleted file mode 100644
index 87a37e96c35a..000000000000
--- a/devel/mime/files/patch-header.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./header.c.orig 2003-09-16 01:37:19.000000000 +0200
-+++ ./header.c 2014-02-18 11:11:32.980337829 +0100
-@@ -67,7 +67,7 @@
- alc = 0;
-
- while (value < end) {
-- crlf = memmem(value, end - value, crlfpair, strlen(crlfpair));
-+ crlf = memmemory(value, end - value, crlfpair, strlen(crlfpair));
- if (crlf == NULL)
- goto fv_error;
-
-@@ -123,7 +123,7 @@
- * header line
- */
- colon = memchr(header, ':', end - header);
-- crlf = memmem(header, end - header, crlfpair, strlen(crlfpair));
-+ crlf = memmemory(header, end - header, crlfpair, strlen(crlfpair));
-
- if (colon == NULL || crlf == NULL || colon > crlf)
- goto mph_error;
diff --git a/devel/mime/files/patch-message.c b/devel/mime/files/patch-message.c
deleted file mode 100644
index 301ac69b6e63..000000000000
--- a/devel/mime/files/patch-message.c
+++ /dev/null
@@ -1,33 +0,0 @@
---- ./message.c.orig 2003-09-16 01:37:19.000000000 +0200
-+++ ./message.c 2014-02-18 11:11:32.983337749 +0100
-@@ -89,7 +89,7 @@
- * XXX - need to be fixed to support "\r\n"
- */
- bdcm = bd_makenorm(bd, crlfpair);
-- bdlc = memmem(pos, len - (pos - msg), bdcm, strlen(bdcm));
-+ bdlc = memmemory(pos, len - (pos - msg), bdcm, strlen(bdcm));
- free(bdcm);
-
- if (bdlc != pos) {
-@@ -144,10 +144,10 @@
- len -= strlen(strstr(bdnorm, "--"));
-
- for (;;) {
-- ret = realloc(ret, sizeof *ret * *cnt + 1);
-+ ret = realloc(ret, sizeof(*ret) * (*cnt + 1));
-
-- if ((next = memmem(msg, len, bdnorm, bdnormlen)) == NULL)
-- next = memmem(msg, len, bdtail, bdtaillen);
-+ if ((next = memmemory(msg, len, bdnorm, bdnormlen)) == NULL)
-+ next = memmemory(msg, len, bdtail, bdtaillen);
-
- ret[(*cnt)++] = mime_readmessage(msg, next - msg, crlfpair);
-
-@@ -272,6 +272,7 @@
- eqcnt++;
- break;
- default:
-+ break;
- }
- }
-
diff --git a/devel/mime/files/patch-util.c b/devel/mime/files/patch-util.c
deleted file mode 100644
index 1159aba63a17..000000000000
--- a/devel/mime/files/patch-util.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./util.c.orig 2003-09-16 01:37:19.000000000 +0200
-+++ ./util.c 2014-02-18 11:11:32.986338150 +0100
-@@ -31,7 +31,7 @@
-
- #if 0
- char *
--memmem(const char *big, int blen, const char *lit, int llen)
-+memmemory(const char *big, int blen, const char *lit, int llen)
- {
- const char *pos;
-
-@@ -61,7 +61,7 @@
- }
-
- const char *
--memmem(const char *T, size_t n, const char *P, size_t m)
-+memmemory(const char *T, size_t n, const char *P, size_t m)
- {
- static unsigned int q = 4294967291u;
- static unsigned int d = 256;
diff --git a/devel/mime/files/patch-util.h b/devel/mime/files/patch-util.h
deleted file mode 100644
index 582e8a8421e9..000000000000
--- a/devel/mime/files/patch-util.h
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./util.h.orig 2003-09-16 01:37:19.000000000 +0200
-+++ ./util.h 2014-02-18 11:11:32.989336888 +0100
-@@ -30,6 +30,6 @@
- #ifndef _UTIL_H_
- #define _UTIL_H_
-
--char *memmem(const char *, int, const char *, int);
-+char *memmemory(const char *, int, const char *, int);
-
- #endif
diff --git a/devel/mime/pkg-descr b/devel/mime/pkg-descr
deleted file mode 100644
index 579f48baf3d1..000000000000
--- a/devel/mime/pkg-descr
+++ /dev/null
@@ -1,8 +0,0 @@
-This package allows you to decode multipart mime messages. I wrote
-this so that my cgiparse library can understand multipart/form-data.
-I was looking at the various ways of doing it with out designing an
-entire library. After thinking about the problem, there were to many
-edge cases, and designing an entire library would be better. This is
-the results of the work. It definitely could use some cleaning up.
-
-WWW: http://resnet.uoregon.edu/~gurney_j/jmpc/mime.html
diff --git a/devel/mime/pkg-plist b/devel/mime/pkg-plist
deleted file mode 100644
index 28c6975c6d45..000000000000
--- a/devel/mime/pkg-plist
+++ /dev/null
@@ -1,7 +0,0 @@
-include/ct.h
-include/mime.h
-include/mimemisc.h
-lib/libmime.a
-lib/libmime.so
-lib/libmime.so.1
-lib/libmime_p.a