ports/168090: Update port: sysutils/hardlink Upgrade to version 0.2.0
douglas at douglasthrift.net
douglas at douglasthrift.net
Fri May 18 04:10:03 UTC 2012
>Number: 168090
>Category: ports
>Synopsis: Update port: sysutils/hardlink Upgrade to version 0.2.0
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri May 18 04:10:02 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:
>Release: FreeBSD 8.0-RELEASE-p6 amd64
>Organization:
>Environment:
System: FreeBSD slowhand.douglasthrift.net 8.0-RELEASE-p6 FreeBSD 8.0-RELEASE-p6 #2: Wed Sep 28 21:40:42 PDT 2011 user at jail8.johncompanies.com:/usr/obj/usr/src/sys/jail8 amd64
>Description:
Upgraded sysutils/hardlink to version 0.2.0. This version is written in C
instead of Python and can use either PCRE or POSIX for regexes.
https://redports.org/buildarchive/20120518024505-48210/
Note: the one build failure was a failure to build devel/pkg-config with the
QATty build group.
>From debian/changelog:
hardlink (0.2.0) unstable; urgency=low
[ Diego Elio Pettenò ]
* Fix positioning of LDLIBS flags, order is important.
[ Julian Andres Klode ]
* Final release of 0.2.0; upload to unstable
-- Julian Andres Klode <jak at debian.org> Sat, 12 May 2012 12:57:02 +0200
hardlink (0.2.0~rc1) experimental; urgency=low
* Rewrite hardlink in C, improves memory usage
- Use PCRE for regular expressions (can build with POSIX ones as well)
* Handle several signals (SIGINT, SIGTERM, SIGUSR1, SIGUSR2)
* Do not create backups. Instead, link to temporary and then rename to target.
* Add a "-c" compatibility option for Fedora people and their friends
-- Julian Andres Klode <jak at debian.org> Sat, 03 Mar 2012 18:11:05 +0100
>How-To-Repeat:
>Fix:
--- hardlink.2012-05-18T034256Z.diff begins here ---
diff -Nrux .svn -x work /usr/ports/sysutils/hardlink/Makefile hardlink/Makefile
--- /usr/ports/sysutils/hardlink/Makefile 2012-05-17 20:42:45.000000000 -0700
+++ hardlink/Makefile 2012-05-16 20:04:07.000000000 -0700
@@ -6,8 +6,8 @@
#
PORTNAME= hardlink
-PORTVERSION= 0.1.2
-CATEGORIES= sysutils python
+PORTVERSION= 0.2.0
+CATEGORIES= sysutils
MASTER_SITES= http://jak-linux.org/projects/hardlink/ \
DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION}
@@ -17,19 +17,26 @@
LICENSE= MIT
+BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config
+
MAN1= hardlink.1
-NO_BUILD= yes
PLIST_FILES= bin/hardlink
-USE_PYTHON= 2.5+
WRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/}
-PORTSCOUT= limit:~rc[0-9]+$$
+OPTIONS= PCRE "Use PCRE for regular expressions" On
+
+PORTSCOUT= limit:(?<!~rc[0-9])$$
+
+.include <bsd.port.options.mk>
-post-patch:
- @${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' ${WRKSRC}/hardlink.py
+.if defined(WITHOUT_PCRE)
+MAKE_ENV+= ENABLE=
+.else
+LIB_DEPENDS+= pcreposix.0:${PORTSDIR}/devel/pcre
+.endif
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/hardlink.py ${PREFIX}/bin/hardlink
+ ${INSTALL_PROGRAM} ${WRKSRC}/hardlink ${PREFIX}/bin/hardlink
${INSTALL_MAN} ${WRKSRC}/hardlink.1 ${MAN1PREFIX}/man/man1/hardlink.1
.include <bsd.port.mk>
diff -Nrux .svn -x work /usr/ports/sysutils/hardlink/distinfo hardlink/distinfo
--- /usr/ports/sysutils/hardlink/distinfo 2012-03-09 11:17:51.000000000 -0800
+++ hardlink/distinfo 2012-05-16 20:05:36.000000000 -0700
@@ -1,2 +1,2 @@
-SHA256 (hardlink_0.1.2.tar.gz) = 76181794b41c4dbdb418a91d18c5d5e627df1ace7799e088685632e20fc60d1c
-SIZE (hardlink_0.1.2.tar.gz) = 6840
+SHA256 (hardlink_0.2.0.tar.gz) = 7dbacfaaaa6bcc090f75511b204b73ca8f9da7816c4e9ea384eee5261aaef8d1
+SIZE (hardlink_0.2.0.tar.gz) = 12478
--- hardlink.2012-05-18T034256Z.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list