Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

barnyard2 spec in 2-1.13 git file points to the older compresed tarball source file. #81

Closed
kaushalshriyan opened this issue Apr 17, 2013 · 4 comments

Comments

@kaushalshriyan
Copy link

Hi

I have done git clone of barnyard2 on my server. the issue is that when i am building rpm binaries on CentOS 6.4 using barnyard2 spec file located inside rpms directory it points to 2-1.9 compresed tarball source file instead of 2-1.12 or 2-1.13 version. Any suggestions please to get 2-1.13 stable version rpm binaries for CentOS 6.4?

Regards,

Kaushal

@binf
Copy link
Collaborator

binf commented Apr 17, 2013

On Wed, Apr 17, 2013 at 12:00 PM, kaushalshriyan
notifications@github.com wrote:

Hi

Hi kaushalshriyan,

I think the spec file need to be redone.

You could probably edit it so it download the good information.

from github instead of http://www.securixlive.com/download/barnyard2

@binf
Copy link
Collaborator

binf commented Apr 17, 2013

As a quick test mabey you can replace the following lines in the spec file:

OLD:
Version: 1.9
Source0: http://www.securixlive.com/download/barnyard2/%{name}-%{version}.tar.gz

WITH
Version: v2-1.12
Source0: https://github.com/firnsy/barnyard2/archive/%{version}.tar.gz

for 2-1.13-BETA which is not tagged yet you need to set Version to master.
Version: master

Let us know if this works we could do a quick update.

Thanks you in advance,
-elz

On Wed, Apr 17, 2013 at 12:39 PM, beenph beenph@gmail.com wrote:

On Wed, Apr 17, 2013 at 12:00 PM, kaushalshriyan
notifications@github.com wrote:

Hi

Hi kaushalshriyan,

I think the spec file need to be redone.

You could probably edit it so it download the good information.

from github instead of http://www.securixlive.com/download/barnyard2

@kaushalshriyan
Copy link
Author

Hi

#rpmbuild -ba barnyard2.spec
error: line 46: Illegal char '-' in: Version: v2-1.12

barnyard2.spec file is in this pastebin -> http://paste.fedoraproject.org/7877/62738591/

Please suggest further

Regards

Kaushal

@binf
Copy link
Collaborator

binf commented Apr 18, 2013

Then uses

Version: 1.12
Source0: https://github.com/firnsy/barnyard2/archive/v2-%{version}.tar.gz

for 2-1.13-BETA which is not tagged yet you need to set Version to master.
Version: master
AND
Source0: https://github.com/firnsy/barnyard2/archive/{version}.tar.gz
Sorry i initialy tought that version would take the - caracter. mabey it
can be escaped with - and you could try it.

Anyhow in the future we will update it, let us know how it goes.

-elz

On Thu, Apr 18, 2013 at 4:36 AM, kaushalshriyan notifications@github.comwrote:

Hi

#rpmbuild -ba barnyard2.spec
error: line 46: Illegal char '-' in: Version: v2-1.12

barnyard2.spec file is in this pastebin ->
http://paste.fedoraproject.org/7877/62738591/

Please suggest further

Regards

Kaushal


Reply to this email directly or view it on GitHubhttps://github.com//issues/81#issuecomment-16564148
.

binf added a commit to binf/barnyard2 that referenced this issue Apr 26, 2013
Add: Support for SIGHUP

