From owner-freebsd-ports@FreeBSD.ORG Sun Dec 7 13:06:25 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CC621065677 for ; Sun, 7 Dec 2008 13:06:25 +0000 (UTC) (envelope-from erwin@FreeBSD.org) Received: from pointyhat.freebsd.org (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id F18E88FC27 for ; Sun, 7 Dec 2008 13:06:24 +0000 (UTC) (envelope-from erwin@FreeBSD.org) Received: from pointyhat.freebsd.org (localhost [127.0.0.1]) by pointyhat.freebsd.org (8.14.3/8.14.3) with ESMTP id mB7D6EPH054303 for ; Sun, 7 Dec 2008 13:06:14 GMT (envelope-from erwin@pointyhat.freebsd.org) Received: (from erwin@localhost) by pointyhat.freebsd.org (8.14.3/8.14.3/Submit) id mB7D6E23054302 for ports@FreeBSD.org; Sun, 7 Dec 2008 13:06:14 GMT (envelope-from erwin) Date: Sun, 7 Dec 2008 13:06:14 GMT From: Erwin Lansing Message-Id: <200812071306.mB7D6E23054302@pointyhat.freebsd.org> To: ports@FreeBSD.org Cc: Subject: INDEX build failed for 6.x X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2008 13:06:25 -0000 INDEX build failed with errors: Generating INDEX-6 - please wait..pkg_info: not found pkg_info: not found pkg_info: not found pkg_info: not found Done. make_index: phpGedView-4.1.4_1: no entry for /usr/ports/devel/php5-pcre make_index: drupal6-6.6: no entry for /usr/ports/devel/php5-pcre make_index: pivot-weblog-1.40.6: no entry for /usr/ports/devel/php5-pcre make_index: phpwiki-1.2.10_4: no entry for /usr/ports/devel/php5-pcre make_index: phpwebgallery-1.7.2: no entry for /usr/ports/devel/php5-pcre make_index: pear-Net_UserAgent_Mobile-1.0.0: no entry for /usr/ports/devel/php5-pcre make_index: netoffice-2.6.0b2_1: no entry for /usr/ports/devel/php5-pcre make_index: fruity-1.0.r2_3: no entry for /usr/ports/devel/php5-pcre make_index: campsite-2.6.7_5: no entry for /usr/ports/devel/php5-pcre make_index: campsite-2.6.7_5: no entry for /usr/ports/devel/php5-pcre make_index: roundcube-0.2.b,1: no entry for /usr/ports/devel/php5-pcre make_index: torrentflux-2.0.b1: no entry for /usr/ports/devel/php5-pcre make_index: habari-0.5.2: no entry for /usr/ports/devel/php5-pcre make_index: amavis-stats-0.1.12_2: no entry for /usr/ports/devel/php5-pcre make_index: eventum-2.1.1_1: no entry for /usr/ports/devel/php5-pcre make_index: dalbum-140.152_2: no entry for /usr/ports/devel/php5-pcre make_index: eyeOS-0.9.3.5: no entry for /usr/ports/devel/php5-pcre make_index: mywwwatcher-3.2: no entry for /usr/ports/devel/php5-pcre make_index: phpldapadmin-1.1.0.5_2,1: no entry for /usr/ports/devel/php5-pcre make_index: pgfouine-1.0_1: no entry for /usr/ports/devel/php5-pcre [...] make_index: ampache-3.4.3: no entry for /usr/ports/devel/php5-pcre make_index: adodb-4.99.1: no entry for /usr/ports/devel/php5-pcre make_index: adodb-5.06.a: no entry for /usr/ports/devel/php5-pcre make_index: ilohamail-0.8.13_1: no entry for /usr/ports/devel/php5-pcre make_index: twig-2.8.3_2: no entry for /usr/ports/devel/php5-pcre make_index: cakephp-1.1.19.6305_1: no entry for /usr/ports/devel/php5-pcre make_index: WebCalendar-1.0.5_1: no entry for /usr/ports/devel/php5-pcre make_index: xaraya-1.1.5: no entry for /usr/ports/devel/php5-pcre make_index: phpminiadmin-1.4.080217: no entry for /usr/ports/devel/php5-pcre make_index: pecl-zip-1.9.0: no entry for /usr/ports/devel/php5-pcre make_index: pecl-zip-1.9.0: no entry for /usr/ports/devel/php5-pcre make_index: joomla-1.0.15: no entry for /usr/ports/devel/php5-pcre make_index: snortsms-1.7.8: no entry for /usr/ports/devel/php5-pcre make_index: dokuwiki-20080505_1: no entry for /usr/ports/devel/php5-pcre make_index: asterisk-stat-2.0.1_4: no entry for /usr/ports/devel/php5-pcre make_index: phpmp-0.11.0_1: no entry for /usr/ports/devel/php5-pcre make_index: phpMyAdmin211-2.11.9.3: no entry for /usr/ports/devel/php5-pcre make_index: nocc-1.6_1: no entry for /usr/ports/devel/php5-pcre make_index: sqstat-1.20_1: no entry for /usr/ports/devel/php5-pcre make_index: lifetype-1.2.8: no entry for /usr/ports/devel/php5-pcre Committers on the hook: ale miwi stas Most recent CVS update was: U MOVED U comms/mgetty+sendfax/Makefile U comms/mgetty+sendfax/files/patch-CVE-2008-4936 U converters/php5-recode/Makefile U databases/php5-pdo_pgsql/Makefile U databases/php5-pdo_sqlite/files/patch-sqlite_statement.c U databases/php5-pgsql/Makefile U devel/php5-gettext/Makefile U devel/ruby-fam/Makefile U games/Makefile U games/bsdrain/Makefile U games/bsdrain/distinfo U games/bsdrain/pkg-descr U graphics/Makefile U graphics/silgraphite/Makefile U graphics/silgraphite/distinfo U graphics/silgraphite/pkg-descr U graphics/silgraphite/pkg-plist U graphics/silgraphite/files/patch-engine_Makefile.in U lang/php5/Makefile U lang/php5/Makefile.ext U lang/php5/distinfo U lang/php5/pkg-plist U lang/php5/files/patch-configure.in U lang/php5-extensions/Makefile U mail/php5-imap/Makefile U russian/xneur/Makefile U russian/xneur/distinfo U russian/xneur/pkg-plist U security/vuxml/vuln.xml U sysutils/spindown/Makefile U sysutils/spindown/distinfo U textproc/php5-pspell/Makefile U www/pecl-pecl_http/Makefile U www/pecl-pecl_http/distinfo From owner-freebsd-ports@FreeBSD.ORG Sun Dec 7 16:04:46 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1DCFD1065678 for ; Sun, 7 Dec 2008 16:04:46 +0000 (UTC) (envelope-from erwin@FreeBSD.org) Received: from pointyhat.freebsd.org (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id E99768FC18 for ; Sun, 7 Dec 2008 16:04:45 +0000 (UTC) (envelope-from erwin@FreeBSD.org) Received: from pointyhat.freebsd.org (localhost [127.0.0.1]) by pointyhat.freebsd.org (8.14.3/8.14.3) with ESMTP id mB7G4Ze9070324 for ; Sun, 7 Dec 2008 16:04:35 GMT (envelope-from erwin@pointyhat.freebsd.org) Received: (from erwin@localhost) by pointyhat.freebsd.org (8.14.3/8.14.3/Submit) id mB7G4ZF9070318 for ports@FreeBSD.org; Sun, 7 Dec 2008 16:04:35 GMT (envelope-from erwin) Date: Sun, 7 Dec 2008 16:04:35 GMT From: Erwin Lansing Message-Id: <200812071604.mB7G4ZF9070318@pointyhat.freebsd.org> To: ports@FreeBSD.org Cc: Subject: INDEX now builds successfully on 6.x X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2008 16:04:46 -0000 From owner-freebsd-ports@FreeBSD.ORG Sun Dec 7 18:35:03 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4410106567A for ; Sun, 7 Dec 2008 18:35:03 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (unknown [IPv6:2001:2f0:104:e001::32]) by mx1.freebsd.org (Postfix) with ESMTP id 639B88FC1E for ; Sun, 7 Dec 2008 18:35:03 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from delta.allbsd.org (p2191-ipbf1403funabasi.chiba.ocn.ne.jp [118.7.161.191]) (authenticated bits=128) by mail.allbsd.org (8.14.2/8.14.2) with ESMTP id mB7IYoAs016083 for ; Mon, 8 Dec 2008 03:35:02 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (alph.allbsd.org [192.168.0.10]) (authenticated bits=0) by delta.allbsd.org (8.13.4/8.13.4) with ESMTP id mB7IYOkh074027 for ; Mon, 8 Dec 2008 03:34:26 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Mon, 08 Dec 2008 03:32:50 +0900 (JST) Message-Id: <20081208.033250.137441016.hrs@allbsd.org> To: ports@FreeBSD.org From: Hiroki Sato X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.1 on Emacs 22.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart0(Mon_Dec__8_03_32_50_2008_342)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (mail.allbsd.org [133.31.130.32]); Mon, 08 Dec 2008 03:35:02 +0900 (JST) Cc: Subject: RFC: $USE_[GU]ID for consistent [GU]ID handling X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2008 18:35:04 -0000 ----Security_Multipart0(Mon_Dec__8_03_32_50_2008_342)-- Content-Type: Multipart/Mixed; boundary="--Next_Part(Mon_Dec__8_03_32_50_2008_083)--" Content-Transfer-Encoding: 7bit ----Next_Part(Mon_Dec__8_03_32_50_2008_083)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I would like your comments about the attached patch. This is for adding USE_UID and USE_GID which allow uid/gid addition on installation and the removal on deinstallation. It uses ${PORTSDIR}/[GU]IDs for the detail information and can eliminate complex shell scripts from individual ports. For example, if you define USE_UID= foo in Makefile, the uid "foo" is added before pre-su-install, and removed on deinstallation by using pw(8). If the uid already exists, no error occurred. The multiple uids are also allowed. The attached patch includes an example of rewrite of an existing ports (japanese/sj3-server). After investigating ~300 ports in the ports tree which add uid/gid I think the attached implementation can cover most of the use case, but there may be something I missed. Comments are welcome. -- | Hiroki SATO ----Next_Part(Mon_Dec__8_03_32_50_2008_083)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ports_uid.diff" Index: Mk/bsd.port.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.port.mk,v retrieving revision 1.604 diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$DragonFly:.*\$ -I\$Id:.*\$ -I\$Translation:.*\$ -I\$hrs:.*\$ -r1.604 bsd.port.mk --- Mk/bsd.port.mk 5 Sep 2008 19:41:43 -0000 1.604 +++ Mk/bsd.port.mk 23 Nov 2008 18:48:13 -0000 @@ -524,6 +524,16 @@ # RC_SUBR_SUFFIX # - Contains the suffix of installed rc.subr scripts. ## +# +# USE_UID - List UIDs to be used by the port/package. The UID must be +# a symbolic name defined in ${PORTSDIR}/UIDs, and +# added on installation and removed on uninstallation. +# +# USE_GID - List GIDs to be used by the port/package. The GID must be +# a symbolic name defined in ${PORTSDIR}/GIDs, and +# added on installation and removed on uninstallation. +# +## # USE_APACHE - If set, this port relies on an apache webserver. # # USE_CDRTOOLS - If set, this port depends on sysutils/cdrtools, unless @@ -2109,6 +2119,50 @@ .endif .endif +.if defined(USE_UID) +UIDFILE?= ${PORTSDIR}/UIDs +.for U in ${USE_UID} +_PASSWDREGEX+= ^${U}:\\\| +.endfor +_PASSWDLINES= set -- ${_PASSWDREGEX}; IFS=''; ${GREP} "$${*%\|}" ${UIDFILE} +add-uid: + @${_PASSWDLINES} > /dev/null 2>&1 || ( ${ECHO_MSG} '===> $$USE_UID consistency error.' && ${FALSE} ) + @( ${_PASSWDLINES} ) | while read L; do \ + IFS=":"; set -f; set -- $${L}; \ + ${ECHO_MSG} "===> Adding user account: \"$${1}($${3})\""; \ + if ! ${PW} usershow $${1} > /dev/null 2>&1; then \ + ${PW} useradd -n "$${1}" -u "$${3}" -g "$${4}" -c "$${8}" -d "$${9}" -s "$${10}"; \ + fi; \ + ${ECHO_CMD} "@exec if ! ${PW} usershow $${1} > /dev/null 2>&1; then ${PW} useradd -n \"$${1}\" -u \"$${3}\" -g \"$${4}\" -c \"$${8}\" -d \"$${9}\" -s \"$${10}\"; fi" >> ${TMPPLIST}; \ + ${ECHO_CMD} "@unexec if ${PW} usershow $${1} > /dev/null 2>&1; then ${PW} userdel -n \"$${1}\" -u \"$${3}\"; fi" >> ${TMPPLIST}; \ + done +.else +add-uid: + @${DO_NADA} +.endif + +.if defined(USE_GID) +GIDFILE?= ${PORTSDIR}/GIDs +.for G in ${USE_GID} +_GROUPREGEX+= ^${G}:\\\| +.endfor +_GROUPLINES= set -- ${_GROUPREGEX}; IFS=''; ${GREP} "$${*%\|}" ${GIDFILE} +add-gid: + @${_GROUPLINES} > /dev/null 2>&1 || ( ${ECHO_MSG} '===> $$USE_GID consistency error.' && ${FALSE} ) + @( ${_GROUPLINES} || false ) | while read L; do \ + IFS=":"; set -f; set -- $${L}; \ + ${ECHO_MSG} "===> Adding group account: \"$${1}($${3})\""; \ + if ! ${PW} groupshow $${1} > /dev/null 2>&1; then \ + ${PW} groupadd -n "$${1}" -g "$${3}"; \ + fi; \ + ${ECHO_CMD} "@exec if ! ${PW} groupshow \"$${1}\" > /dev/null 2>&1; then ${PW} groupadd -n \"$${1}\" -g \"$${3}\"; fi" >> ${TMPPLIST}; \ + ${ECHO_CMD} "@unexec if ${PW} groupshow \"$${1}\" > /dev/null 2>&1; then ${PW} groupdel -n \"$${1}\" -g \"$${3}\"; fi" >> ${TMPPLIST}; \ + done +.else +add-gid: + @${DO_NADA} +.endif + # Macro for doing in-place file editing using regexps REINPLACE_ARGS?= -i.bak REINPLACE_CMD?= ${SED} ${REINPLACE_ARGS} @@ -4136,7 +4190,7 @@ _INSTALL_SEQ= install-message check-conflicts \ run-depends lib-depends apply-slist pre-install \ pre-install-script generate-plist check-already-installed -_INSTALL_SUSEQ= check-umask install-mtree pre-su-install \ +_INSTALL_SUSEQ= check-umask install-mtree add-gid add-uid pre-su-install \ pre-su-install-script do-install install-desktop-entries \ post-install post-install-script add-plist-info \ add-plist-docs add-plist-examples add-plist-data \ Index: japanese/sj3-server/Makefile =================================================================== RCS file: /home/ncvs/ports/japanese/sj3-server/Makefile,v retrieving revision 1.31 diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$DragonFly:.*\$ -I\$Id:.*\$ -I\$Translation:.*\$ -I\$hrs:.*\$ -r1.31 Makefile --- japanese/sj3-server/Makefile 26 Oct 2008 23:12:53 -0000 1.31 +++ japanese/sj3-server/Makefile 23 Nov 2008 18:36:44 -0000 @@ -7,7 +7,7 @@ PORTNAME= sj3 PORTVERSION= 2.0.1.20 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= japanese MASTER_SITES= LOCAL/nork PKGNAMESUFFIX= -server @@ -23,6 +23,8 @@ USE_RC_SUBR= sj3.sh USE_IMAKE= yes +USE_UID= _sj3 +USE_GID= _sj3 SUB_FILES= sj3_freebsd.tmpl SUB_LIST= DESTDIR=${DESTDIR} @@ -52,7 +54,4 @@ pre-configure: apply-slist ${INSTALL_DATA} ${WRKDIR}/sj3_freebsd.tmpl ${WRKSRC}/sj3_freebsd.tmpl -pre-su-install: - @${SETENV} ${SCRIPTS_ENV} PKG_PREFIX="${PREFIX}" ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL - .include Index: japanese/sj3-server/pkg-install =================================================================== RCS file: japanese/sj3-server/pkg-install diff -N japanese/sj3-server/pkg-install --- japanese/sj3-server/pkg-install 26 Oct 2008 19:35:08 -0000 1.6 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,37 +0,0 @@ -#!/bin/sh -# $FreeBSD: ports/japanese/sj3-server/pkg-install,v 1.6 2008/10/26 19:35:08 hrs Exp $ - -PATH=/bin:/usr/sbin - -case $2 in - PRE-INSTALL) - USER=_sj3 - GROUP=${USER} - UID=912 - GID=${UID} - - if pw group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - if pw groupadd ${GROUP} -g ${GID}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi - fi - - if pw user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - else - if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \ - -d /nonexistent -s /usr/sbin/nologin -c "SJ3 Daemon" - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi - fi - ;; -esac ----Next_Part(Mon_Dec__8_03_32_50_2008_083)---- ----Security_Multipart0(Mon_Dec__8_03_32_50_2008_342)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkk8FtIACgkQTyzT2CeTzy3OoQCfUr4PjMMPagFYA5Xwloc2JCVD r3IAnRhOYe4h713YVVolFCXl/5/qoQYA =5XP3 -----END PGP SIGNATURE----- ----Security_Multipart0(Mon_Dec__8_03_32_50_2008_342)---- From owner-freebsd-ports@FreeBSD.ORG Sun Dec 7 18:35:04 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1ED7E1065673 for ; Sun, 7 Dec 2008 18:35:04 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (unknown [IPv6:2001:2f0:104:e001::32]) by mx1.freebsd.org (Postfix) with ESMTP id 952CB8FC1F for ; Sun, 7 Dec 2008 18:35:03 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from delta.allbsd.org (p2191-ipbf1403funabasi.chiba.ocn.ne.jp [118.7.161.191]) (authenticated bits=128) by mail.allbsd.org (8.14.2/8.14.2) with ESMTP id mB7IYoAu016083 for ; Mon, 8 Dec 2008 03:35:02 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (alph.allbsd.org [192.168.0.10]) (authenticated bits=0) by delta.allbsd.org (8.13.4/8.13.4) with ESMTP id mB7IYOkg074027 for ; Mon, 8 Dec 2008 03:34:26 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Mon, 08 Dec 2008 03:18:44 +0900 (JST) Message-Id: <20081208.031844.45215576.hrs@allbsd.org> To: ports@FreeBSD.org From: Hiroki Sato X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.1 on Emacs 22.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart0(Mon_Dec__8_03_18_44_2008_307)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (mail.allbsd.org [133.31.130.32]); Mon, 08 Dec 2008 03:35:02 +0900 (JST) Cc: Subject: RFC: $OPTIONS in line-oriented terminal X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2008 18:35:04 -0000 ----Security_Multipart0(Mon_Dec__8_03_18_44_2008_307)-- Content-Type: Multipart/Mixed; boundary="--Next_Part(Mon_Dec__8_03_18_44_2008_581)--" Content-Transfer-Encoding: 7bit ----Next_Part(Mon_Dec__8_03_18_44_2008_581)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I would like your comments about the attached patch. This is for making $OPTIONS work on line-oriented terminals. To see the difference, you can try the following after applying the patch: % cd /usr/ports/print/ghostscript8 && env TERM=foo make config The current implementation of $OPTIONS uses dialog(1) for listing the options, but dialog(1) requires a screen-oriented terminal. Although today's most of terminals used are virtual ones with the capability, there are still a few situations that line-oriented operation is useful; operations over low-speed serial console, for example. Also, another problem of the current implementation is that it silently skips the selection menu if the $TERM is invalid and prevents the selection itself. -- | Hiroki SATO ----Next_Part(Mon_Dec__8_03_18_44_2008_581)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="ports_dialog.diff" Index: Mk/bsd.commands.mk =================================================================== RCS file: /home/ncvs/ports/Mk/bsd.commands.mk,v retrieving revision 1.3 diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$DragonFly:.*\$ -I\$Id:.*\$ -I\$Translation:.*\$ -I\$hrs:.*\$ -r1.3 bsd.commands.mk --- Mk/bsd.commands.mk 14 Apr 2008 16:46:41 -0000 1.3 +++ Mk/bsd.commands.mk 7 Dec 2008 18:13:35 -0000 @@ -33,7 +33,7 @@ CPIO?= /usr/bin/cpio CUT?= /usr/bin/cut DC?= /usr/bin/dc -DIALOG?= /usr/bin/dialog +DIALOG?= ${PORTSDIR}/Tools/scripts/dialog.sh DIFF?= /usr/bin/diff DIRNAME?= /usr/bin/dirname EGREP?= /usr/bin/egrep Index: Tools/scripts/dialog.sh =================================================================== RCS file: Tools/scripts/dialog.sh diff -N Tools/scripts/dialog.sh --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ Tools/scripts/dialog.sh 7 Dec 2008 18:17:00 -0000 @@ -0,0 +1,222 @@ +#!/bin/sh +# +# $FreeBSD$ +# +# Copyright 2003, 2004, 2005, 2006, 2007, 2008 Hiroki Sato , +# All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# +# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. +# +DIALOG_CMD=/usr/bin/dialog + +if ${DIALOG_CMD} --clear 2> /dev/null; then + exec ${DIALOG_CMD} "$@" +fi + +shjot() +{ + _sj_num=$1 + _sj_begin=$2 + + case ${_sj_num}:${_sj_begin} in + [0-9]*:[0-9]*) + _sj_i=${_sj_begin} + _sj_num=$(( ${_sj_num} + ${_sj_begin} )) + ;; + *) + _sj_i=1 + ;; + esac + + while [ ${_sj_i} -le ${_sj_num} ]; do + echo ${_sj_i} + _sj_i=$(( ${_sj_i} + 1 )) + done +} + +print_sep() +{ + echo "---- $*" +} + +calc_b_e() +{ + _cbe_begin=$((${IPAGE} * ${CPAGE} + 1)) + case ${CPAGE} in + ${NPAGE}) _cbe_ritems=$(((${NITEMS} - ${IPAGE} * ${CPAGE}) % ${IPAGE})) ;; + *) _cbe_ritems=${IPAGE} ;; + esac + _cbe_end=$((${_cbe_begin} + ${_cbe_ritems} - 1)) + + echo ${_cbe_begin} ${_cbe_end} ${_cbe_ritems} +} + +print_knobs() +{ + set -- `calc_b_e` + _pk_begin=$1 + _pk_end=$2 + _pk_ritems=$3 + + for _i in `shjot $(( ${_pk_ritems} - 1 )) ${_pk_begin}`; do + printf "%3d) [%3s] %s\n" ${_i} "`eval echo \\$PSW_${_i}`" "`eval echo \\$PITEM_${_i}`" + done +} + +print_prompt() +{ + print_sep + + set -- `calc_b_e` + _begin=$1 + _end=$2 + _ritems=$3 + + case "${_begin}:${_ritems}:${CPAGE}" in + 1:1:*) echo -n "${_begin},le,ld,?,q) " ;; + 1:*:${NPAGE}) echo -n "${_begin}-${_end},le,ld,?,q) " ;; + *:1:*) echo -n "${_begin},p,le,ld,?,q) "; + VALIDC="p" ;; + *:*:${NPAGE}) echo -n "${_begin}-${_end},p,le,ld,?,q) "; + VALIDC="p" ;; + 1:*:*) echo -n "${_begin}-${_end}(max:${NITEMS}),n,le,ld,?,q) "; + VALIDC="n" ;; + *) echo -n "${_begin}-${_end}(max:${NITEMS}),p,n,le,ld,?,q) "; + VALIDC="pn" ;; + esac +} + +print_vars() +{ + for _i in `shjot ${NITEMS}`; do + case $1:`eval echo \\$PSW_${_i}` in + enables:on) echo "WITH_`eval echo \\$PTAG_\${_i}`=true" ;; + disables:off) echo "WITHOUT_`eval echo \\$PTAG_\${_i}`=true" ;; + knobs:on) echo -n " \"`eval echo \\$PTAG_\${_i}`\"" ;; + esac + done +} + +flipflop() +{ + _tmp=`eval echo \\$PSW_$1` + + case "${_tmp}" in + on) echo "off" ;; + off) echo "on" ;; + *) echo "${_tmp}" ;; + esac +} + +check_input() +{ + read _in + + case "${_in}:${VALIDC}" in + [123456789]:*|[123456789][0123456789]:*|[123456789][0123456789][0123456789]:*) + STATE=MENU + echo "PSW_${_in}=`flipflop ${_in}`; STATE=${STATE}" + ;; + q:*|Q:*) + echo "STATE=DONE" + ;; + n:*n*|N:*n*) + STATE=MENU + echo "PAGE=$((${CPAGE}+1)); STATE=${STATE}" + ;; + p:*p*|P:*p*) + STATE=MENU + echo "PAGE=$((${CPAGE}-1)); STATE=${STATE}" + ;; + ld:*) + STATE=NOMENU + echo "print_vars disables; STATE=${STATE}" + ;; + le:*) + STATE=NOMENU + echo "print_vars enables; STATE=${STATE}" + ;; + \?:*) + STATE=NOMENU + MSG=' p: previous\n n: next\n le: list enables\n ld: list disables\n ?: help\n q: quit\n' + echo "print_sep Usage; printf \"${MSG}\"; STATE=${STATE}" + ;; + *) + STATE=NOMENU + echo "echo \"invalid command: ${_in}\"; STATE=${STATE}" + ;; + esac +} + +DONE=0 +CPAGE=0 # current page +NITEMS=0 # total number of items +NPAGE=0 # total number of pages +IPAGE=10 # items per page + +while [ $# != 0 ]; do + case $1 in + --checklist) + shift; TITLE=$1 + shift; WIDTH=$1 + shift; HEIGHT=$1 + shift; LHEIGHT=$1 + shift; + + NITEMS=$(($# / 3)) + NPAGE=$(($# / 3 / ${IPAGE})) + + for i in `shjot ${NITEMS}`; do + eval "PTAG_${i}=\"$1\"" + eval "PITEM_${i}=\"$2\"" + eval "PSW_${i}=\"$3\"" + shift 3 + done + + break + ;; + *) + shift + ;; + esac +done + +STATE=MENU; + +while :; do + case ${STATE} in + MENU) + print_sep "${TITLE}" + print_knobs "${NITEMS}" "${CPAGE}" "${IPAGE}" + ;; + NOMENU) + # do nothing + ;; + DONE) + break; + ;; + esac + print_prompt + eval `check_input "${NITEMS}" "${CPAGE}" "${IPAGE}"` +done + +print_vars knobs >&2 ----Next_Part(Mon_Dec__8_03_18_44_2008_581)---- ----Security_Multipart0(Mon_Dec__8_03_18_44_2008_307)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkk8E4QACgkQTyzT2CeTzy1yFwCeJfCEvzzcEBVBsV+am7iJcvSh VSsAoKpQ5CWrPOl7jaSA55eBwRjrcVnU =aPLI -----END PGP SIGNATURE----- ----Security_Multipart0(Mon_Dec__8_03_18_44_2008_307)---- From owner-freebsd-ports@FreeBSD.ORG Sun Dec 7 18:41:47 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4122E1065678; Sun, 7 Dec 2008 18:41:47 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (unknown [IPv6:2001:2f0:104:80a0:230:48ff:fe41:2455]) by mx1.freebsd.org (Postfix) with ESMTP id CE4738FC19; Sun, 7 Dec 2008 18:41:46 +0000 (UTC) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.14.1/8.14.1/NinthNine) with SMTP id mB7IfiRh051548; Mon, 8 Dec 2008 03:41:44 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Mon, 8 Dec 2008 03:41:44 +0900 From: Norikatsu Shigemura To: Hiroki Sato Message-Id: <20081208034144.8db455fa.nork@FreeBSD.org> In-Reply-To: <20081208.033250.137441016.hrs@allbsd.org> References: <20081208.033250.137441016.hrs@allbsd.org> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (sakura.ninth-nine.com [219.127.74.121]); Mon, 08 Dec 2008 03:41:45 +0900 (JST) Cc: ports@FreeBSD.org Subject: Re: RFC: $USE_[GU]ID for consistent [GU]ID handling X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2008 18:41:47 -0000 Hi Hiroki! On Mon, 08 Dec 2008 03:32:50 +0900 (JST) Hiroki Sato wrote: > The attached patch includes an example of rewrite of an existing > ports (japanese/sj3-server). After investigating ~300 ports in the > ports tree which add uid/gid I think the attached implementation can > cover most of the use case, but there may be something I missed. > Comments are welcome. Wow! That's cool! If this patch will be committed, I'll rewrite some my ports to USE_[GU]ID. From owner-freebsd-ports@FreeBSD.ORG Sun Dec 7 19:46:10 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A8254106568E for ; Sun, 7 Dec 2008 19:46:10 +0000 (UTC) (envelope-from agabas@astabis.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 3CAF38FC4F for ; Sun, 7 Dec 2008 19:46:09 +0000 (UTC) (envelope-from agabas@astabis.com) Received: by nf-out-0910.google.com with SMTP id h3so408250nfh.33 for ; Sun, 07 Dec 2008 11:46:09 -0800 (PST) Received: by 10.210.139.15 with SMTP id m15mr2670448ebd.118.1228677908304; Sun, 07 Dec 2008 11:25:08 -0800 (PST) Received: from nintu (229.Red-83-60-95.dynamicIP.rima-tde.net [83.60.95.229]) by mx.google.com with ESMTPS id g9sm9277636gvc.19.2008.12.07.11.25.06 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 07 Dec 2008 11:25:07 -0800 (PST) From: =?iso-8859-1?Q?Albert_Gab=E0s_|_Astabis?= To: Date: Sun, 7 Dec 2008 20:25:05 +0100 Message-ID: <000001c958a1$83531950$89f94bf0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Office Outlook 12.0 Importance: High Thread-Index: AclYoWuoumToMy0GTRa86xwX101meA== Content-Language: es x-cr-hashedpuzzle: AOey A0sz DZJS FArx FNcd FPDR GasM HOjl IQZG JIqp K+vH LxEI MBVJ OxWT RNtc TmEG; 2; YQBsAGUAQABmAHIAZQBlAGIAcwBkAC4AbwByAGcAOwBwAG8AcgB0AHMAQABmAHIAZQBlAGIAcwBkAC4AbwByAGcA; Sosha1_v1; 7; {D384F0B3-3907-4083-A2A1-6FD1D211D9E8}; YQBnAGEAYgBhAHMAQABhAHMAdABhAGIAaQBzAC4AYwBvAG0A; Sun, 07 Dec 2008 19:24:59 GMT; RgByAGUAZQBCAFMARAAgAFAAbwByAHQAOgAgAHAAaABwADUALQA1AC4AMgAuADcA x-cr-puzzleid: {D384F0B3-3907-4083-A2A1-6FD1D211D9E8} Cc: ports@FreeBSD.org Subject: FreeBSD Port: php5-5.2.7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2008 19:46:10 -0000 Dear Ale, I have updated the PHP to 5.2.7 version, and now some code give me the = next error: [Sun Dec 07 19:46:00 2008] [error] [client X.X.X.X] PHP Warning: preg_replace() [function.preg-replace]: Internal pcre_fullinfo() error -3 in /usr/local/share/cacti/lib/functions.php on line 1924, referer: http://www.XXX.com/cacti/ PHP Version 5.2.7: Configure Command './configure' '--with-layout=3DGNU' '--with-config-file-scan-dir=3D/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=3D/usr/local' '--with-pcre-regex=3D/usr/local' '--enable-reflection' = '--program-prefix=3D' '--disable-cgi' '--with-apxs2=3D/usr/local/sbin/apxs' = '--with-regex=3Dphp' '--with-zend-vm=3DCALL' '--disable-ipv6' '--prefix=3D/usr/local' '--mandir=3D/usr/local/man' '--infodir=3D/usr/local/info/' '--build=3Damd64-portbld-freebsd7.0' pcrePCRE (Perl Compatible Regular Expressions) Support enabled=20 PCRE Library Version 3.9 02-Jan-2002 I'm trying to fix it without success. Well, If you know any fix, your help will be welcomed. Regards -- Albert Gab=E0s - Astabis Information Risk Management Movil: +34 687 733 222 | Oficina: +34 932 417 962 Directo: +34 931 145 262 | Fax: +34 932 400 545 SkypeID: albert.gabas From owner-freebsd-ports@FreeBSD.ORG Sun Dec 7 19:57:03 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74F141065672 for ; Sun, 7 Dec 2008 19:57:03 +0000 (UTC) (envelope-from agabas@astabis.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 0D7178FC25 for ; Sun, 7 Dec 2008 19:57:02 +0000 (UTC) (envelope-from agabas@astabis.com) Received: by nf-out-0910.google.com with SMTP id h3so409772nfh.33 for ; Sun, 07 Dec 2008 11:57:01 -0800 (PST) Received: by 10.210.92.8 with SMTP id p8mr167037ebb.151.1228679821387; Sun, 07 Dec 2008 11:57:01 -0800 (PST) Received: from nintu (229.Red-83-60-95.dynamicIP.rima-tde.net [83.60.95.229]) by mx.google.com with ESMTPS id f13sm7183007gvd.32.2008.12.07.11.56.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 07 Dec 2008 11:57:00 -0800 (PST) From: =?iso-8859-1?Q?Albert_Gab=E0s_|_Astabis?= To: Date: Sun, 7 Dec 2008 20:56:57 +0100 Message-ID: <000001c958a5$f76f1470$e64d3d50$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Office Outlook 12.0 Importance: High Thread-Index: AclYoWuoumToMy0GTRa86xwX101meAAA7Ljg Content-Language: es Cc: ports@FreeBSD.org Subject: RV: FreeBSD Port: php5-5.2.7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2008 19:57:03 -0000 Dear Ale, For me, the port installation works well when I have changed the --with-pcre-regex argument. CONFIGURE_ARGS=3D \ --with-layout=3DGNU \ --with-config-file-scan-dir=3D${PREFIX}/etc/php \ --disable-all \ --enable-libxml \ --with-libxml-dir=3D${LOCALBASE} \ **** --with-pcre-regex \ --enable-reflection \ --program-prefix=3D"" Best regards -- Albert Gab=E0s - Astabis Information Risk Management Movil: +34 687 733 222 | Oficina: +34 932 417 962 Directo: +34 931 145 262 | Fax: +34 932 400 545 SkypeID: albert.gabas Le informamos que los datos personales que facilite/ha facilitado = pasar=E1n a formar parte de un fichero responsabilidad de ASTABIS IRM, S.L. y que = tiene por finalidad gestionar las relaciones con usted. Tiene derecho al = acceso, rectificaci=F3n cancelaci=F3n y oposici=F3n en nuestro domicilio social = sito en la calle Balmes, 297 1=BA 2=AA de Barcelona o a la direcci=F3n de e-mail lopd@astabis.com -----Mensaje original----- De: Albert Gab=E0s | Astabis [mailto:agabas@astabis.com]=20 Enviado el: domingo, 07 de diciembre de 2008 20:25 Para: 'ale@FreeBSD.org' CC: 'ports@FreeBSD.org' Asunto: FreeBSD Port: php5-5.2.7 Importancia: Alta Dear Ale, I have updated the PHP to 5.2.7 version, and now some code give me the = next error: [Sun Dec 07 19:46:00 2008] [error] [client X.X.X.X] PHP Warning: preg_replace() [function.preg-replace]: Internal pcre_fullinfo() error -3 in /usr/local/share/cacti/lib/functions.php on line 1924, referer: http://www.XXX.com/cacti/ PHP Version 5.2.7: Configure Command './configure' '--with-layout=3DGNU' '--with-config-file-scan-dir=3D/usr/local/etc/php' '--disable-all' '--enable-libxml' '--with-libxml-dir=3D/usr/local' '--with-pcre-regex=3D/usr/local' '--enable-reflection' = '--program-prefix=3D' '--disable-cgi' '--with-apxs2=3D/usr/local/sbin/apxs' = '--with-regex=3Dphp' '--with-zend-vm=3DCALL' '--disable-ipv6' '--prefix=3D/usr/local' '--mandir=3D/usr/local/man' '--infodir=3D/usr/local/info/' '--build=3Damd64-portbld-freebsd7.0' pcrePCRE (Perl Compatible Regular Expressions) Support enabled=20 PCRE Library Version 3.9 02-Jan-2002 I'm trying to fix it without success. Well, If you know any fix, your help will be welcomed. Regards -- Albert Gab=E0s - Astabis Information Risk Management Movil: +34 687 733 222 | Oficina: +34 932 417 962 Directo: +34 931 145 262 | Fax: +34 932 400 545 SkypeID: albert.gabas From owner-freebsd-ports@FreeBSD.ORG Sun Dec 7 21:02:43 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CB3481065673 for ; Sun, 7 Dec 2008 21:02:43 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from lab.alexdupre.com (cl-506.trn-01.it.sixxs.net [IPv6:2001:1418:100:1f9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 507AA8FC20 for ; Sun, 7 Dec 2008 21:02:43 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: (qmail 90080 invoked from network); 7 Dec 2008 21:02:41 -0000 Received: from unknown (HELO athlon.alexdupre.com) (192.168.178.2) by lab.alexdupre.com with SMTP; 7 Dec 2008 21:02:41 -0000 Message-ID: <493C39F1.6060903@FreeBSD.org> Date: Sun, 07 Dec 2008 22:02:41 +0100 From: Alex Dupre User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Albert_Gab=E0s_=7C_Astabis?= References: <000001c958a1$83531950$89f94bf0$@com> In-Reply-To: <000001c958a1$83531950$89f94bf0$@com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: ports@FreeBSD.org Subject: Re: FreeBSD Port: php5-5.2.7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2008 21:02:43 -0000 Albert Gabās | Astabis wrote: > pcrePCRE (Perl Compatible Regular Expressions) Support enabled > PCRE Library Version 3.9 02-Jan-2002 3.9 ?! You have only half library ;-) (and a screwed up pcre installation) -- Alex Dupre From owner-freebsd-ports@FreeBSD.ORG Sun Dec 7 21:40:04 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DAA81065673 for ; Sun, 7 Dec 2008 21:40:04 +0000 (UTC) (envelope-from denispokataev@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.190]) by mx1.freebsd.org (Postfix) with ESMTP id 0E1C88FC16 for ; Sun, 7 Dec 2008 21:40:03 +0000 (UTC) (envelope-from denispokataev@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so1570321fkk.11 for ; Sun, 07 Dec 2008 13:40:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:mime-version:content-type:content-transfer-encoding :content-disposition:x-google-sender-auth; bh=tEdTIl0YNLm6/77p5GuiAwHOYLQo5QW3eaV8Zt3vAI4=; b=lGFvroXfxEXv1hhQLWGdQLQShJdQik4iLV2GRFFhUSQBNXr2EKFZ0/neyLfnXZYmhR Iz7MFSRiAGfBkjl6wek9/ExsBuHzx+OYel449PxDC+R5+vTSsP4VAMaPHvNvXivMW9lh C6rNkGvtDC332/MnrMiHvRa3vdq3pxQvOqrIg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition:x-google-sender-auth; b=ZIN8AHYd9DS1Z2JYgDG7VAEKuKb+O/vtFUy7yTsHeM9DRB8GHqZBdZ1Ki3Ec3CgbG9 HGylfwxk0Y3amB2BFz/K4RCkE0VtuCym5UaWrqKbHwXHzH8gtSbB9QcjdfdeQITeb2a3 afo/Zv3M4ebM/tQGqSXqX7NnBlwrVUH02dSsk= Received: by 10.181.226.2 with SMTP id d2mr947343bkr.204.1228684194358; Sun, 07 Dec 2008 13:09:54 -0800 (PST) Received: by 10.180.240.18 with HTTP; Sun, 7 Dec 2008 13:09:54 -0800 (PST) Message-ID: <4638255b0812071309r6ab83d41t7d39126b60a56905@mail.gmail.com> Date: Mon, 8 Dec 2008 00:09:54 +0300 From: "Denis Pokataev" Sender: denispokataev@gmail.com To: oleg@mamontov.net MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Google-Sender-Auth: 363cda93c253e230 Cc: ports@freebsd.org Subject: [update req] FreeBSD Port: p5-Catalyst-Authentication-Store-DBIx-Class-0.106 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2008 21:40:04 -0000 Update request. Please, update port p5-Catalyst-Authentication-Store-DBIx-Class to latest cpan stable version ( 0.1082 at time of writing ). -- Regards, Denis. From owner-freebsd-ports@FreeBSD.ORG Sun Dec 7 23:06:07 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D8F141065679 for ; Sun, 7 Dec 2008 23:06:07 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) Received: from mailrelay.embarq.synacor.com (mailrelay.embarq.synacor.com [208.47.184.3]) by mx1.freebsd.org (Postfix) with ESMTP id 9F3B08FC1B for ; Sun, 7 Dec 2008 23:06:07 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) DKIM-Signature: v=1; a=rsa-sha1; d=embarqmail.com; s=s012408; c=relaxed/simple; q=dns/txt; i=@embarqmail.com; t=1228689966; h=From:Subject:Date:To:Mime-Version:Content-Type; bh=DpajKmlI+hPw6KiIDIrrPaevSHE=; b=NUubXvHylPQkK1HGErii8ugcoRUEahf0UzafDczLRMKrly/lrdct+S5ZYa+2ZSv1 /6/5J4DuGYqpt4kue0S5e5hVRa4veIwE4RswOQ/YEII4ZKWYeqv0frqDVMw4w6yr; X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.0 c=1 a=Wir2KAmiixUA:10 a=aybl2jGs0uoA:10 a=6I5d2MoRAAAA:8 a=hUGEbr__4b5NXQTTX8oA:9 a=NOlA5KoTPiCzkpvPSE8A:7 a=QfdvyaL4zdsIBT9-N4S--vE_hLMA:4 a=gi0PWCVxevcA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.embarq.synacor.com smtp.user=rpratt1950@embarqmail.com; auth=pass (LOGIN) Received: from [74.5.188.103] ([74.5.188.103:54281] helo=kt.weeeble.com) by mailrelay.embarq.synacor.com (envelope-from ) (ecelerity 2.2.2.36 r(27513/27514)) with ESMTPA id 90/70-21973-D225C394; Sun, 07 Dec 2008 17:46:06 -0500 Date: Sun, 7 Dec 2008 17:46:05 -0500 From: Randy Pratt To: ports@FreeBSD.org Message-Id: <20081207174605.0a54fb58.bsd-unix@embarqmail.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Subject: php5-5.2.7 commit mail missing from cvs-ports list X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2008 23:06:07 -0000 I follow the cvs-ports mailing list and noticed that the recent commit for php5-5.2.7 never showed up on the list: http://docs.freebsd.org/mail/current/cvs-ports.html The cvsweb shows the commit as expected. I also checked the cvs-all mailing list but the php update is not listed there either. Any ideas as to why its missing? Its not a big thing but I've come to rely on the cvs-ports list for commits that affect my installed ports. Randy -- From owner-freebsd-ports@FreeBSD.ORG Sun Dec 7 23:46:11 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AF8BE1065679 for ; Sun, 7 Dec 2008 23:46:11 +0000 (UTC) (envelope-from jgelinas@tasam.com) Received: from mail.tasam.com (shell1.serverrack.net [69.31.13.11]) by mx1.freebsd.org (Postfix) with ESMTP id 6E8288FC1B for ; Sun, 7 Dec 2008 23:46:11 +0000 (UTC) (envelope-from jgelinas@tasam.com) Received: from artificial.local (c-69-250-47-247.hsd1.va.comcast.net [69.250.47.247]) (authenticated bits=0) by mail.tasam.com (8.14.2/8.14.2) with ESMTP id mB7Nk8DE073084; Sun, 7 Dec 2008 18:46:09 -0500 (EST) (envelope-from jgelinas@tasam.com) Message-ID: <493C603B.5090601@tasam.com> Date: Sun, 07 Dec 2008 18:46:03 -0500 From: Joseph Gelinas User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Randy Pratt References: <20081207174605.0a54fb58.bsd-unix@embarqmail.com> In-Reply-To: <20081207174605.0a54fb58.bsd-unix@embarqmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (mail.tasam.com [69.31.13.11]); Sun, 07 Dec 2008 18:46:09 -0500 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on shell1.serverrack.net X-Virus-Status: Clean X-Spam-Status: No, score=2.2 required=4.2 tests=RCVD_IN_PBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on shell1.serverrack.net Cc: ports@FreeBSD.org Subject: Re: php5-5.2.7 commit mail missing from cvs-ports list X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2008 23:46:11 -0000 Randy Pratt wrote: > I follow the cvs-ports mailing list and noticed that the > recent commit for php5-5.2.7 never showed up on the > list: > > http://docs.freebsd.org/mail/current/cvs-ports.html > > The cvsweb shows the commit as expected. > > I also checked the cvs-all mailing list but the php update > is not listed there either. > > Any ideas as to why its missing? Its not a big thing but I've > come to rely on the cvs-ports list for commits that affect my > installed ports. > > Randy It is not missing. You may not have noticed it because the subject starts with MOVED etc. http://docs.FreeBSD.org/cgi/mid.cgi?200812071154.mB7Bsa5o058919 From owner-freebsd-ports@FreeBSD.ORG Sun Dec 7 23:50:37 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EAE93106564A for ; Sun, 7 Dec 2008 23:50:37 +0000 (UTC) (envelope-from jgelinas@tasam.com) Received: from mail.tasam.com (shell1.serverrack.net [69.31.13.11]) by mx1.freebsd.org (Postfix) with ESMTP id A8D148FC0C for ; Sun, 7 Dec 2008 23:50:37 +0000 (UTC) (envelope-from jgelinas@tasam.com) Received: from artificial.local (c-69-250-47-247.hsd1.va.comcast.net [69.250.47.247]) (authenticated bits=0) by mail.tasam.com (8.14.2/8.14.2) with ESMTP id mB7NPU7d070206; Sun, 7 Dec 2008 18:25:56 -0500 (EST) (envelope-from jgelinas@tasam.com) Message-ID: <493C5B65.9000101@tasam.com> Date: Sun, 07 Dec 2008 18:25:25 -0500 From: Joseph Gelinas User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: Alex Dupre References: <000001c958a1$83531950$89f94bf0$@com> <493C39F1.6060903@FreeBSD.org> In-Reply-To: <493C39F1.6060903@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (mail.tasam.com [69.31.13.11]); Sun, 07 Dec 2008 18:25:56 -0500 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on shell1.serverrack.net X-Virus-Status: Clean X-Spam-Status: No, score=2.2 required=4.2 tests=RCVD_IN_PBL, RCVD_IN_SORBS_DUL, RDNS_DYNAMIC autolearn=no version=3.2.5 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on shell1.serverrack.net Cc: ports@FreeBSD.org, =?ISO-8859-1?Q?Albert_Gab=E0s_=7C_Astabis?= Subject: Re: FreeBSD Port: php5-5.2.7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2008 23:50:38 -0000 Alex Dupre wrote: > Albert Gabās | Astabis wrote: >> pcrePCRE (Perl Compatible Regular Expressions) Support enabled >> PCRE Library Version 3.9 02-Jan-2002 > > 3.9 ?! You have only half library ;-) (and a screwed up pcre installation) > I have a similar issue. When --with-pcre-regex= is set to ${LOCALBASE} phpinfo() tells me I have PCRE Library Version 5.0 13-Sep-2004, however when that config option is set to nothing phpinfo() returns version 7.8. Is it possible there is a stray file somewhere from php5-pcre module that could cause this? From owner-freebsd-ports@FreeBSD.ORG Sun Dec 7 23:58:53 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6ED421065673 for ; Sun, 7 Dec 2008 23:58:53 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) Received: from mailrelay.embarq.synacor.com (mailrelay.embarq.synacor.com [208.47.184.3]) by mx1.freebsd.org (Postfix) with ESMTP id 320808FC19 for ; Sun, 7 Dec 2008 23:58:52 +0000 (UTC) (envelope-from bsd-unix@embarqmail.com) DKIM-Signature: v=1; a=rsa-sha1; d=embarqmail.com; s=s012408; c=relaxed/simple; q=dns/txt; i=@embarqmail.com; t=1228694332; h=From:Subject:Date:To:Mime-Version:Content-Type; bh=ETIozpYktfEO/EJQbssBDNyBMUE=; b=OSOZAy9rO7k86ZOQIRBW2yy6qdsQtoUCLp4BB3y8aKdr++S8IwAI+8ZOsKh9rVdg iry6dnQAqYTVuM9jJVB+OYBr/I+ip8tUJeiI1z+ySZ4NCBtwoWGc8lP/FT6RckdV; X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=1.0 c=1 a=xOm5HIZ_5PMA:10 a=yst6nzKTdn4A:10 a=6I5d2MoRAAAA:8 a=ZByHmWkQc2s3iEjp6Q0A:9 a=rvjGy-MtFMaMBqRnWAAA:7 a=zBMLvWIo8-u0MKLBmBAzz1220KcA:4 a=9d4QvL6qvlQA:10 a=LY0hPdMaydYA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp02.embarq.synacor.com smtp.user=rpratt1950@embarqmail.com; auth=pass (LOGIN) Received: from [74.5.188.103] ([74.5.188.103:58037] helo=kt.weeeble.com) by mailrelay.embarq.synacor.com (envelope-from ) (ecelerity 2.2.2.36 r(27513/27514)) with ESMTPA id 94/BB-21973-B336C394; Sun, 07 Dec 2008 18:58:52 -0500 Date: Sun, 7 Dec 2008 18:58:51 -0500 From: Randy Pratt To: Joseph Gelinas Message-Id: <20081207185851.ed44e56d.bsd-unix@embarqmail.com> In-Reply-To: <493C603B.5090601@tasam.com> References: <20081207174605.0a54fb58.bsd-unix@embarqmail.com> <493C603B.5090601@tasam.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: Re: php5-5.2.7 commit mail missing from cvs-ports list X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Dec 2008 23:58:53 -0000 On Sun, 07 Dec 2008 18:46:03 -0500 Joseph Gelinas wrote: > Randy Pratt wrote: > > I follow the cvs-ports mailing list and noticed that the > > recent commit for php5-5.2.7 never showed up on the > > list: > > > > http://docs.freebsd.org/mail/current/cvs-ports.html > > > > The cvsweb shows the commit as expected. > > > > I also checked the cvs-all mailing list but the php update > > is not listed there either. > > > > Any ideas as to why its missing? Its not a big thing but I've > > come to rely on the cvs-ports list for commits that affect my > > installed ports. > > > > Randy > > It is not missing. You may not have noticed it because the subject > starts with MOVED etc. > > http://docs.FreeBSD.org/cgi/mid.cgi?200812071154.mB7Bsa5o058919 Doh! ;-) I didn't catch the truncation in the summary list. I'll have to pay closer attention in the future. My apologies for the noise. I'll go back to my corner now. Randy -- From owner-freebsd-ports@FreeBSD.ORG Mon Dec 8 05:12:33 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50AA91065673 for ; Mon, 8 Dec 2008 05:12:33 +0000 (UTC) (envelope-from randy@psg.com) Received: from ran.psg.com (ran.psg.com [IPv6:2001:418:1::36]) by mx1.freebsd.org (Postfix) with ESMTP id 3C4238FC1A for ; Mon, 8 Dec 2008 05:12:33 +0000 (UTC) (envelope-from randy@psg.com) Received: from [202.214.86.146] (helo=rmac.psg.com) by ran.psg.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1L9YQ4-00050p-0O; Mon, 08 Dec 2008 05:12:32 +0000 Message-ID: <493CACBE.8050203@psg.com> Date: Mon, 08 Dec 2008 14:12:30 +0900 From: Randy Bush User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: freebsd ports X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Mij Subject: sshguard-ipfw mashes /etc/syslog.conf X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2008 05:12:33 -0000 if you already run sshguard-ipfw you have an entry in /etc/syslog.conf that you like. it would be nice if upgrade of sshguard-ipfw did not mash it with a new one that is commented out. it is the commenting out that really bites. randy From owner-freebsd-ports@FreeBSD.ORG Mon Dec 8 06:46:41 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D3B31065670; Mon, 8 Dec 2008 06:46:41 +0000 (UTC) (envelope-from randy@psg.com) Received: from ran.psg.com (ran.psg.com [IPv6:2001:418:1::36]) by mx1.freebsd.org (Postfix) with ESMTP id 4E3148FC16; Mon, 8 Dec 2008 06:46:41 +0000 (UTC) (envelope-from randy@psg.com) Received: from [202.214.86.146] (helo=rmac.psg.com) by ran.psg.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69 (FreeBSD)) (envelope-from ) id 1L9ZtA-00059y-Cs; Mon, 08 Dec 2008 06:46:40 +0000 Message-ID: <493CC2CF.40405@psg.com> Date: Mon, 08 Dec 2008 15:46:39 +0900 From: Randy Bush User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: freebsd ports References: <493BAB57.8070306@afrinic.net> <493BC77E.8040408@psg.com> <493BD04B.5070304@psg.com> <8CDC9BE6-C2CB-4424-8EA3-C4F1900080A2@afrinic.net> <493BDED3.9030306@psg.com> <493C1EC6.2060301@afrinic.net> <493C2156.3060206@nsrc.org> <493CAE0B.70904@psg.com> In-Reply-To: <493CAE0B.70904@psg.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: chinsan@FreeBSD.org Subject: p5-GSSAPI - missing dependency? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2008 06:46:41 -0000 ---> Upgrade of security/p5-GSSAPI started at: Mon, 08 Dec 2008 04:24:31 +0000 ---> Upgrading 'p5-GSSAPI-0.23' to 'p5-GSSAPI-0.26' (security/p5-GSSAPI) ---> Build of security/p5-GSSAPI started at: Mon, 08 Dec 2008 04:24:31 +0000 ---> Building '/usr/ports/security/p5-GSSAPI' ===> Cleaning for p5-GSSAPI-0.26 ===> Vulnerability check disabled, database not found ===> Extracting for p5-GSSAPI-0.26 => MD5 Checksum OK for GSSAPI-0.26.tar.gz. => SHA256 Checksum OK for GSSAPI-0.26.tar.gz. ===> p5-GSSAPI-0.26 depends on file: /usr/local/bin/perl5.8.8 - found ===> Patching for p5-GSSAPI-0.26 ===> p5-GSSAPI-0.26 depends on file: /usr/local/bin/perl5.8.8 - found ===> p5-GSSAPI-0.26 depends on file: /usr/local/bin/perl5.8.8 - found ===> Configuring for p5-GSSAPI-0.26 Welcome to GSSAPI.pm setup! run "perl Makefile.PL --help" to see further installation options ---------------------------------------------------------- Searching krb5-config command... NOT FOUND! seems this is a missing prerequirement. The README file shipped with this module provides more information regarding prerequirements. Can't open Makefile: No such file or directory. ===> Building for p5-GSSAPI-0.26 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.71799.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=p5-GSSAPI-0.23 UPGRADE_PORT_VER=0.23 make FETCH_BEFORE_ARGS=-q ** Fix the problem and try again. ---> Build of security/p5-GSSAPI ended at: Mon, 08 Dec 2008 04:24:33 +0000 (consumed 00:00:01) ---> Upgrade of security/p5-GSSAPI ended at: Mon, 08 Dec 2008 04:24:33 +0000 (consumed 00:00:01) From owner-freebsd-ports@FreeBSD.ORG Mon Dec 8 08:38:57 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96D111065670 for ; Mon, 8 Dec 2008 08:38:57 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from lab.alexdupre.com (cl-506.trn-01.it.sixxs.net [IPv6:2001:1418:100:1f9::2]) by mx1.freebsd.org (Postfix) with ESMTP id C2D888FC13 for ; Mon, 8 Dec 2008 08:38:56 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: (qmail 22507 invoked from network); 8 Dec 2008 08:38:55 -0000 Received: from unknown (HELO athlon.alexdupre.com) (192.168.178.2) by lab.alexdupre.com with SMTP; 8 Dec 2008 08:38:55 -0000 Message-ID: <493CDD1E.5080703@FreeBSD.org> Date: Mon, 08 Dec 2008 09:38:54 +0100 From: Alex Dupre User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Joseph Gelinas References: <000001c958a1$83531950$89f94bf0$@com> <493C39F1.6060903@FreeBSD.org> <493C5B65.9000101@tasam.com> In-Reply-To: <493C5B65.9000101@tasam.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org, =?ISO-8859-1?Q?Albert_Gab=E0s_=7C_Astabis?= Subject: Re: FreeBSD Port: php5-5.2.7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2008 08:38:57 -0000 Joseph Gelinas wrote: > Is it possible there is a stray file somewhere from php5-pcre module > that could cause this? It seems you have up-to-date include files, but a stray old libpcre.(a|so) library. Find it and destroy :-) -- Alex Dupre From owner-freebsd-ports@FreeBSD.ORG Mon Dec 8 09:16:39 2008 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41F77106564A for ; Mon, 8 Dec 2008 09:16:39 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 18FA48FC12 for ; Mon, 8 Dec 2008 09:16:38 +0000 (UTC) (envelope-from bms@incunabulum.net) Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id AB76F1E3348 for ; Mon, 8 Dec 2008 03:59:25 -0500 (EST) Received: from heartbeat1.messagingengine.com ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 08 Dec 2008 03:59:25 -0500 X-Sasl-enc: R1d1fUl8Fl/KlO1vVgTP7OdxCx52AAf/8cHeVFLPhwi3 1228726764 Received: from empiric.lon.incunabulum.net (82-35-112-254.cable.ubr07.dals.blueyonder.co.uk [82.35.112.254]) by mail.messagingengine.com (Postfix) with ESMTPSA id A1A811278A for ; Mon, 8 Dec 2008 03:59:24 -0500 (EST) Message-ID: <493CE1EB.60107@incunabulum.net> Date: Mon, 08 Dec 2008 08:59:23 +0000 From: Bruce M Simpson User-Agent: Thunderbird 2.0.0.18 (X11/20081205) MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Problem with aclocal, pkg.m4 and ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2008 09:16:39 -0000 Hi, I basically just ran into the same problem as this guy did, whilst trying to roll a FUSE port: http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/172377.html It seems if I run the *same* aclocal binary from the command line, pkg.m4 is expanded in aclocal.m4 inside WRKSRC. But if I let it run from the Makefile targets, it doesn't. What's going on? I have reworked the port in progress to just push CPPFLAGS in the environment, obviously this isn't "the pkgconfig way". thanks, BMS From owner-freebsd-ports@FreeBSD.ORG Mon Dec 8 11:06:05 2008 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE5901065676 for ; Mon, 8 Dec 2008 11:06:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id AB9368FC24 for ; Mon, 8 Dec 2008 11:06:05 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id mB8B65eb013299 for ; Mon, 8 Dec 2008 11:06:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id mB8B65Cx013295 for freebsd-ports@FreeBSD.org; Mon, 8 Dec 2008 11:06:05 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Dec 2008 11:06:05 GMT Message-Id: <200812081106.mB8B65Cx013295@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: FreeBSD ports list Cc: Subject: Current unassigned ports problem reports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2008 11:06:05 -0000 (Note: an HTML version of this report is available at http://www.freebsd.org/cgi/query-pr-summary.cgi?category=ports .) The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- f ports/129493 [patch] - add two patches to deskutils/pypanel f ports/129490 Update games/wargus to latest version o ports/129489 lang/php5-5.2.7 breaks mediawiki, joomla, typo3 and mo o ports/129485 [patch] net-mgmt/ndoutil rc script f ports/129478 multimedia/acidrip: patch file to commit to ports f ports/129453 ports-mgmt/jailaudit does not work since jail supporti f ports/129439 devel/libusb does not compile in FreeBSD 7.0-RELEASE f ports/129435 java/jakarta-commons-dbcp not BROKEN on jdk15 o ports/129411 Fix shutdown script for www/tomcat6 o ports/129402 New port: www/Template-Provider-FromDATA - load templa f ports/129369 Failed to build multimedia/mencoder with samba support f ports/129296 [PATCH] net-im/pidgin-libnotify: add Russian translati o ports/129271 www/jakarta-tomcatX are obsolete f ports/129063 Update math/R to version 2.8.0 o ports/129043 Experimental version of net/poptop in FreeBSD ports o ports/128952 [NEW PORT] java/javadb: Sun's supported distribution o o ports/128846 New port: sysutils/linux-megacli2 - LSI MegaRAID SAS c o ports/128726 [NEW PORT] print/lyx16: Document processor interfaced f ports/128703 net/isc-dhcp40-client and net/isc-dhcp40-relay refer t o ports/128603 textproc/flex has too small capacity o ports/128558 New ports: emulators/sdlmame-devel f ports/128537 [patch] databases/rrdtool add missing font runtime dep f ports/128490 net/freenx port does not work properly on freebsd-7 st f ports/128489 [PATCH] mail/sympa5 update to 5.4.3 o ports/128384 new port x11/xorg-minimal f ports/128323 Update of ports/x11-fonts/terminus-font f ports/128288 sysutils/hpacucli does not work f ports/128271 biology/ncbi-toolkit - blastall segfaults when output o ports/128241 update www/geronimo to 2.1.3 o ports/128140 update devel/pwlib to 2.4.1 to fit GNOME 2.24 f ports/128082 sysutils/megarc binary causes memory corruption f ports/128074 multimedia/mplayer does not play CSS encrypted DVDs f ports/128048 www/mod_proxy_html port installs broken configuration f ports/127995 net/isc-dhcp30-server creates a user/group with dynami f ports/127905 science/gramps: installation and runtime problems with f ports/127854 [PATCH] databases/couchdb: update to 0.8.1 o ports/127851 Port update: multimedia/libdvdnav-mplayer - Update to f ports/127810 print/hplip 2.8.2 can't talk to my usnb printer (HP PS o ports/127728 ports/games/freebsd-games doesn't build, and larn(6) s f ports/127513 mail/dcc-dccd sets home to /var/dcc even if you didn' o ports/127321 japanese/kon2-16dot: buffer overflow and mouse bugs o ports/127306 [patch] Upgrade www/tomcat6 to 6.0.18 f ports/127302 security/swatch: swatch-3.2.1_1 multiple issues f ports/127181 audio/musicpd logs warning s ports/127087 mail/bincimap port does not include an rc.d file o ports/126905 Update port: audio/libmtp to version 0.3.1 o ports/126890 port update: lang/cmucl o ports/126674 New port: print/latex-babel o ports/126655 java/jboss4 can not take standard parameter "-b host_n s ports/126577 [Update]graphics/qgis:update to 0.11.0 f ports/126518 Unbroke archivers/lzo2 on i386 f ports/126322 [patch] sysutils/fusefs-kmod: Make install location co f ports/126228 [PATCH] mail/courier: new version 0.60.0 f ports/126161 security/bsp_upektfmess does not work on 7.0 f ports/126058 net/generic-nqs fails to compile f ports/126055 x11-toolkits/p5-Tk - segmentation fault running perl-t f ports/125960 sysutils/syscp lacks of chattr/chflags o ports/125719 shells/pdksh, zombie process's occouring on SMP Machin o ports/125714 [patch] www/httptunnel: users not added f ports/125362 New port: devel/ocaml-lwt (cooperative threading libra o ports/125324 editors/the (3.2) looses cursor when compiled with PDC o ports/125266 [Update]biology/biojava:update to 1.6 o ports/125201 audio/aqualung crashes o ports/124905 new port: databases/sqlitejdbc 051 o ports/124597 [NEW PORT] net/callweaver: Fork of the popular Open So o ports/124548 net/mDNSResponder port incompatible with gnome desktop f ports/124238 sysutils/heartbeat: patch request f ports/123424 [NEW PORT] net/winexe o ports/123247 linux-firefox and linux-seamonkey from multiple users o ports/123239 New port: graphics/diamondbox Layer based photo editor f ports/122276 Compiled audio/musicpd segfaults on FreeBSD 7.0 o ports/121831 [PATCH] net/openbgpd: [SUMMARIZE CHANGES] o ports/121325 Xorg crashes when x11-wm/xcompmgr is running o ports/121259 New port: net/openamq OpenAMQ is a complete AMQP messa o ports/121050 New port: sysutils/heartbeat2 Linux High-Availability f ports/119183 [NEW PORT] net/freeradius-client: FreeRADIUS Client li f ports/118877 audio/streamripper does not detect song title from str f ports/116385 net/vnc using vnc.so crashes Xorg 7.3 when remote comp f ports/115304 multimedia/gpac-mp4box cannot import files larger than o ports/108795 ports/icc: Proposed update to icc port for intel compi f ports/107304 print/apsfilter does not print PDF to raw PostScript p o amd64/104311 ports/wine should be installable on amd64 s ports/85513 Intel C++ compiler not 100% binary compatible with sys 83 problems total. From owner-freebsd-ports@FreeBSD.ORG Mon Dec 8 11:44:40 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D3EC1065672 for ; Mon, 8 Dec 2008 11:44:40 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from lab.alexdupre.com (cl-506.trn-01.it.sixxs.net [IPv6:2001:1418:100:1f9::2]) by mx1.freebsd.org (Postfix) with ESMTP id 980748FC1B for ; Mon, 8 Dec 2008 11:44:39 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: (qmail 34721 invoked from network); 8 Dec 2008 11:44:38 -0000 Received: from unknown (HELO athlon.alexdupre.com) (192.168.178.2) by lab.alexdupre.com with SMTP; 8 Dec 2008 11:44:38 -0000 Message-ID: <493D08A5.9000304@FreeBSD.org> Date: Mon, 08 Dec 2008 12:44:37 +0100 From: Alex Dupre User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Joseph Gelinas References: <000001c958a1$83531950$89f94bf0$@com> <493C39F1.6060903@FreeBSD.org> <493C5B65.9000101@tasam.com> <493CDD1E.5080703@FreeBSD.org> In-Reply-To: <493CDD1E.5080703@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org, =?ISO-8859-1?Q?Albert_Gab=E0s_=7C_Astabis?= Subject: Re: FreeBSD Port: php5-5.2.7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2008 11:44:40 -0000 Alex Dupre wrote: >> Is it possible there is a stray file somewhere from php5-pcre module >> that could cause this? I think to have found the root cause: apache2 ports use an old bundled pcre library and mod_php picks up such wrong library. I'm working with clement to fix this issue, in the meantime as temporary fix you can modify the php5 port to use the bundled library, or select the pcre port from the apache2 options menu. -- Alex Dupre From owner-freebsd-ports@FreeBSD.ORG Mon Dec 8 12:50:33 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8266B1065679; Mon, 8 Dec 2008 12:50:33 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 1799B8FC2D; Mon, 8 Dec 2008 12:50:31 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id OAA08795; Mon, 08 Dec 2008 14:50:30 +0200 (EET) (envelope-from avg@icyb.net.ua) Message-ID: <493D1815.7030601@icyb.net.ua> Date: Mon, 08 Dec 2008 14:50:29 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.18 (X11/20081124) MIME-Version: 1.0 To: FreeBSD Ports , Markus Brueffer Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: ktorrent changes X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2008 12:50:33 -0000 > 20081205: > AFFECTS: users of net-p2p/ktorrent > AUTHOR: makc@FreeBSD.org > > ktorrent has been updated to 3.1.5 for KDE 4. The last release of ktorrent > for KDE 3 is available under net-p2p/ktorrent2. Shouldn't this be somehow reflected in MOVED file so that KDE3 users don't do a harmful UPDATE whilst KDE4 users would need explicitly switch ktorrent version. Or am I confused? -- Andriy Gapon From owner-freebsd-ports@FreeBSD.ORG Mon Dec 8 19:31:30 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E5371065670 for ; Mon, 8 Dec 2008 19:31:30 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from collaborativefusion.com (mx01.pub.collaborativefusion.com [206.210.89.201]) by mx1.freebsd.org (Postfix) with ESMTP id 1EC418FC1C for ; Mon, 8 Dec 2008 19:31:29 +0000 (UTC) (envelope-from bseklecki@collaborativefusion.com) Received: from Internal Mail-Server by mx01 (envelope-from bseklecki@collaborativefusion.com) with SMTP; 8 Dec 2008 14:04:46 -0500 From: "Brian A. Seklecki" To: Albert =?ISO-8859-1?Q?Gab=E0s?= | Astabis In-Reply-To: <000001c958a1$83531950$89f94bf0$@com> References: <000001c958a1$83531950$89f94bf0$@com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-wNQCFmDyvyWYbUcoM4ks" Organization: Collaborative Fusion, Inc. Date: Mon, 08 Dec 2008 14:04:46 -0500 Message-Id: <1228763086.2805.606.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 (2.22.3.1-1.fc9) Cc: ports@FreeBSD.org, ale@FreeBSD.org Subject: Re: FreeBSD Port: php5-5.2.7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bseklecki@collaborativefusion.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2008 19:31:30 -0000 --=-wNQCFmDyvyWYbUcoM4ks Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On Sun, 2008-12-07 at 20:25 +0100, Albert Gab=C3=A0s | Astabis wrote: > Dear Ale, >=20 > I have updated the PHP to 5.2.7 version, and now some code give me the > next error: Looks like 5.2.7 got off'd anyway. 5.2.8 pushed. They must be working with the MySQL folks on release engineering... ~BAS --=-wNQCFmDyvyWYbUcoM4ks Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkk9b84ACgkQCne6BNDQ+R+biwCcDE7pKWxwXybtKa6Jq3sRegQm fPQAniDEidob36Z8mYPuH046Yx+xNqxR =pi3G -----END PGP SIGNATURE----- --=-wNQCFmDyvyWYbUcoM4ks-- From owner-freebsd-ports@FreeBSD.ORG Mon Dec 8 20:28:25 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24DAA1065675 for ; Mon, 8 Dec 2008 20:28:25 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from smtp.mel.people.net.au (smtp.mel.people.net.au [218.214.17.98]) by mx1.freebsd.org (Postfix) with SMTP id 5D3C38FC19 for ; Mon, 8 Dec 2008 20:28:23 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: (qmail 1963 invoked from network); 8 Dec 2008 20:01:41 -0000 Received: from unknown (HELO blizzard.dnsalias.org) (218.215.132.218) by smtp.mel.people.net.au with SMTP; 8 Dec 2008 20:01:41 -0000 Received: by blizzard.dnsalias.org (Postfix, from userid 1001) id 43F9017222; Tue, 9 Dec 2008 07:01:42 +1100 (EST) Date: Tue, 9 Dec 2008 07:01:42 +1100 From: andrew clarke To: Randy Bush Message-ID: <20081208200142.GA68373@ozzmosis.com> References: <493CACBE.8050203@psg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <493CACBE.8050203@psg.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Mij , freebsd ports Subject: Re: sshguard-ipfw mashes /etc/syslog.conf X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2008 20:28:25 -0000 On Mon 2008-12-08 14:12:30 UTC+0900, Randy Bush (randy@psg.com) wrote: > if you already run sshguard-ipfw you have an entry in /etc/syslog.conf > that you like. it would be nice if upgrade of sshguard-ipfw did not > mash it with a new one that is commented out. it is the commenting out > that really bites. Seconded. Since reading this I just noticed sshguard-ipfw hasn't been running on my server ever since I ran "portmaster sshguard-ipfw" to rebuild it. (I upgraded from FreeBSD 6.3 to 6.4 recently and took the opportunity to rebuild all my installed ports...) I really wasn't expecting "make deinstall" to comment it out! From owner-freebsd-ports@FreeBSD.ORG Mon Dec 8 21:00:38 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 028BE1065678; Mon, 8 Dec 2008 21:00:38 +0000 (UTC) (envelope-from jgelinas@tasam.com) Received: from mail.tasam.com (shell1.serverrack.net [69.31.13.11]) by mx1.freebsd.org (Postfix) with ESMTP id 7BA708FC18; Mon, 8 Dec 2008 21:00:37 +0000 (UTC) (envelope-from jgelinas@tasam.com) Received: from shell1.serverrack.net (localhost.serverrack.net [127.0.0.1]) by mail.tasam.com (8.14.2/8.14.2) with ESMTP id mB8L0XK6036346; Mon, 8 Dec 2008 16:00:33 -0500 (EST) (envelope-from jgelinas@tasam.com) Received: from localhost (scirocco@localhost) by shell1.serverrack.net (8.14.2/8.14.2/Submit) with ESMTP id mB8L0WAj036342; Mon, 8 Dec 2008 16:00:33 -0500 (EST) (envelope-from jgelinas@tasam.com) Date: Mon, 8 Dec 2008 16:00:32 -0500 (EST) From: Joseph Gelinas To: Alex Dupre In-Reply-To: <493D08A5.9000304@FreeBSD.org> Message-ID: References: <000001c958a1$83531950$89f94bf0$@com> <493C39F1.6060903@FreeBSD.org> <493C5B65.9000101@tasam.com> <493CDD1E.5080703@FreeBSD.org> <493D08A5.9000304@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (mail.tasam.com [127.0.0.1]); Mon, 08 Dec 2008 16:00:34 -0500 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on shell1.serverrack.net X-Virus-Status: Clean X-Spam-Status: No, score=-1.4 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on shell1.serverrack.net Cc: ports@FreeBSD.org, =?ISO-8859-15?Q?Albert_Gab=E0s_|_Astabis?= Subject: Re: FreeBSD Port: php5-5.2.7 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2008 21:00:38 -0000 On Mon, 8 Dec 2008, Alex Dupre wrote: > Alex Dupre wrote: >>> Is it possible there is a stray file somewhere from php5-pcre module that >>> could cause this? > > I think to have found the root cause: apache2 ports use an old bundled pcre > library and mod_php picks up such wrong library. I'm working with clement to > fix this issue, in the meantime as temporary fix you can modify the php5 port > to use the bundled library, or select the pcre port from the apache2 options > menu. > Yeah, the pcre from ports apache option is certainly a better fix than local edits to the php5 Makefile. Thanks for looking into it and for the continued porting effort. From owner-freebsd-ports@FreeBSD.ORG Mon Dec 8 22:15:48 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 314101065672 for ; Mon, 8 Dec 2008 22:15:48 +0000 (UTC) (envelope-from bengta@P142.sics.se) Received: from sink.sics.se (sink.sics.se [193.10.64.88]) by mx1.freebsd.org (Postfix) with ESMTP id B7E508FC0C for ; Mon, 8 Dec 2008 22:15:47 +0000 (UTC) (envelope-from bengta@P142.sics.se) Received: from P142.sics.se (h206n3-u-d1.ias.bredband.telia.com [90.228.197.206]) by sink.sics.se (8.14.2/8.14.2) with ESMTP id mB8M0PM5079028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 8 Dec 2008 23:00:25 +0100 (CET) (envelope-from bengta@P142.sics.se) Received: from P142.sics.se (localhost [127.0.0.1]) by P142.sics.se (8.14.2/8.14.2) with ESMTP id mB8M1jB9001211; Mon, 8 Dec 2008 23:01:45 +0100 (CET) (envelope-from bengta@P142.sics.se) Received: (from bengta@localhost) by P142.sics.se (8.14.2/8.14.2/Submit) id mB8M1jT3001210; Mon, 8 Dec 2008 23:01:45 +0100 (CET) (envelope-from bengta@P142.sics.se) To: freebsd-ports@freebsd.org From: Bengt Ahlgren User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) Date: Mon, 08 Dec 2008 23:01:45 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: print/acroread8: LD_LIBRARY_PATH breaks helper programs X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2008 22:15:48 -0000 Hi! When testing acroread8 (on 7.1-PRE) I got the following error when trying to print using KDE's kprinter on i386: The following error occurred while printing... '/libexec/ld-elf.so.1: /usr/local/Adobe/Reader8/ENU/Adobe/Reader8/Reader/intellinux/lib/libstdc++.so.6: unsupported file layout' and on amd64: The following error occurred while printing... '/libexec/ld-elf.so.1: Shared object "libm.so.6" not found, required by "libstdc++.so.6"' The reason is that the acroread launch script sets LD_LIBRARY_PATH to: LD_LIBRARY_PATH=/usr/local/Adobe/Reader8/ENU/Adobe/Reader8/Reader/intellinux/lib:/usr/local/Adobe/Reader8/ENU/Adobe/Reader8/Reader/intellinux/sidecars:/..//usr/local/lib/linux-nvu which makes (some) helper programs fail to link its shared libs if it happens to pick up a (Linux) library from the above. libstdc++.so.6 is one of them. The problem is easily worked around for the print program - you can do "env -u LD_LIBRARY_PATH kprinter" for instance directly in the print dialogue. But that does not work for the browser executable set in the "edit/preferences/internet" dialogue. So if you want to be able to launch a browser from acroread, you need a wrapper script. Question: is there a proper fix for these problems??? I see that the Linux dynamic linker (/usr/compat/linux/lib/ld-linux.so.2) has a flag: --library-path PATH use given PATH instead of content of the environment variable LD_LIBRARY_PATH so I tried to patch the acroread launch script in /usr/local/Adobe/Reader8/ENU/Adobe/Reader8/bin with: --- acroread.orig 2008-10-08 06:28:27.000000000 +0200 +++ acroread 2008-12-08 22:59:46.000000000 +0100 @@ -16,7 +16,9 @@ LaunchBinary() { if [ "`uname -s`" = "Linux" ] && [ ! -x /lib/ld-lsb.so.3 ]; then - exec /lib/ld-linux.so.2 ${1+"$@"} + TEMP_LIB_PATH="$LD_LIBRARY_PATH" + unset LD_LIBRARY_PATH + exec /lib/ld-linux.so.2 --library-path "$TEMP_LIB_PATH" ${1+"$@"} else exec ${1+"$@"} fi which indeed works! Bengt From owner-freebsd-ports@FreeBSD.ORG Mon Dec 8 22:57:25 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F997106564A for ; Mon, 8 Dec 2008 22:57:25 +0000 (UTC) (envelope-from mij@bitchx.it) Received: from voodoo.publicshout.org (heroin.publicshout.org [81.208.58.150]) by mx1.freebsd.org (Postfix) with SMTP id 80ED38FC1B for ; Mon, 8 Dec 2008 22:57:24 +0000 (UTC) (envelope-from mij@bitchx.it) Received: (qmail 96506 invoked by uid 0); 8 Dec 2008 22:30:41 -0000 Received: from unknown (HELO mbp-michele.lan) (m.mazzucchi@keencons.com@unknown) by unknown with SMTP; 8 Dec 2008 22:30:41 -0000 Message-Id: From: Mij To: andrew clarke In-Reply-To: <20081208200142.GA68373@ozzmosis.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v929.2) Date: Mon, 8 Dec 2008 23:30:41 +0100 References: <493CACBE.8050203@psg.com> <20081208200142.GA68373@ozzmosis.com> X-Mailer: Apple Mail (2.929.2) Cc: Randy Bush , freebsd ports Subject: Re: sshguard-ipfw mashes /etc/syslog.conf X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Dec 2008 22:57:25 -0000 Interesting and relevant observation. If you have a patch for it, it's welcome. Otherwise be patient, I'm too busy for taking care of this in these very weeks. On Dec 8, 2008, at 21:01 , andrew clarke wrote: > On Mon 2008-12-08 14:12:30 UTC+0900, Randy Bush (randy@psg.com) wrote: > >> if you already run sshguard-ipfw you have an entry in /etc/ >> syslog.conf >> that you like. it would be nice if upgrade of sshguard-ipfw did not >> mash it with a new one that is commented out. it is the commenting >> out >> that really bites. > > Seconded. > > Since reading this I just noticed sshguard-ipfw hasn't been running on > my server ever since I ran "portmaster sshguard-ipfw" to rebuild it. > (I upgraded from FreeBSD 6.3 to 6.4 recently and took the opportunity > to rebuild all my installed ports...) > > I really wasn't expecting "make deinstall" to comment it out! From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 09:32:02 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16A401065677 for ; Tue, 9 Dec 2008 09:32:02 +0000 (UTC) (envelope-from gurdiga@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id 9FF038FC1B for ; Tue, 9 Dec 2008 09:32:01 +0000 (UTC) (envelope-from gurdiga@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so791074nfh.33 for ; Tue, 09 Dec 2008 01:32:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:mime-version:content-type:content-transfer-encoding :content-disposition; bh=U7h5s/tIMDz/2WuveXHWQk7DUza1aksf1Xz5wYNyOok=; b=htH3hIvH03MzM8cAVAbPMRFgSn6eyBr97VyD9P5CHpZSDxXhSgERUWEjhzgp5nzSeK Lxm35IhS/JA/v+Re65XkY4JbwVWY7uMcpGKvN17AUTDj0OnljyDRpL4FH+xWKCttxR/L cwtOTijUq9JYmmOXiL+j5VCECp24fpgw9+6FY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type :content-transfer-encoding:content-disposition; b=FroNOXCGk/FinB/xehQ5m7ocnBNMAFQjk233Tt5KHkBsYBqcS0pl+ATGtJbE0+Zxdo yn808mCg1Mymj6Si7jzYRb2PZgBFSm7mqaJTJ0ncceZUi8oAgc4QFF7SKT0WdojKlejo 0AIv86gyf6fi7w4EbbM/klE5XrD1n/RjraRlk= Received: by 10.103.175.9 with SMTP id c9mr1618619mup.3.1228813582453; Tue, 09 Dec 2008 01:06:22 -0800 (PST) Received: by 10.103.138.4 with HTTP; Tue, 9 Dec 2008 01:06:22 -0800 (PST) Message-ID: Date: Tue, 9 Dec 2008 11:06:22 +0200 From: "Vlad GURDIGA" To: ale@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: ports@freebsd.org Subject: FreeBSD Port: php5-5.2.8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 09:32:02 -0000 Hello! When I make install a port, I see something like: Build complete. Don't forget to run 'make test'. Do we have a "make test" for the lang/php5 port? From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 10:21:36 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95FE21065670 for ; Tue, 9 Dec 2008 10:21:36 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from andxor.it (relay.andxor.it [195.223.2.3]) by mx1.freebsd.org (Postfix) with SMTP id C124A8FC1D for ; Tue, 9 Dec 2008 10:21:35 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: (qmail 19164 invoked from network); 9 Dec 2008 10:21:33 -0000 Received: from unknown (HELO ale.andxor.it) (192.168.2.5) by andxor.it with SMTP; 9 Dec 2008 10:21:33 -0000 Message-ID: <493E46AC.1080909@FreeBSD.org> Date: Tue, 09 Dec 2008 11:21:32 +0100 From: Alex Dupre User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: Vlad GURDIGA References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: FreeBSD Port: php5-5.2.8 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 10:21:36 -0000 Vlad GURDIGA ha scritto: > Do we have a "make test" for the lang/php5 port? Yes, but the message is printed by the php makefile, not port makefile. You have to know also that the suhosin patch will make a few tests failing. -- Alex Dupre From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 10:22:52 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8197D106568C for ; Tue, 9 Dec 2008 10:22:52 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from amailer.gwdg.de (amailer.gwdg.de [134.76.10.18]) by mx1.freebsd.org (Postfix) with ESMTP id 4456F8FC1E for ; Tue, 9 Dec 2008 10:22:52 +0000 (UTC) (envelope-from rhurlin@gwdg.de) Received: from wald.nfv.gwdg.de ([134.76.242.31] helo=pc028.nfv) by mailer.gwdg.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1L9yIq-0001kf-31 for freebsd-ports@freebsd.org; Tue, 09 Dec 2008 09:50:48 +0100 Message-ID: <493E3168.9010809@gwdg.de> Date: Tue, 09 Dec 2008 09:50:48 +0100 From: Rainer Hurling User-Agent: Thunderbird 2.0.0.18 (X11/20081124) MIME-Version: 1.0 To: freebsd-ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Authenticated: Id:rhurlin X-Spam-Level: - X-Virus-Scanned: (clean) by exiscan+sophie Subject: print/cm-super installation error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 10:22:52 -0000 Hi list, when I try to install the port print/cm-super from sources I get the following error on several machines: ---------------------------------------- ===> Installing for cm-super-0.3.4 ===> cm-super-0.3.4 depends on executable: mktexlsr - found ===> Generating temporary packing list ===> Checking if print/cm-super already installed /bin/mkdir -p /usr/local/share/fonts/cm-super/afm install -o root -g wheel -m 444 /usr/ports/print/cm-super/work/cm-super/afm/* [.. snip ..] mktexlsr: Updating /usr/local/share/texmf/ls-R... mktexlsr: Done. Adding cm-super-t1.map... *** Error code 1 ---------------------------------------- Obviously there is something wrong with 'updmap-sys'. After commenting out the option '--quiet' in print/cm-super/Makefile (line 37) I get this messages: ---------------------------------------- ===> Installing for cm-super-0.3.4 ===> cm-super-0.3.4 depends on executable: mktexlsr - found ===> Generating temporary packing list ===> Checking if print/cm-super already installed /bin/mkdir -p /usr/local/share/fonts/cm-super/afm install -o root -g wheel -m 444 /usr/ports/print/cm-super/work/cm-super/afm/* [.. snip ..] mktexlsr: Updating /usr/local/share/texmf/ls-R... mktexlsr: Done. Adding cm-super-t1.map... updmap: This is updmap, version 1107552857 updmap: using transcript file `/usr/local/share/texmf-var/web2c/updmap.log' updmap: initial config file is `/usr/local/share/texmf-config/web2c/updmap.cfg' updmap: configuration (updmap.cfg) unchanged. *** Error code 1 ---------------------------------------- Is it a known error or is something misconfigured within my teTeX installation? This is on FreeBSD 8.0-CURRENT from yesterday (i386). Please let me know if you need more information. Thanks in advance, Rainer Hurling From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 10:28:13 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 547B41065670 for ; Tue, 9 Dec 2008 10:28:13 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from andxor.it (relay.andxor.it [195.223.2.3]) by mx1.freebsd.org (Postfix) with SMTP id DB04C8FC1D for ; Tue, 9 Dec 2008 10:28:12 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: (qmail 13878 invoked from network); 9 Dec 2008 10:01:32 -0000 Received: from unknown (HELO ale.andxor.it) (192.168.2.5) by andxor.it with SMTP; 9 Dec 2008 10:01:32 -0000 Message-ID: <493E41FB.7060904@FreeBSD.org> Date: Tue, 09 Dec 2008 11:01:31 +0100 From: Alex Dupre User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: Hiroki Sato References: <20081208.033250.137441016.hrs@allbsd.org> In-Reply-To: <20081208.033250.137441016.hrs@allbsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: Re: RFC: $USE_[GU]ID for consistent [GU]ID handling X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 10:28:13 -0000 Hiroki Sato ha scritto: > I would like your comments about the attached patch. Not tested, but it's a great idea. BTW, a lot of ports still check for / add www uid/gid, but actually we have such user in base system in all supported releases. Can/Should we drop such checks? -- Alex Dupre From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 12:05:59 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BE1731065689; Tue, 9 Dec 2008 12:05:59 +0000 (UTC) (envelope-from mike@reifenberger.com) Received: from mail-out.m-online.net (mail-out.m-online.net [212.18.0.9]) by mx1.freebsd.org (Postfix) with ESMTP id 75CF68FC1B; Tue, 9 Dec 2008 12:05:59 +0000 (UTC) (envelope-from mike@reifenberger.com) Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id 2B31B1C08770; Tue, 9 Dec 2008 12:48:24 +0100 (CET) Received: from localhost (dynscan2.mnet-online.de [192.168.1.215]) by mail.m-online.net (Postfix) with ESMTP id F2C2790262; Tue, 9 Dec 2008 12:48:23 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.nefkom.de ([192.168.3.149]) by localhost (dynscan2.mnet-online.de [192.168.1.215]) (amavisd-new, port 10024) with ESMTP id fzy3bd9Uq9Ey; Tue, 9 Dec 2008 12:48:22 +0100 (CET) Received: from mail.reifenberger.com (ppp-88-217-56-94.dynamic.mnet-online.de [88.217.56.94]) by mail.mnet-online.de (Postfix) with ESMTP; Tue, 9 Dec 2008 12:48:22 +0100 (CET) Received: by mail.reifenberger.com (Postfix, from userid 1001) id 3E8B9313A1; Tue, 9 Dec 2008 12:48:22 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail.reifenberger.com (Postfix) with ESMTP id 2EE63313A0; Tue, 9 Dec 2008 12:48:22 +0100 (CET) Date: Tue, 9 Dec 2008 12:48:22 +0100 (CET) From: Michael Reifenberger To: brooks@FreeBSD.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: ports@freebsd.org Subject: llvm-c++ fails to compile/link trivial c++ program X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 12:05:59 -0000 Hi, compiling the attached program test2.c++ using `llvm-c++ -Wall test2.c++` gives: /usr/bin/ld: BFD 2.15 [FreeBSD] 2004-05-23 assertion fail elf64-amd64-fbsd.c:2166 /usr/bin/ld: BFD 2.15 [FreeBSD] 2004-05-23 assertion fail elf64-amd64-fbsd.c:2166 Is our linker too old or is it a llvm-gcc bug? Or an interference with the base compiler? I'm using the current llvm and llvm-gcc ports on FreeBSD RELENG_7 amd64. BTW: commenting out the '#include ' line fixes the error... Bye/2 --- Michael Reifenberger Michael@Reifenberger.com http://www.Reifenberger.com From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 13:18:29 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 61B7C106564A for ; Tue, 9 Dec 2008 13:18:29 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.191]) by mx1.freebsd.org (Postfix) with ESMTP id D4E0B8FC18 for ; Tue, 9 Dec 2008 13:18:28 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so1014520tib.3 for ; Tue, 09 Dec 2008 05:18:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:organization :x-face:x-uptime:x-url:x-openpgp-id:x-openpgp-fingerprint:x-os :x-mailer:x-mail-morse:x-attribution:date:message-id:user-agent:face :mime-version:content-type:sender; bh=4ck7NNTz7xDvVCsVMayLIDN4SafYoDggssqDsYE6TVs=; b=ntknATIJJT44btceDeclaU2AqLyQFWqNolkIjWNBV9thLyHhivii8x6ydY62B8v6tz Q733HkZXF+wEPgdjhebvASmszSdCWPM8u6XdxvVZXOgOT2CgdYAVJeqKZlp1bn0UNOGC HkvWZXLc7rqXKqoWERvLiMjVzZc83TjHHPTUE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:organization:x-face:x-uptime:x-url:x-openpgp-id :x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse:x-attribution:date :message-id:user-agent:face:mime-version:content-type:sender; b=uZFkHKveH+KprgLxVq+0FFrIR9LuSZ3xqAoFEYotoqPPHd0GRU4aaE3jBzni19Iofw LvbZTqSflSTkRKn3VrlJAzUkOGwgPvkjyiXXRc2ghLWrXrnam9VtD2NAcHse32Yds0DR jNwAa1c0T78KdEIybtC9tjpZPFzLdBQSb/xKI= Received: by 10.110.47.17 with SMTP id u17mr87752tiu.43.1228826905721; Tue, 09 Dec 2008 04:48:25 -0800 (PST) Received: from chateau.d.lf ([122.161.3.28]) by mx.google.com with ESMTPS id i9sm2632327tid.32.2008.12.09.04.48.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 09 Dec 2008 04:48:24 -0800 (PST) From: wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=) To: FreeBSD Ports Mailing List Organization: alt.religion.emacs X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 17:43:46 up 1:52, 1 user, load average: 0.37, 0.11, 0.03 X-URL: http://wahjava.wordpress.com/ X-OpenPGP-ID: 762E5E74 X-OpenPGP-Fingerprint: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-OS: GNU/Linux on Linux 2.6.25-gentoo-r7 kernel on x86_64 architecture X-Mailer: Gnus/5.13 (Oort 5.13) Emacs/23.0.60.1 (x86_64-pc-linux-gnu) X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Date: Tue, 09 Dec 2008 18:20:19 +0530 Message-ID: <87fxkxjywk.fsf@chateau.d.lf> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiBBc2hpc2ggU2h1a2xh?= Subject: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 13:18:29 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable Hi all, I'm to proposing an enhancement to existing FreeBSD ports system. I think it'll be great if ports can use SCM (source code management) repositories like CVS, Subversion, Git, etc. as their sources instead of distfiles. Following are some of the {dis,}advantages of this approach: * Anyone interested in tracking the development branch of any project can do so with installation/deinstallation of the project integrated in the ports management system. e.g. anyone interested in trying out GNU Emacs CVS version, can simply use editors/emacs-cvs (not-implemented atm), which will checkout from the Emacs's CVS repository and build and install the port with all installed files recorded in 'plist' of the port. And if anyone wants to uninstall the Emacs CVS port, {s,}he can simply deinstall it in their preferred ports/package way. * ATM, development versions of ports are packaged as snapshots, and maintainer has to keep updating ports snapshots. And sometimes, it is not possible for maintainer (due to lack of time and other issues) to update snapshots timely. So going proposed way can ease the work for them, and beneficial for users who are interested in latest bits. * As far as PR related to such ports are concerned I think one should directly submit them to the upstream rather than maintainer, unless that PR has anything to do with its packaging, in which case it should be submitted to FreeBSD PR system. * I've not played (or worked) with dynamic packaging lists on FreeBSD, so I'm not sure if it is possible to properly track all installed files dynamically, e.g. if a new commit in the upstream causes 3 new files to be installed, then is it possible for FreeBSD ports management system to include those 3 files also in the packing list, in the next installation of the port, hmm...? BtW, I've implemented a basic proof-of-concept and hacked a port audio/scrobby (for scrobby[1] application, not submitted to PR system yet) based on proof-of-concept. The shar can be downloaded from following U= RL: http://wahjava.googlepages.com/scm-ports.shar (md5: 7f8392e7c9e31fe5842279e1730a2051, size: 4710 bytes) Some existing tools like patchtool also needs to be modified which rely for the presence of 'distinfo' file in the port directory, which in this case will never be present. References: [1] - http://unkart.ovh.org/scrobby/ Thanks for trying it. =2D-=20 Ashish Shukla --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkk+aZAACgkQHy+EEHYuXnTWnACfTh/dF2RBofVAGYYqxWGW41Jc BScAn19IFBjRWLJl3SxWrya3KJfDg6dz =ie3h -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 14:31:16 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E9881065678 for ; Tue, 9 Dec 2008 14:31:16 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 215C08FC22 for ; Tue, 9 Dec 2008 14:31:15 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LA3cK-0006ib-EM; Tue, 09 Dec 2008 17:31:16 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 6DC675A7C; Tue, 9 Dec 2008 17:29:58 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id D1B811702D; Tue, 9 Dec 2008 17:30:52 +0300 (MSK) Date: Tue, 9 Dec 2008 17:30:52 +0300 From: Dmitry Marakasov To: Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Message-ID: <20081209143052.GA29817@hades.panopticon> References: <87fxkxjywk.fsf@chateau.d.lf> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87fxkxjywk.fsf@chateau.d.lf> User-Agent: Mutt/1.5.18 (2008-05-17) Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 14:31:16 -0000 * Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0= =A4=95=E0=A5=8D=E0=A4=B2 (wahjava.ml@gmail.com) wrote: > I'm to proposing an enhancement to existing FreeBSD ports system. I > think it'll be great if ports can use SCM (source code management) > repositories like CVS, Subversion, Git, etc. as their sources instead o= f > distfiles. Following are some of the {dis,}advantages of this approach: This was discussed before. The summary: this won't work with ports. Reasons: - No way to track port updates. - No way to save distfile. Source will be redownloaded on every rebuild. - Security. No one can guarantee that malicious source won't be cheched into the repository at some random time. Fixed versions can be at least minimally checked and it is possible to not update the port to new version if it contains problems and/or tell users to not install version XXX. Impossible for SCM-based ports. > * ATM, development versions of ports are packaged as snapshots, and > maintainer has to keep updating ports snapshots. And sometimes, > it is not possible for maintainer (due to lack of time and other > issues) to update snapshots timely. So going proposed way can ease th= e > work for them, and beneficial for users who are interested in latest > bits. - _Much_ more (instead of less) work for maintainer, as he won't be able to test the port before committing it and will have to deal with all the problems post factum, under extra pressure. - Actually, any SCM-based port will become broken rather soon than later with no ability to prevent it. The port uses patches? Due to mutable source it'll become broken. Any structural change upstream? Port broken. Changed build system? Broken. Changed paths? Broken. Changed depends? Broken. Changed options/configure args? Broken. Etc. > * I've not played (or worked) with dynamic packaging lists on FreeBSD, > so I'm not sure if it is possible to properly track all installed > files dynamically, e.g. if a new commit in the upstream causes 3 new > files to be installed, then is it possible for FreeBSD ports > management system to include those 3 files also in the packing list, > in the next installation of the port, hmm...? - Generic dynamic plist generation is impossible unless the port is installed into some clean chrooted environemnt (for example, using DESTDIR). The latter, however takes extra space and time, as you need the whole system and all dependent packages installed there as well. Simply building the port will become more more like producing package in a tinderbox: - unpack the system image - mount all required filesystems - devfs, ports, distfiles, packages - install all required packages - take list of all files in the chroot - chroot and install the port - take list of all files in the chroot, compare with previous one and make a plist out of it - umount and remove everything - now you have package and may install in normally > * As far as PR related to such ports are concerned I think one should > directly submit them to the upstream rather than maintainer, unless > that PR has anything to do with its packaging, in which case it shoul= d > be submitted to FreeBSD PR system. Sometimes it's hard to tell whether the problem is FreeBSD-specific. Also, upstream is unlikely to have FreeBSD box for testing, so again it'll be more work for maintainer. --=20 Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 16:28:46 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 014EC1065670 for ; Tue, 9 Dec 2008 16:28:46 +0000 (UTC) (envelope-from florent.thoumie@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mx1.freebsd.org (Postfix) with ESMTP id 84F778FC14 for ; Tue, 9 Dec 2008 16:28:45 +0000 (UTC) (envelope-from florent.thoumie@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so14556nfh.33 for ; Tue, 09 Dec 2008 08:28:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=B1kXiztcO0Qloqf1zhYJE0IGJrHM20pKzLPp9rNBJno=; b=heNedc78fMBC+xdsrU3szOqXfVRYX0kS1rMkKHs1bIt6G67RjXJB1tRDDpWbT4R3jA noAPJUfPfUwhACqp6wlWmdVeLGFYGkyNnobRp0lK5M5cQkJ6Rt8xkgUftBIjOj/WVfE9 7MnlTRje0uBIg851Sqzc+gAqcXzyxzIyCQvlo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=w4PeSxmlFjBY3jQZ+8Q4AknUAmFtVW66jLS5Hsz5HoI0iKGlS1yrV/vw2qNgfsyHfn fKhDU5tLMuSQzTAQItpPAfBued9OVsWDWyEmevMrXGdjWObxYEQBhcMPPjdr6NGhbY/z jzufQuCPBBjvtfke+azSsF7sXm+OzMCYgBTvA= Received: by 10.67.97.3 with SMTP id z3mr3394593ugl.37.1228838779322; Tue, 09 Dec 2008 08:06:19 -0800 (PST) Received: by 10.67.31.4 with HTTP; Tue, 9 Dec 2008 08:06:19 -0800 (PST) Message-ID: Date: Tue, 9 Dec 2008 16:06:19 +0000 From: "Florent Thoumie" Sender: florent.thoumie@gmail.com To: "Hiroki Sato" In-Reply-To: <20081208.033250.137441016.hrs@allbsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081208.033250.137441016.hrs@allbsd.org> X-Google-Sender-Auth: efd051d459c5c641 Cc: ports@freebsd.org Subject: Re: RFC: $USE_[GU]ID for consistent [GU]ID handling X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 16:28:46 -0000 On Sun, Dec 7, 2008 at 6:32 PM, Hiroki Sato wrote: > Hello, > > I would like your comments about the attached patch. This is for > adding USE_UID and USE_GID which allow uid/gid addition on > installation and the removal on deinstallation. It uses > ${PORTSDIR}/[GU]IDs for the detail information and can eliminate > complex shell scripts from individual ports. > > For example, if you define > > USE_UID= foo > > in Makefile, the uid "foo" is added before pre-su-install, and > removed on deinstallation by using pw(8). If the uid already exists, > no error occurred. The multiple uids are also allowed. > > The attached patch includes an example of rewrite of an existing > ports (japanese/sj3-server). After investigating ~300 ports in the > ports tree which add uid/gid I think the attached implementation can > cover most of the use case, but there may be something I missed. > Comments are welcome. Hi Hiroki-san, There's an open PR with patches for this feature (ports/108514). Could you have a look and maybe send your comments? -- Florent Thoumie flz@FreeBSD.org FreeBSD Committer From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 17:04:21 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACA011065670 for ; Tue, 9 Dec 2008 17:04:21 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.184]) by mx1.freebsd.org (Postfix) with ESMTP id 2108F8FC1C for ; Tue, 9 Dec 2008 17:04:20 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so28541tib.3 for ; Tue, 09 Dec 2008 09:04:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :organization:references:x-face:x-uptime:x-url:x-openpgp-id :x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse:x-attribution:date :in-reply-to:message-id:user-agent:face:mime-version:content-type; bh=znBpxDwvU/mpmUp8IqWV6V6ZznOEDm3IbSlsGd2Zdog=; b=h8ykEnO7IuXE7qGVEoNl0Hvs74YGL5F4neo3Hz+pWn1rh6Xlfac9axcjA3zwMLoLPF 2m1QfYTv6DsRmHvsxekN3VzRtzEoPeLiFUkXCKLJuKT+1RJMraxfo6bNPXsPn8GvoeWW uqrt+bEgMpSJ43bXnUw4VfEFYS+nNMrMHaNGg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-openpgp-id:x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse :x-attribution:date:in-reply-to:message-id:user-agent:face :mime-version:content-type; b=Jxxh6fgHjUS90jReVdI9ZpLz+b5m9O1TOJfYCtVBN30etr8AUdrpLMGS0NeZeTZyI3 EWzFp7CbeYjqkkRCNdpwhaJIiNofnj0aMlS1mIRXZXMat37d+e0aSroFyzlNTpqd0hdN TpYEiFVuqX2aWwWfz+ddSOpiM8104K+o5Q0SA= Received: by 10.110.49.6 with SMTP id w6mr437741tiw.23.1228842259334; Tue, 09 Dec 2008 09:04:19 -0800 (PST) Received: from chateau.d.lf ([122.162.55.50]) by mx.google.com with ESMTPS id i9sm486412tid.12.2008.12.09.09.04.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 09 Dec 2008 09:04:17 -0800 (PST) Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiBBc2hpc2ggU2h1a2xh?= From: wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=) To: Dmitry Marakasov Organization: alt.religion.emacs References: <87fxkxjywk.fsf@chateau.d.lf> <20081209143052.GA29817@hades.panopticon> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 22:30:31 up 6:39, 4 users, load average: 0.12, 0.12, 0.15 X-URL: http://wahjava.wordpress.com/ X-OpenPGP-ID: 762E5E74 X-OpenPGP-Fingerprint: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-OS: GNU/Linux on Linux 2.6.25-gentoo-r7 kernel on x86_64 architecture X-Mailer: Gnus/5.13 (Oort 5.13) Emacs/23.0.60.1 (x86_64-pc-linux-gnu) X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Date: Tue, 09 Dec 2008 22:36:18 +0530 In-Reply-To: <20081209143052.GA29817@hades.panopticon> (Dmitry Marakasov's message of "Tue, 9 Dec 2008 17:30:52 +0300") Message-ID: <873agxjn1x.fsf@chateau.d.lf> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 17:04:21 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Dmitry Marakasov writes: > * Ashish Shukla āĪ†āĪķāĨ€āĪ· āĪķāĨāĪ•āĨāĪē (wahjava.ml@gmail.com) wrote: >> I'm to proposing an enhancement to existing FreeBSD ports system. I >> think it'll be great if ports can use SCM (source code management) >> repositories like CVS, Subversion, Git, etc. as their sources instead of >> distfiles. Following are some of the {dis,}advantages of this approach: > This was discussed before. The summary: this won't work with ports. > Reasons: > - No way to track port updates. > - No way to save distfile. Source will be redownloaded on every rebuild. > - Security. No one can guarantee that malicious source won't be cheched > into the repository at some random time. Fixed versions can be at > least minimally checked and it is possible to not update the port to > new version if it contains problems and/or tell users to not install > version XXX. Impossible for SCM-based ports. >> * ATM, development versions of ports are packaged as snapshots, and >> maintainer has to keep updating ports snapshots. And sometimes, >> it is not possible for maintainer (due to lack of time and other >> issues) to update snapshots timely. So going proposed way can ease the >> work for them, and beneficial for users who are interested in latest >> bits. > - _Much_ more (instead of less) work for maintainer, as he won't be able > to test the port before committing it and will have to deal with all > the problems post factum, under extra pressure. > - Actually, any SCM-based port will become broken rather soon than > later with no ability to prevent it. > The port uses patches? Due to mutable source it'll become broken. > Any structural change upstream? Port broken. Changed build system? > Broken. Changed paths? Broken. Changed depends? Broken. Changed > options/configure args? Broken. Etc. These are the problems already expected with this but the only suggestion is to have PRs filed if anything breaks during compilation and investigate what caused it. >> * I've not played (or worked) with dynamic packaging lists on FreeBSD, >> so I'm not sure if it is possible to properly track all installed >> files dynamically, e.g. if a new commit in the upstream causes 3 new >> files to be installed, then is it possible for FreeBSD ports >> management system to include those 3 files also in the packing list, >> in the next installation of the port, hmm...? > - Generic dynamic plist generation is impossible unless the port > is installed into some clean chrooted environemnt (for example, > using DESTDIR). The latter, however takes extra space and time, > as you need the whole system and all dependent packages installed > there as well. Simply building the port will become more more like > producing package in a tinderbox: > - unpack the system image > - mount all required filesystems - devfs, ports, distfiles, packages > - install all required packages > - take list of all files in the chroot > - chroot and install the port > - take list of all files in the chroot, compare with previous one and > make a plist out of it > - umount and remove everything > - now you have package and may install in normally So, this is the main reason which prevents this :( . >> * As far as PR related to such ports are concerned I think one should >> directly submit them to the upstream rather than maintainer, unless >> that PR has anything to do with its packaging, in which case it should >> be submitted to FreeBSD PR system. > Sometimes it's hard to tell whether the problem is FreeBSD-specific. > Also, upstream is unlikely to have FreeBSD box for testing, so again > it'll be more work for maintainer. True, so either have all PRs should be submitted to FreeBSD PR system, where maintainer will decide if its porting issue or upstream related issue. So with all the problems you mentioned above, I guess, I'll take my proposal back :) . Thanks for your comments. -- Ashish Shukla --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkk+pYoACgkQHy+EEHYuXnQtKgCgwRddTLuIzHjclDkHNxLr45mA 7igAnA+8zM+B+r7nvZi+Tzk0+6cWi/NB =LERf -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 17:43:49 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 965371065670 for ; Tue, 9 Dec 2008 17:43:49 +0000 (UTC) (envelope-from scode@hyperion.scode.org) Received: from hyperion.scode.org (cl-1361.ams-04.nl.sixxs.net [IPv6:2001:960:2:550::2]) by mx1.freebsd.org (Postfix) with ESMTP id 5D3A18FC19 for ; Tue, 9 Dec 2008 17:43:49 +0000 (UTC) (envelope-from scode@hyperion.scode.org) Received: by hyperion.scode.org (Postfix, from userid 1001) id 350BA23C45B; Tue, 9 Dec 2008 18:43:48 +0100 (CET) Date: Tue, 9 Dec 2008 18:43:48 +0100 From: Peter Schuller To: Rainer Hurling Message-ID: <20081209174347.GA69765@hyperion.scode.org> References: <493E3168.9010809@gwdg.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+HP7ph2BbKc20aGI" Content-Disposition: inline In-Reply-To: <493E3168.9010809@gwdg.de> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-ports@freebsd.org Subject: Re: print/cm-super installation error X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 17:43:49 -0000 --+HP7ph2BbKc20aGI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable > [.. snip ..] > mktexlsr: Updating /usr/local/share/texmf/ls-R... > mktexlsr: Done. > Adding cm-super-t1.map... > *** Error code 1 [snip] > Is it a known error or is something misconfigured within my teTeX=20 > installation? FWIW I get this too, also on 8.0-CURRENT. I have not investigated. --=20 / Peter Schuller PGP userID: 0xE9758B7D or 'Peter Schuller ' Key retrieval: Send an E-Mail to getpgpkey@scode.org E-Mail: peter.schuller@infidyne.com Web: http://www.scode.org --+HP7ph2BbKc20aGI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkk+rlMACgkQDNor2+l1i31H6gCeK1GJVIVtM74yzGYyVHlwMwQ1 jPQAnjz54OqetNZfEXTcWvEQTZgqetlc =Trou -----END PGP SIGNATURE----- --+HP7ph2BbKc20aGI-- From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 18:14:18 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E3C31065680 for ; Tue, 9 Dec 2008 18:14:18 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 1FB558FC13 for ; Tue, 9 Dec 2008 18:14:17 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LA76A-0008GA-QJ; Tue, 09 Dec 2008 21:14:18 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id E3A2E5DA3; Tue, 9 Dec 2008 21:12:59 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 20D101702D; Tue, 9 Dec 2008 21:13:54 +0300 (MSK) Date: Tue, 9 Dec 2008 21:13:54 +0300 From: Dmitry Marakasov To: Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Message-ID: <20081209181354.GB29817@hades.panopticon> References: <87fxkxjywk.fsf@chateau.d.lf> <20081209143052.GA29817@hades.panopticon> <873agxjn1x.fsf@chateau.d.lf> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <873agxjn1x.fsf@chateau.d.lf> User-Agent: Mutt/1.5.18 (2008-05-17) Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 18:14:18 -0000 * Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0= =A4=95=E0=A5=8D=E0=A4=B2 (wahjava.ml@gmail.com) wrote: > > - _Much_ more (instead of less) work for maintainer, as he won't be a= ble > > to test the port before committing it and will have to deal with al= l > > the problems post factum, under extra pressure. >=20 > > - Actually, any SCM-based port will become broken rather soon than > > later with no ability to prevent it. > > The port uses patches? Due to mutable source it'll become broken. > > Any structural change upstream? Port broken. Changed build system? > > Broken. Changed paths? Broken. Changed depends? Broken. Changed > > options/configure args? Broken. Etc. >=20 > These are the problems already expected with this but the only > suggestion is to have PRs filed if anything breaks during compilation > and investigate what caused it. No, those problems will not arise as long as the maintainer tests the port before submitting an update. And the tested port of fixed version will be usable for a long time, unlike SCM-based one which may break every second. > > - Generic dynamic plist generation is impossible unless the port > > is installed into some clean chrooted environemnt (for example, > > using DESTDIR). The latter, however takes extra space and time, > > as you need the whole system and all dependent packages installed > > there as well. >=20 > So, this is the main reason which prevents this :( . I'd say it's the least significant reason. The main reasons are the first three which can be shortened as `the port will be unuseable and sometimes dangerous'. What's for automatic plist generation, I've given it some thought, and it seems like there could be a more or less reliable way after all. I'm currently doing some experiments. > > Sometimes it's hard to tell whether the problem is FreeBSD-specific. > > Also, upstream is unlikely to have FreeBSD box for testing, so again > > it'll be more work for maintainer. >=20 > True, so either have all PRs should be submitted to FreeBSD PR system, > where maintainer will decide if its porting issue or upstream related > issue. My opinion is that if you can diagnose the problem by yourself and come with a proper fix, you should submit it directly upstream. If you think that the problem is serious enough, you can send a port PR as well. If you cannot do it all by yourself though, you should submit a PR, in which case port's maintainer will take care of it. > So with all the problems you mentioned above, I guess, I'll take my > proposal back :) . It's not like your proposal is bad, ports instantaneously tracking upstream changes and not needing maintainers would really be cool, but unfortunately that's practically impossible. --=20 Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 18:57:36 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 916C41065675 for ; Tue, 9 Dec 2008 18:57:36 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.186]) by mx1.freebsd.org (Postfix) with ESMTP id 0C2628FC12 for ; Tue, 9 Dec 2008 18:57:35 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so41006tib.3 for ; Tue, 09 Dec 2008 10:57:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :organization:references:x-face:x-uptime:x-url:x-openpgp-id :x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse:x-attribution:date :in-reply-to:message-id:user-agent:face:mime-version:content-type; bh=9OhyH35NjPDhS5kPYVj4rfmqAe6OpfnRkE/heMo1WIo=; b=xiIOLBL/RdZPpbU/GL9ug2CA3qGX58+a5nHP9CFJxYfabd0k7xs+sEuH/Kxqz/U+8P ngeCzKMwKpJRQY6MqH/VYm7GuTRcJOSPn5TlgI3lumSYwwWQ1UnBvFY75+7l/VDFvjT0 G/WvTtE5mKeSaw9tWWFHcssc5Bb13hGEw2KuU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-openpgp-id:x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse :x-attribution:date:in-reply-to:message-id:user-agent:face :mime-version:content-type; b=nZKK3PlBCKwlYREyg8ovw+M+RZJVXYtYYiqhfXHDyPhSmvv+LD4koH0VLfxnP5y5F3 0jXnFXzuoHQmEpW5X4wIyZrmz1M2+hlyMw9Xiredpw8lT/6KroI4Owx8/XCzlNi1Uf4+ 4CEVsw/Haz6IihOz0rmDU+IYo6O8EjBHM/jPU= Received: by 10.110.20.15 with SMTP id 15mr567475tit.28.1228849054763; Tue, 09 Dec 2008 10:57:34 -0800 (PST) Received: from chateau.d.lf ([122.161.3.28]) by mx.google.com with ESMTPS id i9sm819249tid.32.2008.12.09.10.57.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 09 Dec 2008 10:57:33 -0800 (PST) Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiBBc2hpc2ggU2h1a2xh?= From: wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=) To: Dmitry Marakasov Organization: alt.religion.emacs References: <87fxkxjywk.fsf@chateau.d.lf> <20081209143052.GA29817@hades.panopticon> <873agxjn1x.fsf@chateau.d.lf> <20081209181354.GB29817@hades.panopticon> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 00:12:50 up 8:21, 3 users, load average: 0.36, 0.29, 0.21 X-URL: http://wahjava.wordpress.com/ X-OpenPGP-ID: 762E5E74 X-OpenPGP-Fingerprint: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-OS: GNU/Linux on Linux 2.6.25-gentoo-r7 kernel on x86_64 architecture X-Mailer: Gnus/5.13 (Oort 5.13) Emacs/23.0.60.1 (x86_64-pc-linux-gnu) X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Date: Wed, 10 Dec 2008 00:29:29 +0530 In-Reply-To: <20081209181354.GB29817@hades.panopticon> (Dmitry Marakasov's message of "Tue, 9 Dec 2008 21:13:54 +0300") Message-ID: <87tz9di38u.fsf@chateau.d.lf> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 18:57:36 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Dmitry Marakasov writes: > * Ashish Shukla āĪ†āĪķāĨ€āĪ· āĪķāĨāĪ•āĨāĪē (wahjava.ml@gmail.com) wrote: >> > - _Much_ more (instead of less) work for maintainer, as he won't be able >> > to test the port before committing it and will have to deal with all >> > the problems post factum, under extra pressure. >> >> > - Actually, any SCM-based port will become broken rather soon than >> > later with no ability to prevent it. >> > The port uses patches? Due to mutable source it'll become broken. >> > Any structural change upstream? Port broken. Changed build system? >> > Broken. Changed paths? Broken. Changed depends? Broken. Changed >> > options/configure args? Broken. Etc. >> >> These are the problems already expected with this but the only >> suggestion is to have PRs filed if anything breaks during compilation >> and investigate what caused it. > No, those problems will not arise as long as the maintainer tests the > port before submitting an update. And the tested port of fixed version > will be usable for a long time, unlike SCM-based one which may break > every second. That is true, but the only problem I see with snapshots is, if maintainer is busy you can't do anything except maintaining your own local port version on your box. And anyone using these SCM ports is the one who knows things can go wrong often, and this is only for development use. >> > - Generic dynamic plist generation is impossible unless the port >> > is installed into some clean chrooted environemnt (for example, >> > using DESTDIR). The latter, however takes extra space and time, >> > as you need the whole system and all dependent packages installed >> > there as well. >> >> So, this is the main reason which prevents this :( . > I'd say it's the least significant reason. The main reasons are the > first three which can be shortened as `the port will be unuseable and > sometimes dangerous'. > What's for automatic plist generation, I've given it some thought, > and it seems like there could be a more or less reliable way after all. > I'm currently doing some experiments. Cool, would like to see the results of your experiments :). >> > Sometimes it's hard to tell whether the problem is FreeBSD-specific. >> > Also, upstream is unlikely to have FreeBSD box for testing, so again >> > it'll be more work for maintainer. >> >> True, so either have all PRs should be submitted to FreeBSD PR system, >> where maintainer will decide if its porting issue or upstream related >> issue. > My opinion is that if you can diagnose the problem by yourself and come > with a proper fix, you should submit it directly upstream. If you think > that the problem is serious enough, you can send a port PR as well. If > you cannot do it all by yourself though, you should submit a PR, in > which case port's maintainer will take care of it. I agree. >> So with all the problems you mentioned above, I guess, I'll take my >> proposal back :) . > It's not like your proposal is bad, ports instantaneously tracking > upstream changes and not needing maintainers would really be cool, > but unfortunately that's practically impossible. Gentoo GNU/Linux which is a source-based GNU/Linux distribution has this feature available, what is different in that is, that it uses a separate root for recording the packing list port and optionally creating a package. Maybe we can introduce a hack in ports system like by adding some variable like 'USES_DYNAMIC_PLIST=yes' in Makefile, which fill let the port first installed with DESTDIR=/var/tmp/ports/${PORTNAME} and then a packing list is generated and then finally whole tree is moved to ${PREFIX}, hmm...? What do you say ? Thanks for you replies. Ashish Shukla P.S. do you've any ideas about when a discussion on this subject took place on this list, hmm..? --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkk+wBUACgkQHy+EEHYuXnQ4/QCg6fgF1/itl/kN4gmq75Zkgvvi PS0AoOG3OGxkuzqYSBiVvuS9HYzYVSMG =W/8P -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 21:57:06 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EB6FE1065670 for ; Tue, 9 Dec 2008 21:57:06 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id A500C8FC1A for ; Tue, 9 Dec 2008 21:57:06 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by chen.org.nz (Postfix, from userid 1000) id A3B442841C; Wed, 10 Dec 2008 10:37:26 +1300 (NZDT) Date: Wed, 10 Dec 2008 10:37:26 +1300 From: Jonathan Chen To: freebsd-ports@freebsd.org Message-ID: <20081209213726.GA40500@osiris.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: Commit request ports/128241 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 21:57:07 -0000 Hi, Would some kind committer please commit: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/128241 It's been on the wait queue for more than a month now. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- Do not take life too seriously. You will never get out of it alive. From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 22:21:07 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5B69D1065670 for ; Tue, 9 Dec 2008 22:21:07 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id CED428FC1A for ; Tue, 9 Dec 2008 22:21:06 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LAAwx-0003vJ-MQ; Wed, 10 Dec 2008 01:21:03 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id B688DA017; Wed, 10 Dec 2008 01:19:48 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 722581702D; Wed, 10 Dec 2008 01:20:42 +0300 (MSK) Date: Wed, 10 Dec 2008 01:20:42 +0300 From: Dmitry Marakasov To: Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Message-ID: <20081209222042.GC29817@hades.panopticon> References: <87fxkxjywk.fsf@chateau.d.lf> <20081209143052.GA29817@hades.panopticon> <873agxjn1x.fsf@chateau.d.lf> <20081209181354.GB29817@hades.panopticon> <87tz9di38u.fsf@chateau.d.lf> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87tz9di38u.fsf@chateau.d.lf> User-Agent: Mutt/1.5.18 (2008-05-17) Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 22:21:07 -0000 * Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0= =A4=95=E0=A5=8D=E0=A4=B2 (wahjava.ml@gmail.com) wrote: > > No, those problems will not arise as long as the maintainer tests the > > port before submitting an update. And the tested port of fixed versio= n > > will be usable for a long time, unlike SCM-based one which may break > > every second. >=20 > That is true, but the only problem I see with snapshots is, if > maintainer is busy you can't do anything There's no other way, unfortunately. There's 2 weeks maintainer timeout (usually pot gets committed somewhere between 2 weeks and 1 month). But there was and idea of having multiple maintainers for a port, maybe it could lower response times. > except maintaining your own local port version on your box. And > anyone using these SCM ports is the one who knows things can go > wrong often, and this is only for development use. Having bleeding edge software and support for development versions is not the goal of ports (though I consider ports pretty good in those). Ports are intended for everyone's use and are expected to be more or less stable. > > I'd say it's the least significant reason. The main reasons are the > > first three which can be shortened as `the port will be unuseable and > > sometimes dangerous'. > > What's for automatic plist generation, I've given it some thought, > > and it seems like there could be a more or less reliable way after al= l. > > I'm currently doing some experiments. >=20 > Cool, would like to see the results of your experiments :). I will post something on this list if I manage to get any useful results. > > It's not like your proposal is bad, ports instantaneously tracking > > upstream changes and not needing maintainers would really be cool, > > but unfortunately that's practically impossible. >=20 > Gentoo GNU/Linux which is a source-based GNU/Linux distribution has thi= s > feature available, what is different in that is, that it uses a separat= e > root for recording the packing list port and optionally creating a > package. Yes, I've heard of it. Maybe I'll look closely at how it's done. > Maybe we can introduce a hack in ports system like by adding some > variable like 'USES_DYNAMIC_PLIST=3Dyes' in Makefile, which fill let th= e > port first installed with DESTDIR=3D/var/tmp/ports/${PORTNAME} and then= a > packing list is generated and then finally whole tree is moved to > ${PREFIX}, hmm...? What do you say ? Current DESTDIR implementation uses chroot and obviously requires complete system installed in DESTDIR. Also installing a port will install all dependencies in the chroot as well. There was proposal of another implementation that would behave as you describe without chroot, but it would require too much work, as most ports will need hacks so they install software into ${DESTDIR}/${PREFIX}, but the software would think that it's installed into ${PREFIX}. That is not even always possible, so the idea was dropped. Thus, the only reliable way to generate plist with standart tools is using fat chroot. My idea however is monitor all filesystem writes by port's make and all descendant processes. That may be done with monitoring or replacing syscalls and may be done with LD_PRELOAD or some *trace kernel facilities. The former is what I'm currently experimenting with. > P.S. do you've any ideas about when a discussion on this subject took > place on this list, hmm..? The last one was, afair, this one: http://groups.google.com/group/mailing.freebsd.ports/browse_thread/thread= /5f6fca39526c0fc4/8987f328fd95f0c5?lnk=3Dgst&q=3Dfetch+from+vcs#8987f328f= d95f0c5 there should be more http://groups.google.com/group/mailing.freebsd.ports/search?group=3Dmaili= ng.freebsd.ports&q=3Dfetch+from+repository --=20 Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 22:28:34 2008 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 729F61065670 for ; Tue, 9 Dec 2008 22:28:34 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from raven.customer.vol.cz (raven.customer.vol.cz [195.250.144.108]) by mx1.freebsd.org (Postfix) with ESMTP id E2D8C8FC17 for ; Tue, 9 Dec 2008 22:28:33 +0000 (UTC) (envelope-from pav@FreeBSD.org) Received: from [192.168.0.23] (r5af140.net.upc.cz [86.49.39.140]) (authenticated bits=0) by raven.customer.vol.cz (8.14.1/8.14.1) with ESMTP id mB9M1QBl054926; Tue, 9 Dec 2008 23:01:28 +0100 (CET) (envelope-from pav@FreeBSD.org) From: Pav Lucistnik To: Jonathan Chen In-Reply-To: <20081209213726.GA40500@osiris.chen.org.nz> References: <20081209213726.GA40500@osiris.chen.org.nz> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-TXZNDCSCWtd0dVyAcy6P" Date: Tue, 09 Dec 2008 23:01:22 +0100 Message-Id: <1228860082.917.9.camel@hood.oook.cz> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 FreeBSD GNOME Team Port X-Spam-Score: -1.798 () AWL,BAYES_00,RCVD_IN_PBL X-Scanned-By: MIMEDefang 2.64 on 195.250.144.108 X-Milter: Spamilter (Reciever: raven.customer.vol.cz; Sender-ip: 86.49.39.140; Sender-helo: [192.168.0.23]; ) Cc: freebsd-ports@FreeBSD.org Subject: Re: Commit request ports/128241 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pav@FreeBSD.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 22:28:34 -0000 --=-TXZNDCSCWtd0dVyAcy6P Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: quoted-printable Jonathan Chen p=ED=B9e v st 10. 12. 2008 v 10:37 +1300: > Would some kind committer please commit: >=20 > http://www.freebsd.org/cgi/query-pr.cgi?pr=3Dports/128241 >=20 > It's been on the wait queue for more than a month now. Let me have a look. --=20 Pav Lucistnik A)bort, R)etry, H)it with big hammer --=-TXZNDCSCWtd0dVyAcy6P Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?UTF-8?Q?digit=C3=A1ln=C4=9B?= =?ISO-8859-1?Q?_podepsan=E1?= =?UTF-8?Q?_=C4=8D=C3=A1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkk+6rIACgkQntdYP8FOsoIXFQCfV6t4tPqCtmvSK8i+mRYWWmgX YngAmwWuFLVjDDf9ufbfIj/aWLI4yaiQ =ry5O -----END PGP SIGNATURE----- --=-TXZNDCSCWtd0dVyAcy6P-- From owner-freebsd-ports@FreeBSD.ORG Tue Dec 9 22:36:33 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E518D106567D for ; Tue, 9 Dec 2008 22:36:33 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from bsdevel.alaskaparadise.com (bsdevel.alaskaparadise.com [208.86.224.193]) by mx1.freebsd.org (Postfix) with ESMTP id BF1348FC1A for ; Tue, 9 Dec 2008 22:36:33 +0000 (UTC) (envelope-from beech@alaskaparadise.com) Received: from stargate.alaskaparadise.com (172-67-237-24.gci.net [24.237.67.172]) by bsdevel.alaskaparadise.com (Postfix) with ESMTP id 9D37F28E1B94; Tue, 9 Dec 2008 22:19:51 +0000 (UTC) From: Beech Rintoul To: freebsd-ports@freebsd.org Date: Tue, 9 Dec 2008 13:19:50 -0900 User-Agent: KMail/1.10.3 (FreeBSD/8.0-CURRENT; KDE/4.1.3; i386; ; ) References: <20081209213726.GA40500@osiris.chen.org.nz> In-Reply-To: <20081209213726.GA40500@osiris.chen.org.nz> Organization: FreeBSD MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812091319.50528.beech@alaskaparadise.com> Cc: Beech Rintoul Subject: Re: Commit request ports/128241 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: beech@alaskaparadise.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Dec 2008 22:36:34 -0000 On Tuesday 09 December 2008 12:37:26 Jonathan Chen wrote: > Hi, > > Would some kind committer please commit: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/128241 > > It's been on the wait queue for more than a month now. > > Cheers. It's already been committed. I'll check why the pr wasn't closed. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech X - NO Word docs in e-mail | Skype: akbeech / \ - http://www.FreeBSD.org/releases/7.0R/announce.html --------------------------------------------------------------------------------------- From owner-freebsd-ports@FreeBSD.ORG Wed Dec 10 04:34:08 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1071A1065675 for ; Wed, 10 Dec 2008 04:34:08 +0000 (UTC) (envelope-from realvaemailservices91@gmail.com) Received: from mail-qy0-f31.google.com (mail-qy0-f31.google.com [209.85.221.31]) by mx1.freebsd.org (Postfix) with ESMTP id B60808FC1A for ; Wed, 10 Dec 2008 04:34:07 +0000 (UTC) (envelope-from realvaemailservices91@gmail.com) Received: by qyk12 with SMTP id 12so153624qyk.19 for ; Tue, 09 Dec 2008 20:34:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:precedence :mime-version:from:to:reply-to:subject:content-type :content-transfer-encoding:date; bh=OE84FDz1v3YwOb2PZnTE6HjU1vsLwJX1nfv9ANUiSPI=; b=PFQJ62sMqDvENJJJ1XDS/Ok8nTzRTyFKzzyh0PONW0grpdo8p4MVSUg/dMx9WKIdr8 ccAxPgogsJcJsNEZ4h1uBkNH6ER+DfW/BzqF+50+6tI5nYkQjqjvdpADcaQhU1MNIMlW YX8VcX0M1FMe6pHPKreHY8QACJ8qd/rU3oLDA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:precedence:mime-version:from:to:reply-to:subject :content-type:content-transfer-encoding:date; b=FCQ5YCwK4IriEB/SRD8RU5qFMPeY3YClwDoyVEODKIpYf/B9IRzOjDUSa98Z7zqtnv fTRWaL/Nmp+tz10oH+3XiyQOc6EwvMZLZuQBuKZ37yKeVH666+IG0Jlq01bbqIPSV1gc 14aE3SFcLMkac5a+H2sLzN3gtlpAWTo3xZkOE= Received: by 10.110.15.9 with SMTP id 9mr1206902tio.48.1228882638183; Tue, 09 Dec 2008 20:17:18 -0800 (PST) Received: from nhboffice (11.175.111.218.jb03-home.tm.net.my [218.111.175.11]) by mx.google.com with ESMTPS id i6sm2032363tid.5.2008.12.09.20.17.15 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 09 Dec 2008 20:17:16 -0800 (PST) Message-ID: <493f42cc.06876e0a.0cbe.7c7d@mx.google.com> precedence: Bulk mime-version: 1.0 from: "Top Mailer" to: Sir/Madam content-type: text/plain; charset=us-ascii content-transfer-encoding: quoted-printable Date: Tue, 09 Dec 2008 20:17:16 -0800 (PST) Cc: Subject: UNLIMITED Liberty Reserve ( LR ) for Sale!!! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Reply-To: Top Mailer List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 04:34:08 -0000 UNLIMITED Liberty Reserve ( LR ) for Sale!!!=0D=0A=0D=0AWe can provide you= UNLIMITED Liberty Reserve for your need at the lowest rate. =0D=0AJust= tell us how much LR you need and we will give you the best rate.=0D=0A= =0D=0AEmail me for more details postmaster@hitechbp.com =0D=0AOr, chat= with us via yahoo messenger ID: ( libertyreserveseller ) From owner-freebsd-ports@FreeBSD.ORG Wed Dec 10 07:41:24 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59FE210657C3 for ; Wed, 10 Dec 2008 07:41:24 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from mail.allbsd.org (unknown [IPv6:2001:2f0:104:e001::32]) by mx1.freebsd.org (Postfix) with ESMTP id F1F708FC19 for ; Wed, 10 Dec 2008 07:41:23 +0000 (UTC) (envelope-from hrs@FreeBSD.org) Received: from delta.allbsd.org (p2191-ipbf1403funabasi.chiba.ocn.ne.jp [118.7.161.191]) (authenticated bits=128) by mail.allbsd.org (8.14.2/8.14.2) with ESMTP id mBA7fBoW065904; Wed, 10 Dec 2008 16:41:21 +0900 (JST) (envelope-from hrs@FreeBSD.org) Received: from localhost (alph.allbsd.org [192.168.0.10]) (authenticated bits=0) by delta.allbsd.org (8.13.4/8.13.4) with ESMTP id mBA7f4cu081889; Wed, 10 Dec 2008 16:41:07 +0900 (JST) (envelope-from hrs@FreeBSD.org) Date: Wed, 10 Dec 2008 16:40:55 +0900 (JST) Message-Id: <20081210.164055.15552079.hrs@allbsd.org> To: flz@xbsd.org From: Hiroki Sato In-Reply-To: References: <20081208.033250.137441016.hrs@allbsd.org> X-PGPkey-fingerprint: BDB3 443F A5DD B3D0 A530 FFD7 4F2C D3D8 2793 CF2D X-Mailer: Mew version 6.1 on Emacs 22.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Multipart/Signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="--Security_Multipart(Wed_Dec_10_16_40_55_2008_805)--" Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.93.3, clamav-milter version 0.93.3 on gatekeeper.allbsd.org X-Virus-Status: Clean X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (mail.allbsd.org [133.31.130.32]); Wed, 10 Dec 2008 16:41:22 +0900 (JST) Cc: ports@FreeBSD.org Subject: Re: RFC: $USE_[GU]ID for consistent [GU]ID handling X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 07:41:24 -0000 ----Security_Multipart(Wed_Dec_10_16_40_55_2008_805)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit "Florent Thoumie" wrote in : fl> There's an open PR with patches for this feature (ports/108514). Could fl> you have a look and maybe send your comments? Oh, sorry, I did not notice that. I will read the PR and follow-ups first. Thank you for the pointer. -- | Hiroki SATO ----Security_Multipart(Wed_Dec_10_16_40_55_2008_805)-- Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkk/cocACgkQTyzT2CeTzy1zwgCdEO4eZCuy+R10WdiP2JajTtlM GogAnRtX3NShJtoiZolIV14SyXkomY8v =lkaK -----END PGP SIGNATURE----- ----Security_Multipart(Wed_Dec_10_16_40_55_2008_805)---- From owner-freebsd-ports@FreeBSD.ORG Wed Dec 10 08:57:54 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4705106564A for ; Wed, 10 Dec 2008 08:57:54 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 48BCE8FC17 for ; Wed, 10 Dec 2008 08:57:54 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LAKtE-0000im-Tx for freebsd-ports@freebsd.org; Wed, 10 Dec 2008 00:57:52 -0800 Message-ID: <20930607.post@talk.nabble.com> Date: Wed, 10 Dec 2008 00:57:52 -0800 (PST) From: Silver Salonen To: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: silver.salonen@gmail.com Subject: PYTHON_SITELIBDIR gets parsed incorrectly X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 08:57:54 -0000 Hello. I'm creating a port that uses python. I've set in Makefile: USE_PYTHON= yes PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${PREFIX}/||g} PLIST_SUB+= PYTHON_SITELIBDIR="${PYTHON_SITELIBDIR}" And pkg-plist has entries a'la: %%BINDINGS%%%%PYTHON_SITELIBDIR%%/ This %%BINDINGS%% gets replaced with "", so that should not be an issue. Anyway, when I install port, +CONTENTS contains lines a'la: /usr/local/lib/python2.5/site-packages/museek/__init__.py And when I try deinstalling it, I get errors a'la: pkg_delete: file '/usr/local//usr/local/lib/python2.5/site-packages/museek/__init__.py' doesn't exist Why do these files get prefixed with $LOCALBASE (or $PREFIX)? -- View this message in context: http://www.nabble.com/PYTHON_SITELIBDIR-gets-parsed-incorrectly-tp20930607p20930607.html Sent from the freebsd-ports mailing list archive at Nabble.com. From owner-freebsd-ports@FreeBSD.ORG Wed Dec 10 10:23:45 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F26491065675 for ; Wed, 10 Dec 2008 10:23:45 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from mailrelay.rz.uni-wuerzburg.de (mailrelay.rz.uni-wuerzburg.de [132.187.3.28]) by mx1.freebsd.org (Postfix) with ESMTP id 7DB988FC19 for ; Wed, 10 Dec 2008 10:23:45 +0000 (UTC) (envelope-from shuvaev@physik.uni-wuerzburg.de) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id DB288198DDE; Wed, 10 Dec 2008 11:23:43 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id CEAE9198DCE; Wed, 10 Dec 2008 11:23:43 +0100 (CET) Received: from mail.physik.uni-wuerzburg.de (wthp192.physik.uni-wuerzburg.de [132.187.40.192]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id B5CC2198DCC; Wed, 10 Dec 2008 11:23:43 +0100 (CET) Received: from wep4035 ([132.187.37.35]) by mail.physik.uni-wuerzburg.de (Lotus Domino Release 8.0.2HF443) with ESMTP id 2008121011234310-35411 ; Wed, 10 Dec 2008 11:23:43 +0100 Received: by wep4035 (sSMTP sendmail emulation); Wed, 10 Dec 2008 11:23:42 +0100 From: "Alexey Shuvaev" Date: Wed, 10 Dec 2008 11:23:42 +0100 To: Silver Salonen Message-ID: <20081210102342.GA11556@wep4035.physik.uni-wuerzburg.de> References: <20930607.post@talk.nabble.com> MIME-Version: 1.0 In-Reply-To: <20930607.post@talk.nabble.com> Organization: Universitaet Wuerzburg User-Agent: Mutt/1.5.18 (2008-05-17) X-MIMETrack: Itemize by SMTP Server on domino1/uni-wuerzburg(Release 8.0.2HF443 | November 25, 2008) at 12/10/2008 11:23:43 AM, Serialize by Router on domino1/uni-wuerzburg(Release 8.0.2HF443 | November 25, 2008) at 12/10/2008 11:23:43 AM, Serialize complete at 12/10/2008 11:23:43 AM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de Cc: freebsd-ports@freebsd.org Subject: Re: PYTHON_SITELIBDIR gets parsed incorrectly X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 10:23:46 -0000 Hello! On Wed, Dec 10, 2008 at 12:57:52AM -0800, Silver Salonen wrote: > > Hello. > > I'm creating a port that uses python. I've set in Makefile: > USE_PYTHON= yes > PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${PREFIX}/||g} > PLIST_SUB+= PYTHON_SITELIBDIR="${PYTHON_SITELIBDIR}" > > And pkg-plist has entries a'la: > %%BINDINGS%%%%PYTHON_SITELIBDIR%%/ > > This %%BINDINGS%% gets replaced with "", so that should not be an issue. > > Anyway, when I install port, +CONTENTS contains lines a'la: > /usr/local/lib/python2.5/site-packages/museek/__init__.py > This is wrong. They should be relative to ${LOCALBASE}, lib/python2.5/site-packages/bla-bla-bla in this case. Can't say why %) Examine the behavior of PYTHON_SITELIBDIR variable in the Makefile. > And when I try deinstalling it, I get errors a'la: > pkg_delete: file > '/usr/local//usr/local/lib/python2.5/site-packages/museek/__init__.py' > doesn't exist > > Why do these files get prefixed with $LOCALBASE (or $PREFIX)? > 0.02$, Alexey. From owner-freebsd-ports@FreeBSD.ORG Wed Dec 10 11:30:11 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0AD46106564A for ; Wed, 10 Dec 2008 11:30:11 +0000 (UTC) (envelope-from aturetta@commit.it) Received: from mail.bestunion.it (mail.bestunion.it [85.18.201.87]) by mx1.freebsd.org (Postfix) with ESMTP id 6FE978FC1A for ; Wed, 10 Dec 2008 11:30:10 +0000 (UTC) (envelope-from aturetta@commit.it) Received: from [192.168.44.66] (adsl-ull-141-22.51-151.net24.it [151.51.22.141]) (authenticated bits=0) by mail.lan.bestunion.it (8.14.3/8.14.3) with ESMTP id mBABGAtg086596 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 10 Dec 2008 12:16:17 +0100 (CET) (envelope-from aturetta@commit.it) Message-ID: <493FA4F6.3020707@commit.it> Date: Wed, 10 Dec 2008 12:16:06 +0100 From: Angelo Turetta User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on mail.bestunion.it X-Virus-Status: Clean Cc: Subject: Please include emulators/open-vm-tools in 7.1 release X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 11:30:11 -0000 The open-vm-tools port has been working fine for months, but at the time of RELEASE_7_1_0 tagging of the ports tree there were some pkg-list and install problems, so it was marked BROKEN. Those problems have been solved since several weeks now, so I think it would be really a pity non to have a binary package for open-vm-tools and open-vm-tools-nox11 in the 7.1 release. Thanks, Angelo Turetta From owner-freebsd-ports@FreeBSD.ORG Wed Dec 10 13:57:13 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7CCA91065673 for ; Wed, 10 Dec 2008 13:57:13 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from yw-out-2324.google.com (yw-out-2324.google.com [74.125.46.28]) by mx1.freebsd.org (Postfix) with ESMTP id 39EBD8FC0C for ; Wed, 10 Dec 2008 13:57:12 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by yw-out-2324.google.com with SMTP id 9so220540ywe.13 for ; Wed, 10 Dec 2008 05:57:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Cb+elwuQZVXcvB951Hyagalggz3Keiq2gmhUl90h6jU=; b=nPx4ds4jY0VvXa5HHN1AuvcbcborHoR/7OsG9JA7eGs9JdFNlVHy3Ynsv3VFQJZKb7 vlFT/DDFv7N4ZeuZoKTS1m7yRN8xtD0XLLEPxNu13H/gWpo5nXcTmQRmdQW37mW5cCT+ m9Hii+wO2MDVRBD1zjcjEBgDAibW+L9qMD+2w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=jo9mpWj3ZdOKKDbkxqP50bHwZuyeyxOkTum7aRvma2ixy0hlOm4T29zIFk+FXd5A61 6+nFdyF7Uy3W/n3NTtNwrQVm3suHxeCKE5BFG7iLUJRTVd4FUt8xNBvFAoba8/vilKGd MUwnstPU96fS37KAq6nT68GcpL5DfCI2nK8og= Received: by 10.90.99.5 with SMTP id w5mr823956agb.16.1228917432277; Wed, 10 Dec 2008 05:57:12 -0800 (PST) Received: by 10.90.31.6 with HTTP; Wed, 10 Dec 2008 05:57:12 -0800 (PST) Message-ID: <790a9fff0812100557v105ab514vebef685b02400c18@mail.gmail.com> Date: Wed, 10 Dec 2008 07:57:12 -0600 From: "Scot Hetzel" To: "Silver Salonen" In-Reply-To: <20930607.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20930607.post@talk.nabble.com> Cc: freebsd-ports@freebsd.org Subject: Re: PYTHON_SITELIBDIR gets parsed incorrectly X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 13:57:13 -0000 On 12/10/08, Silver Salonen wrote: > > Hello. > > I'm creating a port that uses python. I've set in Makefile: > USE_PYTHON= yes > PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${PREFIX}/||g} > PLIST_SUB+= PYTHON_SITELIBDIR="${PYTHON_SITELIBDIR}" > > And pkg-plist has entries a'la: > %%BINDINGS%%%%PYTHON_SITELIBDIR%%/ > > This %%BINDINGS%% gets replaced with "", so that should not be an issue. > > Anyway, when I install port, +CONTENTS contains lines a'la: > /usr/local/lib/python2.5/site-packages/museek/__init__.py > > And when I try deinstalling it, I get errors a'la: > pkg_delete: file > '/usr/local//usr/local/lib/python2.5/site-packages/museek/__init__.py' > doesn't exist > > Why do these files get prefixed with $LOCALBASE (or $PREFIX)? > The problem is that you are redefining PYTHON_SITELIBDIR in PLIST_SUB. If you remove: > PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${PREFIX}/||g} > PLIST_SUB+= PYTHON_SITELIBDIR="${PYTHON_SITELIBDIR}" from your make file, and use 'make -V PLIST_SUB' and 'make -V PYTHON_SITELIBDIR', you should get this: $ make -V PLIST_SUB PYVER=2.5 PYVER_WITHPAT=2.5.2 PYTHON_INCLUDEDIR=include/python2.5 PYTHON_LIBDIR=lib/python2.5 PYTHON_PLATFORM=freebsd8 PYTHON_SITELIBDIR=lib/python2.5/site-packages PYTHON_VERSION=python2.5 IF_DEFAULT="" X86_ONLY="@comment " 32BIT_ONLY="@comment " NO_NIS="" OSREL=8.0 PREFIX=%D LOCALBASE=/usr/local X11BASE=/usr/local PORTDOCS="" PORTEXAMPLES="" PORTDATA="" LIB32DIR=lib XAWVER=8 PERL_VERSION=5.8.8 PERL_VER=5.8.8 PERL_ARCH=mach SITE_PERL=lib/perl5/site_perl/5.8.8 DOCSDIR="share/doc/python25" EXAMPLESDIR="share/examples/python25" DATADIR="share/python25" WWWDIR="www/python25" ETCDIR="etc/python25" $ make -V PYTHON_SITELIBDIR /usr/local/lib/python2.5/site-packages Scot From owner-freebsd-ports@FreeBSD.ORG Wed Dec 10 13:58:03 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 643CF1065672 for ; Wed, 10 Dec 2008 13:58:03 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.184]) by mx1.freebsd.org (Postfix) with ESMTP id D28C78FC08 for ; Wed, 10 Dec 2008 13:58:02 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so302810tib.3 for ; Wed, 10 Dec 2008 05:58:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :organization:references:x-face:x-uptime:x-url:x-openpgp-id :x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse:x-attribution:date :in-reply-to:message-id:user-agent:face:mime-version:content-type; bh=DmePEwJ62e3lQypa4cPMpiNm/KpkTffojShD8c6Ust4=; b=VOKBhQer7lwKldg2Z+aBIxY3PO3uPxS9+oLqlhhvEyAmSNLQldtt4WvYpPoPMDOPnl Hvgr77rk5UIV4QBgbvezW3JRX5zMSxZYKaccOU6lC6HGl82FopCyS6I3s5QubSDWpmPR Km1h13spgwTY9Tg7/5JAqZ5B9+/+K2OsA8PHM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-openpgp-id:x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse :x-attribution:date:in-reply-to:message-id:user-agent:face :mime-version:content-type; b=S967XrSMr0pQ+TOW2t0li1RbjtSQbLjIxAeWjwSLEBSfGo1K30cGDuan4b8gbDrRDh 2dN6ugt4I3x2jB48CPJA6BZGASzkfPGFWVRfogZPi69G5NXHE2SxGu56qlq9gcEmRjQ4 8SKMajK5rgI4+pSibjrpbkQfibKv8/mxbI/bI= Received: by 10.110.2.2 with SMTP id 2mr2050427tib.5.1228917481589; Wed, 10 Dec 2008 05:58:01 -0800 (PST) Received: from chateau.d.lf ([122.161.0.36]) by mx.google.com with ESMTPS id d4sm658323tib.31.2008.12.10.05.57.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Dec 2008 05:57:59 -0800 (PST) Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiBBc2hpc2ggU2h1a2xh?= From: wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=) To: Dmitry Marakasov Organization: alt.religion.emacs References: <87fxkxjywk.fsf@chateau.d.lf> <20081209143052.GA29817@hades.panopticon> <873agxjn1x.fsf@chateau.d.lf> <20081209181354.GB29817@hades.panopticon> <87tz9di38u.fsf@chateau.d.lf> <20081209222042.GC29817@hades.panopticon> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 18:46:42 up 6:00, 4 users, load average: 0.17, 0.33, 0.21 X-URL: http://wahjava.wordpress.com/ X-OpenPGP-ID: 762E5E74 X-OpenPGP-Fingerprint: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-OS: GNU/Linux on Linux 2.6.25-gentoo-r7 kernel on x86_64 architecture X-Mailer: Gnus/5.13 (Oort 5.13) Emacs/23.0.60.1 (x86_64-pc-linux-gnu) X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Date: Wed, 10 Dec 2008 19:29:53 +0530 In-Reply-To: <20081209222042.GC29817@hades.panopticon> (Dmitry Marakasov's message of "Wed, 10 Dec 2008 01:20:42 +0300") Message-ID: <8763lsi10m.fsf@chateau.d.lf> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 13:58:03 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable Dmitry Marakasov writes: [...] >> Maybe we can introduce a hack in ports system like by adding some >> variable like 'USES_DYNAMIC_PLIST=3Dyes' in Makefile, which fill let the >> port first installed with DESTDIR=3D/var/tmp/ports/${PORTNAME} and then a >> packing list is generated and then finally whole tree is moved to >> ${PREFIX}, hmm...? What do you say ? > Current DESTDIR implementation uses chroot and obviously requires > complete system installed in DESTDIR. Also installing a port will > install all dependencies in the chroot as well. The Debian package building system, also expects the package files in a directory named ${packageroot}/debian/${packagename}/ which you can install by doing 'make install DESTDIR=3Ddebian/${packagename}' in ${packageroot} directory (the directory where you've extracted the package tarball, similar to the FreeBSD's ${WRKSRC} directory. So, my idea is to specify "make -C ${WRKSRC} install DESTDIR=3D/var/tmp/${P= ORTNAME}" in the "install" target of port's Makefile, not to be confused with upstream package's Makefile. And I think you confused it with passing 'DESTDIR' variable to 'make' commandline to start port building procedure: Following is an example illustrating how port is going to be installed in the way I'm thinking: ,---- | % sudo make -C /usr/ports/editors/emacs-cvs install | ...checkout from CVS... | ...configuring... | ./configure --prefix=3D${LOCALBASE} <...and other configure options ...> | ...configuration messages... | ...compilation begins... | make | ...compiling the files... | ...compilation over... | make install DESTDIR=3D/var/tmp/emacs | ...files being copied to /var/tmp/emacs directory... | ...package list creation... | ...package list finished... | ...copying files into ${LOCALBASE}... | ...end copying files... | ...package installed successfully... `---- The package list can be created via he automated package-list creation method[1] documented in porters-handbook with a 'mtree' command executed in 'pre-install' to prepare the '/var/tmp/${PORTNAME}' prior to installing package. And to assure safety to this procedure, ports should be built with a separate unprivileged user 'portbuilder' whose job is to build ports and install them in '/var/tmp/${PORTNAME}', and create a temporary package list. And to perform the actual installation, the port process should switch to 'root' user. > There was proposal of another implementation that would behave as > you describe without chroot, but it would require too much work, > as most ports will need hacks so they install software into > ${DESTDIR}/${PREFIX}, but the software would think that it's installed > into ${PREFIX}. That is not even always possible, so the idea was > dropped. > Thus, the only reliable way to generate plist with standart tools > is using fat chroot. > My idea however is monitor all filesystem writes by port's make and all > descendant processes. That may be done with monitoring or replacing > syscalls and may be done with LD_PRELOAD or some *trace kernel > facilities. The former is what I'm currently experimenting with. This is also a cool way if something like this can be hacked ? How about using truss or other syscall tracing facilities, hmm..? Thanks for the links and replies. References: [1] - http://www.freebsd.org/doc/en/books/porters-handbook/plist-autoplist.= html =2D-=20 Ashish Shukla --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkk/y18ACgkQHy+EEHYuXnRJtwCgmQYQkG6+J9rwmRP1bkJRjK3c bxsAoKRFvB+elVrhHc4uYxhmxZ7eOVai =3zgp -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-ports@FreeBSD.ORG Wed Dec 10 14:52:44 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B59EF1065672 for ; Wed, 10 Dec 2008 14:52:44 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 747B88FC08 for ; Wed, 10 Dec 2008 14:52:44 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1LAQQd-0007tZ-Kr for freebsd-ports@freebsd.org; Wed, 10 Dec 2008 06:52:43 -0800 Message-ID: <20936842.post@talk.nabble.com> Date: Wed, 10 Dec 2008 06:52:43 -0800 (PST) From: Silver Salonen To: freebsd-ports@freebsd.org In-Reply-To: <790a9fff0812100557v105ab514vebef685b02400c18@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: silver.salonen@gmail.com References: <20930607.post@talk.nabble.com> <790a9fff0812100557v105ab514vebef685b02400c18@mail.gmail.com> Subject: Re: PYTHON_SITELIBDIR gets parsed incorrectly X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 14:52:44 -0000 Scot Hetzel wrote: > > On 12/10/08, Silver Salonen wrote: >> >> Hello. >> >> I'm creating a port that uses python. I've set in Makefile: >> USE_PYTHON= yes >> PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${PREFIX}/||g} >> PLIST_SUB+= PYTHON_SITELIBDIR="${PYTHON_SITELIBDIR}" >> >> And pkg-plist has entries a'la: >> %%BINDINGS%%%%PYTHON_SITELIBDIR%%/ >> >> This %%BINDINGS%% gets replaced with "", so that should not be an issue. >> >> Anyway, when I install port, +CONTENTS contains lines a'la: >> /usr/local/lib/python2.5/site-packages/museek/__init__.py >> >> And when I try deinstalling it, I get errors a'la: >> pkg_delete: file >> '/usr/local//usr/local/lib/python2.5/site-packages/museek/__init__.py' >> doesn't exist >> >> Why do these files get prefixed with $LOCALBASE (or $PREFIX)? >> > > The problem is that you are redefining PYTHON_SITELIBDIR in PLIST_SUB. > If you remove: > >> PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${PREFIX}/||g} >> PLIST_SUB+= PYTHON_SITELIBDIR="${PYTHON_SITELIBDIR}" > > from your make file, and use 'make -V PLIST_SUB' and 'make -V > PYTHON_SITELIBDIR', you should get this: > > $ make -V PLIST_SUB > PYVER=2.5 PYVER_WITHPAT=2.5.2 PYTHON_INCLUDEDIR=include/python2.5 > PYTHON_LIBDIR=lib/python2.5 PYTHON_PLATFORM=freebsd8 > PYTHON_SITELIBDIR=lib/python2.5/site-packages > PYTHON_VERSION=python2.5 IF_DEFAULT="" X86_ONLY="@comment " > 32BIT_ONLY="@comment " NO_NIS="" OSREL=8.0 PREFIX=%D > LOCALBASE=/usr/local X11BASE=/usr/local PORTDOCS="" PORTEXAMPLES="" > PORTDATA="" LIB32DIR=lib XAWVER=8 PERL_VERSION=5.8.8 PERL_VER=5.8.8 > PERL_ARCH=mach SITE_PERL=lib/perl5/site_perl/5.8.8 > DOCSDIR="share/doc/python25" EXAMPLESDIR="share/examples/python25" > DATADIR="share/python25" WWWDIR="www/python25" ETCDIR="etc/python25" > > $ make -V PYTHON_SITELIBDIR > /usr/local/lib/python2.5/site-packages > > Scot > Aha, thanks. I didn't realize that %%PYTHON_SITELIBDIR%% gets replaced automatically (via USE_PYTHON=yes, right?). It's OK now :) -- View this message in context: http://www.nabble.com/PYTHON_SITELIBDIR-gets-parsed-incorrectly-tp20930607p20936842.html Sent from the freebsd-ports mailing list archive at Nabble.com. From owner-freebsd-ports@FreeBSD.ORG Wed Dec 10 18:11:50 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1A40A1065672 for ; Wed, 10 Dec 2008 18:11:50 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 8F8438FC18 for ; Wed, 10 Dec 2008 18:11:49 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LATXK-0005fU-Gf; Wed, 10 Dec 2008 21:11:50 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 61680AAA6; Wed, 10 Dec 2008 21:10:33 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 489C21702D; Wed, 10 Dec 2008 21:11:25 +0300 (MSK) Date: Wed, 10 Dec 2008 21:11:25 +0300 From: Dmitry Marakasov To: Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Message-ID: <20081210181125.GA86341@hades.panopticon> References: <87fxkxjywk.fsf@chateau.d.lf> <20081209143052.GA29817@hades.panopticon> <873agxjn1x.fsf@chateau.d.lf> <20081209181354.GB29817@hades.panopticon> <87tz9di38u.fsf@chateau.d.lf> <20081209222042.GC29817@hades.panopticon> <8763lsi10m.fsf@chateau.d.lf> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <8763lsi10m.fsf@chateau.d.lf> User-Agent: Mutt/1.5.18 (2008-05-17) Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 18:11:50 -0000 * Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0= =A4=95=E0=A5=8D=E0=A4=B2 (wahjava.ml@gmail.com) wrote: > > Current DESTDIR implementation uses chroot and obviously requires > > complete system installed in DESTDIR. Also installing a port will > > install all dependencies in the chroot as well. >=20 > The Debian package building system, also expects the package files in a > directory named ${packageroot}/debian/${packagename}/ which you can > install by doing 'make install DESTDIR=3Ddebian/${packagename}' in > ${packageroot} directory (the directory where you've extracted the > package tarball, similar to the FreeBSD's ${WRKSRC} directory. >=20 > So, my idea is to specify "make -C ${WRKSRC} install DESTDIR=3D/var/tmp= /${PORTNAME}" > in the "install" target of port's Makefile, not to be confused with > upstream package's Makefile. And I think you confused it with passing > 'DESTDIR' variable to 'make' commandline to start port building > procedure: How do you expect all ports to respect DESTDIR in their Makefiles, while many ports don't even use make? As I've said, that will require tremendous amount of hacking and is not even possible sometimes. > > My idea however is monitor all filesystem writes by port's make and a= ll > > descendant processes. That may be done with monitoring or replacing > > syscalls and may be done with LD_PRELOAD or some *trace kernel > > facilities. The former is what I'm currently experimenting with. >=20 > This is also a cool way if something like this can be hacked ? How abou= t > using truss or other syscall tracing facilities, hmm..? Truss uses ptrace(2). There are other facilities, but they are less useable - ktrace (produces too much output, needs to be enabled in kernel) and dtrace (only available in current for now, also should be enabled in kernel). --=20 Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-ports@FreeBSD.ORG Wed Dec 10 22:00:18 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D71B106564A for ; Wed, 10 Dec 2008 22:00:18 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.188]) by mx1.freebsd.org (Postfix) with ESMTP id 866AE8FC13 for ; Wed, 10 Dec 2008 22:00:17 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so404763tib.3 for ; Wed, 10 Dec 2008 14:00:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :organization:references:x-face:x-uptime:x-url:x-openpgp-id :x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse:x-attribution:date :in-reply-to:message-id:user-agent:face:mime-version:content-type; bh=lEktInVczEAKlitV4n1GCwuq9k4prP2sP64/BIOVuUM=; b=P1qGkUBhLXkWYHcWBIiWcN29kbJqrDTdJyC40in8H54iayhT6tu58AzB4Ed3G80IPz rc16kFv+rDsDk+RKzn80lLN3wELTnKkmP6Eq3lwF73zbEoGQNz2RDtdUb+BRmsU02lUC /KcyrBN7GRLlH58pdYIVF7eLKgVrAF1bnuD14= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-openpgp-id:x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse :x-attribution:date:in-reply-to:message-id:user-agent:face :mime-version:content-type; b=bzPwvvVK9eDPwT3od2WbgyJPX8LZKy1VEW73tmrDb9uA8U4pBRIgCZwzHntRXwjhCJ jrU7ukaUmj2PKPXxHT9V4bRQqSC3fGszG/1i5pknrdcSOp56EBNUbvI7GlPF/mnEJD5V +yE+6mT/sk7xWYQCpn+yNuVfW7CSZEG3D6vJY= Received: by 10.110.15.9 with SMTP id 9mr2647956tio.27.1228946416339; Wed, 10 Dec 2008 14:00:16 -0800 (PST) Received: from chateau.d.lf ([122.161.0.36]) by mx.google.com with ESMTPS id y3sm2144530tia.20.2008.12.10.14.00.12 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Dec 2008 14:00:14 -0800 (PST) Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiBBc2hpc2ggU2h1a2xh?= From: wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=) To: Dmitry Marakasov Organization: alt.religion.emacs References: <87fxkxjywk.fsf@chateau.d.lf> <20081209143052.GA29817@hades.panopticon> <873agxjn1x.fsf@chateau.d.lf> <20081209181354.GB29817@hades.panopticon> <87tz9di38u.fsf@chateau.d.lf> <20081209222042.GC29817@hades.panopticon> <8763lsi10m.fsf@chateau.d.lf> <20081210181125.GA86341@hades.panopticon> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 03:26:53 up 14:40, 4 users, load average: 0.06, 0.53, 0.74 X-URL: http://wahjava.wordpress.com/ X-OpenPGP-ID: 762E5E74 X-OpenPGP-Fingerprint: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-OS: GNU/Linux on Linux 2.6.25-gentoo-r7 kernel on x86_64 architecture X-Mailer: Gnus/5.13 (Oort 5.13) Emacs/23.0.60.1 (x86_64-pc-linux-gnu) X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Date: Thu, 11 Dec 2008 03:32:12 +0530 In-Reply-To: <20081210181125.GA86341@hades.panopticon> (Dmitry Marakasov's message of "Wed, 10 Dec 2008 21:11:25 +0300") Message-ID: <87zlj3heor.fsf@chateau.d.lf> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 22:00:18 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Dmitry Marakasov writes: > * Ashish Shukla āĪ†āĪķāĨ€āĪ· āĪķāĨāĪ•āĨāĪē (wahjava.ml@gmail.com) wrote: >> > Current DESTDIR implementation uses chroot and obviously requires >> > complete system installed in DESTDIR. Also installing a port will >> > install all dependencies in the chroot as well. >> >> The Debian package building system, also expects the package files in a >> directory named ${packageroot}/debian/${packagename}/ which you can >> install by doing 'make install DESTDIR=debian/${packagename}' in >> ${packageroot} directory (the directory where you've extracted the >> package tarball, similar to the FreeBSD's ${WRKSRC} directory. >> >> So, my idea is to specify "make -C ${WRKSRC} install DESTDIR=/var/tmp/${PORTNAME}" >> in the "install" target of port's Makefile, not to be confused with >> upstream package's Makefile. And I think you confused it with passing >> 'DESTDIR' variable to 'make' commandline to start port building >> procedure: > How do you expect all ports to respect DESTDIR in their Makefiles, > while many ports don't even use make? As I've said, that will require > tremendous amount of hacking and is not even possible sometimes. How about adding a variable like REQUIRES_DYNAMIC_INSTALLATION=yes, which will then generate a plist on the basis of "/var/tmp/${PORTNAME}", so now it is the port's responsibility to install all contents to "/var/tmp/${PORTNAME}" either by "make install DESTDIR=..." or by some other way. Having that REQUIRES_DYNAMIC_INSTALLATION also includes a 'post-install' target which will copy all files from /var/tmp/${PORTNAME} to ${PREFIX}. -- Ashish Shukla --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklAPGkACgkQHy+EEHYuXnRDBwCg0ySHngPoGFctQT2oGApU1w6h J2sAoJZ5TR+5Au5ovb9RJ0lzDQ/Y/fNJ =KANp -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-ports@FreeBSD.ORG Wed Dec 10 22:35:46 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9D8641065676 for ; Wed, 10 Dec 2008 22:35:46 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 17F428FC27 for ; Wed, 10 Dec 2008 22:35:46 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LAXeh-0004U9-QY; Thu, 11 Dec 2008 01:35:43 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 8FA3DAE3D; Thu, 11 Dec 2008 01:34:30 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 5F70E1702D; Thu, 11 Dec 2008 01:35:22 +0300 (MSK) Date: Thu, 11 Dec 2008 01:35:22 +0300 From: Dmitry Marakasov To: Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Message-ID: <20081210223522.GA6367@hades.panopticon> References: <87fxkxjywk.fsf@chateau.d.lf> <20081209143052.GA29817@hades.panopticon> <873agxjn1x.fsf@chateau.d.lf> <20081209181354.GB29817@hades.panopticon> <87tz9di38u.fsf@chateau.d.lf> <20081209222042.GC29817@hades.panopticon> <8763lsi10m.fsf@chateau.d.lf> <20081210181125.GA86341@hades.panopticon> <87zlj3heor.fsf@chateau.d.lf> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87zlj3heor.fsf@chateau.d.lf> User-Agent: Mutt/1.5.18 (2008-05-17) Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 22:35:46 -0000 * Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0= =A4=95=E0=A5=8D=E0=A4=B2 (wahjava.ml@gmail.com) wrote: > > How do you expect all ports to respect DESTDIR in their Makefiles, > > while many ports don't even use make? As I've said, that will require > > tremendous amount of hacking and is not even possible sometimes. >=20 > How about adding a variable like REQUIRES_DYNAMIC_INSTALLATION=3Dyes, > which will then generate a plist on the basis of "/var/tmp/${PORTNAME}"= , > so now it is the port's responsibility to install all contents to > "/var/tmp/${PORTNAME}" either by "make install DESTDIR=3D..." or by som= e > other way. Having that REQUIRES_DYNAMIC_INSTALLATION also includes a > 'post-install' target which will copy all files from > /var/tmp/${PORTNAME} to ${PREFIX}. You do not understand the basic thing. The PROBLEM is to make all ports install into one dir, but be runnable from another. As simple as that. Imagine a software like that: --- foo.c #include int main() { return system("cat "DATAFILE); } --- datafile.dat Hello, world! --- Makefile PREFIX?=3D /usr/local DATADIR?=3D ${PREFIX}/share/foo all: foo foo: foo.c cc -DDATAFILE=3D\"${DATADIR}/datafile.dat\" foo.c -o foo install: foo datafile.dat install -s foo ${PREFIX}/bin install -d ${DATADIR} install datafile.dat ${DATADIR} --- As you can see, if this is installed with PREFIX=3D/var/tmp/foobar, then moved to /usr and ran, it won't work, as it has DATAFILE compiled in as "/var/tmp/foobar/share/foo/datafile.dat" instead of "/usr/local/share/foo/datafile.dat". To make it behave as we indend, you'll have to either hack Makefile to distinguish DESTDIR and PREFIX, or do all installation in port's Makefile by yourself. We have around 20k ports, and it will be extremely hard task to convert them all to such scheme (though afaik configure-based ones should support this without modifications). The example above is quite simple, the real life can be much more ugly, I assure. The worst thing is that we won't be able to test ports automatically, as the fact the port builds and installs successfully won't mean that it will run without problems. I wonder how debian and gentoo get around this problem... --=20 Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-ports@FreeBSD.ORG Wed Dec 10 23:16:06 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6FA5106564A for ; Wed, 10 Dec 2008 23:16:06 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.188]) by mx1.freebsd.org (Postfix) with ESMTP id 39FF08FC1A for ; Wed, 10 Dec 2008 23:16:05 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so412662tib.3 for ; Wed, 10 Dec 2008 15:16:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :organization:references:x-face:x-uptime:x-url:x-openpgp-id :x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse:x-attribution:date :in-reply-to:message-id:user-agent:face:mime-version:content-type; bh=hLm+lEdpbqh75eZuARUwl/ZgzzIjgQ75BJclPOLYHrc=; b=S6ZMsBcYLvVi61coMjcMnne/x+UFpSal8ar0QTw08lBiscqCdn3l3hcWOnq74P0C5N +2YFUcVlIJACjGprZy2ADRSk1/p7YZyebqjHt4y0aps5iCeVKNupJlJHn+3exZR7qGhI XVYmSrXgUBL8N7+7HqnUvjPjO90lgszoPkub4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-openpgp-id:x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse :x-attribution:date:in-reply-to:message-id:user-agent:face :mime-version:content-type; b=c5BrJd5WLaypE+oAQerAA9+Q19jKKiiNY1zReAC76UPBDpMN5yk/gus/JALtN38ltP adsUUMELdFQvNIwywr2xBGoxiG6BJ3oLTLoHdc6AP62scSZ8PIzJas/6v+xZBUXx0Ma3 2h2RB7GAMo0lKYlukJIeXyJexX1k0/sc1VFV0= Received: by 10.110.103.5 with SMTP id a5mr2704614tic.52.1228950964253; Wed, 10 Dec 2008 15:16:04 -0800 (PST) Received: from chateau.d.lf ([122.161.0.22]) by mx.google.com with ESMTPS id d1sm2602605tid.4.2008.12.10.15.15.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Dec 2008 15:16:02 -0800 (PST) Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiBBc2hpc2ggU2h1a2xh?= From: wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=) To: Dmitry Marakasov Organization: alt.religion.emacs References: <87fxkxjywk.fsf@chateau.d.lf> <20081209143052.GA29817@hades.panopticon> <873agxjn1x.fsf@chateau.d.lf> <20081209181354.GB29817@hades.panopticon> <87tz9di38u.fsf@chateau.d.lf> <20081209222042.GC29817@hades.panopticon> <8763lsi10m.fsf@chateau.d.lf> <20081210181125.GA86341@hades.panopticon> <87zlj3heor.fsf@chateau.d.lf> <20081210223522.GA6367@hades.panopticon> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 04:30:20 up 15:44, 4 users, load average: 0.08, 0.10, 0.09 X-URL: http://wahjava.wordpress.com/ X-OpenPGP-ID: 762E5E74 X-OpenPGP-Fingerprint: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-OS: GNU/Linux on Linux 2.6.25-gentoo-r7 kernel on x86_64 architecture X-Mailer: Gnus/5.13 (Oort 5.13) Emacs/23.0.60.1 (x86_64-pc-linux-gnu) X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Date: Thu, 11 Dec 2008 04:47:48 +0530 In-Reply-To: <20081210223522.GA6367@hades.panopticon> (Dmitry Marakasov's message of "Thu, 11 Dec 2008 01:35:22 +0300") Message-ID: <87vdtrhb6r.fsf@chateau.d.lf> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Dec 2008 23:16:06 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable Dmitry Marakasov writes: [snip] > --- Makefile > PREFIX?=3D /usr/local > DATADIR?=3D ${PREFIX}/share/foo > all: foo > foo: foo.c > cc -DDATAFILE=3D\"${DATADIR}/datafile.dat\" foo.c -o foo > install: foo datafile.dat > install -s foo ${PREFIX}/bin > install -d ${DATADIR} > install datafile.dat ${DATADIR} # Above statements should be changed to: install -s foo ${DESTDIR}${PREFIX}/bin install -d ${DESTDIR}${DATADIR} install datafile.dat ${DESTDIR}${DATADIR} > --- In above case the package list can be created with: $ find ${DESTDIR} -type f |sed -e "s[${DESTDIR}${PREFIX}/[[g" > As you can see, if this is installed with PREFIX=3D/var/tmp/foobar, > then moved to /usr and ran, it won't work, as it has DATAFILE > compiled in as "/var/tmp/foobar/share/foo/datafile.dat" instead of > "/usr/local/share/foo/datafile.dat". > To make it behave as we indend, you'll have to either hack Makefile > to distinguish DESTDIR and PREFIX, or do all installation in port's > Makefile by yourself. > We have around 20k ports, and it will be extremely hard task to > convert them all to such scheme (though afaik configure-based ones > should support this without modifications). The example above is > quite simple, the real life can be much more ugly, I assure. The > worst thing is that we won't be able to test ports automatically, > as the fact the port builds and installs successfully won't mean > that it will run without problems. > I wonder how debian and gentoo get around this problem... I understood what you're trying to say, but you're missing my point, so I'm explaining it in the following example: ,---- Quoting from my earlier example | % sudo make -C /usr/ports/editors/emacs-cvs install | ...checkout from CVS... | ...configuring... | ./configure --prefix=3D${LOCALBASE} <...and other configure options ...> That will compile Emacs with PREFIX=3D${LOCALBASE} (which is /usr/local by default) | ...configuration messages... | ...compilation begins... | make | ...compiling the files... | ...compilation over... | make install DESTDIR=3D/var/tmp/emacs This will install all files into DESTDIR=3D/var/tmp/emacs, with directory structure similar to following: /var/tmp/emacs /usr/local/bin/emacs /usr/local/share/emacs/23.0.60/... etc. | ...files being copied to /var/tmp/emacs directory... | ...package list creation... | ...package list finished...=20 | ...copying files into ${LOCALBASE}... And finally this will copy all files present in /var/tmp/emacs to ${LOCALBASE} for final installation with package we recorded earlier. | ...end copying files... | ...package installed successfully... `---- This is what Debian and Gentoo does. Remember we don't have to pass DESTDIR variable to 'make -C /usr/ports/editors/emacs-cvs' instead it will be passed to the 'gmake' process invoked by port's Makefile. If we pass DESTDIR to port's commandline, then it will install all dependencies in that chroot which is not desired, we simply care about the files installed by that port. Since there're already 20,000 ports we can't do it by default, so we've to hack some knob (like REQUIRES_DYNAMIC_INSTALLATION) which if defined will enable this behaviour. Following are some links: Debian's New Maintainer's Guide http://www.debian.org/doc/maint-guide/ch-modify.en.html#s-destdir Gentoo's Ebuild Quickstart Guide http://devmanual.gentoo.org/quickstart/index.html I hope I'm clear now. Thanks =2D-=20 Ashish Shukla --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklATiEACgkQHy+EEHYuXnThEQCg0j5xVgU1unZTypWrQBTiai4/ JnIAoPI4nBnlB33Ybe/LnKDGSi6XgDC+ =C5pS -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-ports@FreeBSD.ORG Thu Dec 11 08:16:49 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F23031065673 for ; Thu, 11 Dec 2008 08:16:49 +0000 (UTC) (envelope-from akitada@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.190]) by mx1.freebsd.org (Postfix) with ESMTP id 912718FC12 for ; Thu, 11 Dec 2008 08:16:49 +0000 (UTC) (envelope-from akitada@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so546018tib.3 for ; Thu, 11 Dec 2008 00:16:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:from:to :content-type:content-transfer-encoding:x-mailer:mime-version :subject:date:cc; bh=GjsI4yhHHatUsdJXp6OoXW3PzRB6zl5IjRe9L0femLg=; b=CDWw/5uGsU0gOjUtt0/RlIkiVH4upkKmkXPV+ARciQf6DGbxQ20VE2/Wyr5kbcnpXO 8Wm9vgl357BJZ013zqf5MJKLKBB0z0UeUfrpSgCwg0sECWKUvx1Tiqzxs40d5uWUaqvk RXcmCATOwZtL/jD4binpIe6TEsyzrxcZS0Kds= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:from:to:content-type:content-transfer-encoding:x-mailer :mime-version:subject:date:cc; b=Y8vGx4i+7CM4Dj/Zme+czz6NuIHjJ5PacjafgcQCsZBiwnLC3Ttg3kvScmVnKbrIHG k4E98WlegM4SdCFV/watqyWt0e5A0ShTYtKD4E8K0Asz77sBt0rksJi9ZlVXggrWM28/ 2qRVbbCh0Jz1tHGJZZ8rTE2WDOvWpqfgr61wU= Received: by 10.110.47.17 with SMTP id u17mr3320669tiu.43.1228981787619; Wed, 10 Dec 2008 23:49:47 -0800 (PST) Received: from ?126.246.46.126? (pw126246046126.6.tik.panda-world.ne.jp [126.246.46.126]) by mx.google.com with ESMTPS id u8sm3567421tia.28.2008.12.10.23.49.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 10 Dec 2008 23:49:46 -0800 (PST) Message-Id: From: Akira Kitada To: "stas@FreeBSD.org" Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: iPhone Mail (5G77) Mime-Version: 1.0 (iPhone Mail 5G77) Date: Thu, 11 Dec 2008 16:49:38 +0900 Cc: "ports@FreeBSD.org" Subject: FreeBSD Port: omake-0.9.8.1_1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 08:16:50 -0000 Hi, Could you please update omake to the latest veraion? Thanks, From owner-freebsd-ports@FreeBSD.ORG Thu Dec 11 08:23:50 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 77B511065675 for ; Thu, 11 Dec 2008 08:23:50 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id EB4668FC13 for ; Thu, 11 Dec 2008 08:23:49 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LAgpp-00062C-22; Thu, 11 Dec 2008 11:23:49 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 8BD7C1076; Thu, 11 Dec 2008 11:22:34 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 503221702D; Thu, 11 Dec 2008 11:23:25 +0300 (MSK) Date: Thu, 11 Dec 2008 11:23:25 +0300 From: Dmitry Marakasov To: Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Message-ID: <20081211082325.GA6167@hades.panopticon> References: <20081209143052.GA29817@hades.panopticon> <873agxjn1x.fsf@chateau.d.lf> <20081209181354.GB29817@hades.panopticon> <87tz9di38u.fsf@chateau.d.lf> <20081209222042.GC29817@hades.panopticon> <8763lsi10m.fsf@chateau.d.lf> <20081210181125.GA86341@hades.panopticon> <87zlj3heor.fsf@chateau.d.lf> <20081210223522.GA6367@hades.panopticon> <87vdtrhb6r.fsf@chateau.d.lf> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87vdtrhb6r.fsf@chateau.d.lf> User-Agent: Mutt/1.5.18 (2008-05-17) Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 08:23:50 -0000 * Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0= =A4=95=E0=A5=8D=E0=A4=B2 (wahjava.ml@gmail.com) wrote: > This is what Debian and Gentoo does. Remember we don't have to pass > DESTDIR variable to 'make -C /usr/ports/editors/emacs-cvs' instead it > will be passed to the 'gmake' process invoked by port's Makefile. If we I understand. But you're implying that there is Makefile and it supports DESTDIR. As I understand, you're referring to autotools-based ports. Remember, those are less than 1/4 of the collection. > pass DESTDIR to port's commandline, then it will install all > dependencies in that chroot which is not desired, we simply care about > the files installed by that port. Since there're already 20,000 ports w= e > can't do it by default, so we've to hack some knob (like > REQUIRES_DYNAMIC_INSTALLATION) which if defined will enable this > behaviour. So if I understand correctly, you're proposing to only use dynamic plist generation for the ports that support it without modification, i.e. autotools-based? My opinion is that we should support the feature for all ports, or don't support it at all. Only getting rid of ~5k pkg-plists is not a huge accomplishment considering the mess it causes and I doubt it's worth the work on adding the feature to port.mk and then rebuilding and testing all affected ports. Being able to forget about pkg-plists once and forever however would be a huge accomplishment and if that's possible it should be done sooner or later. --=20 Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-ports@FreeBSD.ORG Thu Dec 11 09:01:47 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD2F61065677 for ; Thu, 11 Dec 2008 09:01:46 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.224]) by mx1.freebsd.org (Postfix) with ESMTP id AB3788FC0C for ; Thu, 11 Dec 2008 09:01:46 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so770324rvf.43 for ; Thu, 11 Dec 2008 01:01:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=zKXMiO9jCOOjUEgQqmvIAqnhPYV8m7kQxbBgimXwxWY=; b=yAmztOvFyj1umg9uQOclb7e2JDPddgzH0QUyXJ6KBst2AnYZcaO/+4vKizmNaCR9XU dur3vz3/BcifMNSBcfQZpcqBQf4E6ZkleeynifXEJldp2QZky0YCbqmpNm2xpFjiadnr g4gXzwHD5TbJfHhmf625pmTkvvtM/KC7y5aMc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=BBZxfwVCrwRfqtsFFIjl0F/S8BD/u1ip4md0VaLuWNmtwGXVPoc/5GtTuZaDu9KZ1y NO0kKgmrYHu98/+7vbZUuleSXjvVrURScgNVBcy370viFLO1BzVzQcL4y3ZaDSDOS9WN THGWLhlBY3hyxFe9MNjW/X+EDuSyqD5CcQGDA= Received: by 10.140.225.19 with SMTP id x19mr1164655rvg.121.1228986106459; Thu, 11 Dec 2008 01:01:46 -0800 (PST) Received: by 10.140.158.13 with HTTP; Thu, 11 Dec 2008 01:01:46 -0800 (PST) Message-ID: <7d6fde3d0812110101t1dab2abl9b97945ea1689baa@mail.gmail.com> Date: Thu, 11 Dec 2008 01:01:46 -0800 From: "Garrett Cooper" To: "Dmitry Marakasov" In-Reply-To: <20081211082325.GA6167@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <20081209143052.GA29817@hades.panopticon> <20081209181354.GB29817@hades.panopticon> <87tz9di38u.fsf@chateau.d.lf> <20081209222042.GC29817@hades.panopticon> <8763lsi10m.fsf@chateau.d.lf> <20081210181125.GA86341@hades.panopticon> <87zlj3heor.fsf@chateau.d.lf> <20081210223522.GA6367@hades.panopticon> <87vdtrhb6r.fsf@chateau.d.lf> <20081211082325.GA6167@hades.panopticon> Cc: FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 09:01:47 -0000 T24gVGh1LCBEZWMgMTEsIDIwMDggYXQgMTI6MjMgQU0sIERtaXRyeSBNYXJha2Fzb3YgPGFtZG1p M0BhbWRtaTMucnU+IHdyb3RlOgo+ICogQXNoaXNoIFNodWtsYSDgpIbgpLbgpYDgpLcg4KS24KWB 4KSV4KWN4KSyICh3YWhqYXZhLm1sQGdtYWlsLmNvbSkgd3JvdGU6Cj4KPj4gVGhpcyBpcyB3aGF0 IERlYmlhbiBhbmQgR2VudG9vIGRvZXMuIFJlbWVtYmVyIHdlIGRvbid0IGhhdmUgdG8gcGFzcwo+ PiBERVNURElSIHZhcmlhYmxlIHRvICdtYWtlIC1DIC91c3IvcG9ydHMvZWRpdG9ycy9lbWFjcy1j dnMnIGluc3RlYWQgaXQKPj4gd2lsbCBiZSBwYXNzZWQgdG8gdGhlICdnbWFrZScgcHJvY2VzcyBp bnZva2VkIGJ5IHBvcnQncyBNYWtlZmlsZS4gSWYgd2UKPgo+IEkgdW5kZXJzdGFuZC4gQnV0IHlv dSdyZSBpbXBseWluZyB0aGF0IHRoZXJlIGlzIE1ha2VmaWxlIGFuZCBpdCBzdXBwb3J0cwo+IERF U1RESVIuIEFzIEkgdW5kZXJzdGFuZCwgeW91J3JlIHJlZmVycmluZyB0byBhdXRvdG9vbHMtYmFz ZWQgcG9ydHMuCj4gUmVtZW1iZXIsIHRob3NlIGFyZSBsZXNzIHRoYW4gMS80IG9mIHRoZSBjb2xs ZWN0aW9uLgo+Cj4+IHBhc3MgREVTVERJUiB0byBwb3J0J3MgY29tbWFuZGxpbmUsIHRoZW4gaXQg d2lsbCBpbnN0YWxsIGFsbAo+PiBkZXBlbmRlbmNpZXMgaW4gdGhhdCBjaHJvb3Qgd2hpY2ggaXMg bm90IGRlc2lyZWQsIHdlIHNpbXBseSBjYXJlIGFib3V0Cj4+IHRoZSBmaWxlcyBpbnN0YWxsZWQg YnkgdGhhdCBwb3J0LiBTaW5jZSB0aGVyZSdyZSBhbHJlYWR5IDIwLDAwMCBwb3J0cyB3ZQo+PiBj YW4ndCBkbyBpdCBieSBkZWZhdWx0LCBzbyB3ZSd2ZSB0byBoYWNrIHNvbWUga25vYiAobGlrZQo+ PiBSRVFVSVJFU19EWU5BTUlDX0lOU1RBTExBVElPTikgd2hpY2ggaWYgZGVmaW5lZCB3aWxsIGVu YWJsZSB0aGlzCj4+IGJlaGF2aW91ci4KPgo+IFNvIGlmIEkgdW5kZXJzdGFuZCBjb3JyZWN0bHks IHlvdSdyZSBwcm9wb3NpbmcgdG8gb25seSB1c2UgZHluYW1pYwo+IHBsaXN0IGdlbmVyYXRpb24g Zm9yIHRoZSBwb3J0cyB0aGF0IHN1cHBvcnQgaXQgd2l0aG91dCBtb2RpZmljYXRpb24sCj4gaS5l LiBhdXRvdG9vbHMtYmFzZWQ/Cj4KPiBNeSBvcGluaW9uIGlzIHRoYXQgd2Ugc2hvdWxkIHN1cHBv cnQgdGhlIGZlYXR1cmUgZm9yIGFsbCBwb3J0cywgb3IgZG9uJ3QKPiBzdXBwb3J0IGl0IGF0IGFs bC4gT25seSBnZXR0aW5nIHJpZCBvZiB+NWsgcGtnLXBsaXN0cyBpcyBub3QgYSBodWdlCj4gYWNj b21wbGlzaG1lbnQgY29uc2lkZXJpbmcgdGhlIG1lc3MgaXQgY2F1c2VzIGFuZCBJIGRvdWJ0IGl0 J3Mgd29ydGgKPiB0aGUgd29yayBvbiBhZGRpbmcgdGhlIGZlYXR1cmUgdG8gcG9ydC5tayBhbmQg dGhlbiByZWJ1aWxkaW5nIGFuZAo+IHRlc3RpbmcgYWxsIGFmZmVjdGVkIHBvcnRzLiBCZWluZyBh YmxlIHRvIGZvcmdldCBhYm91dCBwa2ctcGxpc3RzCj4gb25jZSBhbmQgZm9yZXZlciBob3dldmVy IHdvdWxkIGJlIGEgaHVnZSBhY2NvbXBsaXNobWVudCBhbmQgaWYgdGhhdCdzCj4gcG9zc2libGUg aXQgc2hvdWxkIGJlIGRvbmUgc29vbmVyIG9yIGxhdGVyLgo+Cj4gLS0KPiBEbWl0cnkgTWFyYWth c292ICAgLiAgIDU1QjUgMDU5NiBGRjFFIDhEODQgNUY1NiAgOTUxMCBEMzVBIDgwREQgRjlEMiBG NzdECj4gYW1kbWkzQGFtZG1pMy5ydSAgLi46ICBqYWJiZXI6IGFtZG1pM0BqYWJiZXIucnUgICAg aHR0cDovL3d3dy5hbWRtaTMucnUKCkFncmVlZC4gSSd2ZSBjb21lIGFjcm9zcyBtYW55IHBvcnRz IHdoZXJlIGZvbGtzIGhhdmVuJ3Qgd3JpdHRlbgpNYWtlZmlsZXMgcHJvcGVybHkgYW5kIGl0IHJl c3VsdHMgaW4gcHJvYmxlbXMgLgoKTW9zdCBjYXNlcyB5b3UgY2FuIG1ha2UgdGhlIGZvbGxvd2lu ZyBhc3N1bXB0aW9uOiBpZiBhIHBvcnQgY2FuIGJlCmNyb3NzLWNvbXBpbGVkLCBpdCBjYW4gbW9z dCBsaWtlbHkgYmUgaW5zdGFsbGVkIHVuZGVyIGFub3RoZXIKZGVzdGluYXRpb24gZGlyZWN0b3J5 LiBUaGUgY29udmVyc2UgaXMgbm90IG5lY2Vzc2FyaWx5IHRydWUuCgpUaGVzZSBhcmUgaXNzdWVz IHdoaWNoIHNob3VsZCBiZSBkb2N1bWVudGVkIGluIGEgTWFrZWZpbGUgRkFRIGZvcgpldmVyeW9u ZSwgYW5kIHRoaXMgc2hvdWxkIGJlIG5vdGVkIHdoZW5ldmVyIGFuIGlzc3VlIGlzIGZvdW5kIHNv IHRoYXQKZm9sa3MgY2FuIGJlIGVkdWNhdGVkIGFuZCB0aGluZ3MgbGlrZSB0aGlzIGNhbiBiZSBm aXhlZC4KCi1HYXJyZXR0Cg== From owner-freebsd-ports@FreeBSD.ORG Thu Dec 11 10:12:21 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 265D61065672 for ; Thu, 11 Dec 2008 10:12:21 +0000 (UTC) (envelope-from erwin@FreeBSD.org) Received: from pointyhat.freebsd.org (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id 19E1B8FC12 for ; Thu, 11 Dec 2008 10:12:21 +0000 (UTC) (envelope-from erwin@FreeBSD.org) Received: from pointyhat.freebsd.org (localhost [127.0.0.1]) by pointyhat.freebsd.org (8.14.3/8.14.3) with ESMTP id mBBAC8fb072163 for ; Thu, 11 Dec 2008 10:12:08 GMT (envelope-from erwin@pointyhat.freebsd.org) Received: (from erwin@localhost) by pointyhat.freebsd.org (8.14.3/8.14.3/Submit) id mBBAC8h0072162 for ports@FreeBSD.org; Thu, 11 Dec 2008 10:12:08 GMT (envelope-from erwin) Date: Thu, 11 Dec 2008 10:12:08 GMT From: Erwin Lansing Message-Id: <200812111012.mBBAC8h0072162@pointyhat.freebsd.org> To: ports@FreeBSD.org Cc: Subject: INDEX build failed for 6.x X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 10:12:21 -0000 INDEX build failed with errors: Generating INDEX-6 - please wait..pkg_info: not found pkg_info: not found pkg_info: not found pkg_info: not found Done. make_index: phpwebgallery-1.7.2: no entry for /usr/ports/security/pecl-filter make_index: php5-extensions-1.2: no entry for /usr/ports/security/pecl-filter make_index: php5-extensions-1.2: no entry for /usr/ports/security/pecl-filter Committers on the hook: ale flz leeym Most recent CVS update was: U archivers/Makefile U archivers/pecl-zip/Makefile U archivers/php5-zip/Makefile U devel/Makefile U devel/pecl-json/Makefile U devel/php5-json/Makefile U lang/php5/Makefile U lang/php5/Makefile.ext U lang/php5/distinfo U net-p2p/rtorrent/Makefile U security/Makefile U security/pecl-hash/Makefile U security/php5-filter/Makefile U security/php5-hash/Makefile U textproc/p5-RDF-Simple/Makefile U textproc/p5-RDF-Simple/distinfo U textproc/p5-RDF-Simple/pkg-plist From owner-freebsd-ports@FreeBSD.ORG Thu Dec 11 10:20:36 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DFA2106564A for ; Thu, 11 Dec 2008 10:20:36 +0000 (UTC) (envelope-from andrew.w.nosenko@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id D034A8FC0C for ; Thu, 11 Dec 2008 10:20:35 +0000 (UTC) (envelope-from andrew.w.nosenko@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so795248rvf.43 for ; Thu, 11 Dec 2008 02:20:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=Ss2qZ4d8lp5K0pfH3k5ttRcPt0+rHp9kXL5glkxG9Sg=; b=XoANshEmM2ZvqHXB2bDBDuoXh33X7d64FoNogyX9OzwJhGCr2ss5+6TlXAbFK4A84P AdB5nAqY/F1EUSQpUiGDXtH37uftcQ84nno7BRmYmZ3ACJ1VCPiprrTCEYo/YVZMxGRl qx8fc7u5BBmjVvFVSquAvtjzx6++pJkL28Ytw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=sKuISsOh7Br8y5BZdetuTySRdb8EjUqKl+qBPWlCppxCPVIX+j+fi4w1a5x0GIPV1U MUVT1xA4WE4v2HVmoDJCPhrzPaMNPOhAlUKbVSaxqH8Hrg+MpqM+GrOWYD+a9jRjSxbW nEwT+nsL5uy/QAyyYcPS2IB5Uqo+TYpIaRy6Q= Received: by 10.141.175.10 with SMTP id c10mr1195497rvp.46.1228989379679; Thu, 11 Dec 2008 01:56:19 -0800 (PST) Received: by 10.141.18.9 with HTTP; Thu, 11 Dec 2008 01:56:19 -0800 (PST) Message-ID: <6161f3180812110156n43803ee9s88443b6777bd0743@mail.gmail.com> Date: Thu, 11 Dec 2008 11:56:19 +0200 From: "Andrew W. Nosenko" To: "Dmitry Marakasov" In-Reply-To: <20081211082325.GA6167@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 Content-Disposition: inline References: <20081209143052.GA29817@hades.panopticon> <20081209181354.GB29817@hades.panopticon> <87tz9di38u.fsf@chateau.d.lf> <20081209222042.GC29817@hades.panopticon> <8763lsi10m.fsf@chateau.d.lf> <20081210181125.GA86341@hades.panopticon> <87zlj3heor.fsf@chateau.d.lf> <20081210223522.GA6367@hades.panopticon> <87vdtrhb6r.fsf@chateau.d.lf> <20081211082325.GA6167@hades.panopticon> Cc: FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 10:20:36 -0000 T24gVGh1LCBEZWMgMTEsIDIwMDggYXQgMTA6MjMgQU0sIERtaXRyeSBNYXJha2Fzb3YgPGFtZG1p M0BhbWRtaTMucnU+IHdyb3RlOgo+ICogQXNoaXNoIFNodWtsYSDgpIbgpLbgpYDgpLcg4KS24KWB 4KSV4KWN4KSyICh3YWhqYXZhLm1sQGdtYWlsLmNvbSkgd3JvdGU6Cj4KPj4gVGhpcyBpcyB3aGF0 IERlYmlhbiBhbmQgR2VudG9vIGRvZXMuIFJlbWVtYmVyIHdlIGRvbid0IGhhdmUgdG8gcGFzcwo+ PiBERVNURElSIHZhcmlhYmxlIHRvICdtYWtlIC1DIC91c3IvcG9ydHMvZWRpdG9ycy9lbWFjcy1j dnMnIGluc3RlYWQgaXQKPj4gd2lsbCBiZSBwYXNzZWQgdG8gdGhlICdnbWFrZScgcHJvY2VzcyBp bnZva2VkIGJ5IHBvcnQncyBNYWtlZmlsZS4gSWYgd2UKPgo+IEkgdW5kZXJzdGFuZC4gQnV0IHlv dSdyZSBpbXBseWluZyB0aGF0IHRoZXJlIGlzIE1ha2VmaWxlIGFuZCBpdCBzdXBwb3J0cwo+IERF U1RESVIuIEFzIEkgdW5kZXJzdGFuZCwgeW91J3JlIHJlZmVycmluZyB0byBhdXRvdG9vbHMtYmFz ZWQgcG9ydHMuCj4gUmVtZW1iZXIsIHRob3NlIGFyZSBsZXNzIHRoYW4gMS80IG9mIHRoZSBjb2xs ZWN0aW9uLgoKRXhjdXNlIG1lLCBidXQgaGUgcmVmZXJzIG5vdCB0byBhdXRvdG9vbHMtYmFzZWQg cG9ydHMsIGJ1dCB0byBwb3J0cwp0aGF0IGZvbGxvd3MgR05VIENvZGluZyBTdGFuZGFyZHMgKHNl Y3Rpb24gIk1ha2VmaWxlIENvbnZlbnRpb25zIiBpZgptb3JlIHByZWNpb3VzbHkpLgpBdXRvdG9v bHMganVzdCBicmluZ3Mgc3VjaCBzdXBwb3J0IG91dC1vZi10aGUtYm94LgpBbmQsIElNTywgcHJv amVjdHMgdGhhdCB2aW9sYXRlcyB0aGVzZSB0aGluZ3MgaGVhdnksIHNob3VsZCBiZSBmaXhlZCB1 cHN0cmVhbS4KQlRXLCBmcm9tIG15IGV4cGlyaWVuc2UsIHRoZXJlIGFyZSBsaXR0bGUgYW1vdW50 IG9mIHByb2plY3QgdGhhdApkb2Vzbid0IHN1cHBvcnQgREVTVERJUiBvZiBpdCdzIGFuYWxvZy4g IEFuZCBtYW55IG9mIHRoZW0gbWF5IGJlCndvcmtlZCBhcm91bmQgYW55d2F5LgoKLS0gCkFuZHJl dyBXLiBOb3NlbmtvIDxhbmRyZXcudy5ub3NlbmtvQGdtYWlsLmNvbT4K From owner-freebsd-ports@FreeBSD.ORG Thu Dec 11 10:48:10 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E94801065673 for ; Thu, 11 Dec 2008 10:48:10 +0000 (UTC) (envelope-from regisr@pobox.com) Received: from crocoite.regix.info (unknown [IPv6:2001:7a8:313c::1]) by mx1.freebsd.org (Postfix) with ESMTP id 2F8088FC08 for ; Thu, 11 Dec 2008 10:48:09 +0000 (UTC) (envelope-from regisr@pobox.com) Received: from crocoite.regix.info (localhost.regix.info [127.0.0.1]) by crocoite.regix.info (8.14.3/8.14.2) with SMTP id mBBAm7tF020424; Thu, 11 Dec 2008 11:48:07 +0100 (CET) (envelope-from regisr@pobox.com) Date: Thu, 11 Dec 2008 11:48:07 +0100 From: regisr To: magick-developers@imagemagick.org Message-Id: <20081211114807.b23377b2.regisr@pobox.com> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd6.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ports@FreeBSD.org Subject: build problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 10:48:11 -0000 When building ImageMagick-6.4.7-5 on FreeBSD 6.4 I have a build error: /usr/obj/home/ports/graphics/ImageMagick/work/ImageMagick-6.4.7-5/tests/.libs/co nstitute -storagetype double /usr/obj/home/ports/graphics/ImageMagick/work/Image Magick-6.4.7-5/tests/input_truecolor.miff cmy Constitute check failed: 6615/0.0587497/0.843137 FAIL: tests/constitute_double_cmy.sh -- regis From owner-freebsd-ports@FreeBSD.ORG Thu Dec 11 11:36:22 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 423B71065672 for ; Thu, 11 Dec 2008 11:36:22 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id B6A378FC13 for ; Thu, 11 Dec 2008 11:36:21 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LAjq9-0006NT-Cc; Thu, 11 Dec 2008 14:36:21 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 292F712A0; Thu, 11 Dec 2008 14:35:06 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 7C67F1702D; Thu, 11 Dec 2008 14:35:56 +0300 (MSK) Date: Thu, 11 Dec 2008 14:35:56 +0300 From: Dmitry Marakasov To: "Andrew W. Nosenko" Message-ID: <20081211113556.GA7422@hades.panopticon> References: <20081209181354.GB29817@hades.panopticon> <87tz9di38u.fsf@chateau.d.lf> <20081209222042.GC29817@hades.panopticon> <8763lsi10m.fsf@chateau.d.lf> <20081210181125.GA86341@hades.panopticon> <87zlj3heor.fsf@chateau.d.lf> <20081210223522.GA6367@hades.panopticon> <87vdtrhb6r.fsf@chateau.d.lf> <20081211082325.GA6167@hades.panopticon> <6161f3180812110156n43803ee9s88443b6777bd0743@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <6161f3180812110156n43803ee9s88443b6777bd0743@mail.gmail.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 11:36:22 -0000 * Andrew W. Nosenko (andrew.w.nosenko@gmail.com) wrote: > > I understand. But you're implying that there is Makefile and it supports > > DESTDIR. As I understand, you're referring to autotools-based ports. > > Remember, those are less than 1/4 of the collection. > Excuse me, but he refers not to autotools-based ports, but to ports > that follows GNU Coding Standards (section "Makefile Conventions" if > more preciously). > Autotools just brings such support out-of-the-box. > And, IMO, projects that violates these things heavy, should be fixed upstream. > BTW, from my expiriense, there are little amount of project that > doesn't support DESTDIR of it's analog. And many of them may be > worked around anyway. I didn't count or check thoroughfully, but the feeling I've got from my 150+ ports is that no one actually supports it. I may be wrong though. And again, GNU Coding Standards don't cover build systems other than make. Also, it's not even a requirement: "So, we strongly recommend GNU packages support DESTDIR, though it is not an absolute requirement." I agree with that you can't require all upstream maintainers to support this feature. Architecturally this should be completely package manager's problem (i.e. upstream should only provide installation into PREFIX, and may optionally support DESTDIR, and if package manager needs features like that staged install or automatic plist generation, and upstream don't provide it, package manager should take care of it by itself. Tecnically, we may support DESTDIR in all ports. But considering the amount of work required, and increased complexety of everything as a result, I'd stick with static plists without hesitation. See http://lists.freebsd.org/pipermail/freebsd-ports/2006-August/034745.html those are some real examples of complexity and resulting confusion, from first variant of DESTDIR support in ports. Now, when we have one DESTDIR implementation, adding another will likely make some heads explode, just think of variable naming. I'll remind that what we are talking about is automatic plist generation, and I think that this can be done without any hacks like installing a port into intermediate directory before real installation just by logging all writes to the filesystem. This will require no modifications to the ports, very minor modifications to Mk, and will (in theory) work without fail whatever the port will install, also ensuring there're no runaway files (that is, files not listed in plist, or files not installed into DESTDIR for some reason). -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-ports@FreeBSD.ORG Thu Dec 11 13:25:29 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A56591065673 for ; Thu, 11 Dec 2008 13:25:29 +0000 (UTC) (envelope-from erwin@FreeBSD.org) Received: from pointyhat.freebsd.org (pointyhat.freebsd.org [IPv6:2001:4f8:fff6::2b]) by mx1.freebsd.org (Postfix) with ESMTP id 7BED48FC08 for ; Thu, 11 Dec 2008 13:25:29 +0000 (UTC) (envelope-from erwin@FreeBSD.org) Received: from pointyhat.freebsd.org (localhost [127.0.0.1]) by pointyhat.freebsd.org (8.14.3/8.14.3) with ESMTP id mBBDPGrO052390 for ; Thu, 11 Dec 2008 13:25:16 GMT (envelope-from erwin@pointyhat.freebsd.org) Received: (from erwin@localhost) by pointyhat.freebsd.org (8.14.3/8.14.3/Submit) id mBBDPGSF052386 for ports@FreeBSD.org; Thu, 11 Dec 2008 13:25:16 GMT (envelope-from erwin) Date: Thu, 11 Dec 2008 13:25:16 GMT From: Erwin Lansing Message-Id: <200812111325.mBBDPGSF052386@pointyhat.freebsd.org> To: ports@FreeBSD.org Cc: Subject: INDEX now builds successfully on 6.x X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 13:25:29 -0000 From owner-freebsd-ports@FreeBSD.ORG Thu Dec 11 13:27:41 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31D6D1065672 for ; Thu, 11 Dec 2008 13:27:41 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (adsl-63-193-123-122.dsl.snfc21.pacbell.net [63.193.123.122]) by mx1.freebsd.org (Postfix) with ESMTP id 038478FC12 for ; Thu, 11 Dec 2008 13:27:40 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.3/8.14.3) with ESMTP id mBBDRead002332; Thu, 11 Dec 2008 05:27:40 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.3/8.14.3/Submit) id mBBDReA3002331; Thu, 11 Dec 2008 05:27:40 -0800 (PST) (envelope-from david) Date: Thu, 11 Dec 2008 05:27:40 -0800 From: David Wolfskill To: regisr Message-ID: <20081211132740.GN60731@albert.catwhisker.org> References: <20081211114807.b23377b2.regisr@pobox.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="D5HQcwfjqNcvOcn2" Content-Disposition: inline In-Reply-To: <20081211114807.b23377b2.regisr@pobox.com> User-Agent: Mutt/1.4.2.3i Cc: ports@freebsd.org, magick-developers@imagemagick.org Subject: Re: [ImageMagick] build problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 13:27:41 -0000 --D5HQcwfjqNcvOcn2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Dec 11, 2008 at 11:48:07AM +0100, regisr wrote: > When building ImageMagick-6.4.7-5 on FreeBSD 6.4 I have a build error: >=20 > /usr/obj/home/ports/graphics/ImageMagick/work/ImageMagick-6.4.7-5/tests/.= libs/co > nstitute -storagetype > double /usr/obj/home/ports/graphics/ImageMagick/work/Image > Magick-6.4.7-5/tests/input_truecolor.miff cmy Constitute check failed: > 6615/0.0587497/0.843137 FAIL: tests/constitute_double_cmy.sh For what it's worth, I did not encounter this. Running on: FreeBSD g1-35.catwhisker.org 6.4-STABLE FreeBSD 6.4-STABLE #659: Thu Dec 11= 05:01:52 PST 2008 root@g1-35.catwhisker.org:/common/S1/obj/usr/src/sys= /CANARY i386 I ran "portmaster -ad" and: =3D=3D=3D>>> Upgrade of ImageMagick-6.4.5.5 to ImageMagick-6.4.7.5 succeeded Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --D5HQcwfjqNcvOcn2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklBFUsACgkQmprOCmdXAD3WRACfUt79ojRq0CLTILhQPHlLUil9 8gMAnRWkaBIQRYYqSiRuipP35JOeecNo =i3Vm -----END PGP SIGNATURE----- --D5HQcwfjqNcvOcn2-- From owner-freebsd-ports@FreeBSD.ORG Thu Dec 11 14:08:44 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C127C106564A for ; Thu, 11 Dec 2008 14:08:44 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.226]) by mx1.freebsd.org (Postfix) with ESMTP id 683578FC0C for ; Thu, 11 Dec 2008 14:08:44 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so875441rvf.43 for ; Thu, 11 Dec 2008 06:08:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :organization:references:x-face:x-uptime:x-url:x-openpgp-id :x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse:x-attribution:date :in-reply-to:message-id:user-agent:face:mime-version:content-type; bh=tclN32mR73ens/0YiRvKGPsRaRBJhazvX4j69sMTSoc=; b=FWb0agz0VgD3tp54+JTiHyj7Q5SH9I9emAF7taJudM8OTnIA+XqpsNgqz6225AHiVg Vw7QC0LHoDICw2BaJhqFN00go0PEa5ayNLmwty23VArsXt0TrJi0MUhNtkWXcVtWBfCx UeLzaz+daMWDtFiCuKJwQKzaeXyuEbj8oiF+E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-openpgp-id:x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse :x-attribution:date:in-reply-to:message-id:user-agent:face :mime-version:content-type; b=LRyBIWpSIPInD5YpepfhOTLAxb3KaufEktvrR0wGVu7H1TeLHHXXVyu12+QVuuioVC ZLjCo0cLSYzPZ1qGh0jTBeyMiAMyJn+NHpUv3Y+KKZGT23sfO/k2xltrSnlAdAV3J/Ig 6zvn2c8BaFYrax1D7d4+Gk4bbBjUY7I4UAQcg= Received: by 10.141.18.15 with SMTP id v15mr1292810rvi.197.1229004524143; Thu, 11 Dec 2008 06:08:44 -0800 (PST) Received: from chateau.d.lf ([122.163.146.84]) by mx.google.com with ESMTPS id g22sm1007826rvb.1.2008.12.11.06.08.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 11 Dec 2008 06:08:41 -0800 (PST) Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiBBc2hpc2ggU2h1a2xh?= From: wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=) To: Dmitry Marakasov Organization: alt.religion.emacs References: <20081209181354.GB29817@hades.panopticon> <87tz9di38u.fsf@chateau.d.lf> <20081209222042.GC29817@hades.panopticon> <8763lsi10m.fsf@chateau.d.lf> <20081210181125.GA86341@hades.panopticon> <87zlj3heor.fsf@chateau.d.lf> <20081210223522.GA6367@hades.panopticon> <87vdtrhb6r.fsf@chateau.d.lf> <20081211082325.GA6167@hades.panopticon> <6161f3180812110156n43803ee9s88443b6777bd0743@mail.gmail.com> <20081211113556.GA7422@hades.panopticon> X-Face: )vGQ9yK7Y$Flebu1C>(B\gYBm)[$zfKM+p&TT[[JWl6:]S>cc$%-z7-`46Zf0B*syL.C]oCq[upTG~zuS0.$"_%)|Q@$hA=9{3l{%u^h3jJ^Zl; t7 X-Uptime: 19:22:54 up 3:28, 2 users, load average: 0.14, 0.05, 0.01 X-URL: http://wahjava.wordpress.com/ X-OpenPGP-ID: 762E5E74 X-OpenPGP-Fingerprint: 1E00 4679 77E4 F8EE 2E4B 56F2 1F2F 8410 762E 5E74 X-OS: GNU/Linux on Linux 2.6.25-gentoo-r7 kernel on x86_64 architecture X-Mailer: Gnus/5.13 (Oort 5.13) Emacs/23.0.60.1 (x86_64-pc-linux-gnu) X-Mail-Morse: .-- .- .... .--- .- ...- .- .--.-. --. -- .- .. .-.. .-.-.- -.-. --- -- X-Attribution: =?utf-8?B?4KSG4KS24KWA4KS3?= Date: Thu, 11 Dec 2008 19:40:39 +0530 In-Reply-To: <20081211113556.GA7422@hades.panopticon> (Dmitry Marakasov's message of "Thu, 11 Dec 2008 14:35:56 +0300") Message-ID: <87vdtqls4g.fsf@chateau.d.lf> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJ1BMVEWpqal/f39tbW1jY2Md HR2goKCenp6UlJROTk7////9/f35+fnT09ORJdieAAACVklEQVQ4jXXUP2vbQBQA8AvUTkgz5OzY Z0iGWhpS6BSrkECn0mvx0MEJ6AjtYrfoBCVDlD8naJYmNlRfwZq8+mkKlIZaGpJSYmP7Q/XkJDrJ Td8i/H68u3vHPaPufwLdf32AMA4A6GcAgvAamY1pOJiDIFqicTwLswDhfr3uxfFtkAY/GFHPMwzD 8zpnACmIOnE6js7rQb+v4NJrG9od0C+QgpHMy5jBewV+UDSMWiw1Y4fWfyV7+NGFzDsYa3pth9LJ Q4XvXxFHcJRvHOmygn5NAEabnDcQQguarnfoiwSCJ99jmKKcphsZONmWsDK9Ro7cvZOCtQdg8nje egLhc2LNlkLmsezzTFUUy5w18ocox/f0LaLgJy0zO75zk+9pp85GAj36xjqhdI0y3tq2m4dqqcWX zQWBTz8L1irvolXV4J+3q7eCDgVnttjNq6X8H+9KOZsuNk1uCzx8pSp+E9HImfJOTLdcGqo+YKnG EIovizkEn48V7BO+ch2DXcD4ENSpWiU+q8hjjbgTBZCXnZtyj0Ws4Q1Q0B2WXFtYZo65Bbyeeldw RS6qFueM80LlLA29YlVwGRYvFD+kwI/0O+A2PlpOP9GwslUVciHuYGechuBTp922YiDZCrghTknm XSyOM+D3aoRZlo0Jb42zY7DN4p2x4AeZ+QAYutx1sHwTHzMT5cMNduQ9yW3GczN4KZ86kb0c9O8T yXDeFqpl2fryPEAYGXIlezAPXYh2NgVr/gvdoHIuDwuPwOhcWE8f8mmICq41eATkn8x0kuRTIKcB wE9+/QUtiiAnYcaN7wAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: FreeBSD Ports Mailing List , "Andrew W. Nosenko" Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 14:08:44 -0000 --=-=-= Content-Transfer-Encoding: quoted-printable Dmitry Marakasov writes: > * Andrew W. Nosenko (andrew.w.nosenko@gmail.com) wrote: >> > I understand. But you're implying that there is Makefile and it suppor= ts >> > DESTDIR. As I understand, you're referring to autotools-based ports. >> > Remember, those are less than 1/4 of the collection. >> Excuse me, but he refers not to autotools-based ports, but to ports >> that follows GNU Coding Standards (section "Makefile Conventions" if >> more preciously). >> Autotools just brings such support out-of-the-box. >> And, IMO, projects that violates these things heavy, should be fixed ups= tream. >> BTW, from my expiriense, there are little amount of project that >> doesn't support DESTDIR of it's analog. And many of them may be >> worked around anyway. Yes, I meant that only. > I didn't count or check thoroughfully, but the feeling I've got > from my 150+ ports is that no one actually supports it. I may be > wrong though. > And again, GNU Coding Standards don't cover build systems other > than make. Also, it's not even a requirement: "So, we strongly > recommend GNU packages support DESTDIR, though it is not an absolute > requirement." > I agree with that you can't require all upstream maintainers to > support this feature. Architecturally this should be completely > package manager's problem (i.e. upstream should only provide > installation into PREFIX, and may optionally support DESTDIR, and > if package manager needs features like that staged install or > automatic plist generation, and upstream don't provide it, package > manager should take care of it by itself. > Tecnically, we may support DESTDIR in all ports. But considering > the amount of work required, and increased complexety of everything > as a result, I'd stick with static plists without hesitation. Yes, that is why I mentioned having a variable which enables this behaviour, by default it is disabled. I mean ports which are okay with providing static plists are fine, but ports which aren't predictable with what files are going to installed can go with this dynamic plist support, where ports infrastructure will only help in generating a plist from an already setup directory tree (/var/tmp/${portname}), now it is maintainer's responsibility to make sure that all files will be installed in /var/tmp/${portname} which {s,}he can do by either using 'make install DESTDIR=3D/var/tmp/${portname}' or something similar if supported by port's upstream or {s,}he has to add installation commands in ports Makefile rather than going with upstream's way of installing things. > See > http://lists.freebsd.org/pipermail/freebsd-ports/2006-August/034745.html > those are some real examples of complexity and resulting confusion, > from first variant of DESTDIR support in ports. Now, when we have > one DESTDIR implementation, adding another will likely make some heads > explode, just think of variable naming. The DESTDIR issue in above link refers to the DESTDIR support[1] present in FreeBSD Ports system, and the one which I'm talking about has nothing to do with that. > I'll remind that what we are talking about is automatic plist generation, > and I think that this can be done without any hacks like installing a > port into intermediate directory before real installation just by > logging all writes to the filesystem.=20 Yes that intermediate directory is what DESTDIR is. And if you're capable of logging all writes in the DESTDIR, then its cool, but remember you're also talking about installing port in an intermediate directory. After the port gets installed in intermediate directory, the plist can be generated with your filesystem writes logger component or a well tested version of following simply command line: % find /var/tmp/${PORTNAME} -type f |sed -e \ "s[/var/tmp/${PORTNAME}${PREFIX}/[[g" > plist.tmp HTH =2D-=20 Ashish Shukla --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAklBH2MACgkQHy+EEHYuXnT53ACfVSmMJprUpT9LFW/HzyXls92S nCMAoMLXJn8WLaXjtv1zk0JO5sUa5Vad =/Xk2 -----END PGP SIGNATURE----- --=-=-=-- From owner-freebsd-ports@FreeBSD.ORG Thu Dec 11 14:29:29 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1301E1065677 for ; Thu, 11 Dec 2008 14:29:29 +0000 (UTC) (envelope-from anatoli.marinov@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.29]) by mx1.freebsd.org (Postfix) with ESMTP id B98E98FC08 for ; Thu, 11 Dec 2008 14:29:28 +0000 (UTC) (envelope-from anatoli.marinov@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so441021yxb.13 for ; Thu, 11 Dec 2008 06:29:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=DX4JFqs+Yv5WAUIPkb09FeMUm7EyUBRE4e+/7JJla/Q=; b=sNysQDUP+w7S1pu+1+pxFfjpxQzqYc60f0w9ucKCGRp9bMLt4M6838R1DbmiZtBB0D 5ms3CSZ9JwVI+INa1d4CZhyNd9UuwyUexzN38TjfWMYfCtTxMYC8eRUgH5gwMVoXdkhq fTQWimHblW3DQAc+BrMX60Dh6tUsG9s3pVrtE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=ThEf7wm8W+TJPnd1VlXThES7vZ/etIPVfUigAubzbUQDDN3cDBXDky+qm+FI9LSQYB BY7AHUWnFBVyji5Ua58SZqIs5tbMwlHHUfxWZud+seX3PdE43A8tZHfEFDbSi5rfOGTF LKk75BDS+hLS2unONaz4UuyyxprC4Yw4zkDxQ= Received: by 10.151.148.2 with SMTP id a2mr4324007ybo.49.1229003849188; Thu, 11 Dec 2008 05:57:29 -0800 (PST) Received: by 10.150.139.16 with HTTP; Thu, 11 Dec 2008 05:57:29 -0800 (PST) Message-ID: Date: Thu, 11 Dec 2008 15:57:29 +0200 From: "Anatoli Marinov" To: freebsd-ports@freebsd.org In-Reply-To: MIME-Version: 1.0 References: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: latest asterisk and zaptel and app meeatme X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 14:29:29 -0000 Guys, I have the latest ports from yesterday - asterisk 1.4.22 and zaptel 1.4.11, FreeBSD 7.1 PRE My server uses app_meatme for our conferences. The there is an issue with latest software. When I tried to enter in the conference i got: -- Executing [13003@incomingInternal:1] Ringing("SIP/3004-28713000", "") in new stack -- Executing [13003@incomingInternal:2] Wait("SIP/3004-28713000", "3") in new stack -- Executing [13003@incomingInternal:3] MeetMe("SIP/3004-28713000", "13003|Mpcid") in new stack -- Created MeetMe conference 1023 for conference '13003' -- Recording -- Playing 'vm-rec-name' (language 'en') -- Playing 'beep' (language 'en') -- x=0, open writing: /var/spool/asterisk/meetme/meetme-username-13003-1 format: sln, 0x28b3e200 -- User ended message by pressing # -- Playing 'auth-thankyou' (language 'en') -- Playing 'vm-review' (language 'en') -- Playing 'vm-msgsaved' (language 'en') -- Playing 'conf-onlyperson' (language 'en') [Dec 11 15:52:28] WARNING[57181]: app_meetme.c:1621 conf_run: Unable to set flags: Inappropriate ioctl for device And the application fails.... At this line there is a new fdset for ASYNC socket I commented these lines there and now I have the application running but I am not sure this is correct. is there another solution? Thanks in advance Anatoli Marinov From owner-freebsd-ports@FreeBSD.ORG Thu Dec 11 15:07:30 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F387D1065675 for ; Thu, 11 Dec 2008 15:07:29 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmmtao104.cox.net (eastrmmtao104.cox.net [68.230.240.46]) by mx1.freebsd.org (Postfix) with ESMTP id 9C1E98FC21 for ; Thu, 11 Dec 2008 15:07:29 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from eastrmimpo01.cox.net ([68.1.16.119]) by eastrmmtao104.cox.net (InterMail vM.7.08.02.01 201-2186-121-102-20070209) with ESMTP id <20081211150728.WXGV27943.eastrmmtao104.cox.net@eastrmimpo01.cox.net>; Thu, 11 Dec 2008 10:07:28 -0500 Received: from localhost ([68.103.159.188]) by eastrmimpo01.cox.net with bizsmtp id pr7U1a00C44AlM802r7UEb; Thu, 11 Dec 2008 10:07:29 -0500 X-Authority-Analysis: v=1.0 c=1 a=RhQ5P_Oq81AA:10 a=oXpUwwDD9DcA:10 a=6I5d2MoRAAAA:8 a=4D-6W_xsE9UZr8E66BwA:9 a=Y2HxRLq5fjrgDM2-k8AA:7 a=pPRqEpxM324Dc3zXV59uBt_srzMA:4 a=f2IwZXmo1fMA:10 a=MSl-tDqOz04A:10 a=4vB-4DCPJfMA:10 a=SV7veod9ZcQA:10 a=LY0hPdMaydYA:10 X-CM-Score: 0.00 Date: Thu, 11 Dec 2008 09:07:16 -0600 To: "Dmitry Marakasov" From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <20081209143052.GA29817@hades.panopticon> <873agxjn1x.fsf@chateau.d.lf> <20081209181354.GB29817@hades.panopticon> <87tz9di38u.fsf@chateau.d.lf> <20081209222042.GC29817@hades.panopticon> <8763lsi10m.fsf@chateau.d.lf> <20081210181125.GA86341@hades.panopticon> <87zlj3heor.fsf@chateau.d.lf> <20081210223522.GA6367@hades.panopticon> <87vdtrhb6r.fsf@chateau.d.lf> <20081211082325.GA6167@hades.panopticon> Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <20081211082325.GA6167@hades.panopticon> User-Agent: Opera Mail/9.62 (Linux) Cc: FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 15:07:30 -0000 On Thu, 11 Dec 2008 02:23:25 -0600, Dmitry Marakasov wrote: > * Ashish Shukla āĪ†āĪķāĨ€āĪ· āĪķāĨāĪ•āĨāĪē (wahjava.ml@gmail.com) wrote: > >> This is what Debian and Gentoo does. Remember we don't have to pass >> DESTDIR variable to 'make -C /usr/ports/editors/emacs-cvs' instead it >> will be passed to the 'gmake' process invoked by port's Makefile. If we > > I understand. But you're implying that there is Makefile and it supports > DESTDIR. As I understand, you're referring to autotools-based ports. > Remember, those are less than 1/4 of the collection. > >> pass DESTDIR to port's commandline, then it will install all >> dependencies in that chroot which is not desired, we simply care about >> the files installed by that port. Since there're already 20,000 ports we >> can't do it by default, so we've to hack some knob (like >> REQUIRES_DYNAMIC_INSTALLATION) which if defined will enable this >> behaviour. > > So if I understand correctly, you're proposing to only use dynamic > plist generation for the ports that support it without modification, > i.e. autotools-based? > > My opinion is that we should support the feature for all ports, or don't > support it at all. Only getting rid of ~5k pkg-plists is not a huge > accomplishment considering the mess it causes and I doubt it's worth > the work on adding the feature to port.mk and then rebuilding and > testing all affected ports. Being able to forget about pkg-plists > once and forever however would be a huge accomplishment and if that's > possible it should be done sooner or later. I object on get rid of pkg-plist. I depend on pkg-plist too much. I think it's important for us to keep on track where the files/directories are. Cheers, Mezz -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org From owner-freebsd-ports@FreeBSD.ORG Thu Dec 11 16:53:29 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79A781065670 for ; Thu, 11 Dec 2008 16:53:29 +0000 (UTC) (envelope-from rodrigo.furb@gmail.com) Received: from mail-bw0-f14.google.com (mail-bw0-f14.google.com [209.85.218.14]) by mx1.freebsd.org (Postfix) with ESMTP id 099B78FC08 for ; Thu, 11 Dec 2008 16:53:28 +0000 (UTC) (envelope-from rodrigo.furb@gmail.com) Received: by bwz7 with SMTP id 7so2176557bwz.19 for ; Thu, 11 Dec 2008 08:53:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:mime-version:content-type; bh=QsRb2rZwC8q+GuFywmiE0yq7oL6oKhOMMwftBeabRmw=; b=EkbKwuIVqegVvifIUSFODwcKxS5gYqBp+uLd4h0QZJqWW71MU2n0oWKIzJDQ4xxky9 nINXpTTiNtnndh4k1/IUD9LhAbzALYepOX0GKhNmybhgo917rl4J2D82WyA0bPR6Eija kVdLofnsigBvmiPFm77WRmfgWa+1k+s3TlEpY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:mime-version:content-type; b=wrvy1PobFVR9bwowRgQkMEc6UH0Dg/x4ZR4RpblJj4bxFD87zyCq8aOj4F0swj8bXP hjG0LaQeGzj6MDV4sGlDRGGjOsMIwaGXlkslzU9lJuSCiFcvggotTkc+offEt8lUPCAT osxuYgibW1dA11kQoz2r9Ntzq1WgJ2DEDiZTQ= Received: by 10.181.234.5 with SMTP id l5mr920503bkr.124.1229012175968; Thu, 11 Dec 2008 08:16:15 -0800 (PST) Received: by 10.180.245.18 with HTTP; Thu, 11 Dec 2008 08:16:15 -0800 (PST) Message-ID: <9cf03db80812110816hf0b7dadg6a6ebe53636ac4b@mail.gmail.com> Date: Thu, 11 Dec 2008 14:16:15 -0200 From: "=?ISO-8859-1?Q?Rodrigo_M=FCller?=" To: sobomax@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: ports@freebsd.org Subject: FreeBSD Port: zaptel-1.4.11 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 16:53:29 -0000 Hello, I recently installed the new version of zaptel-bsd (1.4.11), and noticed that the module wcfxo no longer exists. Is there a way to set up a card X100P Clone with this version of zaptel? I'm using FreeBSD 7.0 Thank you very much, Rodrigo M=FCller From owner-freebsd-ports@FreeBSD.ORG Thu Dec 11 18:34:49 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D80DC106564A for ; Thu, 11 Dec 2008 18:34:49 +0000 (UTC) (envelope-from beckman@angryox.com) Received: from nog.angryox.com (nog.angryox.com [70.164.19.87]) by mx1.freebsd.org (Postfix) with ESMTP id B71048FC1C for ; Thu, 11 Dec 2008 18:34:49 +0000 (UTC) (envelope-from beckman@angryox.com) Received: by nog.angryox.com (Postfix, from userid 1001) id 371552C3AFD; Thu, 11 Dec 2008 18:15:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nog.angryox.com (Postfix) with ESMTP id 361F72C3AF9 for ; Thu, 11 Dec 2008 13:15:41 -0500 (EST) Date: Thu, 11 Dec 2008 13:15:41 -0500 From: Peter Beckman To: ports@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Cc: Subject: net/asterisk: b2bua.org down, patch fails X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 18:34:49 -0000 Tried to upgrade asterisk today: ===> Found saved configuration for asterisk-1.4.22 => asterisk-1.4.22-codec-negotiation-20081110.diff.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://b2bua.org/chrome/site/. fetch: http://b2bua.org/chrome/site/asterisk-1.4.22-codec-negotiation-20081110.diff.gz: Internal Server Error => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/asterisk-1.4.22-codec-negotiation-20081110.diff.gz: File unavailable (e.g., file not found, no access) => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. Then with codec-negotiation patch turned off: ===> Found saved configuration for asterisk-1.4.22 ===> Extracting for asterisk-1.4.22 => MD5 Checksum OK for asterisk-1.4.22.tar.gz. => SHA256 Checksum OK for asterisk-1.4.22.tar.gz. /bin/mkdir -p /usr/ports/net/asterisk/work/asterisk-1.4.22/codecs/ilbc /usr/bin/find /usr/ports/net/asterisk/work/asterisk-1.4.22 -name '*.d' -delete ===> Patching for asterisk-1.4.22 ===> Applying extra patch /usr/ports/net/asterisk/files/nocodecnego-patch-Makefile ===> Applying extra patch /usr/ports/net/asterisk/files/dtmf_debug.diff ===> Applying extra patch /usr/ports/net/asterisk/files/feature_disconnect.diff ===> Applying extra patch /usr/ports/net/asterisk/files/sip_force_callid.diff ===> Applying extra patch /usr/ports/net/asterisk/files/sip_set_auth.diff ===> Applying extra patch /usr/ports/net/asterisk/files/rtp_force_dtmf-nocodecnego.diff 1 out of 1 hunks failed--saving rejects to configs/sip.conf.sample.rej Looks like the sip.conf.sample changed in the slightest of ways: -; See doc/README.tos for a description of these parameters. +; See doc/ip-tos.txt for a description of these parameters. Even then, it doesn't compile... cc -o chan_dahdi.o -c chan_dahdi.c -D_THREAD_SAFE -pthread -I/usr/ports/net/asterisk/work/asterisk-1.4.22/include -O2 -fno-strict-aliasing -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -include /usr/ports/net/asterisk/work/asterisk-1.4.22/include/asterisk/autoconfig.h -I/usr/local/include -fPIC -DAST_MODULE=\"chan_dahdi\" -MD -MT chan_dahdi.o -MF .chan_dahdi.o.d -MP chan_dahdi.c: In function `get_alarms': chan_dahdi.c:3693: error: structure has no member named `chan_alarms' gmake[1]: *** [chan_dahdi.o] Error 1 gmake[1]: Leaving directory `/usr/ports/net/asterisk/work/asterisk-1.4.22/channels' gmake: *** [channels] Error 2 --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman@angryox.com http://www.angryox.com/ --------------------------------------------------------------------------- From owner-freebsd-ports@FreeBSD.ORG Thu Dec 11 18:44:50 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46DBD1065670 for ; Thu, 11 Dec 2008 18:44:50 +0000 (UTC) (envelope-from beckman@angryox.com) Received: from nog.angryox.com (nog.angryox.com [70.164.19.87]) by mx1.freebsd.org (Postfix) with ESMTP id 257A38FC27 for ; Thu, 11 Dec 2008 18:44:50 +0000 (UTC) (envelope-from beckman@angryox.com) Received: by nog.angryox.com (Postfix, from userid 1001) id 239432C3B48; Thu, 11 Dec 2008 18:28:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nog.angryox.com (Postfix) with ESMTP id 20D6B2C3B47 for ; Thu, 11 Dec 2008 13:28:01 -0500 (EST) Date: Thu, 11 Dec 2008 13:28:01 -0500 From: Peter Beckman To: freebsd-ports@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: net/asterisk: b2bua.org down, patch fails X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 18:44:50 -0000 Tried to upgrade asterisk today: ===> Found saved configuration for asterisk-1.4.22 => asterisk-1.4.22-codec-negotiation-20081110.diff.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from http://b2bua.org/chrome/site/. fetch: http://b2bua.org/chrome/site/asterisk-1.4.22-codec-negotiation-20081110.diff.gz: Internal Server Error => Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/. fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/asterisk-1.4.22-codec-negotiation-20081110.diff.gz: File unavailable (e.g., file not found, no access) => Couldn't fetch it - please try to retrieve this => port manually into /usr/ports/distfiles/ and try again. Then with codec-negotiation patch turned off: ===> Found saved configuration for asterisk-1.4.22 ===> Extracting for asterisk-1.4.22 => MD5 Checksum OK for asterisk-1.4.22.tar.gz. => SHA256 Checksum OK for asterisk-1.4.22.tar.gz. /bin/mkdir -p /usr/ports/net/asterisk/work/asterisk-1.4.22/codecs/ilbc /usr/bin/find /usr/ports/net/asterisk/work/asterisk-1.4.22 -name '*.d' -delete ===> Patching for asterisk-1.4.22 ===> Applying extra patch /usr/ports/net/asterisk/files/nocodecnego-patch-Makefile ===> Applying extra patch /usr/ports/net/asterisk/files/dtmf_debug.diff ===> Applying extra patch /usr/ports/net/asterisk/files/feature_disconnect.diff ===> Applying extra patch /usr/ports/net/asterisk/files/sip_force_callid.diff ===> Applying extra patch /usr/ports/net/asterisk/files/sip_set_auth.diff ===> Applying extra patch /usr/ports/net/asterisk/files/rtp_force_dtmf-nocodecnego.diff 1 out of 1 hunks failed--saving rejects to configs/sip.conf.sample.rej Looks like the sip.conf.sample changed in the slightest of ways: -; See doc/README.tos for a description of these parameters. +; See doc/ip-tos.txt for a description of these parameters. Even then, it doesn't compile... cc -o chan_dahdi.o -c chan_dahdi.c -D_THREAD_SAFE -pthread -I/usr/ports/net/asterisk/work/asterisk-1.4.22/include -O2 -fno-strict-aliasing -pipe -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -g3 -include /usr/ports/net/asterisk/work/asterisk-1.4.22/include/asterisk/autoconfig.h -I/usr/local/include -fPIC -DAST_MODULE=\"chan_dahdi\" -MD -MT chan_dahdi.o -MF .chan_dahdi.o.d -MP chan_dahdi.c: In function `get_alarms': chan_dahdi.c:3693: error: structure has no member named `chan_alarms' gmake[1]: *** [chan_dahdi.o] Error 1 gmake[1]: Leaving directory `/usr/ports/net/asterisk/work/asterisk-1.4.22/channels' gmake: *** [channels] Error 2 --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman@angryox.com http://www.angryox.com/ --------------------------------------------------------------------------- From owner-freebsd-ports@FreeBSD.ORG Thu Dec 11 22:23:56 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 59F001065673 for ; Thu, 11 Dec 2008 22:23:56 +0000 (UTC) (envelope-from njm@njm.me.uk) Received: from smtp004.apm-internet.net (smtp004.apm-internet.net [85.119.248.54]) by mx1.freebsd.org (Postfix) with SMTP id BE28C8FC52 for ; Thu, 11 Dec 2008 22:23:55 +0000 (UTC) (envelope-from njm@njm.me.uk) Received: (qmail 37615 invoked from network); 11 Dec 2008 21:57:13 -0000 Received: from unknown (HELO titania.njm.me.uk) (86.129.204.56) by smtp004.apm-internet.net with SMTP; 11 Dec 2008 21:57:13 -0000 Received: from titania.njm.me.uk (localhost [127.0.0.1]) by titania.njm.me.uk (8.14.3/8.14.3) with ESMTP id mBBLvCBo043335; Thu, 11 Dec 2008 21:57:12 GMT (envelope-from njm@njm.me.uk) Received: (from njm@localhost) by titania.njm.me.uk (8.14.3/8.14.3/Submit) id mBBLvCCR043334; Thu, 11 Dec 2008 21:57:12 GMT (envelope-from njm@njm.me.uk) Date: Thu, 11 Dec 2008 21:57:12 +0000 From: "N.J. Mann" To: Dmitry Marakasov Message-ID: <20081211215712.GA72408@titania.njm.me.uk> Mail-Followup-To: Dmitry Marakasov , freebsd-ports@freebsd.org References: <20081202201610.GA8753@atarininja.org> <20081203131234.GD70240@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081203131234.GD70240@hades.panopticon> X-Operating-System: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18cvs (2008-07-02) Cc: freebsd-ports@freebsd.org Subject: Re: Proposal: mechanism for local patches X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2008 22:23:57 -0000 In message <20081203131234.GD70240@hades.panopticon>, Dmitry Marakasov (amdmi3@amdmi3.ru) wrote: > * G. Paul Ziemba (pz-freebsd-ports@ziemba.us) wrote: [...] > > > 2. I'm not sure we need the test for *.orig|*.rej|*~|*,v, but it > > wouldn't hurt. Maybe it helps admins who are actively developing > > local patches. I see that it's in the existing do-patch code above. > > I suppose that check was done to help to detect patching failures, so it > may be removed. I've just been trying out your patch and I think from an organisational point of view it is very good. What I mean by this is that with the patch I am now able to keep my local patches completely separate from the official, FreeBSD patches. No more backing up the whole of /usr/ports just in case I have a private patch in there somewhere. Now I just need to backup /usr/ports.localpatchdir (which is what I called the directory LOCAPATCHDIR points to). However, please consider putting back in the test for *.orig and *~ files. That way one can be actively be hacking on a patch without having to keep deleting editor backup files, which you may not wish to delete anyway, before attempting another build. In my case I see no need to skip *.rej and *,v files, but others may have a need for them. I hope some form of your patch gets into the tree once 7.1 ships. Cheers, Nick. -- From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 01:25:38 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09A24106564A; Fri, 12 Dec 2008 01:25:38 +0000 (UTC) (envelope-from jpedras@webvolution.net) Received: from ned.webvolution.net (ned.webvolution.net [198.144.205.115]) by mx1.freebsd.org (Postfix) with ESMTP id BBDDF8FC0C; Fri, 12 Dec 2008 01:25:37 +0000 (UTC) (envelope-from jpedras@webvolution.net) Received: from it-251.portrait.moc (sail.portrait.com [66.201.48.146] (may be forged)) (authenticated bits=0) by ned.webvolution.net (8.14.2/8.14.2) with ESMTP id mBC1915h012236 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 11 Dec 2008 17:09:06 -0800 (PST) (envelope-from jpedras@webvolution.net) Message-ID: <4941B9BC.2060508@webvolution.net> Date: Thu, 11 Dec 2008 17:09:16 -0800 From: Joao Pedras User-Agent: Thunderbird 2.0.0.18 (Macintosh/20081105) MIME-Version: 1.0 To: clement@FreeBSD.org X-Enigmail-Version: 0.95.7 OpenPGP: id=D7505EC0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (ned.webvolution.net [198.144.205.115]); Thu, 11 Dec 2008 17:09:06 -0800 (PST) X-Spam-Status: No, score=0.2 required=5.0 tests=AWL,RDNS_NONE autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ned.webvolution.net X-Virus-Scanned: ClamAV 0.93.3/8747/Thu Dec 11 11:22:53 2008 on ned.webvolution.net X-Virus-Status: Clean Cc: ports@FreeBSD.org Subject: FreeBSD Port: apache-2.2.9_5 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 01:25:38 -0000 Greetings, I would like to report that apache-2.2.9 port doesn't include usr/local/etc/rc.d/* into a binary package. I am doing this in RELENG_7 using 'make package-recursive'. Thanks. From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 03:13:00 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EF5921065670 for ; Fri, 12 Dec 2008 03:13:00 +0000 (UTC) (envelope-from beckman@angryox.com) Received: from nog.angryox.com (nog.angryox.com [70.164.19.87]) by mx1.freebsd.org (Postfix) with ESMTP id CCAD98FC1F for ; Fri, 12 Dec 2008 03:13:00 +0000 (UTC) (envelope-from beckman@angryox.com) Received: by nog.angryox.com (Postfix, from userid 1001) id 41A362C3B3B; Fri, 12 Dec 2008 03:13:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nog.angryox.com (Postfix) with ESMTP id 3F7D62C3B3A for ; Thu, 11 Dec 2008 22:13:00 -0500 (EST) Date: Thu, 11 Dec 2008 22:13:00 -0500 From: Peter Beckman To: freebsd-ports@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: portupgrade and freebsd-update: A better way? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 03:13:01 -0000 So I took on binary upgrading one of my FreeBSD servers today from 6.2-RELEASE to 7.0-RELEASE. Many useful sites outline exactly how to do this right, and they are mostly useful. Except when it comes to ports. http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html http://www.cyberciti.biz/faq/howto-freebsd-server-upgrades/ You get a few production servers with 200+ ports installed, and upgrading could take several days and lots of headaches and a lot of babysitting. Is there some sort of automated way that someone smart has figured out how to determine which ports are actually affected by the upgrade, so I only have to upgrade a hopefully small subset of installed ports? Are ALL the libraries upgraded during the OS upgrade modified in a way that breaks ALL existing ports? My gut says no, but my brain says it's not trivial to match the two together to limit the number of times you have to rebuild a port. Is there a better way? Does portsnap or portmanager or portupgrade keep track? What have I missed? Beckman --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman@angryox.com http://www.angryox.com/ --------------------------------------------------------------------------- From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 05:46:39 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0C551065676 for ; Fri, 12 Dec 2008 05:46:39 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.237]) by mx1.freebsd.org (Postfix) with ESMTP id B47DC8FC08 for ; Fri, 12 Dec 2008 05:46:39 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1219013rvf.43 for ; Thu, 11 Dec 2008 21:46:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=QOgX4O7IvRdyMAFsy/Q8uUwWI1Y1/xfLL5avg+/R/JU=; b=Mo9voehzpY98CLf/V84KKpbouX2qxwlbMcD8WDhGYpnQMPXHPA9543ORvtO+bUg81+ raeVkqVquV0ro8VknU/T694AcqetJin7dLE1lVjHKq1ER/Dp3CI2jaRMyFZq3WIKJeL9 Y6R5QB3iGTHNnjLNTNgUVLlxP1dABIf2kwaz8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=U/QFm3kBrJZ7um+dbC1KxiozbQhtOMCaJY45c30WngBjS3bHprgEeS4H9ZzQNqT/sv Eq3entOesxobrHAoBoUg4/BhNCcTQKLhlm/NxvDVTueVhQ5+jeWctuQNnmtZRSt0ks0k 822FEBu3T1vmYc1yEOUyO2FBw5QZNY+Lp1fCY= Received: by 10.141.5.20 with SMTP id h20mr1699528rvi.299.1229060799347; Thu, 11 Dec 2008 21:46:39 -0800 (PST) Received: by 10.140.158.13 with HTTP; Thu, 11 Dec 2008 21:46:39 -0800 (PST) Message-ID: <7d6fde3d0812112146o28596b11vdf730f2b3afc9759@mail.gmail.com> Date: Thu, 11 Dec 2008 21:46:39 -0800 From: "Garrett Cooper" To: "Peter Beckman" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-ports@freebsd.org Subject: Re: portupgrade and freebsd-update: A better way? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 05:46:40 -0000 On Thu, Dec 11, 2008 at 7:13 PM, Peter Beckman wrote: > So I took on binary upgrading one of my FreeBSD servers today from > 6.2-RELEASE to 7.0-RELEASE. Many useful sites outline exactly how to do > this right, and they are mostly useful. > > Except when it comes to ports. > > > http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html > http://www.cyberciti.biz/faq/howto-freebsd-server-upgrades/ > > You get a few production servers with 200+ ports installed, and upgrading > could take several days and lots of headaches and a lot of babysitting. > > Is there some sort of automated way that someone smart has figured out how > to determine which ports are actually affected by the upgrade, so I only > have to upgrade a hopefully small subset of installed ports? Are ALL the > libraries upgraded during the OS upgrade modified in a way that breaks ALL > existing ports? My gut says no, but my brain says it's not trivial to > match the two together to limit the number of times you have to rebuild a > port. > > Is there a better way? Does portsnap or portmanager or portupgrade keep > track? What have I missed? > > Beckman 7.x and 6.2 aren't ABI compatible, so unfortunately no, you have to babysit a bit. -Garrett From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 06:25:38 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 906391065673 for ; Fri, 12 Dec 2008 06:25:38 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by mx1.freebsd.org (Postfix) with ESMTP id 493CD8FC13 for ; Fri, 12 Dec 2008 06:25:38 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: by yx-out-2324.google.com with SMTP id 8so604778yxb.13 for ; Thu, 11 Dec 2008 22:25:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=rmo2GR1XZt5WKm0BEnLoCKcjDJ++aqgUlEFpk6wQuLs=; b=hVoubEZbn4PHInyLr+ZGDT76ueO/gMQBM1JVp2nNwSYw8FsLCKQmNXEZbQRh+D/08I ABR9NzI0xok7mp79HmGUdR7fJ8+5Tz7f+UUm4QY5vgtM4GInA1dwnWvUM7v/3xqeXVsh 5JtxaXuDR48PjEdF55bAT/57I0FYPlj8gtaOM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=VVmmT37zdO7R3R0Itm6O1iUN2QKspZMTaSIJx3Tdn83M4gkNThAWRc2hOr9zBav8Ch 7SKXcn7GX+Y2/dp7M3BEzMfUNXVeQzLUtwaMpkpSxi11QEzZgojyTJ3nY2NNQLxNY2Uo RirnIkACDOsIPl9wGTdN0JqNxN/SzhkjY1FVI= Received: by 10.90.104.20 with SMTP id b20mr2036627agc.50.1229063137565; Thu, 11 Dec 2008 22:25:37 -0800 (PST) Received: by 10.90.31.6 with HTTP; Thu, 11 Dec 2008 22:25:37 -0800 (PST) Message-ID: <790a9fff0812112225p3bb549d6iab5c76bffb86bea1@mail.gmail.com> Date: Fri, 12 Dec 2008 00:25:37 -0600 From: "Scot Hetzel" To: "Peter Beckman" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: Cc: freebsd-ports@freebsd.org Subject: Re: portupgrade and freebsd-update: A better way? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 06:25:38 -0000 On 12/11/08, Peter Beckman wrote: > So I took on binary upgrading one of my FreeBSD servers today from > 6.2-RELEASE to 7.0-RELEASE. Many useful sites outline exactly how to do > this right, and they are mostly useful. > > Except when it comes to ports. > > > http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html > > http://www.cyberciti.biz/faq/howto-freebsd-server-upgrades/ > > You get a few production servers with 200+ ports installed, and upgrading > could take several days and lots of headaches and a lot of babysitting. > > Is there some sort of automated way that someone smart has figured out how > to determine which ports are actually affected by the upgrade, so I only > have to upgrade a hopefully small subset of installed ports? Are ALL the > libraries upgraded during the OS upgrade modified in a way that breaks ALL > existing ports? My gut says no, but my brain says it's not trivial to > match the two together to limit the number of times you have to rebuild a > port. > > Is there a better way? Does portsnap or portmanager or portupgrade keep > track? What have I missed? > If you have the compat6x port installed, you will not need to upgrade any of the 200+ ports on those productions servers. If you upgrade one port, you'll then need to upgrade all of it dependencies, as well as the ports that depend on these dependencies. To minimize your down time, you should set up a port build server that will build these 200+ ports as packages. On the production systems, you would use portupgrade to install the pre-built packages Scot From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 06:32:18 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3D8BC1065672 for ; Fri, 12 Dec 2008 06:32:18 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.233]) by mx1.freebsd.org (Postfix) with ESMTP id 0F2408FC14 for ; Fri, 12 Dec 2008 06:32:17 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so1232566rvf.43 for ; Thu, 11 Dec 2008 22:32:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=/fTeetltm7V2buslR9BebXGvbG2x2wX0AdLp6H3MtTM=; b=Yl8soES7tXbNoOb6NQyY+bFcF2bHn2LulFHU2mWUXb8XUAAY7p5ACAVSOoe76wCsp+ JVs5PAPXIOpYkefLtfRVqytGNVlnBLalaE+2ghQD4TPHVCkAYB4PRYvrnjVDfPUt0O/D W84d+f1yLE6gySh4MfCplxJV6WTN0gFDCy/Dc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=QFCUztiMj4+lEAKdD3xzEkYeZn98ixxetKNB/bLkpRhoe9n/gErcXb6FRCEl7nbfgK 4FQSlhT9+0EGUXHDvngO8GZPW/6hO2llcuiGU4xBy1g/acz9tFlq3O7agXo5QtILeKWd T2Z75sIkhuN/C1X6fFgks0iNTEdlZMuHL6IsA= Received: by 10.140.161.11 with SMTP id j11mr1721605rve.247.1229063537640; Thu, 11 Dec 2008 22:32:17 -0800 (PST) Received: by 10.140.158.13 with HTTP; Thu, 11 Dec 2008 22:32:17 -0800 (PST) Message-ID: <7d6fde3d0812112232w71b69c3ekb239483d5ab83314@mail.gmail.com> Date: Thu, 11 Dec 2008 22:32:17 -0800 From: "Garrett Cooper" To: "Scot Hetzel" In-Reply-To: <790a9fff0812112225p3bb549d6iab5c76bffb86bea1@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <790a9fff0812112225p3bb549d6iab5c76bffb86bea1@mail.gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: portupgrade and freebsd-update: A better way? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 06:32:18 -0000 On Thu, Dec 11, 2008 at 10:25 PM, Scot Hetzel wrote: > On 12/11/08, Peter Beckman wrote: >> So I took on binary upgrading one of my FreeBSD servers today from >> 6.2-RELEASE to 7.0-RELEASE. Many useful sites outline exactly how to do >> this right, and they are mostly useful. >> >> Except when it comes to ports. >> >> >> http://www.daemonology.net/blog/2007-11-11-freebsd-major-version-upgrade.html >> >> http://www.cyberciti.biz/faq/howto-freebsd-server-upgrades/ >> >> You get a few production servers with 200+ ports installed, and upgrading >> could take several days and lots of headaches and a lot of babysitting. >> >> Is there some sort of automated way that someone smart has figured out how >> to determine which ports are actually affected by the upgrade, so I only >> have to upgrade a hopefully small subset of installed ports? Are ALL the >> libraries upgraded during the OS upgrade modified in a way that breaks ALL >> existing ports? My gut says no, but my brain says it's not trivial to >> match the two together to limit the number of times you have to rebuild a >> port. >> >> Is there a better way? Does portsnap or portmanager or portupgrade keep >> track? What have I missed? >> > If you have the compat6x port installed, you will not need to upgrade > any of the 200+ ports on those productions servers. > > If you upgrade one port, you'll then need to upgrade all of it > dependencies, as well as the ports that depend on these dependencies. > > To minimize your down time, you should set up a port build server that > will build these 200+ ports as packages. On the production systems, > you would use portupgrade to install the pre-built packages > > Scot True... forgot about compat6x. -Garrett From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 10:25:43 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 448051065676 for ; Fri, 12 Dec 2008 10:25:43 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id E17E58FC16 for ; Fri, 12 Dec 2008 10:25:42 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LB5DJ-00066b-Tx; Fri, 12 Dec 2008 13:25:42 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 5CBA31E82; Fri, 12 Dec 2008 13:24:28 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 124861702D; Fri, 12 Dec 2008 13:25:17 +0300 (MSK) Date: Fri, 12 Dec 2008 13:25:16 +0300 From: Dmitry Marakasov To: "N.J. Mann" Message-ID: <20081212102516.GB7422@hades.panopticon> References: <20081202201610.GA8753@atarininja.org> <20081203131234.GD70240@hades.panopticon> <20081211215712.GA72408@titania.njm.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20081211215712.GA72408@titania.njm.me.uk> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-ports@freebsd.org Subject: Re: Proposal: mechanism for local patches X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 10:25:43 -0000 * N.J. Mann (njm@njm.me.uk) wrote: > > I suppose that check was done to help to detect patching failures, so it > > may be removed. > > I've just been trying out your patch and I think from an organisational > point of view it is very good. What I mean by this is that with the > patch I am now able to keep my local patches completely separate from > the official, FreeBSD patches. No more backing up the whole of > /usr/ports just in case I have a private patch in there somewhere. Now > I just need to backup /usr/ports.localpatchdir (which is what I called > the directory LOCAPATCHDIR points to). Nice to hear that it's useful :) > However, please consider putting back in the test for *.orig and *~ > files. That way one can be actively be hacking on a patch without > having to keep deleting editor backup files, which you may not wish to > delete anyway, before attempting another build. In my case I see no > need to skip *.rej and *,v files, but others may have a need for them. Done, patch updated. Btw, as someone who uses it, what do you think about the fact that local patches are applied after FreeBSD ones? (see my doubts up the thread). > I hope some form of your patch gets into the tree once 7.1 ships. Will try to make it in after the release. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 10:29:30 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D3BF106564A for ; Fri, 12 Dec 2008 10:29:30 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id B43358FC25 for ; Fri, 12 Dec 2008 10:29:29 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LB5H0-0006ng-FX; Fri, 12 Dec 2008 13:29:30 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id B96511E83; Fri, 12 Dec 2008 13:28:16 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id 962431702D; Fri, 12 Dec 2008 13:29:05 +0300 (MSK) Date: Fri, 12 Dec 2008 13:29:05 +0300 From: Dmitry Marakasov To: Jeremy Messenger Message-ID: <20081212102905.GC7422@hades.panopticon> References: <20081209181354.GB29817@hades.panopticon> <87tz9di38u.fsf@chateau.d.lf> <20081209222042.GC29817@hades.panopticon> <8763lsi10m.fsf@chateau.d.lf> <20081210181125.GA86341@hades.panopticon> <87zlj3heor.fsf@chateau.d.lf> <20081210223522.GA6367@hades.panopticon> <87vdtrhb6r.fsf@chateau.d.lf> <20081211082325.GA6167@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 10:29:30 -0000 * Jeremy Messenger (mezz7@cox.net) wrote: >> So if I understand correctly, you're proposing to only use dynamic >> plist generation for the ports that support it without modification, >> i.e. autotools-based? >> >> My opinion is that we should support the feature for all ports, or don't >> support it at all. Only getting rid of ~5k pkg-plists is not a huge >> accomplishment considering the mess it causes and I doubt it's worth >> the work on adding the feature to port.mk and then rebuilding and >> testing all affected ports. Being able to forget about pkg-plists >> once and forever however would be a huge accomplishment and if that's >> possible it should be done sooner or later. > > I object on get rid of pkg-plist. I depend on pkg-plist too much. I think > it's important for us to keep on track where the files/directories are. It's useful for me too sometimes, but it's already not 100% reliable, as some ports still generate it dynamically, some use PLIST_FILES, some use PLIST_SUB so it's not apparent under which path and/or name the file mentioned in plist is actually installed. -- Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 10:38:52 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F4031065670 for ; Fri, 12 Dec 2008 10:38:52 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id 1BB698FC16 for ; Fri, 12 Dec 2008 10:38:52 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LB5Q4-00005A-CT; Fri, 12 Dec 2008 13:38:52 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id E80451E92; Fri, 12 Dec 2008 13:37:38 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id BCB451702D; Fri, 12 Dec 2008 13:38:27 +0300 (MSK) Date: Fri, 12 Dec 2008 13:38:27 +0300 From: Dmitry Marakasov To: Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Message-ID: <20081212103827.GD7422@hades.panopticon> References: <20081209222042.GC29817@hades.panopticon> <8763lsi10m.fsf@chateau.d.lf> <20081210181125.GA86341@hades.panopticon> <87zlj3heor.fsf@chateau.d.lf> <20081210223522.GA6367@hades.panopticon> <87vdtrhb6r.fsf@chateau.d.lf> <20081211082325.GA6167@hades.panopticon> <6161f3180812110156n43803ee9s88443b6777bd0743@mail.gmail.com> <20081211113556.GA7422@hades.panopticon> <87vdtqls4g.fsf@chateau.d.lf> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87vdtqls4g.fsf@chateau.d.lf> User-Agent: Mutt/1.5.18 (2008-05-17) Content-Transfer-Encoding: quoted-printable Cc: "Andrew W. Nosenko" , FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 10:38:52 -0000 * Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0= =A4=95=E0=A5=8D=E0=A4=B2 (wahjava.ml@gmail.com) wrote: > Yes, that is why I mentioned having a variable which enables this > behaviour, by default it is disabled. I mean ports which are okay > with providing static plists are fine, but ports which aren't > predictable with what files are going to installed can go with this > dynamic plist support, where ports infrastructure will only help in > generating a plist from an already setup directory tree > (/var/tmp/${portname}), now it is maintainer's responsibility to make > sure that all files will be installed in /var/tmp/${portname} which > {s,}he can do by either using 'make install DESTDIR=3D/var/tmp/${portna= me}' > or something similar if supported by port's upstream or {s,}he has to > add installation commands in ports Makefile rather than going with > upstream's way of installing things. I really don't see any point in supporting this only in individual ports. If you can do something, you expect (and should be able) to do it with any and all ports. > > See > > http://lists.freebsd.org/pipermail/freebsd-ports/2006-August/034745.h= tml > > those are some real examples of complexity and resulting confusion, > > from first variant of DESTDIR support in ports. Now, when we have > > one DESTDIR implementation, adding another will likely make some head= s > > explode, just think of variable naming. >=20 > The DESTDIR issue in above link refers to the DESTDIR support[1] presen= t in > FreeBSD Ports system, and the one which I'm talking about has nothing t= o > do with that. Yes, I just meant that that'll bring too much confusion. > > I'll remind that what we are talking about is automatic plist generat= ion, > > and I think that this can be done without any hacks like installing a > > port into intermediate directory before real installation just by > > logging all writes to the filesystem.=20 >=20 > Yes that intermediate directory is what DESTDIR is. And if you're > capable of logging all writes in the DESTDIR, then its cool, but No. If there's DESTDIR, you don't need to log writes to it, as you can just use `find` to see what's there after installation as in quote below. The idea is that if we log all writes to the fulesystem during port installation, we don't need intermediate directory at all. > remember you're also talking about installing port in an intermediate > directory. After the port gets installed in intermediate directory, the > plist can be generated with your filesystem writes logger component or = a > well tested version of following simply command line: >=20 > % find /var/tmp/${PORTNAME} -type f |sed -e \ > "s[/var/tmp/${PORTNAME}${PREFIX}/[[g" > plist.tmp --=20 Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 11:59:12 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56F601065679 for ; Fri, 12 Dec 2008 11:59:12 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from smtp.mel.people.net.au (smtp.mel.people.net.au [218.214.17.98]) by mx1.freebsd.org (Postfix) with SMTP id A91388FC19 for ; Fri, 12 Dec 2008 11:59:11 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: (qmail 15666 invoked from network); 12 Dec 2008 11:59:07 -0000 Received: from unknown (HELO blizzard.dnsalias.org) (218.215.155.64) by smtp.mel.people.net.au with SMTP; 12 Dec 2008 11:59:07 -0000 Received: by blizzard.dnsalias.org (Postfix, from userid 1001) id CBDBA1721F; Fri, 12 Dec 2008 22:59:08 +1100 (EST) Date: Fri, 12 Dec 2008 22:59:08 +1100 From: andrew clarke To: regisr , ports@freebsd.org Message-ID: <20081212115908.GA90370@ozzmosis.com> References: <20081211114807.b23377b2.regisr@pobox.com> <20081211132740.GN60731@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081211132740.GN60731@albert.catwhisker.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: Subject: Re: [ImageMagick] build problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 11:59:12 -0000 On Thu 2008-12-11 05:27:40 UTC-0800, David Wolfskill (david@catwhisker.org) wrote: > On Thu, Dec 11, 2008 at 11:48:07AM +0100, regisr wrote: > > When building ImageMagick-6.4.7-5 on FreeBSD 6.4 I have a build error: > > > > /usr/obj/home/ports/graphics/ImageMagick/work/ImageMagick-6.4.7-5/tests/.libs/co > > nstitute -storagetype > > double /usr/obj/home/ports/graphics/ImageMagick/work/Image > > Magick-6.4.7-5/tests/input_truecolor.miff cmy Constitute check failed: > > 6615/0.0587497/0.843137 FAIL: tests/constitute_double_cmy.sh > > For what it's worth, I did not encounter this. Me neither. > Running on: > > > FreeBSD g1-35.catwhisker.org 6.4-STABLE FreeBSD 6.4-STABLE #659: Thu > Dec 11 05:01:52 PST 2008 > root@g1-35.catwhisker.org:/common/S1/obj/usr/src/sys/CANARY i386 $ uname -a FreeBSD blizzard.phoenix 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Wed Nov 26 11:43:51 UTC 2008 root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 $ pwd /usr/ports/graphics/ImageMagick $ cd /usr/ports/graphics/ImageMagick $ make showconfig ===> The following configuration options are available for ImageMagick-nox11-6.4.7.5: X11=off "X11 support" IMAGEMAGICK_TESTS=on "Run bundled self-tests after build" IMAGEMAGICK_OPENMP=off "OpenMP for SMP (needs threads)" IMAGEMAGICK_PERL=off "Perl support" IMAGEMAGICK_MODULES=off "Modules support (broken)" IMAGEMAGICK_BZLIB=on "Bzlib support" IMAGEMAGICK_16BIT_PIXEL=on "16bit pixel support" IMAGEMAGICK_DJVU=off "DJVU format support (needs threads)" IMAGEMAGICK_LCMS=off "LCMS support" IMAGEMAGICK_HDRI=off "High Dynamic Range Images (HDRI)" IMAGEMAGICK_TTF=off "Freetype support" IMAGEMAGICK_FONTCONFIG=off "Fontconfig support" IMAGEMAGICK_JPEG=on "JPG format support" IMAGEMAGICK_OPENEXR=off "OpenEXR support (needs threads)" IMAGEMAGICK_PNG=on "PNG format support" IMAGEMAGICK_TIFF=on "TIFF format support" IMAGEMAGICK_FPX=off "FPX format support" IMAGEMAGICK_JBIG=off "JBIG format support" IMAGEMAGICK_JPEG2000=off "JPEG2000 format support" IMAGEMAGICK_DOT=off "GraphViz dot graphs support" IMAGEMAGICK_WMF=off "WMF format support" IMAGEMAGICK_SVG=off "SVG format support" IMAGEMAGICK_PDF=off "PDF format support" IMAGEMAGICK_GSLIB=off "libgs (Postscript SHLIB) support" ===> Use 'make config' to modify these settings From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 16:20:11 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3B97106564A for ; Fri, 12 Dec 2008 16:20:11 +0000 (UTC) (envelope-from beckman@angryox.com) Received: from nog.angryox.com (nog.angryox.com [70.164.19.87]) by mx1.freebsd.org (Postfix) with ESMTP id ACCB48FC14 for ; Fri, 12 Dec 2008 16:20:11 +0000 (UTC) (envelope-from beckman@angryox.com) Received: by nog.angryox.com (Postfix, from userid 1001) id BC08F2C3B3A; Fri, 12 Dec 2008 16:20:10 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nog.angryox.com (Postfix) with ESMTP id BB1D32C3B38; Fri, 12 Dec 2008 11:20:10 -0500 (EST) Date: Fri, 12 Dec 2008 11:20:10 -0500 From: Peter Beckman To: Garrett Cooper In-Reply-To: <7d6fde3d0812112146o28596b11vdf730f2b3afc9759@mail.gmail.com> Message-ID: References: <7d6fde3d0812112146o28596b11vdf730f2b3afc9759@mail.gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-ports@freebsd.org Subject: Re: portupgrade and freebsd-update: A better way? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 16:20:11 -0000 On Thu, 11 Dec 2008, Garrett Cooper wrote: > On Thu, Dec 11, 2008 at 7:13 PM, Peter Beckman wrote: > >> You get a few production servers with 200+ ports installed, and upgrading >> could take several days and lots of headaches and a lot of babysitting. >> >> Is there a better way? Does portsnap or portmanager or portupgrade keep >> track? What have I missed? > > 7.x and 6.2 aren't ABI compatible, so unfortunately no, you have to > babysit a bit. Is there some sort of chart that shows binary application compatibility between FreeBSD versions? That'd be handy. It took me a bit to find out that GENERIC now included SMP, but several google searches have led me to no good data. I found this: http://people.freebsd.org/~deischen/symver/library_versioning.txt But `cat /usr/src/lib/libc/Versions.def` got me no real data. I did also find this: http://wiki.freebsd.org/VendorInformation "No compatibility for API and ABI is guaranteed from one to the next major release, though an effort is made to make the upgrade process and source code changes as untroubled as possible." Is it safe to assume ABI compatibility between minor releases (6.1 -> 6.2) and must recompile everything between major releases (6.3 -> 7.0)? Beckman --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman@angryox.com http://www.angryox.com/ --------------------------------------------------------------------------- From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 16:41:54 2008 Return-Path: Delivered-To: ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 741F71065672 for ; Fri, 12 Dec 2008 16:41:54 +0000 (UTC) (envelope-from bounceteenhopeline@yahoo.com) Received: from mail.newsletterserve.com (mail.newsletterserve.com [75.126.69.2]) by mx1.freebsd.org (Postfix) with ESMTP id 40BE28FC16 for ; Fri, 12 Dec 2008 16:41:54 +0000 (UTC) (envelope-from bounceteenhopeline@yahoo.com) Received: from nlserve by mail.newsletterserve.com with local (Exim 4.69) (envelope-from ) id 1LBB5O-0000YO-1a for ports@FreeBSD.org; Fri, 12 Dec 2008 10:41:54 -0600 To: ports@FreeBSD.org Message-ID: Date: Fri, 12 Dec 2008 17:15:03 +0100 From: "Seventh Day Slumber" MIME-Version: 1.0 X-Mailer-LID: 56,198,200,70,71,72,192,73 X-Mailer-SID: 1080 X-Mailer-Sent-By: 109 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - mail.newsletterserve.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [32070 32002] / [47 12] X-AntiAbuse: Sender Address Domain - yahoo.com X-Source: /usr/local/bin/php X-Source-Args: /usr/local/bin/php -f /home/nlserve/public_html/admin/cron/cron.php X-Source-Dir: /home/nlserve Content-Type: text/plain; format=flowed; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: SDS Newsletter X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: seventhdayslumber@mac.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 16:41:54 -0000 Your email client cannot read this email. To view it online, please go here: http://www.newsletterserve.com/display.php?M=237786&C=b4213c1f912b09c8bff11f75dffc0df3&S=1080&L=200&N=1003 To stop receiving these emails:http://www.newsletterserve.com/unsubscribe.php?M=237786&C=b4213c1f912b09c8bff11f75dffc0df3&L=200&N=1080 From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 16:59:50 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6406B1065672 for ; Fri, 12 Dec 2008 16:59:50 +0000 (UTC) (envelope-from arkel@olegus.org) Received: from mx.arkel.ru (mail.lexm.ru [80.84.121.162]) by mx1.freebsd.org (Postfix) with ESMTP id 167E08FC13 for ; Fri, 12 Dec 2008 16:59:49 +0000 (UTC) (envelope-from arkel@olegus.org) Received: from [95.24.156.23] (helo=Teuton) by mx.arkel.ru with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1LBB9c-000NZg-Nd; Fri, 12 Dec 2008 19:46:20 +0300 From: "Peter Beckman" Sender: "arkel" To: References: <7d6fde3d0812112146o28596b11vdf730f2b3afc9759@mail.gmail.com> In-Reply-To: <7d6fde3d0812112146o28596b11vdf730f2b3afc9759@mail.gmail.com> Date: Fri, 12 Dec 2008 19:43:24 +0300 Message-ID: <01b801c95c78$c07b3260$41719720$@com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AclcdflIhfKb7o+FQbWzuEUXYv3lRA== Cc: freebsd-ports@freebsd.org Subject: Re: portupgrade and freebsd-update: A better way? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 16:59:50 -0000 On Thu, 11 Dec 2008, Garrett Cooper wrote: > On Thu, Dec 11, 2008 at 7:13 PM, Peter Beckman wrote: > >> You get a few production servers with 200+ ports installed, and upgrading >> could take several days and lots of headaches and a lot of babysitting. >> >> Is there a better way? Does portsnap or portmanager or portupgrade keep >> track? What have I missed? > > 7.x and 6.2 aren't ABI compatible, so unfortunately no, you have to > babysit a bit. Is there some sort of chart that shows binary application compatibility between FreeBSD versions? That'd be handy. It took me a bit to find out that GENERIC now included SMP, but several google searches have led me to no good data. I found this: http://people.freebsd.org/~deischen/symver/library_versioning.txt But `cat /usr/src/lib/libc/Versions.def` got me no real data. I did also find this: http://wiki.freebsd.org/VendorInformation "No compatibility for API and ABI is guaranteed from one to the next major release, though an effort is made to make the upgrade process and source code changes as untroubled as possible." Is it safe to assume ABI compatibility between minor releases (6.1 -> 6.2) and must recompile everything between major releases (6.3 -> 7.0)? Beckman --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman@angryox.com http://www.angryox.com/ --------------------------------------------------------------------------- _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 17:29:45 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAB3A106567C for ; Fri, 12 Dec 2008 17:29:45 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: from ti-out-0910.google.com (ti-out-0910.google.com [209.85.142.185]) by mx1.freebsd.org (Postfix) with ESMTP id 3C5208FC27 for ; Fri, 12 Dec 2008 17:29:44 +0000 (UTC) (envelope-from wahjava@gmail.com) Received: by ti-out-0910.google.com with SMTP id a1so981298tib.3 for ; Fri, 12 Dec 2008 09:29:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:from:to:cc:subject :organization:references:x-face:x-uptime:x-url:x-openpgp-id :x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse:x-attribution:date :in-reply-to:message-id:user-agent:face:mime-version:content-type; bh=04wMiUBS0f3MT6gLcf95ugmyJ6g4GyZ0tlPRYtCoiHg=; b=wEkeZScpCmCXUE1YxQZ1M9M2wOtoxvNTpzRw20oWbj9y8g1M27x0TMfRRy4RULFs52 1Bd14S26Ik7j/nRDcgaDBf0bBi6pN2SoKuKHKpBex9Ubhd8XNJg9r8KEPVUoyiGKu/wL JD8UPMLf8V2qLMDxvHGNbBzdq8/DRw2tAs0kc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:organization:references:x-face:x-uptime :x-url:x-openpgp-id:x-openpgp-fingerprint:x-os:x-mailer:x-mail-morse :x-attribution:date:in-reply-to:message-id:user-agent:face :mime-version:content-type; b=Va6MrsxHrCBvLBYlO3vVh5ZyhNvxcbbxbDDMgTyWhhIyHKE8YUpltNpbsFBXnh0Z+a 1azo/gZX/tgoEgGQtWHEAcOJn5VVNZ1WcGhu0e10bJovnwxgjjQsCwWHCAk9RJQ+BLop rgcxgWnEaMWuU9j3AKmdWxDfNfE8TuQrntnlc= Received: by 10.110.53.19 with SMTP id b19mr5674285tia.39.1229102984123; Fri, 12 Dec 2008 09:29:44 -0800 (PST) Received: from chateau.d.lf ([122.162.237.120]) by mx.google.com with ESMTPS id 25sm1457507tif.26.2008.12.12.09.29.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 12 Dec 2008 09:29:42 -0800 (PST) Sender: =?UTF-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksiBBc2hpc2ggU2h1a2xh?= From: wahjava.ml@gmail.com (Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IA==?= =?utf-8?B?4KS24KWB4KSV4KWN4KSy?=) To: Dmitry Marakasov Organization: alt.religion.emacs References: <20081209222042.GC29817@hades.panopticon> <8763lsi10m.fsf@chateau.d.lf> <20081210181125.GA86341@hades.panopticon> <87zlj3heor.fsf@chateau.d.lf> <20081210223522.GA6367@hades.panopticon> <87vdtrhb6r.fsf@chateau.d.lf> <20081211082325.GA6167@hades.panopticon> <6161f3180812110156n43803ee9s88443b6777bd0743@mail.gmail.com> <20081211113556.GA7422@hades.panopticon> <87vdtqls4g.fsf@chateau.d.lf> <20081212103827.GD7422@hades.panopticon> X-Face: "\:nMpJ)EA!j>2nEu-[(+&o:N+CtL^AS\, Jv*LO5qBr#W2.\=d (Dmitry Marakasov's message of "Fri, 12 Dec 2008 13:38:27 +0300") Message-ID: <86wse5wb9m.fsf@chateau.d.lf> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEVfX1/8/PwTExMDAwO0 tLSampr////f398oKCi/v78MDAwICAihq32EAAACU0lEQVQ4jW3UvWvbQBQA8LOJsJIsOajtZAtH Aqq8FLQUvNjhCex2UYpE7XYytPJalxJnFMImqrOkIJfcZtwGgrqEhELQ/XN9p+jLbc+Drfvx7r17 9jNxszXCV2mR9P3ACoKAOM5bugn1hRBRFAnxeErLMN4RIpbwYKwmZfgkMGDNol8PhlFrFDDalQcx BMMwXpwV8KElYqYzpmOA0a4UsC/EmrEU4ptGDq9kghTabP09g9EuFiSpJQOYXslgrEd6Aj8Q7pl+ kcFH3NRlUTIFfvyZwV4sEzwV20a4y2A/BWEYLxdYwk0Gn+Mohfa2X4bXsn8StC0uYdVI4T02cK0F is15ArcZYKeER5Q+f4JofZZHiPshJPt8BwtPrp4kF+KOp+sdpjvOjqpf3n+1bD6dTjk3ySKuZVU1 ezcdpm3h/pL4h9eP3Rw6R5bqa9t86a/1W3OVd7dpzgBMx8YAxVFgvgmqDTwEdQignOVgI1ggoQMA x40CFHzmCHgXcEoAig39MOSATTGt5znQL4qDIRIgNK2LAqYWAl47lBGDSgHNjoOt6vdDkNAtQc9E wN0EJgXQN7aMSABIGU7mMiI5CtQJzX9w9PwQYOApVqBwCMqwp9lmkKzh0qM5uPTAn/Vw0ogazK9m JRjR6pHqEVyqd1XbgPPfKkgAddClxRi49NmKcNMh+JV4T7mzqW1e2jwk3pAPjugGuCfHPLRIP/Qr tLEB9daW7HrvcLIx55i/9zjkfMlO//pnwLHyPcupzrL9AtxrFgTaN/dfGFcjreb+B9wmnzaKpz8p dKsBFjzeRQAAAABJRU5ErkJggg== MIME-Version: 1.0 Content-Type: multipart/signed; boundary="===-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Cc: "Andrew W. Nosenko" , FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 17:29:46 -0000 --===-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --==-=-= Content-Transfer-Encoding: quoted-printable Dmitry Marakasov writes: [...] > No. If there's DESTDIR, you don't need to log writes to it, as you > can just use `find` to see what's there after installation as in > quote below. The idea is that if we log all writes to the fulesystem > during port installation, we don't need intermediate directory at > all. Okay, so if we go with your approach, then can you tell me how do you plan to go about logging writes to filesystem with your .so which you're planning to preload as you mentioned in one of your mails in this thread ? Thanks =2D-=20 Ashish Shukla --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklCn/kACgkQHy+EEHYuXnTrPQCguphB+rehGGir49MtLLiRJ/Lf FOQAoMXPlw37fH9vxcwDJ3idWu0y6Pau =CtIr -----END PGP SIGNATURE----- --==-=-=-- --=-=-=-- --===-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklCn/0ACgkQHy+EEHYuXnSx5wCgpW9btm3DR6xwuoPwdsxlOZwn ZOIAoPA1a2+xJ8K/yGGvh4DpdRZ9cvdk =BLOE -----END PGP SIGNATURE----- --===-=-=-- From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 20:38:23 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DE99106567E for ; Fri, 12 Dec 2008 20:38:23 +0000 (UTC) (envelope-from prvs=pschmehl_lists=22560f72a@tx.rr.com) Received: from ip-relay-001.utdallas.edu (ip-relay-001.utdallas.edu [129.110.20.111]) by mx1.freebsd.org (Postfix) with ESMTP id D5BFF8FC27 for ; Fri, 12 Dec 2008 20:38:22 +0000 (UTC) (envelope-from prvs=pschmehl_lists=22560f72a@tx.rr.com) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.36,212,1228111200"; d="scan'208";a="3940149" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-001.utdallas.edu with ESMTP; 12 Dec 2008 14:08:39 -0600 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id EB9BC899B for ; Fri, 12 Dec 2008 14:08:38 -0600 (CST) Date: Fri, 12 Dec 2008 14:08:38 -0600 From: Paul Schmehl To: FreeBSD Ports Message-ID: X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Problems with php5 upgrade X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 20:38:23 -0000 I recently portupgraded a box and now I'm having problems with two ports that fail to upgrade; devel/php5-spl and security/php5-filter. Both of them fail because they can't find the pcre header file. According to UPDATING, pcre is now distributed as part of the core install of php5 I've deleted php5-pcre and run pkgdb -F but I'm still having problems with those two ports. I followed the instructions in UPDATING for the pecl has and json ports, and those worked fine. For some reason these two ports can't find that header file. Will deinstalling and reinstalling php6 fix the problem? Is there another way to fix it? -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* Check the headers before clicking on Reply. From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 21:04:55 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 35F59106564A for ; Fri, 12 Dec 2008 21:04:55 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from lab.alexdupre.com (cl-506.trn-01.it.sixxs.net [IPv6:2001:1418:100:1f9::2]) by mx1.freebsd.org (Postfix) with ESMTP id B10948FC18 for ; Fri, 12 Dec 2008 21:04:54 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: (qmail 6339 invoked from network); 12 Dec 2008 21:04:53 -0000 Received: from unknown (HELO athlon.alexdupre.com) (192.168.178.2) by lab.alexdupre.com with SMTP; 12 Dec 2008 21:04:53 -0000 Message-ID: <4942D1F4.20206@FreeBSD.org> Date: Fri, 12 Dec 2008 22:04:52 +0100 From: Alex Dupre User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: Paul Schmehl References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Ports Subject: Re: Problems with php5 upgrade X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 21:04:55 -0000 Paul Schmehl wrote: > Will deinstalling and reinstalling php6 fix the problem? Yes. -- Alex Dupre From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 21:58:56 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 666FF1065677; Fri, 12 Dec 2008 21:58:56 +0000 (UTC) (envelope-from prvs=pschmehl_lists=22560f72a@tx.rr.com) Received: from ip-relay-001.utdallas.edu (ip-relay-001.utdallas.edu [129.110.20.111]) by mx1.freebsd.org (Postfix) with ESMTP id 293848FC16; Fri, 12 Dec 2008 21:58:56 +0000 (UTC) (envelope-from prvs=pschmehl_lists=22560f72a@tx.rr.com) X-Group: RELAYLIST X-IronPort-AV: E=Sophos;i="4.36,213,1228111200"; d="scan'208";a="3945897" Received: from smtp3.utdallas.edu ([129.110.20.110]) by ip-relay-001.utdallas.edu with ESMTP; 12 Dec 2008 15:58:55 -0600 Received: from utd65257.utdallas.edu (utd65257.utdallas.edu [129.110.3.28]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp3.utdallas.edu (Postfix) with ESMTPSA id 8C88D8A29; Fri, 12 Dec 2008 15:58:55 -0600 (CST) Date: Fri, 12 Dec 2008 15:58:55 -0600 From: Paul Schmehl To: FreeBSD Ports Message-ID: <799E3A2A38D82235439B77FC@utd65257.utdallas.edu> In-Reply-To: <4942D1F4.20206@FreeBSD.org> References: <4942D1F4.20206@FreeBSD.org> X-Mailer: Mulberry/4.0.6 (Linux/x86) X-Munged-Reply-To: Figure it out MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Alex Dupre Subject: Re: Problems with php5 upgrade X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 21:58:56 -0000 --On Friday, December 12, 2008 15:04:52 -0600 Alex Dupre wrote: > > Paul Schmehl wrote: >> Will deinstalling and reinstalling php6 fix the problem? > > Yes. > Thanks, Alex. That fixed the problem. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* Check the headers before clicking on Reply. From owner-freebsd-ports@FreeBSD.ORG Fri Dec 12 22:10:40 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D67CD106564A for ; Fri, 12 Dec 2008 22:10:40 +0000 (UTC) (envelope-from nobody@cpanel.brainpulsehosting.com) Received: from cpanel.brainpulsehosting.com (cpanel.brainpulsehosting.com [209.62.5.58]) by mx1.freebsd.org (Postfix) with ESMTP id B81138FC16 for ; Fri, 12 Dec 2008 22:10:40 +0000 (UTC) (envelope-from nobody@cpanel.brainpulsehosting.com) Received: from nobody by cpanel.brainpulsehosting.com with local (Exim 4.69) (envelope-from ) id 1LBGDR-0007q1-Pw for freebsd-ports@freebsd.org; Fri, 12 Dec 2008 16:10:33 -0600 To: freebsd-ports@freebsd.org From: advertise@worldhyip.com <> Content-Transfer-Encoding: 8bit Message-Id: Date: Fri, 12 Dec 2008 16:10:33 -0600 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cpanel.brainpulsehosting.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [99 99] / [47 12] X-AntiAbuse: Sender Address Domain - cpanel.brainpulsehosting.com MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Passive Income - Up to $37,500.00 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2008 22:10:40 -0000 Passive Income - Up to $37,500.00 This is not a joke! Open this site now and look how easy you can get cash only within 5 hours. If you not trust, do not enter to our site. But once you open our site, you'll know how easy to make home income. Only within 5 hours. 5 HOURS TO BE RICH - [1]ENTER NOW!!! References 1. http://5ivehourspayment.com/ From owner-freebsd-ports@FreeBSD.ORG Sat Dec 13 03:09:16 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64CDD106564A for ; Sat, 13 Dec 2008 03:09:16 +0000 (UTC) (envelope-from freebsd-ports-local@be-well.ilk.org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.4]) by mx1.freebsd.org (Postfix) with ESMTP id 3805A8FC08 for ; Sat, 13 Dec 2008 03:09:16 +0000 (UTC) (envelope-from freebsd-ports-local@be-well.ilk.org) Received: (qmail 17446 invoked from network); 13 Dec 2008 02:42:32 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 13 Dec 2008 02:42:32 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id EA68250820; Fri, 12 Dec 2008 21:42:26 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 170121CDDB; Fri, 12 Dec 2008 21:42:25 -0500 (EST) To: Peter Beckman References: <7d6fde3d0812112146o28596b11vdf730f2b3afc9759@mail.gmail.com> From: Lowell Gilbert Date: Fri, 12 Dec 2008 21:42:25 -0500 In-Reply-To: (Peter Beckman's message of "Fri\, 12 Dec 2008 11\:20\:10 -0500") Message-ID: <443agsbxta.fsf@lowell-desk.lan> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Garrett Cooper , freebsd-ports@freebsd.org Subject: Re: portupgrade and freebsd-update: A better way? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-ports@freebsd.org List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 03:09:16 -0000 Peter Beckman writes: > Is it safe to assume ABI compatibility between minor releases (6.1 -> 6.2) > and must recompile everything between major releases (6.3 -> 7.0)? That's the intended approach, but read the release notes and updating instructions rather than assuming anything. From owner-freebsd-ports@FreeBSD.ORG Sat Dec 13 10:52:29 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4395E1065700 for ; Sat, 13 Dec 2008 10:52:29 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from smtp6-g19.free.fr (smtp6-g19.free.fr [212.27.42.36]) by mx1.freebsd.org (Postfix) with ESMTP id 03DE38FC17 for ; Sat, 13 Dec 2008 10:52:28 +0000 (UTC) (envelope-from romain@blogreen.org) Received: from smtp6-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp6-g19.free.fr (Postfix) with ESMTP id A3B93177D8 for ; Sat, 13 Dec 2008 11:52:27 +0100 (CET) Received: from marvin.blogreen.org (marvin.blogreen.org [82.247.213.140]) by smtp6-g19.free.fr (Postfix) with ESMTP id 95C4F17258 for ; Sat, 13 Dec 2008 11:33:52 +0100 (CET) Received: by marvin.blogreen.org (Postfix, from userid 1001) id 244305C0C6; Sat, 13 Dec 2008 11:33:49 +0100 (CET) Date: Sat, 13 Dec 2008 11:33:49 +0100 From: Romain =?iso-8859-1?Q?Tarti=E8re?= To: freebsd-ports@freebsd.org Message-ID: <20081213103348.GA80526@blogreen.org> Mail-Followup-To: freebsd-ports@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-PGP-Key: http://romain.blogreen.org/pubkey.asc Subject: Maintaining meta-data for patches X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 10:52:29 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi! As a port maintainer, you sometimes have to provide patches in your ports in order to have a piece of code working. If you maintain projects in a team, you will likely have to handle patches that you wrote along with patches that your co-workers have created. While this situation is not hard to handle while creating the port, it is slightly more complex when you want to update the port in question. You have to deal with each patch and see if it is still relevant, and since you don't have many info about it, you first have to figure out what it is supposed to fix. Generally, you try with / without the patch and see if you keep it, but don't go any further (search is the bug has been reported upstream, if solutions have been provided upstream, etc.). If I consider for example the port of Mono: http://code.google.com/p/bsd-sharp/source/browse/trunk/lang/mono/files We have 13 patches I want to review in order to cleanup the port. I would like to ask random questions like: - who made this patch? [*] - what is-it supposed to do? [*] - has it been reported upstream? where? - is it fixed in projects trunk upstream? - will it expire at some point (e.g. trunk has been fixed after foo-1.0.1 was tagged so the patch will be useless as soon as foo is at version>1.0.1) Questions marked with a * can be answered directly using some version control system (even if in my case it will not help much since most patches come from revision 3: =ABInitial import: copy of the cvs repo.=BB). I am so wondering if anyone has ever setup some tools to ease collaborative ports maintenance? Thanks! Romain --=20 Romain Tarti=E8re http://romain.blogreen.org/ pgp: 8DAB A124 0DA4 7024 F82A E748 D8E9 A33F FF56 FF43 (ID: 0xFF56FF43) (plain text =3Dnon-HTML=3D PGP/GPG encrypted/signed e-mail much appreciated) --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAklDj4wACgkQ2OmjP/9W/0MXtQCeMqphxY0DPNUrxd+n+Wr8no9F 8xQAn1ousJLX1Yv+arz+6ILrCm65bjiJ =JQMe -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3-- From owner-freebsd-ports@FreeBSD.ORG Sat Dec 13 10:55:49 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 361B91065675 for ; Sat, 13 Dec 2008 10:55:49 +0000 (UTC) (envelope-from njm@njm.me.uk) Received: from smtp004.apm-internet.net (smtp004.apm-internet.net [85.119.248.54]) by mx1.freebsd.org (Postfix) with SMTP id 9EB728FC18 for ; Sat, 13 Dec 2008 10:55:48 +0000 (UTC) (envelope-from njm@njm.me.uk) Received: (qmail 60074 invoked from network); 13 Dec 2008 10:55:46 -0000 Received: from unknown (HELO titania.njm.me.uk) (86.129.204.56) by smtp004.apm-internet.net with SMTP; 13 Dec 2008 10:55:46 -0000 Received: from titania.njm.me.uk (localhost [127.0.0.1]) by titania.njm.me.uk (8.14.3/8.14.3) with ESMTP id mBDAtk4f059450; Sat, 13 Dec 2008 10:55:46 GMT (envelope-from njm@njm.me.uk) Received: (from njm@localhost) by titania.njm.me.uk (8.14.3/8.14.3/Submit) id mBDAtk3b059449; Sat, 13 Dec 2008 10:55:46 GMT (envelope-from njm@njm.me.uk) Date: Sat, 13 Dec 2008 10:55:45 +0000 From: "N.J. Mann" To: Dmitry Marakasov Message-ID: <20081213105545.GA40560@titania.njm.me.uk> Mail-Followup-To: Dmitry Marakasov , freebsd-ports@freebsd.org References: <20081202201610.GA8753@atarininja.org> <20081203131234.GD70240@hades.panopticon> <20081211215712.GA72408@titania.njm.me.uk> <20081212102516.GB7422@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081212102516.GB7422@hades.panopticon> X-Operating-System: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18cvs (2008-07-02) Cc: freebsd-ports@freebsd.org Subject: Re: Proposal: mechanism for local patches X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 10:55:49 -0000 In message <20081212102516.GB7422@hades.panopticon>, Dmitry Marakasov (amdmi3@amdmi3.ru) wrote: > * N.J. Mann (njm@njm.me.uk) wrote: > > > > I suppose that check was done to help to detect patching failures, so it > > > may be removed. > > > > I've just been trying out your patch and I think from an organisational > > point of view it is very good. What I mean by this is that with the > > patch I am now able to keep my local patches completely separate from > > the official, FreeBSD patches. No more backing up the whole of > > /usr/ports just in case I have a private patch in there somewhere. Now > > I just need to backup /usr/ports.localpatchdir (which is what I called > > the directory LOCAPATCHDIR points to). > > Nice to hear that it's useful :) I found that it was not quite enough. For one port I am developing local patches for I found I either needed to modify the ports' FreeBSD Makefile or add a post-extract script. Since I no longer want to have locally modified files in /usr/ports I needed to have a local post-extract script. So, I have modified your change to support both patch files and script files. %%%%% --- bsd.port.mk~ +++ bsd.port.mk @@ -591,6 +591,13 @@ # Default: ${MASTERDIR}/files # PKGDIR - A directory containing any package creation files. # Default: ${MASTERDIR} +# LOCALDIRPREFIX +# - Root of local patches and scripts tree. +# LOCALPATCHDIR - An optional directory for storing local patches. +# Default: ${LOCALDIRPREFIX}/${CATEGORY}/${PORT}/files +# LOCALSCRIPTDIR +# - An optional directory for storing local scripts. +# Default: ${LOCALDIRPREFIX}/${CATEGORY}/${PORT}/scripts # # Variables that serve as convenient "aliases" for your *-install targets. # Use these like: "${INSTALL_PROGRAM} ${WRKSRC}/prog ${PREFIX}/bin". @@ -1371,6 +1378,11 @@ SCRIPTDIR?= ${MASTERDIR}/scripts PKGDIR?= ${MASTERDIR} +.if defined(LOCALDIRPREFIX) +LOCALPATCHDIR?= ${LOCALDIRPREFIX}/${.CURDIR:C/^.*\/([^\/]+\/[^\/]+)$/\\1/}/files +LOCALSCRIPTDIR?= ${LOCALDIRPREFIX}/${.CURDIR:C/^.*\/([^\/]+\/[^\/]+)$/\\1/}/scripts +.endif + .if defined(USE_IMAKE) && !defined(USE_X_PREFIX) USE_X_PREFIX= yes .endif @@ -3604,6 +3616,35 @@ done; \ fi; \ fi +.if defined(LOCALPATCHDIR) + @if [ -d ${LOCALPATCHDIR} ]; then \ + if [ "`${ECHO_CMD} ${LOCALPATCHDIR}/patch-*`" != "${LOCALPATCHDIR}/patch-*" ]; then \ + ${ECHO_MSG} "===> Applying local patches for ${PKGNAME}" ; \ + PATCHES_APPLIED="" ; \ + for i in ${LOCALPATCHDIR}/patch-*; do \ + case $$i in \ + *.orig|*.rej|*~|*,v) \ + ${ECHO_MSG} "===> Ignoring patchfile $$i" ; \ + ;; \ + *) \ + if [ ${PATCH_DEBUG_TMP} = yes ]; then \ + ${ECHO_MSG} "===> Applying local patch $$i" ; \ + fi; \ + if ${PATCH} ${PATCH_ARGS} < $$i ; then \ + PATCHES_APPLIED="$$PATCHES_APPLIED $$i" ; \ + else \ + ${ECHO_MSG} `${ECHO_CMD} "=> Local patch $$i failed to apply cleanly." | ${SED} "s|${LOCALPATCHDIR}/||"` ; \ + if [ x"$$PATCHES_APPLIED" != x"" ]; then \ + ${ECHO_MSG} `${ECHO_CMD} "=> Local patch(es) $$PATCHES_APPLIED applied cleanly." | ${SED} "s|${LOCALPATCHDIR}/||g"` ; \ + fi; \ + ${FALSE} ; \ + fi; \ + ;; \ + esac; \ + done; \ + fi; \ + fi +.endif .endif .if !target(run-autotools) @@ -4248,6 +4289,12 @@ cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ ${SCRIPTDIR}/${.TARGET:S/-script$//}; \ fi +.if defined(LOCALSCRIPTDIR) + @if [ -f ${LOCALSCRIPTDIR}/${.TARGET:S/-script$//} ]; then \ + cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ + ${LOCALSCRIPTDIR}/${.TARGET:S/-script$//}; \ + fi +.endif .endif .endfor %%%%% > > However, please consider putting back in the test for *.orig and *~ > > files. That way one can be actively be hacking on a patch without > > having to keep deleting editor backup files, which you may not wish to > > delete anyway, before attempting another build. In my case I see no > > need to skip *.rej and *,v files, but others may have a need for them. > > Done, patch updated. > > Btw, as someone who uses it, what do you think about the fact that > local patches are applied after FreeBSD ones? (see my doubts up the > thread). I think the local patches should be applied after the FreeBSD ones. It just seems more logical. I just see problems occurring if the local patches are applied prior to the FreeBSD ones. For example, if a FreeBSD patch changes and no longer applies due to changes made by a local (previously applied) patch, what do you do? You would have to modify the FreeBSD patch locally which surely is partly what the idea of local patches is trying to prevent. Conversely, when local patches are applied after FreeBSD ones, if a local patch fails to apply because a FreeBSD patch has changed, you change the local patch. No problem! :-) Cheers, Nick. -- From owner-freebsd-ports@FreeBSD.ORG Sat Dec 13 12:05:25 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF28F1065672 for ; Sat, 13 Dec 2008 12:05:24 +0000 (UTC) (envelope-from njm@njm.me.uk) Received: from smtp004.apm-internet.net (smtp004.apm-internet.net [85.119.248.54]) by mx1.freebsd.org (Postfix) with SMTP id 5006B8FC17 for ; Sat, 13 Dec 2008 12:05:24 +0000 (UTC) (envelope-from njm@njm.me.uk) Received: (qmail 72868 invoked from network); 13 Dec 2008 12:05:23 -0000 Received: from unknown (HELO titania.njm.me.uk) (86.129.204.56) by smtp004.apm-internet.net with SMTP; 13 Dec 2008 12:05:23 -0000 Received: from titania.njm.me.uk (localhost [127.0.0.1]) by titania.njm.me.uk (8.14.3/8.14.3) with ESMTP id mBDC5MtD074977; Sat, 13 Dec 2008 12:05:22 GMT (envelope-from njm@njm.me.uk) Received: (from njm@localhost) by titania.njm.me.uk (8.14.3/8.14.3/Submit) id mBDC5M9h074976; Sat, 13 Dec 2008 12:05:22 GMT (envelope-from njm@njm.me.uk) Date: Sat, 13 Dec 2008 12:05:22 +0000 From: "N.J. Mann" To: Dmitry Marakasov , freebsd-ports@freebsd.org Message-ID: <20081213120522.GB40560@titania.njm.me.uk> Mail-Followup-To: Dmitry Marakasov , freebsd-ports@freebsd.org References: <20081202201610.GA8753@atarininja.org> <20081203131234.GD70240@hades.panopticon> <20081211215712.GA72408@titania.njm.me.uk> <20081212102516.GB7422@hades.panopticon> <20081213105545.GA40560@titania.njm.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20081213105545.GA40560@titania.njm.me.uk> X-Operating-System: FreeBSD 7.1-PRERELEASE User-Agent: Mutt/1.5.18cvs (2008-07-02) Cc: Subject: Re: Proposal: mechanism for local patches X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 12:05:25 -0000 In message <20081213105545.GA40560@titania.njm.me.uk>, N.J. Mann (njm@njm.me.uk) wrote: > In message <20081212102516.GB7422@hades.panopticon>, > Dmitry Marakasov (amdmi3@amdmi3.ru) wrote: > > * N.J. Mann (njm@njm.me.uk) wrote: > > > > > > I suppose that check was done to help to detect patching failures, so it > > > > may be removed. > > > > > > I've just been trying out your patch and I think from an organisational > > > point of view it is very good. What I mean by this is that with the > > > patch I am now able to keep my local patches completely separate from > > > the official, FreeBSD patches. No more backing up the whole of > > > /usr/ports just in case I have a private patch in there somewhere. Now > > > I just need to backup /usr/ports.localpatchdir (which is what I called > > > the directory LOCAPATCHDIR points to). > > > > Nice to hear that it's useful :) > > I found that it was not quite enough. For one port I am developing > local patches for I found I either needed to modify the ports' FreeBSD > Makefile or add a post-extract script. Since I no longer want to have > locally modified files in /usr/ports I needed to have a local > post-extract script. So, I have modified your change to support both > patch files and script files. I spoke too soon. :-( I found I needed LOCALPATCHDIR and LOCALSCRIPTDIR in the environment passed to the my script and so had to change my patch. %%%%% --- bsd.port.mk.orig +++ bsd.port.mk @@ -591,6 +591,13 @@ # Default: ${MASTERDIR}/files # PKGDIR - A directory containing any package creation files. # Default: ${MASTERDIR} +# LOCALDIRPREFIX +# - Root of local patches and scripts tree. +# LOCALPATCHDIR - An optional directory for storing local patches. +# Default: ${LOCALDIRPREFIX}/${CATEGORY}/${PORT}/files +# LOCALSCRIPTDIR +# - An optional directory for storing local scripts. +# Default: ${LOCALDIRPREFIX}/${CATEGORY}/${PORT}/scripts # # Variables that serve as convenient "aliases" for your *-install targets. # Use these like: "${INSTALL_PROGRAM} ${WRKSRC}/prog ${PREFIX}/bin". @@ -1371,6 +1378,11 @@ SCRIPTDIR?= ${MASTERDIR}/scripts PKGDIR?= ${MASTERDIR} +.if defined(LOCALDIRPREFIX) +LOCALPATCHDIR?= ${LOCALDIRPREFIX}/${.CURDIR:C/^.*\/([^\/]+\/[^\/]+)$/\\1/}/files +LOCALSCRIPTDIR?= ${LOCALDIRPREFIX}/${.CURDIR:C/^.*\/([^\/]+\/[^\/]+)$/\\1/}/scripts +.endif + .if defined(USE_IMAKE) && !defined(USE_X_PREFIX) USE_X_PREFIX= yes .endif @@ -2887,6 +2899,14 @@ SCRIPTS_ENV+= BATCH=yes .endif +.if defined(LOCALPATCHDIR) +SCRIPTS_ENV+= LOCALPATCHDIR=${LOCALPATCHDIR} +.endif + +.if defined(LOCALSCRIPTDIR) +SCRIPTS_ENV+= LOCALSCRIPTDIR=${LOCALSCRIPTDIR} +.endif + .if ${PREFIX} == /usr MANPREFIX?= /usr/share .else @@ -3604,6 +3624,35 @@ done; \ fi; \ fi +.if defined(LOCALPATCHDIR) + @if [ -d ${LOCALPATCHDIR} ]; then \ + if [ "`${ECHO_CMD} ${LOCALPATCHDIR}/patch-*`" != "${LOCALPATCHDIR}/patch-*" ]; then \ + ${ECHO_MSG} "===> Applying local patches for ${PKGNAME}" ; \ + PATCHES_APPLIED="" ; \ + for i in ${LOCALPATCHDIR}/patch-*; do \ + case $$i in \ + *.orig|*.rej|*~|*,v) \ + ${ECHO_MSG} "===> Ignoring patchfile $$i" ; \ + ;; \ + *) \ + if [ ${PATCH_DEBUG_TMP} = yes ]; then \ + ${ECHO_MSG} "===> Applying local patch $$i" ; \ + fi; \ + if ${PATCH} ${PATCH_ARGS} < $$i ; then \ + PATCHES_APPLIED="$$PATCHES_APPLIED $$i" ; \ + else \ + ${ECHO_MSG} `${ECHO_CMD} "=> Local patch $$i failed to apply cleanly." | ${SED} "s|${LOCALPATCHDIR}/||"` ; \ + if [ x"$$PATCHES_APPLIED" != x"" ]; then \ + ${ECHO_MSG} `${ECHO_CMD} "=> Local patch(es) $$PATCHES_APPLIED applied cleanly." | ${SED} "s|${LOCALPATCHDIR}/||g"` ; \ + fi; \ + ${FALSE} ; \ + fi; \ + ;; \ + esac; \ + done; \ + fi; \ + fi +.endif .endif .if !target(run-autotools) @@ -4248,6 +4297,12 @@ cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ ${SCRIPTDIR}/${.TARGET:S/-script$//}; \ fi +.if defined(LOCALSCRIPTDIR) + @if [ -f ${LOCALSCRIPTDIR}/${.TARGET:S/-script$//} ]; then \ + cd ${.CURDIR} && ${SETENV} ${SCRIPTS_ENV} ${SH} \ + ${LOCALSCRIPTDIR}/${.TARGET:S/-script$//}; \ + fi +.endif .endif .endfor %%%%% Cheers, Nick. -- From owner-freebsd-ports@FreeBSD.ORG Sat Dec 13 12:19:34 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 326191065670 for ; Sat, 13 Dec 2008 12:19:34 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from smtp.timeweb.ru (smtp.timeweb.ru [217.170.79.85]) by mx1.freebsd.org (Postfix) with ESMTP id A20A68FC23 for ; Sat, 13 Dec 2008 12:19:33 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by smtp.timeweb.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1LBTT3-0008CK-0H; Sat, 13 Dec 2008 15:19:33 +0300 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 52C3EC885; Sat, 13 Dec 2008 15:18:20 +0300 (MSK) Received: by hades.panopticon (Postfix, from userid 1000) id F3BB71702D; Sat, 13 Dec 2008 15:19:06 +0300 (MSK) Date: Sat, 13 Dec 2008 15:19:06 +0300 From: Dmitry Marakasov To: Ashish Shukla =?utf-8?B?4KSG4KS24KWA4KS3IOCktuClgeCkleCljeCksg==?= Message-ID: <20081213121906.GA81902@hades.panopticon> References: <20081210181125.GA86341@hades.panopticon> <87zlj3heor.fsf@chateau.d.lf> <20081210223522.GA6367@hades.panopticon> <87vdtrhb6r.fsf@chateau.d.lf> <20081211082325.GA6167@hades.panopticon> <6161f3180812110156n43803ee9s88443b6777bd0743@mail.gmail.com> <20081211113556.GA7422@hades.panopticon> <87vdtqls4g.fsf@chateau.d.lf> <20081212103827.GD7422@hades.panopticon> <86wse5wb9m.fsf@chateau.d.lf> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <86wse5wb9m.fsf@chateau.d.lf> User-Agent: Mutt/1.5.18 (2008-05-17) Content-Transfer-Encoding: quoted-printable Cc: "Andrew W. Nosenko" , FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 12:19:34 -0000 * Ashish Shukla =E0=A4=86=E0=A4=B6=E0=A5=80=E0=A4=B7 =E0=A4=B6=E0=A5=81=E0= =A4=95=E0=A5=8D=E0=A4=B2 (wahjava.ml@gmail.com) wrote: > > No. If there's DESTDIR, you don't need to log writes to it, as you > > can just use `find` to see what's there after installation as in > > quote below. The idea is that if we log all writes to the fulesystem > > during port installation, we don't need intermediate directory at > > all. >=20 > Okay, so if we go with your approach, then can you tell me how do you > plan to go about logging writes to filesystem with your .so which you'r= e > planning to preload as you mentioned in one of your mails in this threa= d ? The idea is to redefine functions that execute syscalls which will modify the filesystem add add loging there. Here's a test code http://www.amdmi3.ru/files/ldpreload.c. Compile it into shared lib and run `LD_PRELOAD=3Dpath_to_lib.so someapp`. It turned out to be not the best solution as it relies on environment heavily, and some apps may clear the environment (scons does this by default), or call syscalls via syscall(), instead of libc wrapper, thus it's not reliable enough. Another way is ptrace, which should intercept syscalls without fail. --=20 Dmitry Marakasov . 55B5 0596 FF1E 8D84 5F56 9510 D35A 80DD F9D2 F77D amdmi3@amdmi3.ru ..: jabber: amdmi3@jabber.ru http://www.amdmi3.ru From owner-freebsd-ports@FreeBSD.ORG Sat Dec 13 13:16:24 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5DBC1065670 for ; Sat, 13 Dec 2008 13:16:24 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from fhw-relay07.plus.net (fhw-relay07.plus.net [212.159.14.148]) by mx1.freebsd.org (Postfix) with ESMTP id 7D24E8FC13 for ; Sat, 13 Dec 2008 13:16:23 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from [84.92.153.232] (helo=curlew.milibyte.co.uk) by fhw-relay07.plus.net with esmtp (Exim) id 1LBTym-0003Sz-Ib for freebsd-ports@freebsd.org; Sat, 13 Dec 2008 12:52:20 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.69) (envelope-from ) id 1LBTym-000MTP-29 for freebsd-ports@freebsd.org; Sat, 13 Dec 2008 12:52:20 +0000 From: Mike Clarke To: freebsd-ports@freebsd.org Date: Sat, 13 Dec 2008 12:52:19 +0000 User-Agent: KMail/1.9.10 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200812131252.19895.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false X-Plusnet-Relay: 0744a5b97e9db58891a1b725c3f806a8 Subject: Re: [ImageMagick] build problem X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 13:16:25 -0000 andrew clarke wrote: > On Thu 2008-12-11 05:27:40 UTC-0800, David Wolfskill (david at catwhisker.org) wrote: > > On Thu, Dec 11, 2008 at 11:48:07AM +0100, regisr wrote: > > > When building ImageMagick-6.4.7-5 on FreeBSD 6.4 I have a build > > > error: > > > > > > /usr/obj/home/ports/graphics/ImageMagick/work/ImageMagick-6.4.7-5 > > >/tests/.libs/co nstitute -storagetype > > > double /usr/obj/home/ports/graphics/ImageMagick/work/Image > > > Magick-6.4.7-5/tests/input_truecolor.miff cmy Constitute check > > > failed: 6615/0.0587497/0.843137 FAIL: > > > tests/constitute_double_cmy.sh > > > > For what it's worth, I did not encounter this. > > Me neither. I get this problem both with the default options and with the same options as you, i.e. curlew:/usr/ports/graphics/ImageMagick# make showconfig ===> The following configuration options are available for ImageMagick-nox11-6.4.7.5: X11=off "X11 support" IMAGEMAGICK_TESTS=on "Run bundled self-tests after build" IMAGEMAGICK_OPENMP=off "OpenMP for SMP (needs threads)" IMAGEMAGICK_PERL=off "Perl support" IMAGEMAGICK_MODULES=off "Modules support (broken)" IMAGEMAGICK_BZLIB=on "Bzlib support" IMAGEMAGICK_16BIT_PIXEL=on "16bit pixel support" IMAGEMAGICK_DJVU=off "DJVU format support (needs threads)" IMAGEMAGICK_LCMS=off "LCMS support" IMAGEMAGICK_HDRI=off "High Dynamic Range Images (HDRI)" IMAGEMAGICK_TTF=off "Freetype support" IMAGEMAGICK_FONTCONFIG=off "Fontconfig support" IMAGEMAGICK_JPEG=on "JPG format support" IMAGEMAGICK_OPENEXR=off "OpenEXR support (needs threads)" IMAGEMAGICK_PNG=on "PNG format support" IMAGEMAGICK_TIFF=on "TIFF format support" IMAGEMAGICK_FPX=off "FPX format support" IMAGEMAGICK_JBIG=off "JBIG format support" IMAGEMAGICK_JPEG2000=off "JPEG2000 format support" IMAGEMAGICK_DOT=off "GraphViz dot graphs support" IMAGEMAGICK_WMF=off "WMF format support" IMAGEMAGICK_SVG=off "SVG format support" IMAGEMAGICK_PDF=off "PDF format support" IMAGEMAGICK_GSLIB=off "libgs (Postscript SHLIB) support" curlew:/usr/ports/graphics/ImageMagick# uname -a FreeBSD curlew.lan 6.4-RELEASE FreeBSD 6.4-RELEASE #0: Sat Dec 13 10:56:34 GMT 2008 root@curlew.lan:/usr/obj/usr/src/sys/GENERIC i386 My ports were last updated on Dec 12 09:24 -- Mike Clarke From owner-freebsd-ports@FreeBSD.ORG Sat Dec 13 19:33:45 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A296F1065673 for ; Sat, 13 Dec 2008 19:33:45 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.225]) by mx1.freebsd.org (Postfix) with ESMTP id 99D0D8FC12 for ; Sat, 13 Dec 2008 19:33:44 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2003674rvf.43 for ; Sat, 13 Dec 2008 11:33:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=c2hAmG1Kz1NUyUgyTcKrChxBoEFnljUAE5Gl3uZoDbc=; b=kCwbyeZs0JOC4SYr5+ZD8g8n/TYlhrRFuSZDRh1na38cVEnfHZOQ7aki1Trq9MH0lD vdg1JO5apgn5TzL0NQ9unsLNWp5eTo1VK8mhsoWZdVhpFGZRC46GibUu2SuQDG4NSuKW l4LXa5fpZQzAar6GIO84ZlB2XEMi+CYpTVlgE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=rWqFPAywOI1UtFOVYEN3gOmdAHaHUFCaDS6xuw4tGPSMBkw8GOh0ccBqZlmNMPjFqT oxayWVRwTaWleH0cYGqChdkdMZ5+zFzrZ3+NT2DImJP9tJN6+jIu7Ob/iKAtVq65of92 zTKKOa6Jt7DgL0tamXHztnHdxXUebustQFbWU= Received: by 10.140.226.14 with SMTP id y14mr2686913rvg.59.1229196824121; Sat, 13 Dec 2008 11:33:44 -0800 (PST) Received: by 10.140.158.13 with HTTP; Sat, 13 Dec 2008 11:33:44 -0800 (PST) Message-ID: <7d6fde3d0812131133g3956eea7n6830eefde3532a4f@mail.gmail.com> Date: Sat, 13 Dec 2008 11:33:44 -0800 From: "Garrett Cooper" To: "Dmitry Marakasov" In-Reply-To: <20081212102905.GC7422@hades.panopticon> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20081209181354.GB29817@hades.panopticon> <20081209222042.GC29817@hades.panopticon> <8763lsi10m.fsf@chateau.d.lf> <20081210181125.GA86341@hades.panopticon> <87zlj3heor.fsf@chateau.d.lf> <20081210223522.GA6367@hades.panopticon> <87vdtrhb6r.fsf@chateau.d.lf> <20081211082325.GA6167@hades.panopticon> <20081212102905.GC7422@hades.panopticon> Cc: Jeremy Messenger , FreeBSD Ports Mailing List Subject: Re: [PROPOSAL] Ports using SCM repositories as source instead of distfiles X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 19:33:45 -0000 On Fri, Dec 12, 2008 at 2:29 AM, Dmitry Marakasov wrote: > * Jeremy Messenger (mezz7@cox.net) wrote: > >>> So if I understand correctly, you're proposing to only use dynamic >>> plist generation for the ports that support it without modification, >>> i.e. autotools-based? >>> >>> My opinion is that we should support the feature for all ports, or don't >>> support it at all. Only getting rid of ~5k pkg-plists is not a huge >>> accomplishment considering the mess it causes and I doubt it's worth >>> the work on adding the feature to port.mk and then rebuilding and >>> testing all affected ports. Being able to forget about pkg-plists >>> once and forever however would be a huge accomplishment and if that's >>> possible it should be done sooner or later. >> >> I object on get rid of pkg-plist. I depend on pkg-plist too much. I think >> it's important for us to keep on track where the files/directories are. > > It's useful for me too sometimes, but it's already not 100% reliable, > as some ports still generate it dynamically, some use PLIST_FILES, some > use PLIST_SUB so it's not apparent under which path and/or name the file > mentioned in plist is actually installed. Getting rid of the plist files will force a major rewrite of pkg_install. Are you really comfortable doing that :\? -Garrett From owner-freebsd-ports@FreeBSD.ORG Sat Dec 13 19:35:59 2008 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E3D3E1065670 for ; Sat, 13 Dec 2008 19:35:59 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from rv-out-0506.google.com (rv-out-0506.google.com [209.85.198.229]) by mx1.freebsd.org (Postfix) with ESMTP id B7B968FC12 for ; Sat, 13 Dec 2008 19:35:59 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: by rv-out-0506.google.com with SMTP id b25so2008269rvf.43 for ; Sat, 13 Dec 2008 11:35:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=2RfxSAv/gvyomAJTqESvJcSP5n211PqDJIGZsy1vx+Q=; b=EJTJHBVA2JRpiKp0sivw1BUQT1YiJ9tS9tQTFkP8rwleZcNrDgpvQ0o5kRlOo6Leqq nKnM54nkE5blfepR4sHTjjA8BbyUVKxFdSBdtVjtT67wNN5oR1vBqsFYDmr6WK8DpUh3 LCbeqty+9vWdyrC9o9ukp6YTHBlXshVzlLt50= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=kw3+IwLtsOypAq/mD3Ruh0G4LgVMqb21GLcpx1pt0Qxn+zk1+N5BS5r9f2n5F6VQ0z QMJvCM3fFlHwRzlq55fwMGI6c55OfPdfkAFQXk0yfmfTlsE2gpgOTJ1k95J9xIocOScY 6dENeh1T1TaurEGdIySpZ2OhyJ0KaH7X9+UsA= Received: by 10.140.142.11 with SMTP id p11mr1733710rvd.276.1229196959457; Sat, 13 Dec 2008 11:35:59 -0800 (PST) Received: by 10.140.158.13 with HTTP; Sat, 13 Dec 2008 11:35:59 -0800 (PST) Message-ID: <7d6fde3d0812131135p5c47fcegd1115b2da2237427@mail.gmail.com> Date: Sat, 13 Dec 2008 11:35:59 -0800 From: "Garrett Cooper" To: freebsd-ports@freebsd.org In-Reply-To: <20081213103348.GA80526@blogreen.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20081213103348.GA80526@blogreen.org> Subject: Re: Maintaining meta-data for patches X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 19:36:00 -0000 On Sat, Dec 13, 2008 at 2:33 AM, Romain Tarti=E8re wr= ote: > Hi! > > As a port maintainer, you sometimes have to provide patches in your > ports in order to have a piece of code working. If you maintain > projects in a team, you will likely have to handle patches that you > wrote along with patches that your co-workers have created. > > While this situation is not hard to handle while creating the port, it > is slightly more complex when you want to update the port in question. > You have to deal with each patch and see if it is still relevant, and > since you don't have many info about it, you first have to figure out > what it is supposed to fix. Generally, you try with / without the patch > and see if you keep it, but don't go any further (search is the bug has > been reported upstream, if solutions have been provided upstream, etc.). > > > If I consider for example the port of Mono: > http://code.google.com/p/bsd-sharp/source/browse/trunk/lang/mono/files > > We have 13 patches I want to review in order to cleanup the port. > > I would like to ask random questions like: > - who made this patch? [*] > - what is-it supposed to do? [*] > - has it been reported upstream? where? > - is it fixed in projects trunk upstream? > - will it expire at some point (e.g. trunk has been fixed after > foo-1.0.1 was tagged so the patch will be useless as soon as foo is > at version>1.0.1) > > Questions marked with a * can be answered directly using some version > control system (even if in my case it will not help much since most > patches come from revision 3: =ABInitial import: copy of the cvs repo.=BB= ). > > > I am so wondering if anyone has ever setup some tools to ease > collaborative ports maintenance? > > > Thanks! > Romain No, but setting up svk is the best way to maintain local patches against a repository. I have yet to set it up though because I haven't taken the time to do so yet. -Garrett From owner-freebsd-ports@FreeBSD.ORG Sat Dec 13 22:41:48 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 556C91065672 for ; Sat, 13 Dec 2008 22:41:48 +0000 (UTC) (envelope-from freebsd@bitfreak.org) Received: from srv.twinthornes.com (srv.twinthornes.com [65.75.198.146]) by mx1.freebsd.org (Postfix) with ESMTP id 35CF58FC16 for ; Sat, 13 Dec 2008 22:41:48 +0000 (UTC) (envelope-from freebsd@bitfreak.org) Received: from [10.9.70.104] (c-76-27-226-62.hsd1.wa.comcast.net [76.27.226.62]) by srv.twinthornes.com (Postfix) with ESMTPSA id 881E024C6A for ; Sat, 13 Dec 2008 14:25:37 -0800 (PST) Message-ID: <49443662.3010805@bitfreak.org> Date: Sat, 13 Dec 2008 14:25:38 -0800 From: Darren Pilgrim User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: What happened to devel/php5-pcre? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 22:41:48 -0000 I updated my ports tree today and pkg_version tells me: php5-pcre-5.2.6_2 > succeeds index (index has 5.2.5) Which was caused by an out-of-date index. When I run make index: Generating INDEX-6 - please wait..pear-File_Archive-1.5.4: "/data/sys/ports/devel/php5-pcre" non-existent -- d ependency list incomplete ===> archivers/pear-File_Archive failed *** Error code 1 1 error *** Error code 1 Stop in /data/sys/ports. *** Error code 1 Stop in /data/sys/ports. Searching cvs-all shows a commit by ale on 2008-12-07 11:54:36 UTC in which: Log: Update to 5.2.7 release. Revision Changes Path 1.5 +0 -14 ports/devel/php5-pcre/Makefile (dead) 1.2 +0 -13 ports/devel/php5-pcre/files/patch-php_pcre.c (dead) However, the commit log doesn't indicate why this was done. The release notes for PHP 5.2.7 and don't mention anything about PCRE other than it was updated to v7.8 to fix CVE-2008-2371. I cvsup'ed ports-all twice, so I'm fairly sure my tree is sound. How do I fix this? From owner-freebsd-ports@FreeBSD.ORG Sat Dec 13 22:50:26 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F5E91065670 for ; Sat, 13 Dec 2008 22:50:26 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: from syn.atarininja.org (syn.csh.rit.edu [129.21.60.158]) by mx1.freebsd.org (Postfix) with ESMTP id 3DFCC8FC1C for ; Sat, 13 Dec 2008 22:50:26 +0000 (UTC) (envelope-from wxs@atarininja.org) Received: by syn.atarininja.org (Postfix, from userid 1001) id 7B0A65C2D; Sat, 13 Dec 2008 17:50:25 -0500 (EST) Date: Sat, 13 Dec 2008 17:50:25 -0500 From: Wesley Shields To: Darren Pilgrim Message-ID: <20081213225025.GN150@atarininja.org> References: <49443662.3010805@bitfreak.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49443662.3010805@bitfreak.org> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: ports@freebsd.org Subject: Re: What happened to devel/php5-pcre? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 22:50:26 -0000 On Sat, Dec 13, 2008 at 02:25:38PM -0800, Darren Pilgrim wrote: > I updated my ports tree today and pkg_version tells me: > > php5-pcre-5.2.6_2 > succeeds index (index has 5.2.5) > > Which was caused by an out-of-date index. When I run make index: > > Generating INDEX-6 - please wait..pear-File_Archive-1.5.4: > "/data/sys/ports/devel/php5-pcre" non-existent -- d > ependency list incomplete > ===> archivers/pear-File_Archive failed > *** Error code 1 > 1 error > > > > *** Error code 1 > > Stop in /data/sys/ports. > *** Error code 1 > > Stop in /data/sys/ports. > > > Searching cvs-all shows a commit by ale on 2008-12-07 11:54:36 UTC in which: > > Log: > Update to 5.2.7 release. > > Revision Changes Path > 1.5 +0 -14 ports/devel/php5-pcre/Makefile (dead) > 1.2 +0 -13 ports/devel/php5-pcre/files/patch-php_pcre.c (dead) > > However, the commit log doesn't indicate why this was done. The release > notes for PHP 5.2.7 and don't mention anything about PCRE other than it > was updated to v7.8 to fix CVE-2008-2371. > > I cvsup'ed ports-all twice, so I'm fairly sure my tree is sound. > > How do I fix this? Take a look at UPDATING, specifically the 20081211 entry. -- WXS From owner-freebsd-ports@FreeBSD.ORG Sat Dec 13 22:58:18 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D89E106564A for ; Sat, 13 Dec 2008 22:58:18 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 111D78FC17 for ; Sat, 13 Dec 2008 22:58:17 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from mr02.lnh.mail.rcn.net ([207.172.157.22]) by smtp02.lnh.mail.rcn.net with ESMTP; 13 Dec 2008 17:47:12 -0500 Received: from smtp01.lnh.mail.rcn.net (smtp01.lnh.mail.rcn.net [207.172.4.11]) by mr02.lnh.mail.rcn.net (MOS 3.8.6-GA) with ESMTP id PHX80065; Sat, 13 Dec 2008 17:47:09 -0500 (EST) Received: from unknown (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.22.188]) by smtp01.lnh.mail.rcn.net with ESMTP; 13 Dec 2008 17:47:09 -0500 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18756.15212.970492.959732@jerusalem.litteratus.org> Date: Sat, 13 Dec 2008 17:47:08 -0500 To: Darren Pilgrim In-Reply-To: <49443662.3010805@bitfreak.org> References: <49443662.3010805@bitfreak.org> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr02.lnh.mail.rcn.net) Cc: ports@freebsd.org Subject: What happened to devel/php5-pcre? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 22:58:18 -0000 Darren Pilgrim writes: > How do I fix this? Have you read /usr/port/UPDATING? Robert Huff From owner-freebsd-ports@FreeBSD.ORG Sat Dec 13 23:52:50 2008 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF8A9106564A for ; Sat, 13 Dec 2008 23:52:50 +0000 (UTC) (envelope-from freebsd@bitfreak.org) Received: from srv.twinthornes.com (srv.twinthornes.com [65.75.198.146]) by mx1.freebsd.org (Postfix) with ESMTP id AE2568FC08 for ; Sat, 13 Dec 2008 23:52:50 +0000 (UTC) (envelope-from freebsd@bitfreak.org) Received: from [10.9.70.104] (c-76-27-226-62.hsd1.wa.comcast.net [76.27.226.62]) by srv.twinthornes.com (Postfix) with ESMTPSA id 0166A24C6A; Sat, 13 Dec 2008 15:52:49 -0800 (PST) Message-ID: <49444AD2.4020403@bitfreak.org> Date: Sat, 13 Dec 2008 15:52:50 -0800 From: Darren Pilgrim User-Agent: Thunderbird 2.0.0.18 (Windows/20081105) MIME-Version: 1.0 To: Wesley Shields References: <49443662.3010805@bitfreak.org> <20081213225025.GN150@atarininja.org> In-Reply-To: <20081213225025.GN150@atarininja.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org Subject: Re: What happened to devel/php5-pcre? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Dec 2008 23:52:50 -0000 Wesley Shields wrote: > Take a look at UPDATING, specifically the 20081211 entry. Yeah. What's funny is, I habitually read {src,ports}/UPDATING. Must be too much egg nog. :) Thanks.