diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-mail/ripmime/files | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-mail/ripmime/files')
-rw-r--r-- | net-mail/ripmime/files/ripmime-1.4.0.9-buffer-overflow.patch | 11 | ||||
-rw-r--r-- | net-mail/ripmime/files/ripmime-1.4.0.9-makefile.patch | 79 |
2 files changed, 90 insertions, 0 deletions
diff --git a/net-mail/ripmime/files/ripmime-1.4.0.9-buffer-overflow.patch b/net-mail/ripmime/files/ripmime-1.4.0.9-buffer-overflow.patch new file mode 100644 index 000000000000..418a204101e9 --- /dev/null +++ b/net-mail/ripmime/files/ripmime-1.4.0.9-buffer-overflow.patch @@ -0,0 +1,11 @@ +--- ripmime-1.4.0.9/MIME_headers.c.orig 2010-11-07 12:38:52.994063648 -0800 ++++ ripmime-1.4.0.9/MIME_headers.c 2010-11-07 12:39:06.395161970 -0800 +@@ -2239,7 +2239,7 @@ + { + if (MIMEH_DNORMAL) LOGGER_log("%s:%d:MIME_parse_contentlocation:DEBUG: filename = %s\n", FL, p); + snprintf(hinfo->name, sizeof(hinfo->name),"%s",p); +- snprintf(hinfo->filename, sizeof(hinfo->name),"%s",p); ++ snprintf(hinfo->filename, sizeof(hinfo->filename),"%s",p); + FNFILTER_filter(hinfo->filename, _MIMEH_FILENAMELEN_MAX); + SS_push(&(hinfo->ss_filenames), hinfo->filename, strlen(hinfo->filename)); + diff --git a/net-mail/ripmime/files/ripmime-1.4.0.9-makefile.patch b/net-mail/ripmime/files/ripmime-1.4.0.9-makefile.patch new file mode 100644 index 000000000000..856319bf63b7 --- /dev/null +++ b/net-mail/ripmime/files/ripmime-1.4.0.9-makefile.patch @@ -0,0 +1,79 @@ +--- ripmime-1.4.0.9.orig/Makefile 2008-11-06 19:33:33.000000000 -0800 ++++ ripmime-1.4.0.9/Makefile 2010-11-07 12:53:03.898947384 -0800 +@@ -42,22 +42,22 @@ + ./generate-buildcodes.sh + + ripOLE/ole.o: +- ./build_ripOLE ++ $(MAKE) -C ripOLE + + tnef/tnef.o: +- ./build_tnef ++ $(MAKE) -C tnef + + .c.o: +- ${CC} ${CFLAGS} $(COMPONENTS) -c $*.c ++ ${CC} ${CFLAGS} -fPIC $(COMPONENTS) -c $*.c + + all: ${OBJ} + + + solib: ${OFILES} ripmime-api.o +- gcc --shared -Wl,-soname,libripmime.so.1 ${OFILES} ripmime-api.o -o libripmime.so.1.4.0 -lc ++ ${CC} ${LDFLAGS} --shared -Wl,-soname,libripmime.so.1 ${OFILES} ripmime-api.o -o libripmime.so.1.4.0 -lc + +-libripmime: ${OFILES} ripmime-api.o +- ar ruvs libripmime.a ${OFILES} ripmime-api.o ++libripmime.a: ${OFILES} ripmime-api.o ++ ${AR} ruvs $@ $^ + + ripl: ripmime.a + ${CC} ${CFLAGS} ripmime.c ripmime.a -o ripmime +@@ -65,8 +65,10 @@ + sco: ${OFILES} + ${CC} ${CFLAGS} ripmime.c ${OFILES} -o ripmime -lsocket + +-ripmime: ${OFILES} ripmime.c buildcodes.h +- ${CC} ${CFLAGS} $(COMPONENTS) ripmime.c ${OFILES} -o ripmime ${LIBS} ++ripmime: ${OFILES} ripmime.o ++ ${CC} ${CFLAGS} $(COMPONENTS) $(LDFLAGS) $^ -o $@ ${LIBS} ++ ++ripmime.o: buildcodes.h + + riptest: ${OFILES} + ${CC} ${CFLAGS} riptest.c ${OFILES} -o riptest +--- ripmime-1.4.0.9.orig/ripOLE/Makefile 2008-10-31 09:17:32.000000000 -0700 ++++ ripmime-1.4.0.9/ripOLE/Makefile 2010-11-07 12:55:38.222278266 -0800 +@@ -4,7 +4,7 @@ + + + .c.o: +- $(CC) $(CFLAGS) $(DEFINES) -c $*.c ++ $(CC) $(CFLAGS) -fPIC $(DEFINES) -c $*.c + + default: ripole + +@@ -12,7 +12,7 @@ + rm -f *.o ripole + + ripole: $(OBJS) ripole.[ch] +- $(CC) $(CFLAGS) $(OBJS) $(DEFINES) ripole.c -o ripole ++ $(CC) $(CFLAGS) $(LDFLAGS) $(OBJS) $(DEFINES) ripole.c -o ripole + + validate: ripole + cp ripole validate +--- ripmime-1.4.0.9.orig/tnef/Makefile 2008-11-06 19:33:33.000000000 -0800 ++++ ripmime-1.4.0.9/tnef/Makefile 2010-11-07 12:54:47.434840614 -0800 +@@ -8,10 +8,10 @@ + CFLAGS=-Wall -g -O2 -I. + + default: config.h tnef.h tnef.c +- $(CC) $(CFLAGS) $(PLATFORM) -c tnef.c ++ $(CC) $(CFLAGS) -fPIC $(PLATFORM) -c tnef.c + + lib: tnef.o +- ar ruvs tnef.a tnef.o ++ ${AR} ruvs tnef.a tnef.o + + clean: + rm -f *.o *.~[ch] |