summaryrefslogtreecommitdiff
path: root/ports-mgmt/poudriere
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-04-04 22:13:44 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-04-04 22:13:44 +0000
commit24708f28b57a2a194c08741a2b484df96561ea31 (patch)
treee0d84e7c2cb82a2232caf7e8b06cac1f8d58e675 /ports-mgmt/poudriere
parent- Add stage support (diff)
Fix packaging as a user
While here strip binaries Reported by: jmmv
Notes
Notes: svn path=/head/; revision=350172
Diffstat (limited to 'ports-mgmt/poudriere')
-rw-r--r--ports-mgmt/poudriere/Makefile3
-rw-r--r--ports-mgmt/poudriere/files/patch-Makefile26
-rw-r--r--ports-mgmt/poudriere/files/patch-src__libexec__poudriere__Makefile20
3 files changed, 47 insertions, 2 deletions
diff --git a/ports-mgmt/poudriere/Makefile b/ports-mgmt/poudriere/Makefile
index ae0d56768d33..f1f9d3845836 100644
--- a/ports-mgmt/poudriere/Makefile
+++ b/ports-mgmt/poudriere/Makefile
@@ -16,8 +16,6 @@ OPTIONS_DEFINE= ZSH
CONFLICTS_INSTALL= poudriere-devel
-USES= uidfix
-
PLIST_FILES= etc/poudriere.conf.sample \
bin/poudriere \
man/man8/poudriere.8.gz \
@@ -61,6 +59,7 @@ PLIST_DIRSTRY+= share/zsh/
.endif
post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/poudriere/*
.if ${PORT_OPTIONS:MZSH}
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/
@${INSTALL_DATA} ${WRKSRC}/zsh-completions \
diff --git a/ports-mgmt/poudriere/files/patch-Makefile b/ports-mgmt/poudriere/files/patch-Makefile
new file mode 100644
index 000000000000..0cd47c8acfaa
--- /dev/null
+++ b/ports-mgmt/poudriere/files/patch-Makefile
@@ -0,0 +1,26 @@
+--- ./Makefile.orig 2014-03-17 16:01:47.000000000 +0100
++++ ./Makefile 2014-04-05 00:10:41.888129490 +0200
+@@ -5,18 +5,18 @@
+ ${MAKE} -C src/libexec/poudriere
+
+ install:
+- install -m 755 -o root -g wheel src/bin/poudriere.sh \
++ install -m 755 src/bin/poudriere.sh \
+ ${DESTDIR}${PREFIX}/bin/poudriere
+ mkdir -p ${DESTDIR}${PREFIX}/share/poudriere
+ mkdir -p ${DESTDIR}${PREFIX}/share/poudriere/awk
+ mkdir -p ${DESTDIR}${PREFIX}/share/poudriere/html
+- install -m 755 -o root -g wheel src/share/poudriere/*.sh \
++ install -m 755 src/share/poudriere/*.sh \
+ ${DESTDIR}${PREFIX}/share/poudriere/
+- install -m 644 -o root -g wheel src/share/poudriere/awk/* \
++ install -m 644 src/share/poudriere/awk/* \
+ ${DESTDIR}${PREFIX}/share/poudriere/awk/
+- install -m 644 -o root -g wheel src/share/poudriere/html/* \
++ install -m 644 src/share/poudriere/html/* \
+ ${DESTDIR}${PREFIX}/share/poudriere/html/
+- install -m 644 -o root -g wheel conf/poudriere.conf.sample \
++ install -m 644 conf/poudriere.conf.sample \
+ ${DESTDIR}${PREFIX}/etc/
+ if [ -f poudriere.8.gz ]; then rm -f poudriere.8.gz; fi
+ gzip -k -9 poudriere.8
diff --git a/ports-mgmt/poudriere/files/patch-src__libexec__poudriere__Makefile b/ports-mgmt/poudriere/files/patch-src__libexec__poudriere__Makefile
new file mode 100644
index 000000000000..74b1f3e803f3
--- /dev/null
+++ b/ports-mgmt/poudriere/files/patch-src__libexec__poudriere__Makefile
@@ -0,0 +1,20 @@
+--- ./src/libexec/poudriere/Makefile.orig 2014-03-17 16:01:47.000000000 +0100
++++ ./src/libexec/poudriere/Makefile 2014-04-05 00:11:53.061289147 +0200
+@@ -16,13 +16,13 @@
+
+ install: dirwatch make_index dirempty cpdup/cpdup
+ mkdir -p ${DESTDIR}${PREFIX}/libexec/poudriere
+- install -m 755 -o root -g wheel dirwatch \
++ install -m 755 dirwatch \
+ ${DESTDIR}${PREFIX}/libexec/poudriere
+- install -m 755 -o root -g wheel make_index \
++ install -m 755 make_index \
+ ${DESTDIR}${PREFIX}/libexec/poudriere
+- install -m 755 -o root -g wheel dirempty \
++ install -m 755 dirempty \
+ ${DESTDIR}${PREFIX}/libexec/poudriere
+- install -m 755 -o root -g wheel cpdup/cpdup \
++ install -m 755 cpdup/cpdup \
+ ${DESTDIR}${PREFIX}/libexec/poudriere
+
+ clean: