Changeset 2634 in ProjectBuilder


Ignore:
Timestamp:
Aug 19, 2020, 1:47:12 AM (4 years ago)
Author:
Bruno Cornec
Message:

add conf to build star with project-builder.org

Location:
projects/star
Files:
24 added
15 deleted
3 edited
13 copied

Legend:

Unmodified
Added
Removed
  • projects/star/pbconf/1.6/pbfilter/all.yml

    r2627 r2634  
    1414  PBREV: $pb->{'rev'}
    1515  PBLOG: no
    16   PBURL: http://freshmeat.net/redir/afio/144/url_tgz/afio-2.5.tar.gz
    17   PBLIC: LGPL
     16  PBURL: http://downloads.sourceforge.net/s-tar/star-1.6.tar.bz2
     17  PBDESC: Star supports several tar archive formats (including ustar,$/GNU tar and new POSIX format). It's faster than other tar$/implementations due to advanced buffering.$/Star is also the only tar implementation under Linux capable$/of archiving Access Control Lists.
     18  PBLIC: GPLv2+ LGPLv2+ CDDL
    1819  PBPKG: $pb->{'pkg'}
    1920  PBTAG: $pb->{'tag'}
    20   PBDESC: Archiver program which writes cpio-format archives
    21   PBSRC: src/%{name}-%{version}.tar.gz
     21  PBSUMMARY: An archiving tool with tar and ACL support
     22  PBSRC: src/%{name}-%{version}.tar.bz2
    2223  PBPATCHCMD: yes
    2324  PBREPO: $pb->{'repo'}
    24 #
    25 # PBSRC is replaced by the source package location after the repo
    26 #
    27 # PBVER is replaced by the version ($pb->{'ver'} in code)
    28 #
    29 # PBDATE is replaced by the date ($pb->{'date'} in code)
    30 #
    31 # PBLOG is replaced by the changelog if value is yes
    32 #
    33 # PBTAG is replaced by the tag ($pb->{'tag'} in code)
    34 #
    35 # PBREV is replaced by the revision ($pb->{'rev'} in code)
    36 #
    37 # PBPKG is replaced by the package name ($pb->{'pkg'} in code)
    38 #
    39 # PBPACKAGER is replaced by the packager name ($pb->{'packager'} in code)
    40 #
    41 # PBDESC contains the description of the package
    42 #
    43 # PBURL contains the URL of the Web site of the project
    44 # Using tar.gz as needed by pb
    45 #
    46 # License
    47 #
    48 # Patch management
    49 # PBPATCHSRC is replaced by the patches names if value is yes
    50 # PBPATCHCMD is replaced by the patches commands if value is yes
  • projects/star/pbconf/1.6/pbfilter/deb.yml

    r2627 r2634  
    88filter:
    99  PBGRP: utils
    10 #
    11 # PBLIC is replaced by the license of the application
    12 # Cf:
    13 #filter PBLIC = GPL
    14 #
    15 # PBDEP is replaced by the list of dependencies
    16 #filter PBDEP =
    17 #
    18 # PBSUG is replaced by the list of suggestions
    19 #filter PBSUG =
    20 #
    21 # PBREC is replaced by the list of recommandations
    22 #filter PBREC =
    23 #
  • projects/star/pbconf/1.6/pbfilter/fedora.yml

    r2627 r2634  
    1010filter:
    1111  PBSUF: $pb->{'suf'}
    12   PBLIC: LGPLv2+
    1312  PBGRP: Applications/Archiving
    14 #
    15 # PBLIC is replaced by the license of the application
    16 # Cf: http://fedoraproject.org/wiki/Licensing
    17 #
    18 # PBDEP is replaced by the list of dependencies
    19 #filter PBDEP =
    20 #
    21 # PBSUF is replaced by the package suffix ($pb->{'suf'} in code)
    22 #
    23 # PBOBS is replaced by the Obsolete line
    24 #filter PBOBS =
    25 #
  • projects/star/pbconf/1.6/star.yml

    r2627 r2634  
    22#
    33# Project Builder configuration file
    4 # For project afio
     4# For project star
    55#
    66# $Id$
     
    88# What is the project URL
    99#
    10 #pburl afio = svn://svn.afio.org/afio/devel
    11 #pburl afio = svn://svn+ssh.afio.org/afio/devel
    12 #pburl afio = cvs://cvs.afio.org/afio/devel
    13 #pburl afio = http://www.afio.org/src/afio-devel.tar.gz
    14 #pburl afio = ftp://ftp.afio.org/src/afio-devel.tar.gz
    1510pburl:
    16     afio: ftp://ftp.mondorescue.org/src/afio-2.5.tgz
    17 #pburl afio = dir:///src/afio-devel
    18 #
    19 #pburl afio = http://members.brabant.chello.nl/~k.holtman/afio-2.5.tgz
    20 #pburl afio = http://www.ibiblio.org/pub/linux/system/backup/afio-2.5.tgz
     11  star: http://downloads.sourceforge.net/s-tar/star-1.6.tar.bz2
    2112pbprojurl:
    22   afio: ftp://ftp.mondorescue.org/src/afio-2.5.tgz
     13  star: ftp://ftp.mondorescue.org/src/star-1.6.tar.bz2
    2314#
    2415# Check whether project is well formed
    2516# (containing already a directory with the project-version name)
    2617pbwf:
    27   afio: 1
     18  star: 1
    2819#
    2920# Repository
    3021pbrepo:
    31   afio: ftp://ftp.project-builder.org
     22  star: ftp://ftp.project-builder.org
    3223#
    3324#
     
    3526#
    3627pbpackager:
    37   afio: Bruno Cornec <bruno@project-builder.org>
     28  star: Bruno Cornec <bruno@project-builder.org>
    3829#
    3930#
     
    4233#
    4334sshhost:
    44   afio: www.project-builder.org
     35  star: www.project-builder.org
    4536sshlogin:
    46   afio: afio
     37  star: star
    4738sshdir:
    48   afio: /prj/ftp
     39  star: /prj/ftp
    4940sshport:
    50   afio: 22
     41  star: 22
    5142#
    5243#
     
    5445#
    5546projver:
    56   afio: 2.5
     47  star: 1.6
    5748projtag:
    58   afio: 1
     49  star: 1
    5950#
    6051# Hash of default package/package directory
    6152defpkgdir:
    62   afio: .
     53  star: .
    6354#
    6455vmlist:
    65   afio: asianux-2-i386,asianux-3-i386,redhat-7.3-i386,redhat-9-i386,fedora-4-i386,fedora-5-i386,fedora-6-i386,fedora-7-i386,fedora-8-i386,fedora-9-i386,fedora-10-i386,fedora-11-i386,fedora-12-i386,fedora-13-i386,fedora-14-i386,fedora-15-i386,fedora-16-i386,opensuse-11.3-i386,opensuse-11.4-i386,rhel-2.1-i386,rhel-3-i386,rhel-4-i386,rhel-5-i386,rhel-6-i386,asianux-2-x86_64,asianux-3-x86_64,fedora-6-x86_64,fedora-7-x86_64,fedora-8-x86_64,fedora-9-x86_64,fedora-10-x86_64,fedora-11-x86_64,fedora-12-x86_64,fedora-13-x86_64,fedora-14-x86_64,fedora-15-x86_64,fedora-16-x86_64,opensuse-11.3-x86_64,opensuse-11.4-x86_64,rhel-3-x86_64,rhel-4-x86_64,rhel-5-x86_64,rhel-6-x86_64,debian-6.0-i386,ubuntu-10.10-i386,ubuntu-11.10-i386,debian-6.0-x86_64,ubuntu-10.10-x86_64,ubuntu-11.10-x86_64
     56  star: asianux-2-i386,asianux-3-i386,redhat-7.3-i386,redhat-9-i386,fedora-4-i386,fedora-5-i386,fedora-6-i386,fedora-7-i386,fedora-8-i386,fedora-9-i386,fedora-10-i386,fedora-11-i386,fedora-12-i386,fedora-13-i386,fedora-14-i386,fedora-15-i386,fedora-16-i386,opensuse-11.3-i386,opensuse-11.4-i386,rhel-2.1-i386,rhel-3-i386,rhel-4-i386,rhel-5-i386,rhel-6-i386,asianux-2-x86_64,asianux-3-x86_64,fedora-6-x86_64,fedora-7-x86_64,fedora-8-x86_64,fedora-9-x86_64,fedora-10-x86_64,fedora-11-x86_64,fedora-12-x86_64,fedora-13-x86_64,fedora-14-x86_64,fedora-15-x86_64,fedora-16-x86_64,opensuse-11.3-x86_64,opensuse-11.4-x86_64,rhel-3-x86_64,rhel-4-x86_64,rhel-5-x86_64,rhel-6-x86_64,debian-6.0-i386,ubuntu-10.10-i386,ubuntu-11.10-i386,debian-6.0-x86_64,ubuntu-10.10-x86_64,ubuntu-11.10-x86_64
  • projects/star/pbconf/1.6/star/deb/compat

    r451 r2634  
    1 4
     1PBDEBCOMP
  • projects/star/pbconf/1.6/star/deb/control

    r458 r2634  
    33Priority: optional
    44Maintainer: PBPACKAGER
    5 Build-Depends: debhelper (>= 4.2.20)
    6 Standards-Version: 3.6.1
     5Build-Depends: debhelper (>= 4.2.20), gcc, libattr1-dev, libacl1-dev, e2fslibs-dev
     6Standards-Version: PBDEBSTD
     7Homepage: PBURL
    78
    89Package: PBPKG
     
    1011Section: PBGRP
    1112Priority: optional
    12 Depends: ${shlibs:Depends}, ${misc:Depends}
    13 Description:
     13Depends: ${shlibs:Depends}, ${misc:Depends}, libacl1, libattr1, libc6
     14Description: PBSUMMARY
    1415 PBDESC
    1516 .
    16  Homepage: PBURL
    1717
  • projects/star/pbconf/1.6/star/deb/rules

    r1204 r2634  
    3737build-arch-stamp:
    3838    dh_testdir
     39    #for PLAT in amd64 aarch64; do for AFILE in gcc cc; do [ ! -e RULES/$(PLAT)-linux-$(AFILE).rul ] && ln -s i586-linux-$(AFILE).rul RULES/$(PLAT)-linux-$(AFILE).rul; done; done
    3940
    4041    # Compile the package.
    41     $(MAKE)
    42     chmod 644 script*/*
     42    make COPTX=-DTRY_EXT2_FS GMAKE_NOWARN=true MANDIR=man CFLAGS="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -mtune=generic -fasynchronous-unwind-tables"
    4343    touch build-stamp
    4444
     
    7474    # Install the package files into build directory:
    7575    dh_install -s
     76    make GMAKE_NOWARN=true "INS_BASE=$(CURDIR)/debian/$(PACKAGE_NAME)/usr" "INS_RBASE=/$(CURDIR)/debian/$(PACKAGE_NAME)" MANDIR=man install
    7677    rm -rf $(CURDIR)/debian/$(PACKAGE_NAME)
    77     mkdir -p $(CURDIR)/debian/$(PACKAGE_NAME)/usr/bin
    78     mkdir -p $(CURDIR)/debian/$(PACKAGE_NAME)/usr/share/man/man1
    79     install -p -m 755 afio $(CURDIR)/debian/$(PACKAGE_NAME)/usr/bin
    80     install -p -m 644 afio.1 $(CURDIR)/debian/$(PACKAGE_NAME)/usr/share/man/man1
     78
     79    #mkdir -p $(CURDIR)/debian/$(PACKAGE_NAME)/usr/bin
     80    #mkdir -p $(CURDIR)/debian/$(PACKAGE_NAME)/usr/share/man/man1
    8181
    8282# Must not depend on anything. This is to be called by
  • projects/star/pbconf/1.6/star/deb/star.docs

    r2626 r2634  
    1 INSTALLATION
    21README
    3 HISTORY
    4 PORTING
    5 SCRIPTS
    6 ANNOUNCE-2.5
     2star/README.ACL
     3star/README.crash
     4star/README.largefiles
     5READMEs/README.linux
     6star/README.mtio
     7star/README.otherbugs
     8star/README.pattern
     9star/README.pax
     10star/README.posix-2001
     11star/STARvsGNUTAR
     12TODO
     13CDDL.Sun.txt
     14CDDL.Schily.txt
     15GPL-2.0.txt
     16LGPL-2.1.txt
  • projects/star/pbconf/1.6/star/rpm/star.spec

    r2626 r2634  
    44%global debug_package %{nil}
    55
    6 Summary:        PBDESC
    7 Summary(fr):    Archiveur écrivant des archives au format cpio
     6Summary:        PBSUMMARY
     7Summary(fr):    Archiveur écrivant des archives au format tar
    88
    99Name:           PBPKG
     
    1212License:        PBLIC
    1313Group:          PBGRP
    14 Url:            http://freshmeat.net/projects/afio/
     14Url:            https://sourceforge.net/projects/s-tar/
    1515Source:         PBURL
    1616BuildRequires:  gcc
    17 PBPATCHSRC
    18 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(id -u -n)
     17BuildRequires:  libattr-devel
     18BuildRequires:  libacl-devel
     19BuildRequires:  pkgconfig(ext2fs)
    1920
    2021%description
    21 Afio makes cpio-format archives.  It deals somewhat gracefully with
    22 input data corruption. Supports multi-volume archives during
    23 interactive operation. Afio can make compressed archives that are
    24 much safer than compressed tar or cpio archives. Afio is best used as
    25 an `archive engine' in a backup script.
     22PBDESC
     23
     24%package devel
     25Summary:        PBSUMMARY
     26Group:          Archiving/Backup
     27
     28%description devel
     29devel files for star
    2630
    2731%description -l fr
    28 Archiveur écrivant des archives au format cpio. Il gère relativement
    29 bien les corruptions de données à l'entrée. Il prend en charge les
    30 archives sur de mulltiples volumes en mode interactif. Afio peut compresser
    31 les fichiers à l'archivage, ce qui est bien plus sûr que des fichiers tar
    32 ou cpio compressés. La meilleure utilisation d'afio est comme moteur
    33 d'archive dans un script de backup.
     32Archiveur écrivant des archives au format tar avec support des ACLs.
    3433
    3534%prep
    3635%setup -q
    3736
    38 PBPATCHCMD
     37for PLAT in %{arm} aarch64 x86_64; do
     38    for AFILE in gcc cc; do
     39            [ ! -e RULES/${PLAT}-linux-${AFILE}.rul ] \
     40            && ln -s i586-linux-${AFILE}.rul RULES/${PLAT}-linux-${AFILE}.rul
     41    done
     42done
    3943
    4044%build
    41 make %{?_smp_mflags}
    42 chmod 644 script*/*
    43 
    44 %check
    45 make regtest
    46 #make regtest2gb
     45make COPTX=-DTRY_EXT2_FS LDOPTX="%{ldflags}" GMAKE_NOWARN=true MANDIR=man CFLAGS="-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -mtune=generic -fasynchronous-unwind-tables"
    4746
    4847%install
    49 rm -rf $RPM_BUILD_ROOT
    50 mkdir -p $RPM_BUILD_ROOT%{_bindir}
    51 mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
    52 install -p -m 755 afio $RPM_BUILD_ROOT%{_bindir}
    53 install -p -m 644 afio.1 $RPM_BUILD_ROOT%{_mandir}/man1
     48make GMAKE_NOWARN=true "INS_BASE=${RPM_BUILD_ROOT}/%{_prefix}" "INS_RBASE=${RPM_BUILD_ROOT}/" MANDIR=man install
    5449
    55 %clean
    56 rm -rf $RPM_BUILD_ROOT
     50# The following files conflict with GNU tar & mtr
     51rm -f ${RPM_BUILD_ROOT}/%{_bindir}/{,us}tar
     52rm -f ${RPM_BUILD_ROOT}/%{_bindir}/mt
     53rm -f ${RPM_BUILD_ROOT}/%{_mandir}/man1/match.1
     54# The following files conflict with the rmt package
     55rm -f ${RPM_BUILD_ROOT}/%{_sbindir}/rmt
     56# The following devel files conflict with cdrecord
     57rm -f ${RPM_BUILD_ROOT}/%{_includedir}/avoffset.h
     58rm -f ${RPM_BUILD_ROOT}/%{_libdir}/libdeflt.a
     59rm -f ${RPM_BUILD_ROOT}/%{_libdir}/libschily.a
    5760
     61# The other libs may be in the wrong place
     62if [ _"%{_libdir}" != _"/usr/lib" ]; then
     63    chmod 644 ${RPM_BUILD_ROOT}/usr/lib/lib*.a ${RPM_BUILD_ROOT}/usr/lib/profiled/*.a
     64    mkdir -p ${RPM_BUILD_ROOT}/%{_libdir}
     65    mv ${RPM_BUILD_ROOT}/usr/lib/* ${RPM_BUILD_ROOT}/%{_libdir}
     66else
     67    chmod 644 ${RPM_BUILD_ROOT}/%{_libdir}/lib*.a ${RPM_BUILD_ROOT}/%{_libdir}/profiled/*.a
     68fi
     69
     70# fwang: I don't know why it installs to here
     71rm -f ${RPM_BUILD_ROOT}%{_datadir}/doc/rmt/default-rmt.sample
     72# Removing it now, it's done below
     73rm -rf ${RPM_BUILD_ROOT}%{_datadir}/doc/star
    5874%files
    5975%defattr(-,root,root,-)
    60 # Fedora requirements do not include those:
    61 # %doc ChangeLog INSTALLATION
    62 %doc HISTORY PORTING README SCRIPTS ANNOUNCE-2.5 perl.artistic.license
    63 %doc afio.lsm script1 script2 script3 script4
    64 %{_bindir}/%{name}
    65 %{_mandir}/man1/%{name}.1*
     76%doc README* CDDL* LGPL* COPYING AN-%{version}
     77%{_bindir}/*
     78%{_mandir}/man1/*.1*
     79%{_sysconfdir}/default/*
     80
     81%files devel
     82%{_includedir}/schily/*.h
     83%{_includedir}/schily/*/*.h
     84%{_libdir}/lib*.a
     85%{_libdir}/profiled/*.a
     86%{_mandir}/man3/*
     87%{_mandir}/man5/*
    6688
    6789%changelog
Note: See TracChangeset for help on using the changeset viewer.