Fixed: Compile issue when debug was enabled (missing , in some
DEBUG_WRAP code.

Fixed: Changed a few places where the snort literal was used instead of
barnyard2 and this could confuse some first time barnyard2 users.

Fixed: RPM spec file to point to good version (when needed)

Bumped: Build to 326

--github specific
Fixes firnsy#81
Fixes firnsy#73
Fixes firnsy#75

Close firnsy#82
Close firnsy#83
Close firnsy#80
Close firnsy#79
Close firnsy#78
Close firnsy#27
--github specific
binf added a commit to binf/barnyard2 that referenced this issue Apr 26, 2013
Add: Support for proper signal handling.

Fixed: Compile issue when debug was enabled (missing , in some
DEBUG_WRAP code.

Fixed: Changed a few places where the snort literal was used instead of
barnyard2 and this could confuse some first time barnyard2 users.

Fixed: RPM spec file to point to good version (when needed)

Bumped: Build to 326

--github specific
Fixes firnsy#81
Fixes firnsy#73
Fixes firnsy#75

Close firnsy#82
Close firnsy#83
Close firnsy#80
Close firnsy#79
Close firnsy#78
Close firnsy#27
--github specific
@firnsy firnsy closed this as completed in f764921 May 7, 2013
binf added a commit to binf/barnyard2 that referenced this issue May 9, 2013
Add: Support for proper signal handling.
Add: README info for google mailing lists.

Fixed: Compile issue when debug was enabled (missing , in some
DEBUG_WRAP code.

Fixed: Changed a few places where the snort literal was used instead of
barnyard2 and this could confuse some first time barnyard2 users.

Fixed: RPM spec file to point to good version (when needed)

Bumped: Build to 326

--github specific
Fixes firnsy#81
Fixes firnsy#73
Fixes firnsy#75

Close firnsy#82
Close firnsy#83
Close firnsy#80
Close firnsy#79
Close firnsy#78
Close firnsy#27
--github specific
binf added a commit to binf/barnyard2 that referenced this issue May 10, 2013
Add: Support for proper signal handling.
Add: README info for google mailing lists.

Fixed: Compile issue when debug was enabled (missing , in some
DEBUG_WRAP code.

Fixed: Changed a few places where the snort literal was used instead of
barnyard2 and this could confuse some first time barnyard2 users.

Fixed: RPM spec file to point to good version (when needed)

Bumped: Build to 326

--github specific
Fixes firnsy#81
Fixes firnsy#73
Fixes firnsy#75

Close firnsy#82
Close firnsy#83
Close firnsy#80
Close firnsy#79
Close firnsy#78
Close firnsy#27
--github specific
binf added a commit to binf/barnyard2 that referenced this issue Jun 16, 2013
Add: Support for proper signal handling.
Add: README info for google mailing lists.

Fixed: Compile issue when debug was enabled (missing , in some
DEBUG_WRAP code.

Fixed: Changed a few places where the snort literal was used instead of
barnyard2 and this could confuse some first time barnyard2 users.

Fixed: RPM spec file to point to good version (when needed)

Bumped: Build to 326

--github specific
Fixes firnsy#81
Fixes firnsy#73
Fixes firnsy#75

Close firnsy#82
Close firnsy#83
Close firnsy#80
Close firnsy#79
Close firnsy#78
Close firnsy#27
--github specific
eugpermar pushed a commit to redBorder/barnyard2 that referenced this issue Jul 4, 2013
Add: Support for proper signal handling.
Add: README info for google mailing lists.

Fixed: Compile issue when debug was enabled (missing , in some
DEBUG_WRAP code.

Fixed: Changed a few places where the snort literal was used instead of
barnyard2 and this could confuse some first time barnyard2 users.

Fixed: RPM spec file to point to good version (when needed)

Bumped: Build to 326

--github specific
Fixes firnsy#81
Fixes firnsy#73
Fixes firnsy#75

Close firnsy#82
Close firnsy#83
Close firnsy#80
Close firnsy#79
Close firnsy#78
Close firnsy#27
--github specific
netsiphon pushed a commit to netsiphon/barnyard2 that referenced this issue Oct 18, 2016
Add: Support for proper signal handling.
Add: README info for google mailing lists.

Fixed: Compile issue when debug was enabled (missing , in some
DEBUG_WRAP code.

Fixed: Changed a few places where the snort literal was used instead of
barnyard2 and this could confuse some first time barnyard2 users.

Fixed: RPM spec file to point to good version (when needed)

Bumped: Build to 326

--github specific
Fixes firnsy#81
Fixes firnsy#73
Fixes firnsy#75

Close firnsy#82
Close firnsy#83
Close firnsy#80
Close firnsy#79
Close firnsy#78
Close firnsy#27
--github specific
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants