- Update to 0.8.1

PR:		ports/87256
Submitted by:	maintainer
This commit is contained in:
Sergey Matveychuk 2005-10-11 16:38:56 +00:00
parent 1be224d9b0
commit 164770cbbb
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144955
10 changed files with 5 additions and 111 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= scmxx
PORTVERSION= 0.8.0
PORTVERSION= 0.8.1
CATEGORIES= comms
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -1,2 +1,2 @@
MD5 (scmxx-0.8.0.tar.bz2) = 21de1f98864e296da2cb6b424112361c
SIZE (scmxx-0.8.0.tar.bz2) = 212558
MD5 (scmxx-0.8.1.tar.bz2) = 6c1e2177db90dfdc03b5668c1c72f327
SIZE (scmxx-0.8.1.tar.bz2) = 220540

View File

@ -1,20 +0,0 @@
$FreeBSD$
--- docs/Makefile.in.orig
+++ docs/Makefile.in
@@ -66,12 +66,12 @@
.PHONY: install-$(PACKAGE_NAME).en.$(MANCAT)
install-$(PACKAGE_NAME).en.$(MANCAT): $(PACKAGE_NAME).en.$(MANCAT)
$(INSTALL) -d $(mandir)/man$(MANCAT); \
- $(INSTALL) --mode=644 $(PACKAGE_NAME).en.$(MANCAT) $(mandir)/man$(MANCAT)/$(MAN); \
+ $(INSTALL) -m 644 $(PACKAGE_NAME).en.$(MANCAT) $(mandir)/man$(MANCAT)/$(MAN); \
.PHONY: install-$(PACKAGE_NAME).%.$(MANCAT)
install-$(PACKAGE_NAME).%.$(MANCAT): $(PACKAGE_NAME).%.$(MANCAT)
$(INSTALL) -d $(mandir)/$*/man$(MANCAT); \
- $(INSTALL) --mode=644 $(PACKAGE_NAME).$*.$(MANCAT) $(mandir)/$*/man$(MANCAT)/$(MAN); \
+ $(INSTALL) -m 644 $(PACKAGE_NAME).$*.$(MANCAT) $(mandir)/$*/man$(MANCAT)/$(MAN); \
.PHONY: install
install: $(patsubst %,install-$(PACKAGE_NAME).%.$(MANCAT),$(MAN_LANGS))

View File

@ -1,14 +0,0 @@
$FreeBSD$
--- po/Makefile.in.orig
+++ po/Makefile.in
@@ -67,7 +67,7 @@
.PHONY:install-%.mo
install-%.mo: %.mo
$(INSTALL) -d $(DESTDIR)$(GETTEXTDIR)/$*/LC_MESSAGES; \
- $(INSTALL) --mode=644 $< $(DESTDIR)$(GETTEXTDIR)/$*/LC_MESSAGES/$(PACKAGE_NAME).mo; \
+ $(INSTALL) -m 644 $< $(DESTDIR)$(GETTEXTDIR)/$*/LC_MESSAGES/$(PACKAGE_NAME).mo; \
.PHONY:install
install: $(patsubst %,install-%,$(MO_FILES))

View File

@ -1,13 +0,0 @@
--- src/charsets/ucs4_dec.c.orig Sat Jul 2 01:42:09 2005
+++ src/charsets/ucs4_dec.c Thu Jul 14 17:49:12 2005
@@ -26,6 +26,10 @@
#define MB_LEN_MAX 6
#endif
+#ifndef UINT16_MAX
+#define UINT16_MAX USHRT_MAX
+#endif
+
static
size_t replace_char_escape (char **inbuf, size_t *inbytesleft,
char **outbuf, size_t *outbytesleft)

View File

@ -1,10 +0,0 @@
--- src/helper/str.c.orig Thu Jul 14 10:37:13 2005
+++ src/helper/str.c Thu Jul 14 17:52:39 2005
@@ -12,6 +12,7 @@
#include "helper.h"
#include <string.h>
#include <stdlib.h>
+#include <sys/types.h>
char* strn_dup (const char* input, size_t insize) {
void* retval;

View File

@ -1,14 +0,0 @@
--- src/smspdu/smsud_enc.c.orig Fri Jul 8 12:26:13 2005
+++ src/smspdu/smsud_enc.c Thu Jul 14 18:00:19 2005
@@ -22,6 +22,11 @@
#include <stdlib.h>
#include <unistd.h>
+#include <limits.h>
+#ifndef UINT16_MAX
+#define UINT16_MAX USHRT_MAX
+#endif
+
static
uint16_t sms_new_sequence_id () {
/* this does not have to be good random (linear would be ok)

View File

@ -1,14 +0,0 @@
$FreeBSD$
--- src/Makefile.in.orig
+++ src/Makefile.in
@@ -89,7 +89,7 @@
.PHONY: install
install: $(BINARY)
$(INSTALL) -d $(DESTDIR)$(bindir)
- $(INSTALL) --mode=755 $(BINARY) $(DESTDIR)$(bindir)
+ $(INSTALL) -m 755 $(BINARY) $(DESTDIR)$(bindir)
.PHONY: uninstall
uninstall:

View File

@ -1,23 +0,0 @@
$FreeBSD$
--- src/pinfile.c.orig
+++ src/pinfile.c
@@ -21,6 +21,17 @@
#include <limits.h>
#include <ctype.h>
+char* strndup(const char *str, size_t len) {
+ size_t copy_len=(strlen (str) > len) ? strlen(str): len;
+ char *new = (char *) malloc (copy_len + 1);
+
+ if (new == NULL)
+ return NULL;
+
+ new[copy_len] = '\0';
+ return (char *) memcpy (new, str, copy_len);
+}
+
char* pinfile_get_data (char* filename) {
int fd = open(filename,O_RDONLY);
struct stat fdstat;

View File

@ -15,6 +15,8 @@ share/locale/ru/LC_MESSAGES/scmxx.mo
%%EXAMPLESDIR%%/vCard.vcf
@dirrm %%EXAMPLESDIR%%
@unexec rmdir %D/share/locale/de/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/it/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/ru/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/man/de/man1 2>/dev/null || true
@unexec rmdir %D/man/de/ 2>/dev/null || true