aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2014-07-18 13:27:53 +0800
committerpi <pi@FreeBSD.org>2014-07-18 13:27:53 +0800
commit70e42cd9dda478bd8bef588ce3c183140958a182 (patch)
tree3dcdfcc0526b3c1c226196f9e2e302b1076cd5c6
parent6ddcf5c50e3006d73e7c79b47203559aa1bc07af (diff)
downloadfreebsd-ports-gnome-70e42cd9dda478bd8bef588ce3c183140958a182.tar.gz
freebsd-ports-gnome-70e42cd9dda478bd8bef588ce3c183140958a182.tar.zst
freebsd-ports-gnome-70e42cd9dda478bd8bef588ce3c183140958a182.zip
mail/libsrs_alt: unbreak with new distfile location
- unbreak - new distfile location - new WWW - take maintainership PR: 191932 Approved by: simond@irrelevant.org (old maintainer)
-rw-r--r--mail/libsrs_alt/Makefile13
-rw-r--r--mail/libsrs_alt/distinfo4
-rw-r--r--mail/libsrs_alt/files/patch-srs.c11
-rw-r--r--mail/libsrs_alt/pkg-plist4
4 files changed, 22 insertions, 10 deletions
diff --git a/mail/libsrs_alt/Makefile b/mail/libsrs_alt/Makefile
index 2800d23c18fc..b40580863289 100644
--- a/mail/libsrs_alt/Makefile
+++ b/mail/libsrs_alt/Makefile
@@ -2,16 +2,13 @@
PORTNAME= libsrs_alt
DISTVERSION= 1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= mail
-MASTER_SITES= http://srs.mirtol.com/
+MASTER_SITES= http://opsec.eu/src/srs/
-MAINTAINER= simond@irrelevant.org
+MAINTAINER= pi@FreeBSD.org
COMMENT= Sender Rewriting Scheme C Implementation
-BROKEN= distfile no longer available
-EXPIRATION_DATE= 2014-09-15
-
USES= libtool tar:bzip2
USE_LDCONFIG= yes
SHLIB_MAJOR= 1
@@ -32,4 +29,8 @@ post-patch:
@${REINPLACE_CMD} -E 's,^(test_LDFLAGS.*$$),\1 -lcompat,' \
${WRKSRC}/Makefile.in
+post-stage:
+ ${MV} ${STAGEDIR}${PREFIX}/bin/srs ${STAGEDIR}${PREFIX}/bin/srs_alt
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsrs_alt.so.1.0.0
+
.include <bsd.port.mk>
diff --git a/mail/libsrs_alt/distinfo b/mail/libsrs_alt/distinfo
index e7d5b150cc0b..fc8567228de2 100644
--- a/mail/libsrs_alt/distinfo
+++ b/mail/libsrs_alt/distinfo
@@ -1,2 +1,2 @@
-SHA256 (libsrs_alt-1.0.tar.bz2) = 3810813b2fa600892155a72f34182d33809fbdef14e606261876b068c7703094
-SIZE (libsrs_alt-1.0.tar.bz2) = 237985
+SHA256 (libsrs_alt-1.0.tar.bz2) = 1883066e285b518c504bb7a949d7b409e6fe050525f0bb0c5cdf069eb9d2165d
+SIZE (libsrs_alt-1.0.tar.bz2) = 237984
diff --git a/mail/libsrs_alt/files/patch-srs.c b/mail/libsrs_alt/files/patch-srs.c
new file mode 100644
index 000000000000..ca3093054d62
--- /dev/null
+++ b/mail/libsrs_alt/files/patch-srs.c
@@ -0,0 +1,11 @@
+--- srs.c-orig 2014-07-17 22:31:53.000000000 +0200
++++ srs.c 2014-07-17 22:32:29.000000000 +0200
+@@ -283,7 +283,7 @@
+ */
+ int display_help(void)
+ {
+- printf("srs - libsrs_alt library http://srs.mirtol.com/\n(C)2004 Miles Wilton\n\n");
++ printf("srs - libsrs_alt library http://opsec.eu/src/srs/\n(C)2004 Miles Wilton\n\n");
+ printf("Syntax: srs <flags> <address>+\n\n");
+ printf(" Actions\n");
+ printf(" -d Run daemon\n");
diff --git a/mail/libsrs_alt/pkg-plist b/mail/libsrs_alt/pkg-plist
index afb15bf30f2a..67f4fe4ac5f1 100644
--- a/mail/libsrs_alt/pkg-plist
+++ b/mail/libsrs_alt/pkg-plist
@@ -1,6 +1,6 @@
-bin/srs
+bin/srs_alt
include/srs_alt.h
lib/libsrs_alt.a
-lib/libsrs_alt.la
lib/libsrs_alt.so
lib/libsrs_alt.so.%%SHLIB_MAJOR%%
+lib/libsrs_alt.so.%%SHLIB_MAJOR%%.0.0