Bug 117106 - port update: security/hamachi
Summary: port update: security/hamachi
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-11 10:10 UTC by Lapo Luchini
Modified: 2007-10-15 17:40 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lapo Luchini 2007-10-11 10:10:01 UTC
The port is currently a little imprecise: uses post-patch to do "build things".
The following patch tidies it up a bit.

Fix: 

PATCH_DEPENDS= upx:${PORTSDIR}/archivers/upx

-NO_BUILD=      yes
 ONLY_FOR_ARCHS=        i386 amd64
 USE_LINUX=     yes

@@ -27,8 +26,9 @@

 post-patch:
        ${RM} -f ${WRKSRC}/tuncfg/tuncfg
+       ${LOCALBASE}/bin/upx -d ${WRKSRC}/hamachi
+do-build:
        ${CC} ${CFLAGS} -o ${WRKSRC}/tuncfg/tuncfg ${WRKSRC}/tuncfg/tuncfg.c
-       upx -d ${WRKSRC}/hamachi

 post-install:
 .if !defined(NOPORTDOCS)--Pgu0xfCZl9m7Nh182X5bu3GqcQjDICfyH3SV4zMhMPkOwI6r
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- Makefile.orig       Thu Sep 27 12:00:55 2007
+++ Makefile    Tue Oct  2 10:15:26 2007
@@ -17,7 +17,6 @@
Comment 1 dfilter service freebsd_committer freebsd_triage 2007-10-15 17:38:46 UTC
garga       2007-10-15 16:38:40 UTC

  FreeBSD ports repository

  Modified files:
    security/hamachi     Makefile 
  Log:
  - Port was building stuffs on post-patch: target, fix it using do build: [1]
  - Since i'm here, just make it respect PREFIX
  
  PR:             ports/117106 [1]
  Submitted by:   maintainer [1]
  
  Revision  Changes    Path
  1.2       +4 -2      ports/security/hamachi/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Renato Botelho freebsd_committer freebsd_triage 2007-10-15 17:39:20 UTC
State Changed
From-To: open->closed

Committed with changes, i've added MAKE_ENV line to make it respect 
PREFIX. Thanks for contributing!!