View | Details | Raw Unified | Return to bug 104919
Collapse All | Expand All

(-)/root/ports-updated/cronolog/Makefile Mon Oct 30 01:30:02 2006 (-3 / +5 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME=      cronolog
8
PORTNAME=      cronolog
9
PORTVERSION=   1.6.2
9
PORTVERSION=   1.6.2
10
PORTREVISION=  1
10
PORTREVISION=  2
11
CATEGORIES=    sysutils
11
CATEGORIES=    sysutils
12
MASTER_SITES=  http://cronolog.org/download/
12
MASTER_SITES=  http://cronolog.org/download/
13
13
Lines 23-34 Link Here
23
23
24
.include <bsd.port.pre.mk>
24
.include <bsd.port.pre.mk>
25
25
26
EXTRA_PATCHES= files/cronolog-missing_symlink_bug-patch
27
PATCH_WRKSRC=  ${WRKDIR}
28
26
.if !defined(WITHOUT_SETUID_PATCH)
29
.if !defined(WITHOUT_SETUID_PATCH)
27
MASTER_SITES+=  http://cronolog.org/patches/:patches
30
MASTER_SITES+=  http://cronolog.org/patches/:patches
28
DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} cronolog-setugid-patch.txt:patches
31
DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} cronolog-setugid-patch.txt:patches
29
EXTRACT_ONLY=  ${DISTNAME}${EXTRACT_SUFX}
32
EXTRACT_ONLY=  ${DISTNAME}${EXTRACT_SUFX}
30
EXTRA_PATCHES= ${WRKDIR}/cronolog-setugid-patch.txt
33
EXTRA_PATCHES+=        ${WRKDIR}/cronolog-setugid-patch.txt
31
PATCH_WRKSRC=  ${WRKDIR}
32
USE_DOS2UNIX=  ../cronolog-setugid-patch.txt
34
USE_DOS2UNIX=  ../cronolog-setugid-patch.txt
33
35
34
post-extract:
36
post-extract:
(-)/root/ports-updated/cronolog/files/cronolog-missing_symlink_bug-patch Mon Oct 30 01:20:27 2006 (+12 lines)
Line 0 Link Here
1
--- cronolog-1.6.2/src/cronoutils.c.orig       Thu May  3 16:43:21 2001
2
+++ cronolog-1.6.2/src/cronoutils.c    Mon Oct 30 00:33:40 2006
3
@@ -199,7 +199,7 @@
4
     {
5
        unlink(prevlinkname);
6
     }
7
-    if (stat(linkname, &stat_buf) == 0)
8
+    if (lstat(linkname, &stat_buf) == 0)
9
     {
10
        if (prevlinkname) {
11
            rename(linkname, prevlinkname);
12

Return to bug 104919